Finalizing work on Printer Profiles feature.
[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;  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/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 <form name="input" action="/cgi-bin/koha/labels/label-create-profile.pl" method="get">
32
33 <div class="yui-g">
34 <h3>Create Printer Profile</h3>
35 <!-- TMPL_IF NAME="dberror" -->
36 <div class="yui-g first">
37 <fieldset class="rows"><legend>Error Creating Profile</legend>
38 <ol>
39 <li>
40     <!-- TMPL_VAR NAME="errmsg" --> 
41 </li>
42 </ol>
43 </fieldset>
44 </div>
45 <!-- TMPL_ELSE -->
46 <div class="yui-g first">
47 <fieldset class="rows"><legend>Profile Settings</legend>
48
49 <ol>
50
51 <li>
52     <label for="printername">Printer Name:</label> <input type="text"  size="40" name="printername" id="printername" />
53 </li>
54 <li>
55     <label for="paper_bin">Paper Bin:</label><input type="text"  size="20" name="paper_bin" id="paper_bin" />
56 </li>
57 <li>
58     <label for="tmpl_id">Template Code: </label><select id="tmpl_id" name="tmpl_id" />
59     <!-- TMPL_LOOP NAME="tmpllist" -->
60         <option value="<!-- TMPL_VAR NAME="tmpl_id" -->"><!-- TMPL_VAR NAME="tmpl_code" --></option>
61     <!-- /TMPL_LOOP -->
62 </li>
63 <li>
64     <label><h4>Offset:</h4></label>
65 </li>
66 <li>
67     <label for="offset_horz">Horizontal:</label><input type="text" size="2" name="offset_horz" id="offset_horz" />
68 </li>
69 <li>
70     <label for="offset_vert">Vertical:</label><input type="text"  size="2" name="offset_vert" id="offset_vert" />
71 </li>
72 <li>
73     <label><h4>Creep:</h4></label>
74 </li>
75 <li>
76     <label for="creep_horz">Horizontal:</label><input type="text" size="2" name="creep_horz" id="creep_horz" />
77 </li>
78 <li>
79     <label for="creep_vert">Vertical:</label><input type="text" size="2" name="creep_vert" id="creep_vert" />
80 </li>
81 <li><label for="unit">Units: </label><select id="unit" name="unit">
82     <!-- TMPL_LOOP NAME="unit" -->
83         <option value="<!-- TMPL_VAR NAME="unit" -->"><!-- TMPL_VAR NAME="desc" --></option>
84     <!-- /TMPL_LOOP -->
85 </select>
86 </li>
87 </ol>
88 </fieldset>
89 <fieldset class="action">
90         <input type="submit" name="op" value="Save" />
91         <input type="reset" name="op" value="Reset" />
92         <input type="submit" name="op" value="Cancel" />
93 </fieldset></div>
94 <!-- /TMPL_IF -->
95 </div>
96 </div></form>
97
98 </div>
99 <div class="yui-b">
100 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
101 </div>
102 </div>
103 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->