From 897c3a4eee42b1caecbbb0e848ed5bce32de2f66 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 12 Dec 2007 14:44:10 -0600 Subject: [PATCH] Visual improvements to facets and search results; better js handling of Amazon book covers in results and detail.tmpl. Signed-off-by: Joshua Ferraro --- .../prog/en/css/staff-global.css | 78 ++++++++++++ .../intranet-tmpl/prog/en/includes/facets.inc | 8 +- .../intranet-tmpl/prog/en/js/staff-global.js | 1 - .../prog/en/modules/catalogue/detail.tmpl | 37 ++++-- .../prog/en/modules/catalogue/results.tmpl | 117 ++++++++++-------- 5 files changed, 181 insertions(+), 60 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 b46584be28..3c292b7f1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1058,9 +1058,16 @@ span.required { .term { background-color: #FFC; color : #990000; +} + +a .term { text-decoration : underline; } +a:hover .term { + color : #FF9090; +} + div#menu { border-right: 1px solid #000; margin-right: .5em; @@ -1177,3 +1184,74 @@ overflow : hidden; /* Hides from IE-mac \*/ * html .clearfix {height: 1%;} /* End hide from IE-mac */ + +.title { + font-weight : bold; + font-size : 105%; +} + +.reserve { + float : right; + font-weight : bold; +} + +.thumbnail { + display : block; + margin : auto; +} + +#searchresults ul li { + list-style : url(../../img/item-bullet.gif); +} + +#searchheader { + background-color : #f3f3f3; + font-size : 80%; + margin-bottom : .5em; + padding : .1em 0 .1em 1em; +} + +#searchheader h3 { +} + +#searchheader form { + float : right; +} + +#search-facets ul { + margin : 0; + padding : .3em; +} + +#search-facets { + border : 1px solid #e8e8e8; +} + +#search-facets h4 { + background-color : #F3F3F3; + border-bottom : 1px solid #e8e8e8; + font-size : 90%; + margin : 0; + padding : .4em .2em; + text-align : center; +} + +#search-facets ul li { + font-weight : bold; + list-style-type : none; +} + +#search-facets li li { + font-weight : normal; + font-size : 85%; + margin-bottom : 2px; + padding : .1em .2em; +} + +#search-facets li li a { +} + +#search-facets li.showmore { + font-weight : bold; + text-indent : 1em; +} \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index 5bb67ce171..a71a2b409b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -1,14 +1,16 @@ - -
    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 bd567b06d4..eb6eb2107d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl @@ -1,6 +1,33 @@ Koha › Catalog › <!-- TMPL_IF NAME="searchdesc" -->Results of Search for '<!-- TMPL_VAR NAME="query_desc" --><!-- TMPL_VAR NAME="limit_desc" -->'<!-- TMPL_ELSE -->You did not specify any search criteria<!-- /TMPL_IF --> + @@ -8,7 +35,7 @@ -
    +
    @@ -26,9 +53,28 @@
    +
    + + + " value=""/> + + + " value=""/> + + + + + + + + + +

    results found for '' -

    +

    Ignored the following common words: ""

    @@ -183,34 +229,14 @@
    -
    - - - " value=""/> - - - " value=""/> - - - - - -

    - Re-sort results - -

    - -
    - + - + - + @@ -219,21 +245,14 @@ - - + - +

    +
       Results Location
    + "> 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" /> - - - - " title="" /> - - - + -

    . +

    "> @@ -254,7 +273,9 @@

    -

    +

    + " title="" style="float: left; margin: .1em;" /> + "> @@ -266,12 +287,19 @@ ; - ; + (modified on )

    -

    + + No holds allowed + + ">Holds + +

    - copies available at: --> [">](), + copies available at:

    No copies available: @@ -281,17 +309,8 @@ Lost () On order () -

    -
    - - No holds allowed - - "> - Holds - - -
    -- 2.39.2