From bf9a25bb84311f314deb47056d24a72dd3a582ec Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Wed, 12 Aug 2009 17:05:40 -0400 Subject: [PATCH] [25/40] More work on label export coded and interface. Adding icons for all export formats & general dressing up. --- .../prog/en/css/staff-global.css | 55 +++++++++++++ .../en/modules/labels/label-edit-batch.tmpl | 11 +-- .../prog/en/modules/labels/label-print.tmpl | 75 +++++++++++++----- koha-tmpl/intranet-tmpl/prog/img/csv_icon.gif | Bin 0 -> 1315 bytes koha-tmpl/intranet-tmpl/prog/img/icon_xml.gif | Bin 0 -> 1239 bytes .../intranet-tmpl/prog/img/pdficon_large.gif | Bin 0 -> 434 bytes 6 files changed, 114 insertions(+), 27 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/img/csv_icon.gif create mode 100644 koha-tmpl/intranet-tmpl/prog/img/icon_xml.gif create mode 100644 koha-tmpl/intranet-tmpl/prog/img/pdficon_large.gif 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 deef8775bb..980d7658cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1727,3 +1727,58 @@ span.permissiondesc { cursor: pointer; } +h1#pdf { + background:transparent url(../../img/pdficon_large.gif) no-repeat scroll 0%; + border: 0; + margin:0.75em .3em 0.75em .7em; + padding:0; +} + +h1#pdf a { + border:0; + cursor:pointer; + display:block; + height:0px !important; + margin:0; + overflow:hidden; + padding:44px 0 0; + text-decoration:none; + width:35px; +} + +h1#csv { + background:transparent url(../../img/csv_icon.gif) no-repeat scroll 0%; + border: 0; + margin:0.75em .3em 0.75em .7em; + padding:0; +} + +h1#csv a { + border:0; + cursor:pointer; + display:block; + height:0px !important; + margin:0; + overflow:hidden; + padding:44px 0 0; + text-decoration:none; + width:35px; +} + +h1#xml { + background:transparent url(../../img/icon_xml.gif) no-repeat scroll 0%; + border: 0; + margin:0.75em .3em 0.75em .7em; + padding:0; +} + +h1#xml a { + border:0; + cursor:pointer; + display:block; + height:0px !important; + margin:0; + overflow:hidden; + padding:44px 0 0; + text-decoration:none; + width:35px; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl index 6ed0e6ae85..fa9e2fe879 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl @@ -25,7 +25,7 @@ alert("Please select at least one item to delete."); return; // no item selected } - var msg = "Are you sure you want to the selected item(s) from this batch?" + var msg = "Are you sure you want to remove the selected item(s) from this batch?" var answer = confirm(msg); if (answer) { window.location = "/cgi-bin/koha/labels/label-edit-batch.pl?op=remove&batch_id=&" + getstr; @@ -85,11 +85,6 @@ if (document.items.action.checked){ return(document.items.action.value); } - //var x=document.getElementsByName("action"); - //if (x[0].checked) { - // alert(x[0].value); - // return(x[0].value); - //}; }; alert("Please select at least one item."); return (-1); @@ -141,8 +136,8 @@
- - + +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tmpl index d6bf6b75bf..d50821ce04 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tmpl @@ -24,15 +24,64 @@ + + + + + + + + + + + + + + +
- - ?batch_id=&template_id=&layout_id=&start_label=">label_single_.pdf - - ?template_id=&layout_id=&start_label=">label_single_.pdf - - ?batch_id=&template_id=&layout_id=&start_label=">label_batch_.pdf - + Single Labels +

+ ?batch_id=&template_id=&layout_id=&start_label=">label_single_.pdf +

+
+

+ &template_id=&layout_id=">label_single_.csv +

+
+

+ &template_id=&layout_id=">label_single_.xml +

+
+ Single Labels + +

+ ?template_id=&layout_id=&start_label=">label_single_.pdf +

+
+

+ &template_id=&layout_id=">label_single_.csv +

+
+

+ &template_id=&layout_id=">label_single_.xml +

+
+ Label Batch Number + +

+ &template_id=&layout_id=&start_label=">label_batch_.pdf +

+
+

+ &template_id=&layout_id=">label_batch_.csv +

+
+

+ &template_id=&layout_id=">label_batch_.xml +

+
@@ -101,18 +150,6 @@ - - - - - - - -
diff --git a/koha-tmpl/intranet-tmpl/prog/img/csv_icon.gif b/koha-tmpl/intranet-tmpl/prog/img/csv_icon.gif new file mode 100644 index 0000000000000000000000000000000000000000..ec17116e0ae0b4ff2a2453b9c5029cb6e10da1d6 GIT binary patch literal 1315 zcmeH`i!<8?0DymqM4}>I5u{3zc~`S2U72-)O^s_;4*4kwT89X2 zRxBPVs=>sgr5@cHuVxx8Q7S(Xk!YGN(e-5AU1j>t?oAAH~4cl@)+px_iDKm;^i zz#fX#WuZ`LEIU?EP>>$%JXM({kw_*l_{+Pi^tu-TE>=7qZ}q-_Pxl@j9Thj18;wS_ zat#DQJO){vo1$*ck;!BeT@3{(pT|=iYGd8yzi^gD+7*|NYUGO>v-eUW16R1IKbPc; zq*KrcxM_%OGMS!BX9WTQ?L8Z@SiIbI%}^4;jwY!ZFGy-LwPNA+CM0Y6K{ecDstn&$ z$a|6x4h#&)=Vwg3GkU$gr=FD+M%9f_nB7|egABb|D2a8o9GK6S{vljo%Wom>ht<76&e6EOA?YDdafaVd%RIA zoBm^c!{;gB(=|hE~JM3d`Dnexqd0OU&ShShGqVrtT{Se}W|A3%P-6@xW|VhL7VuO*h*(Cz7_Y-g2V94I#*S>Tbk&8ufbd=%^8r zz1FG}Pahp7+PARtbS0rL=0?DCu^N7M#35H_ta<-gzqOg+rz5wOV5n~L4xNh6jt^UF z%>HMBw|tA$^|i0G>a1b$H)w!c9z&kLd2wU@;Y;b*+YZK~CZ?u1bT9J%{AU5u8w3mo zm;k?bC%k(CK<@%33zw)~{(~!MIQqDFVWA!-N-K{b&G6v99CuKO1{(1I@DXdjQ%^5aWq6CgSvpS>gTq`@N`5F z=I@#di#z}0-AVk3Flh-3ZFMgK{{@Wv@YDxRd{l%*lJs;6u6m#6pxc pQYsaYV+l=d7#l@ryM2kT7Qrvn`k3v{>(Ji5Gq|!&gTr7z$iEIw5<&m~ literal 0 HcmV?d00001 diff --git a/koha-tmpl/intranet-tmpl/prog/img/icon_xml.gif b/koha-tmpl/intranet-tmpl/prog/img/icon_xml.gif new file mode 100644 index 0000000000000000000000000000000000000000..779fc58d73ea95a10aa777ec487d96412b5b83b7 GIT binary patch literal 1239 zcmd_pjZ@Qg90%~^S1{!p0~*a_Q=LI9>xaZcU-vLyJuW3=gbTkhtp|yIBa(NglpJtvspo`R=d>-mc?Q*I`mUhQ)71Z8VyF{IAAc0jg5iP8{pB=(UFmnp`oF{!6Cg~uLIHP z1_lO{`X^egR-*yY3~01!wML^>!+=T!KSl5dNlK*>Rx0}t{a`5+eR8>+t!-7vWO5mT z3Ac93xIMkSJyNN(r-uqRN+eRTSRxT4MNu?$gWcUN7X1f2gd$>Jtw1Og2>@ZolSV!u z5O4(aEkvwOt)A6(v@OBF0Zgp<_pINjr;9KC0r)?ZdkL!e8hKEOa#s-JZWE;%8I%o6TPbG>u;#@HqDq<%*oJSad3c&HViG yt=G>~cxLVwWu?`GXCHV)u_JZ3-PL+gNIU=9{-opQa>K@da<~2J@*K~GKK&P|Kuq=k literal 0 HcmV?d00001 diff --git a/koha-tmpl/intranet-tmpl/prog/img/pdficon_large.gif b/koha-tmpl/intranet-tmpl/prog/img/pdficon_large.gif new file mode 100644 index 0000000000000000000000000000000000000000..39673df7b48ee551318e9f366010e13f112df78e GIT binary patch literal 434 zcmZ?wbhEHbRA5kGI3mn&_wHQ=1_mH5FE2MXHvSI;Kr$`u%$YO0ckfP1OA{0n{6BN1 zi;K&DU-;TGc}&Bp7n8EH%*TDB64URjFg#116vJ z?>9r$*ETfP1i0qU%y}1Jv-CmzvfRn_l%6!%$t-;;B;w1&d84>FS#p zv9ZrLn4>dqF#{jZilvq-3>L0op1gc98{4KW>v>i!n!i?W{SJnWvp3IO!M^Xv!c+SW zC~Y-nh(nzR2N@8ZFG;}_9X@(zQZeo9vxq1%)x$T{lqux3R#Zuaeg=C_+9(u zAcKj*1cvL(^$frMGD+wvGO`K?XeboqGc+>(l4A1a0xTh*K!3hCCB>yKGRohoQqx;#L)m4U$;05EW; AqW}N^ literal 0 HcmV?d00001 -- 2.39.5