minor template changes
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / tools / barcodes.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <!-- TMPL_INCLUDE NAME="menus.inc" -->
4 <!-- TMPL_INCLUDE NAME="menu-tools.inc" -->
5
6 <!--   START OF ADD COUNTRY CODE PANEL  -->
7 <div class="countryPanel" id="addCountryCode">
8         <form action="/cgi-bin/koha/barcodes/barcodes.pl" method="post" style="display:inline">
9                 <input type="hidden" name="addCode" value="1" />
10 <h4>Add a new Country Code</h4>
11 <ul>
12         <li><label for="countryName">Country Name:</label> <input type="text" size="10" id="countryName" name="countryName" /></li>
13         <li><label for="countryCode">Country Code:</label> <input type="text" size="3" id="countryCode" name="countryCode" /></li>
14 </ul>
15 <input type="submit" name="submit" id="submit" value="Save Code"/>
16 <input type="button" name="cancel" id="cancel" value="Cancel" onclick="document.getElementById('addCountryCode').style.display = 'none'" />
17         </form>
18 </div>
19
20 <!--   END OF ADD COUNTRY CODE PANEL  -->
21
22         <h1>Barcodes Generator</h1>
23         <h3>Generate barcodes from inventory codes</h3>
24         <ul>
25                 <li>Select a range of inventary codes. You can choose a continuous range or individual inventory codes</li>
26                 <li>Select the standard type to generate barcodes.</li>
27                 <li>Define the page size for output the PDF.</li>
28                 <li>Depending on page size, Koha will show you how the page is arranged
29                     for each barcode. You can define wich point to start printing the page.
30                 </li>
31         </ul>
32         
33 <!-- TMPL_IF NAME="ERROR" -->Can't find inventory codes in that range. Please try again.<!-- /TMPL_IF -->
34
35         <form id="formulario" method="POST" action="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->" name="form1" onsubmit="return checkFields(this);" target="_blank">
36                 <label for="rangeType">Type of Interval: </label><!-- TMPL_VAR NAME="RANGE_TYPE" -->
37
38 <div id="continuous" class="panel" style="display:inline">
39         <ul>
40                 <li><label for="from">From:</label><input id="from" type="text" name="from" size="20" /></li>
41                 <li><label for="to">To:</label><input id="to" type="text" name="to" size="20" /></li>
42         </ul>
43 </div>
44
45                                          
46  <div id="individuals" class="panel" style="display:none; background-color: #ffffff;">
47 <label for="inventaryCode">Inventory Code: </label><input id="inventaryCode" type="text" name="inventaryCode" size="20" />
48 <a href="#" onclick="addItem(); return false;">[+]</a>  
49 <a href="#" onclick="removeItem(); return false;">[-]</a>
50 <select id="inventaryList" size="5" style="width:150px">
51 </select>
52 <input type="hidden" id="individualCodes" name="individualCodes">                                                                                                                                                                               
53 </div>                                          
54
55 <p>
56 <label for="numbersystem">Country Code: </label><!-- TMPL_VAR NAME="NUMBER_SYSTEM" --><a href="#" onClick="addCountryCode(); return false;">[+]</a></p>
57
58 <p>                                                             <label for="pageType">Page Size</label><input type="text" id="pageType" name="pageType" readonly="readonly" disabled="disabled" value="<!-- TMPL_VAR NAME="PAGES" -->"  size="10" /><a href="/cgi-bin/koha/barcodes/printerConfig.pl">[Go to Printer Configuration]</a></p>
59                                                                 
60
61 <p><label for="text_under_label">Text under label</label>
62                                         <input type="text" id="text_under_label" name="text_under_label" size="40" value="<!-- TMPL_VAR name="text_under_label -->" /> If this field is empty, author and title will be used instead</p>
63
64                                 <table>
65                                                 <tr>
66                                                         <th colspan="<!-- TMPL_VAR NAME="COL_SPAN" -->">Label number to start printing</th>
67                                                 </tr>
68                                                 <!-- TMPL_LOOP NAME="LABEL_TABLE" -->
69                                                         <tr>
70                                                                 <!-- TMPL_LOOP NAME="columns" -->
71                                                                         <td>
72                                                                                 <input type="radio" id="label" value="<!-- TMPL_VAR NAME="tagname" -->" name="label" <!-- TMPL_VAR NAME="check" -->>  Label  <!-- TMPL_VAR NAME="labelname" --></td>
73                                                                 <!-- /TMPL_LOOP -->
74                                                         </tr>
75                                                 <!-- /TMPL_LOOP -->                         
76                                         </table>
77
78 <input type="submit" value="Generate Barcodes" name="B1">
79 <input type="reset" value="Clear Fields" name="B2">
80 </form>
81
82 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
83