Bugzilla – Attachment 70844 Details for
Bug 20033
Switch single-column templates to Bootstrap grid: Catalog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20033: Switch single-column templates to Bootstrap grid: Catalog
Bug-20033-Switch-single-column-templates-to-Bootst.patch (text/plain), 4.08 KB, created by
Claire Gravely
on 2018-01-23 14:48:07 UTC
(
hide
)
Description:
Bug 20033: Switch single-column templates to Bootstrap grid: Catalog
Filename:
MIME Type:
Creator:
Claire Gravely
Created:
2018-01-23 14:48:07 UTC
Size:
4.08 KB
patch
obsolete
>From 863c11d8f5c1a738b90a5fa410231a5dcb4b459a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 18 Jan 2018 16:08:26 +0000 >Subject: [PATCH] Bug 20033: Switch single-column templates to Bootstrap grid: > Catalog > >This patch updates a few catalog-related single-column templates to use >the Bootstrap grid. > >- basket/basket.tt - The staff client cart. Add some items to the cart > and open the cart. > >- catalogue/advsearch.tt - The advanced search page. > >- catalogue/itemsearch.tt - The item search page, both the initial form > and the search results. > >Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 9 +++++++-- > .../intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 12 ++++++------ > .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 11 +++++++++-- > 3 files changed, 22 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >index 428e5d4..8ffb6eb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >@@ -37,7 +37,10 @@ > </head> > [% IF ( print_basket ) %]<body id="cart_basket" class="cart" onload="print();history.back();">[% ELSE %]<body id="cart_basket" class="cart">[% END %] > >-<div id="doc" class="yui-t7"> >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-12"> >+ > <div class="container"> > [% UNLESS ( print_basket ) %] > <h1>Your cart</h1> >@@ -285,7 +288,9 @@ > <input type="hidden" name="records" id="records" /> > </form> > >-</div> >+ </div> >+ </div> >+ </div> > </div> > [% INCLUDE js_includes.inc %] > [% UNLESS ( print_basket ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index 2e32f6b..7c5bc09 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -10,9 +10,10 @@ > [% INCLUDE 'adv-search.inc' %] > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Advanced search</div> > >-<div id="doc" class="yui-t7"> >- <div id="bd"> >- >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> >+ > <form action="search.pl" method="get"> > <div id="advanced-search"> > <h1>Advanced search</h1> >@@ -96,7 +97,6 @@ > > </div> > <!-- MC-TYPE LIMITS --> >- <div class="yui-g"> > <div id="advsearches" class="toptabs"> > <ul> > [% FOREACH advsearchloo IN advancedsearchesloop %] >@@ -263,11 +263,11 @@ > </select> > </p> > </fieldset> >-<!-- /RANK LIMITS --> >-</div> > </div> >+<!-- /RANK LIMITS --> > </form> > </div> >+</div> > > [% MACRO jsinclude BLOCK %] > <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index e052169..e3f3f8c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -113,7 +113,10 @@ > <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Item search > </div> > >- <div id="doc" class="yui-t7"> >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> >+ > <div id="item-search-block"> > <h1>Item search</h1> > <p><a href="/cgi-bin/koha/catalogue/search.pl">Go to advanced search</a></p> >@@ -191,9 +194,13 @@ > </fieldset> > </form> > </div> >+ </div> > </div> >- <div id="doc3" class="yui-t7"> >+ <div class="row"> >+ <div class="col-md-12"> > <div id="results-wrapper"></div> >+ </div> >+ </div> > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.inc' %] >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20033
:
70697
|
70844
|
71208