From da42e098e09e8d0733a5a0ec8465272a4e0ecf5c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 9 Mar 2009 14:51:25 -0500 Subject: [PATCH] Resubmitting: tweaks to search results page, including using amazonisbn to pull cover image and inline display of itemtype images to improve display. The previous method for displaying itemtype images relied on setting a background-image for a list item. This method didn't take into account the possibility of varying sizes for images, resulting in overlap with some images. This patch also includes some changes to improve readability of holdings information. Signed-off-by: Galen Charlton --- .../prog/en/css/staff-global.css | 22 +++++++++++++++++++ .../prog/en/modules/catalogue/results.tmpl | 22 +++++++++---------- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index e8fe878e75..c2d9a78c0f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1280,7 +1280,29 @@ overflow : hidden; } #searchresults ul li { + font-size : 90%; list-style : url(../../img/item-bullet.gif); + padding : .2em 0; +} + +#searchresults span.status { + clear : left; + color : #900; + display : block; +} + +#searchresults span.unavailable { + clear : left; + display : block; +} + +#searchresults .availability strong { + display : block; +} + +#searchresults ul li img { + float : left; + margin : 3px 5px 3px -5px; } #searchresults table td { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl index 3609e26a55..1ae2430461 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl @@ -245,7 +245,7 @@ $(window).load(function() { "> - http://images.amazon.com/images/P/.01.TZZZZZZZ.jpghttp://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="image" class="thumbnail" /> + http://images.amazon.com/images/P/.01.TZZZZZZZ.jpghttp://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="image" class="thumbnail" /> @@ -274,7 +274,7 @@ $(window).load(function() {

- " title="" style="float: left; margin: .1em;" alt="img" /> + " title="" style="float: left; margin: .1em;" alt="" />

@@ -282,7 +282,7 @@ $(window).load(function() {

- " title="" style="float: left; margin: .1em;" alt="img" /> + " title="" style="float: left; margin: .1em;" alt="" /> @@ -322,31 +322,29 @@ $(window).load(function() {

-
- itemsitem
+ + itemsitem, available:, None available available:
    -
  • ); background-repeat: no-repeat; background-position: 0 50%; padding: 3px 0 3px 30px; margin: .4em 0; " title="">
  • +
  • " title="" />
  • [">] ()
- - No items available - on loan: + on loan:
  • -
  • "> +
  • " title="" />
  • @@ -358,12 +356,12 @@ $(window).load(function() { - unavailable: + unavailable:
    • -
    • ); background-repeat: no-repeat; background-position: 0 50%; padding: 3px 0 3px 30px; margin: .4em 0;" title=""> +
    • " title="" />
    • -- 2.39.5