From ed3880a0229fb1440130cc8de163133c55fe3495 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 2 Jul 2013 10:57:19 +0300 Subject: [PATCH] Make staff client index more user friendly by letting the user click on a bigger area instead of trying to hit the exact location of the text, and making the entry hilighted. Also simplify the html a bit. Signed-off-by: Pasi Kallinen Signed-off-by: Remington Steed Signed-off-by: Dan Wells --- Open-ILS/xul/staff_client/server/index.xhtml | 167 +++++++++++---------------- 1 file changed, 67 insertions(+), 100 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml index bd8aa0882a..984352a109 100644 --- a/Open-ILS/xul/staff_client/server/index.xhtml +++ b/Open-ILS/xul/staff_client/server/index.xhtml @@ -267,13 +267,6 @@ width: 180px; } - a { - font-size: 85%; - font-weight: bold; - color: black; - text-decoration: none; - } - #alignment { border-collapse: collapse; border-style: none; @@ -282,12 +275,25 @@ #alignment td { vertical-align: top; + font-size: 85%; + font-weight: bold; + color: black; + text-decoration: none; } .functionlist { border-style: none; margin-left: auto; margin-right: auto; + border-collapse:collapse; + } + + .functionlist tr.clickable { + cursor:pointer; + } + + .functionlist tr.clickable:hover { + background-color:#e0e0e0; } .functionlist td { @@ -318,6 +324,10 @@ padding-left:4px; } + .newtabimg:hover { + background-color: lightgreen; + } + .funcimg { width: 48px; height: 48px; @@ -350,65 +360,48 @@
- + + alt="&staff.client.portal.checkout.description;" /> + onclick="try { checkout(true); } catch(E) { alert(E); }" /> &staff.client.portal.checkout;
+ &staff.client.portal.retrievebc; - - + + + onclick="try { checkin(true); } catch(E) { alert(E); }" />&staff.client.portal.checkin;
- + + alt="&staff.client.portal.patronreg.description;" /> + onclick="try { register_patron(true); } catch(E) { alert(E); }" /> &staff.client.portal.patronreg; - + + alt="&staff.client.portal.patronsearch.description;" /> + onclick="try { find_patron(true); } catch(E) { alert(E); }" /> &staff.client.portal.patronsearch; - - + onclick="try { hold_pull_list(true); } catch(E) { alert(E); }" /> &staff.client.portal.holdlist;
- &staff.client.portal.open_new_tab.description;&staff.client.portal.checkout;
- - &staff.client.portal.retrievebc;
-
&staff.client.portal.checkin.description; &staff.client.portal.open_new_tab.description; &staff.client.portal.checkin;
- &staff.client.portal.open_new_tab.description; &staff.client.portal.patronreg;
- &staff.client.portal.open_new_tab.description; &staff.client.portal.patronsearch;
+ &staff.client.portal.holdlist.description; &staff.client.portal.open_new_tab.description; &staff.client.portal.holdlist;