Bug 20654 - Omnibus: Update two-column templates to use Bootstrap grid
Summary: Omnibus: Update two-column templates to use Bootstrap grid
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Target Milestone: ---
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Whiteboard:
Keywords:
Depends on: 21307 21948 20667 20668 20672 20736 20738 20739 20740 20741 20742 20743 21304 21305 21306 21428 21429 21430 21433 21434 21435 21436 21437 21438 21439 21442 21449 21519 21523 21569 21570 21645 21646 21647 21672 21693 21695 21792 21795 21797 21913 21963 21964 21965 21967 22104
Blocks: 14546
  Show dependency treegraph
 
Reported: 2018-04-24 16:42 UTC by Owen Leonard
Modified: 2019-01-11 17:05 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Bot Control: ---
When did the bot last check this:
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2018-04-24 16:42:17 UTC
This omnibus bug will cover bugs which update two-column template grid markup from YUI to Bootstrap.

Typical markup to be replaced:

<div id="doc3" class="yui-t2">
    <div id="bd">
        <div id="yui-main">
            <div class="yui-b">
                <!-- Main body of the page -->
            </div>
        </div>
        <div class="yui-b">
            <!-- Left-hand sidebar -->
        </div>
    </div>
</div>

Replacement:

<div class="main container-fluid">
    <div class="row">
        <div class="col-sm-10 col-sm-push-2">
            <!-- Main body of the page -->
        </div>
        <div class="col-sm-2 col-sm-pull-10">
            <!-- Left-hand sidebar -->
        </div>
    </div>
</div>

Note that "col-sm-push-2" and "col-sm-pull-10" are the classes that reverse the visible column order in the desktop layout.