From df0fccdcbf619b7ebe9c00a7696415d100e6f116 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 8 May 2008 05:12:35 -0500 Subject: [PATCH] Tweaking display of "action" links in search results Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 20 ++++++++++++++++++ .../prog/en/modules/opac-results.tmpl | 17 ++++++++------- .../opac-tmpl/prog/images/addtolist-small.gif | Bin 0 -> 487 bytes .../opac-tmpl/prog/images/cart-small.gif | Bin 70 -> 456 bytes .../opac-tmpl/prog/images/placehold-small.gif | Bin 0 -> 121 bytes 5 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/prog/images/addtolist-small.gif create mode 100644 koha-tmpl/opac-tmpl/prog/images/placehold-small.gif diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 1057438142..689e9ac6e0 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -1040,6 +1040,26 @@ width: 100%; font-weight: normal; } +.actions a { + margin-left : 1em; + text-decoration : none; +} + +.actions a.hold { + background : url("../../images/placehold-small.gif") center left no-repeat; + padding-left : 16px; +} + +.actions a.addtocart { + background : url("../../images/cart-small.gif") center left no-repeat; + padding-left : 13px; +} + +.actions a.addtoshelf { + background : url("../../images/addtolist-small.gif") center left no-repeat; + padding-left : 13px; +} + #catalogue_detail_biblio div.results_summary { clear : left; } diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl index d9b86e13fb..164728ce3b 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl @@ -238,14 +238,7 @@ $(document).ready(function(){ - Actions: - ">Place Hold - - " onclick="Dopop('opac-addbybiblionumber.pl?biblionumber='); return false;">Save to Lists - - '); return false;">Add to Cart - - + Call Number: @@ -272,6 +265,14 @@ $(document).ready(function(){ Match: + +Actions: + ">Place Hold + + " onclick="Dopop('opac-addbybiblionumber.pl?biblionumber='); return false;">Save to Lists + + '); return false;">Add to Cart + "> .01.TZZZZZZZ.jpg" alt="" class="thumbnail" /> diff --git a/koha-tmpl/opac-tmpl/prog/images/addtolist-small.gif b/koha-tmpl/opac-tmpl/prog/images/addtolist-small.gif new file mode 100644 index 0000000000000000000000000000000000000000..03b4c83debcb8b8f3738006d66bc7b74b7a73585 GIT binary patch literal 487 zcmZ?wbhEHb6xgU5(yATZtDiVUKWWO#&wn+-JHGw?XP7$u)tA4z@e|*F z|M%_Jf34_V-M9%azx@6E_uu39e_ww7ckk^V)zH=t-~Jkk-}2Q}V(`$r?9^V_d~^1e0y|Nmzg1*jpQ_>%=JpaUX7al*jv(xBYb z+$^rr-k~DSAR*r?FE79#qNK#bK2?cPQIt(oaRIj?6RQv>zsyQrJ}J4ia&m%PEDDm6 U!U{W?Wo5<0WTg*sG%{EN0Fw4u7XSbN literal 0 HcmV?d00001 diff --git a/koha-tmpl/opac-tmpl/prog/images/cart-small.gif b/koha-tmpl/opac-tmpl/prog/images/cart-small.gif index 0d75f21cb52bb5d82697698c230db856a007cdd8..e7899a7e02f4f64b41b9525c0c4bbc3b3e5d362e 100644 GIT binary patch literal 456 zcmZ?wbhEHbk literal 70 zcmZ?wbhEHb