From 07e4359b52062b872ab39333b2f0a855f075a723 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sun, 27 Jan 2008 13:17:32 -0600 Subject: [PATCH] Fixing "check all" function in search results; Using javascript to generate book bag and list buttons, since those functions depend on javascript being enabled.Also adding help.css, missing from yesterday's help file commits. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/intranet-tmpl/prog/en/css/help.css | 5 ++ koha-tmpl/opac-tmpl/prog/en/css/opac.css | 19 ++--- .../prog/en/modules/opac-results.tmpl | 68 ++++++++++++++---- koha-tmpl/opac-tmpl/prog/images/checknone.gif | Bin 0 -> 83 bytes 4 files changed, 65 insertions(+), 27 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/css/help.css create mode 100644 koha-tmpl/opac-tmpl/prog/images/checknone.gif diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/help.css b/koha-tmpl/intranet-tmpl/prog/en/css/help.css new file mode 100644 index 0000000000..62d2ca2937 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/css/help.css @@ -0,0 +1,5 @@ +/* help.css For inclusion on help pages */ + +body#help { + padding : 1em; +} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index a777fe5a7c..b5444323bb 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -242,8 +242,10 @@ input[type=submit]:active, input[type=button], input[type=reset] { border: 1px inset #666666; } -p.searchresults { +td.resultscontrol { background-color : #EFF1DC; + vertical-align : middle; + padding : 3px 3px 5px 5px; } table { @@ -695,11 +697,12 @@ a.cancel { margin-right : .1em; } -.searchresults input, .searchresults label, .searchresults select { +.resultscontrol input, .resultscontrol label, .resultscontrol select { font-size: 90%; + margin-top : 4px; } -.searchresults label { +.resort { float : right; margin-top : 5px; } @@ -714,19 +717,11 @@ a.cancel { padding-top : .6em; } -.searchresults p img { +td.resultscontrol img { vertical-align: middle; } .searchresults table td { - vertical-align: top; -} - -p.searchresults { - background-color : #EFF1DC; - margin-top : -5px; - vertical-align : middle; - padding : 3px 3px 5px 5px; } .searchresults table { 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 43338a4264..038d64c975 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl @@ -5,11 +5,46 @@ You did not specify any search criteria - - "> +href="/cgi-bin/koha/opac-rss.pl?" /> + + + + @@ -80,7 +115,11 @@ href="/cgi-bin/koha/opac-rss.pl? - class="highlight"> + + + + + """> @@ -106,14 +145,13 @@ href="/cgi-bin/koha/opac-rss.pl? - + @@ -132,8 +170,8 @@ href="/cgi-bin/koha/opac-rss.pl? -

- - - Check All - - if (vShelfAdd()) {Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?' + vShelfAdd());} alert('You must be logged in to create or add to Lists'); return false;" /> - -

+
+ + + + +
. "> "> "> by ">  -

- +

. " title="View details for this title"> " title="View details for this title"> " title="View details for this title"> by " title="Search for works by this author">  +

- - ; - @@ -166,7 +204,7 @@ href="/cgi-bin/koha/opac-rss.pl?">Place Reserve " title="Click to add to book bag" /> +

">Place Hold " title="Click to add to book bag" /> "> diff --git a/koha-tmpl/opac-tmpl/prog/images/checknone.gif b/koha-tmpl/opac-tmpl/prog/images/checknone.gif new file mode 100644 index 0000000000000000000000000000000000000000..372cc4a69812098b764e36ad7825074356e09069 GIT binary patch literal 83 zcmZ?wbhEHb6k-r!XkcVGbLPzd|Nj+#vM@3*Ff!;c00Bsbfk~@JzTx!B+If=&G`zLX l6`18Ugo(Q;TPCIKSi3BuRzYdyi_&}BcJJ=IugSn*4FD;F9D4u& literal 0 HcmV?d00001 -- 2.39.5