Merge remote branch 'kc/new/enh/bug_5431' 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 <html lang="[% lang %]" xml:lang="[% lang %]" [% IF ( bidi ) %]dir="[% bidi %]"[% END %] xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5         <title>Koha &rsaquo; Tools &rsaquo; Spine Labels</title>
6         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7         <link rel="stylesheet" type="text/css" href="[% themelang %]/css/spinelabel.css" />
8
9                 <style type="text/css">
10                 @media print {
11                         .noprint { display: none; }
12                 }
13         </style>
14 </head>
15         [% IF ( BarcodeNotFound ) %]
16                 <body>
17                         <p>The barcode [% Barcode %] was not found.</p>
18                         <p><a href="spinelabel-home.pl">Return To Spine Label Printer</a></p>
19                 </body>
20         [% ELSE %]
21                 [% IF ( autoprint ) %]
22                         <body onLoad="window.print()">
23                 [% ELSE %]      
24                         <body>
25                 [% END %] 
26                         <span id="spinelabel" class="label">
27                                 [% content %]
28                         </span>
29                         <span id="print_button" class="noprint">
30                                 <button onclick="window.print()">Print This Label</button>
31                         </span>
32                 </body>
33         [% END %]
34 </html>