From 9d8ae6174eaa6a22a3b113ba77061861379d7c5a Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 15 Nov 2016 18:30:33 -0500 Subject: [PATCH] webstaff: improve column collapse on local admin splash page With this patch, when the local admin splash page is displayed on small screens, the three columns are stacked better. E.g., A D G B E H C F becomes A B C D E F G H rather than A D G B E H C F Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- .../templates/staff/admin/local/t_splash.tt2 | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/Open-ILS/src/templates/staff/admin/local/t_splash.tt2 b/Open-ILS/src/templates/staff/admin/local/t_splash.tt2 index 58bc231913..22878a1365 100644 --- a/Open-ILS/src/templates/staff/admin/local/t_splash.tt2 +++ b/Open-ILS/src/templates/staff/admin/local/t_splash.tt2 @@ -38,21 +38,26 @@ ,[ l('Work Log'), "./admin/workstation/log" ] ]; - USE table(interfaces, rows=9); + USE table(interfaces, cols=3); %] -[% FOREACH row = table.rows %] -
- [% FOREACH item = row %][% IF item.1 %] - - [% END %][% END %] -
-[% END %] +
+ [% FOREACH col = table.cols %] +
+ [% FOREACH item = col %][% IF item.1 %] +
+ +
+ [% END %] + [% END %] +
+ [% END %] +
-- 2.43.2