From 90ccab18a44ba7b1fa1603ab2062b0ff62e2a0be Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 17 Mar 2008 15:07:14 -0500 Subject: [PATCH] More js-based table sorting Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 21 ++++++- .../prog/en/modules/opac-detail.tmpl | 2 + .../prog/en/modules/opac-shelves.tmpl | 58 +++++++++++++------ .../prog/en/modules/opac-suggestions.tmpl | 38 +++++++++--- .../opac-tmpl/prog/en/modules/opac-user.tmpl | 43 ++++---------- 5 files changed, 103 insertions(+), 59 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 285eb4368a..56638a1520 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -237,7 +237,8 @@ td,th { th { background-color:#EFF1DC; font-weight : bold; - padding : 2px 4px; + padding : 2px 23px; + text-align : center; } th.sum { @@ -253,12 +254,16 @@ th[scope=row] { text-align : right; } -tr.highlight td, tr.highlight th { +tr.highlight td, tr.highlight th, tr.odd td { background-color : #F3F3F3; border : 1px solid #DDDDDD; border-right : 1px solid #DDDDDD; } +tr.even td, tr.even.highlight td { + background-color: #FFF; +} + tr.grouplabel td { background-color : #E8E8E8; border : 1px solid #DDDDDD; @@ -267,6 +272,18 @@ tr.grouplabel td { font-weight : bold; padding: 10px; } +.header { + background-image:url("../../images/ascdesc.gif"); + background-position:right center; + background-repeat:no-repeat; + cursor:pointer; +} +.headerSortUp { + background-image:url("../../images/asc.gif"); +} +.headerSortDown { + background-image:url("../../images/desc.gif"); +} ul { list-style : disc; diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index 6522488070..28853fd5eb 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -184,6 +184,8 @@ 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 4f961368eb..7923d0d279 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl @@ -1,4 +1,35 @@ Koha Online Catalog › Contents of My Lists + + + @@ -49,18 +80,19 @@

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

-
+ " /> - - - + +
/../images/checkall.gif" alt="Check All" border="0" />
+ + - - + + @@ -74,21 +106,11 @@ - + - +
    Title Author Copyright
/../itemtypeimg/.gif" alt="" title="" /> - - "> - - - "> - - "> - - - "> "> ">
This List is empty. You can add to your lists from the results of any search!
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl index e3e7cea7d2..06020c0d3c 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl @@ -2,6 +2,29 @@ Enter a new purchase suggestion Purchase Suggestions + + @@ -58,16 +81,16 @@
- - +
+ - - + + - - +
  Summary Note Suggested by Managed by Status
" /> @@ -98,12 +121,11 @@
+
- +
-

There are no pending purchase suggestions.

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl index 382534b133..447e08c50a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl @@ -7,23 +7,19 @@ - @@ -285,13 +264,14 @@ No renewals left - + - + + +
Holds ( total)
Title Placed On Pick Up Location Status Modify
@@ -324,6 +304,7 @@ No renewals left