Quick Spine Label Printer
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / label-create-profile.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Tools &rsaquo; Labels</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
5 //<![CDATA[
6 function confirm_deletion(biblionumber,itemnumber) {
7     var original = $("#row"+itemnumber).attr("class");
8     $("#row"+itemnumber).attr("class","confirm");
9     var is_confirmed = confirm(_('Are you sure you want to delete this profile?'));
10     if (is_confirmed) {
11         window.location = "additem.pl?op=delitem&biblionumber="+biblionumber+"&itemnumber="+itemnumber;
12     } else {
13         $("#row"+itemnumber).attr("class","");
14     }
15 }
16 //]]>
17 </script>
18 </head>
19 <body>
20 <!-- TMPL_INCLUDE NAME="header.inc" -->
21 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
22
23 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> &rsaquo; <a href="/cgi-bin/koha/labels/label-profiles.pl">Printer Profiles</a> &rsaquo; Create Printer Profile</div>
24
25 <div id="doc3" class="yui-t2">
26    
27    <div id="bd">
28         <div id="yui-main">
29         <div class="yui-b">
30
31         <!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
32
33
34 <h3>Create Printer Profile</h3>
35 <!-- TMPL_IF NAME="dberror" -->
36 <div class="yui-g">
37 <div class="dialog alert"><h3>Error Creating Profile</h3>
38 <p>
39     <!-- TMPL_VAR NAME="errmsg" --> 
40 </p>
41 </div>
42 </div>
43 <!-- /TMPL_IF -->
44 <div class="yui-g">
45 <form name="input" action="/cgi-bin/koha/labels/label-create-profile.pl" method="get">
46 <fieldset class="rows"><legend>Profile Settings</legend>
47
48 <ol>
49
50 <li>
51     <label for="printername">Printer Name:</label> <input type="text"  size="40" name="printername" id="printername" />
52 </li>
53 <li>
54     <label for="paper_bin">Paper Bin:</label><input type="text"  size="20" name="paper_bin" id="paper_bin" />
55 </li>
56 <li>
57     <label for="tmpl_id">Template Code: </label><select id="tmpl_id" name="tmpl_id">
58     <!-- TMPL_LOOP NAME="tmpllist" -->
59         <option value="<!-- TMPL_VAR NAME="tmpl_id" -->"><!-- TMPL_VAR NAME="tmpl_code" --></option>
60     <!-- /TMPL_LOOP --></select>
61 </li>
62 <li>
63     <fieldset><legend>Offset:</legend>
64     <ol><li><label for="offset_horz">Horizontal:</label><input type="text" size="2" name="offset_horz" id="offset_horz" /></li>
65     <li><label for="offset_vert">Vertical:</label><input type="text"  size="2" name="offset_vert" id="offset_vert" /></li></ol></fieldset>
66 </li>
67 <li>
68     <fieldset><legend>Creep:</legend>
69 <ol><li>
70     <label for="creep_horz">Horizontal:</label><input type="text" size="2" name="creep_horz" id="creep_horz" />
71 </li>
72 <li>
73     <label for="creep_vert">Vertical:</label><input type="text" size="2" name="creep_vert" id="creep_vert" />
74 </li></ol>
75 </fieldset>
76 </li>
77 <li><label for="unit">Units: </label><select id="unit" name="unit">
78     <!-- TMPL_LOOP NAME="unit" -->
79         <option value="<!-- TMPL_VAR NAME="unit" -->"><!-- TMPL_VAR NAME="desc" --></option>
80     <!-- /TMPL_LOOP -->
81 </select>
82 </li>
83 </ol>
84 </fieldset>
85 <fieldset class="action">
86         <input type="submit" name="op" value="Save" /> <a class="cancel" href="/cgi-bin/koha/labels/label-profiles.pl">Cancel</a>
87 </fieldset></form></div>
88 </div>
89
90 </div>
91 <div class="yui-b">
92 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
93 </div>
94 </div>
95 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->