From 766639aa0ae8c06e669a75410cc1cf7c6913abaf Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 25 Mar 2008 15:22:56 -0500 Subject: [PATCH] Tweaking the interface of OPAC shelves to more closely match the pattern set by the staff client. Simplifies and focuses on specific tasks. Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 33 ++++++++++- .../prog/en/modules/opac-shelves.tmpl | 55 +++++++++++------- .../opac-tmpl/prog/images/shelf-delete.gif | Bin 0 -> 117 bytes .../opac-tmpl/prog/images/shelf-edit.gif | Bin 0 -> 303 bytes koha-tmpl/opac-tmpl/prog/images/shelf-new.gif | Bin 0 -> 305 bytes 5 files changed, 65 insertions(+), 23 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/prog/images/shelf-delete.gif create mode 100644 koha-tmpl/opac-tmpl/prog/images/shelf-edit.gif create mode 100644 koha-tmpl/opac-tmpl/prog/images/shelf-new.gif diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 87f3fe22aa..ac4463b9a0 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -8,7 +8,7 @@ a, a:visited { color : #006699; } -a:hover { +a:hover,input.editshelf:hover,a.editshelf:hover,input.deleteshelf:hover { color : #990033; } @@ -1572,3 +1572,34 @@ a#MARCview, a#ISBDview, a#Normalview { #shelfbrowser em {display:block;font-weight:bold;margin-bottom:5px;font-style:normal;} #shelfbrowser dl div {float:left;} #shelfbrowser img {margin-top:3.5em;} +input.editshelf,a.editshelf { + background : transparent url("../../images/shelf-edit.gif") center left no-repeat; + border : 0; + color : #006699; + cursor : pointer; + margin:0pt 0.5em; + padding-left : 15px; + text-decoration : none; +} +input.newshelf,a.newshelf { + background : transparent url("../../images/shelf-new.gif") center left no-repeat; + border : 0; + color : #006699; + cursor : pointer; + margin:0pt 0.5em; + padding-left : 15px; + text-decoration : none; +} +input.deleteshelf { + background : transparent url("../../images/shelf-delete.gif") center left no-repeat; + border : 0; + color : #006699; + cursor : pointer; + font-size : 100%; + margin:0pt 0.5em; + padding-left : 13px; +} + +input.editshelf:active,input.deleteshelf:active { + border : 0; +} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl index eedda6cbf6..10ba215dcd 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl @@ -82,14 +82,22 @@ $.tablesorter.addParser({
+ + +

Lists /../images/caret.gif" width="16" height="16" alt=">" border="0" />

" /> - - +
+ | &op=modif">Edit List + + + + +
@@ -121,43 +129,45 @@ $.tablesorter.addParser({
This List is empty. You can add to your lists from the results of any search!
- + + - + + " /> - " /> + " />" value="1" /> - + +

Lists /../images/caret.gif" width="16" height="16" alt=">" border="0" /> "> /../images/caret.gif" width="16" height="16" alt=">" border="0" /> Editing

" /> -
-
  Item Type
- - - - -
Edit List
" />
" /> +
  • +
  • -

    -
    + + + +
    ">Cancel
    - +

    Lists