Bug 20036: Switch single-column templates to Bootstrap grid: Offline circulation
authorOwen Leonard <oleonard@myacpl.org>
Thu, 18 Jan 2018 18:00:20 +0000 (18:00 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Feb 2018 16:30:23 +0000 (13:30 -0300)
This patch updates three single-column offline circulation templates to
use the Bootstrap grid.

- offline_circ\process_koc.tt - Circulation -> Upload offline
  circulation.

- offline_circ\enqueue_koc.tt - After uploading offline circulation
  file -> Add to offline circulation queue. The confirmation page is the
  page to be tested.

- offline_circ\list.tt - From the confirmation page -> View pending
  offline circulation actions.

Each of these pages should look correct, with a single centered column
with wide margins on either side. At lower browser widths the margins
should disappear.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt
koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt
koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt

index 1242f00..dee9157 100644 (file)
@@ -8,9 +8,9 @@
 
 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; <a href="/cgi-bin/koha/offline_circ/process_koc.pl">Add offline circulations to queue</a></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">
 
   <h2>Koha offline circulation</h2>
   <p>Your file was processed.</p>
@@ -27,5 +27,7 @@
 
 <p><a href="list.pl">View pending offline circulation actions</a></p>
 
+    </div>
 </div>
+
 [% INCLUDE 'intranet-bottom.inc' %]
index 493450e..31c7ade 100644 (file)
@@ -10,9 +10,9 @@
 
     <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Offline circulation</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">
 
         <h2>Offline circulation</h2>
 
@@ -84,6 +84,7 @@
         [% END %]
 
     </div>
+</div>
 
 [% MACRO jsinclude BLOCK %]
     <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
index 60fa7ba..cccdca9 100644 (file)
@@ -10,9 +10,9 @@
 
 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; [% IF ( transactions_loaded ) %] <a href="/cgi-bin/koha/offline_circ/process_koc.pl">Offline circulation file upload</a> &rsaquo; Results[% ELSE %] Offline circulation file upload[% END %]</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">
 
 [% IF ( transactions_loaded ) %]
   <h2>Koha offline circulation</h2>
@@ -63,6 +63,7 @@
 [% END %]
 
 
+    </div>
 </div>
 
 [% MACRO jsinclude BLOCK %]