Merge remote-tracking branch 'kc/new/enh/bug_5263' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / spinelabel-print.tt
1 <!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 [% IF ( bidi ) %]
4 <html lang="[% lang %]" xml:lang="[% lang %]" dir="[% bidi %]" xmlns="http://www.w3.org/1999/xhtml">
5 [% ELSE %]
6 <html lang="[% lang %]" xml:lang="[% lang %]" xmlns="http://www.w3.org/1999/xhtml">
7 [% END %]
8 <head>
9         <title>Koha &rsaquo; Tools &rsaquo; Spine Labels</title>
10         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11         <link rel="stylesheet" type="text/css" href="[% themelang %]/css/spinelabel.css" />
12
13                 <style type="text/css">
14                 @media print {
15                         .noprint { display: none; }
16                 }
17         </style>
18 </head>
19         [% IF ( BarcodeNotFound ) %]
20                 <body>
21                         <p>The barcode [% Barcode %] was not found.</p>
22                         <p><a href="spinelabel-home.pl">Return To Spine Label Printer</a></p>
23                 </body>
24         [% ELSE %]
25                 [% IF ( autoprint ) %]
26                         <body onLoad="window.print()">
27                 [% ELSE %]      
28                         <body>
29                 [% END %] 
30                         <span id="spinelabel" class="label">
31                                 [% content %]
32                         </span>
33                         <span id="print_button" class="noprint">
34                                 <button onclick="window.print()">Print This Label</button>
35                         </span>
36                 </body>
37         [% END %]
38 </html>