From 37173a1080aef768c9627c34ea2df18dc24fc2b4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 7 Nov 2007 15:46:28 -0600 Subject: [PATCH] Adding "Loading" overlay for addbiblio and add authority pages. Adding YUI button to authorites.tmpl. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../intranet-tmpl/prog/en/css/addbiblio.css | 52 ++++++++++++++++ .../en/modules/authorities/authorities.tmpl | 56 ++++++++++++------ .../en/modules/cataloguing/addbiblio.tmpl | 18 +++--- koha-tmpl/intranet-tmpl/prog/img/loading.gif | Bin 0 -> 4178 bytes 4 files changed, 97 insertions(+), 29 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css create mode 100644 koha-tmpl/intranet-tmpl/prog/img/loading.gif diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css new file mode 100644 index 0000000000..19f5679879 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css @@ -0,0 +1,52 @@ + #addbibliotabs { margin-top : 1em; } + a.buttonPlus { + font-weight : bold; + text-decoration : none; + } + a.expandfield { + color : #000; + text-decoration : none; + } +#loading { + height: 100%; + width: 100%; + background-color: #000; + position: fixed; + left: 0pt; + top: 0pt; + z-index: 2999; + opacity: 0.5; +} + +*html #loading { + position : absolute; + top : 971px; + filter : alpha(opactity=50); +} + +.loading { + background : #EEE url("../../img/loading.gif") no-repeat 17px center; + border : 2px outset #CCC; + color : #000; + font-size : 174%; + height : 70px; + line-height : 70px; + left:50%; + margin-left:-100px; + opacity : 1; + padding:12px; + padding-left : 20; + position:fixed; + text-align : center; + top:17%; + width:200px; + z-index: 3000; + } + * html .loading { + position: absolute; + top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px'); +} + #authoritytabs { + margin-top : 1em; + margin-bottom : 1em; + } \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl index 74c14a5c2e..fb487cd1e8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl @@ -7,6 +7,10 @@ $(document).ready(function() { $('#authoritytabs').tabs(); + $("#loading,.loading").hide(); + $("#f").submit(function(){ + return $(this).Check(); + }); }); /** @@ -360,14 +364,14 @@ function searchauthority() { } //]]> - +/css/addbiblio.css" /> + @@ -390,13 +394,33 @@ function searchauthority() { " /> " /> -
- - - - - -
+
+ +
@@ -547,11 +571,7 @@ function searchauthority() { " />
- - - - - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl index b7945675ca..6ecb9c9f9c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -7,6 +7,7 @@ $(document).ready(function() { $('#addbibliotabs').tabs(); + $("#loading,.loading").hide(); }); function confirmnotdup(){ @@ -413,19 +414,14 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ? } //]]> - +/css/addbiblio.css" /> + diff --git a/koha-tmpl/intranet-tmpl/prog/img/loading.gif b/koha-tmpl/intranet-tmpl/prog/img/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..41708ca8a6c64e6a6ecec6351a0d97297b49656c GIT binary patch literal 4178 zcmd7VX;c%3+6VB-tjSCgCNLmNf(amEL@pv)pzSqeAuJIP0kL8Q4WbleRS`w@T?G`Y z!b=Sh5OD$Az)P)xfC923Aa0-{?h4vo?QOmH#(VAirRRM=^+V_5%sDf2e&_%EpBcG_ zo0D@WAK(K&0l=$QuK)me_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