webstaff: improve column collapse on acq admin splash page
authorGalen Charlton <gmc@esilibrary.com>
Tue, 15 Nov 2016 23:42:15 +0000 (18:42 -0500)
committerKathy Lussier <klussier@masslnc.org>
Tue, 22 Nov 2016 19:10:06 +0000 (14:10 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/admin/acq/t_splash.tt2

index 4723795..f9670fd 100644 (file)
     ,[ l('Line Item MARC Attribute Definitions'), "./admin/acq/conify/lineitem_marc_attr_def" ]
    ];
 
-   USE table(interfaces, rows=9);
+   USE table(interfaces, cols=3);
 %]
 
-[% FOREACH row = table.rows %]
-  <div class="row new-entry">
-    [% FOREACH item = row %][% IF item.1 %]
+<div class="row">
+[% FOREACH col = table.cols %]
     <div class="col-md-4">
-      <span class="glyphicon glyphicon-pencil"></span>
-      <a target="_self" href="[% item.1 %]">
-        [% item.0 %]
-      </a>
-    </div>
+    [% FOREACH item = col %][% IF item.1 %]
+        <div class="row new-entry">
+            <div class="col-md-12">
+            <span class="glyphicon glyphicon-pencil"></span>
+            <a target="_self" href="[% item.1 %]">
+                [% item.0 %]
+            </a>
+            </div>
+        </div>
     [% END %][% END %]
-  </div>
+    </div>
 [% END %]
-
 </div>
 
+</div>