Koha/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-create-profile.tmpl
Owen Leonard 5e8671477f Making label toolbars more consistent
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-30 06:09:24 -05:00

95 lines
3.3 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Tools &rsaquo; Labels</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript">
//<![CDATA[
function confirm_deletion(biblionumber,itemnumber) {
var original = $("#row"+itemnumber).attr("class");
$("#row"+itemnumber).attr("class","confirm");
var is_confirmed = confirm(_('Are you sure you want to delete this profile?'));
if (is_confirmed) {
window.location = "additem.pl?op=delitem&biblionumber="+biblionumber+"&itemnumber="+itemnumber;
} else {
$("#row"+itemnumber).attr("class","");
}
}
//]]>
</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
<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>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
<h3>Create Printer Profile</h3>
<!-- TMPL_IF NAME="dberror" -->
<div class="yui-g">
<div class="dialog alert"><h3>Error Creating Profile</h3>
<p>
<!-- TMPL_VAR NAME="errmsg" -->
</p>
</div>
</div>
<!-- /TMPL_IF -->
<div class="yui-g">
<form name="input" action="/cgi-bin/koha/labels/label-create-profile.pl" method="get">
<fieldset class="rows"><legend>Profile Settings</legend>
<ol>
<li>
<label for="printername">Printer Name:</label> <input type="text" size="40" name="printername" id="printername" />
</li>
<li>
<label for="paper_bin">Paper Bin:</label><input type="text" size="20" name="paper_bin" id="paper_bin" />
</li>
<li>
<label for="tmpl_id">Template Code: </label><select id="tmpl_id" name="tmpl_id">
<!-- TMPL_LOOP NAME="tmpllist" -->
<option value="<!-- TMPL_VAR NAME="tmpl_id" -->"><!-- TMPL_VAR NAME="tmpl_code" --></option>
<!-- /TMPL_LOOP --></select>
</li>
<li>
<fieldset><legend>Offset:</legend>
<ol><li><label for="offset_horz">Horizontal:</label><input type="text" size="2" name="offset_horz" id="offset_horz" /></li>
<li><label for="offset_vert">Vertical:</label><input type="text" size="2" name="offset_vert" id="offset_vert" /></li></ol></fieldset>
</li>
<li>
<fieldset><legend>Creep:</legend>
<ol><li>
<label for="creep_horz">Horizontal:</label><input type="text" size="2" name="creep_horz" id="creep_horz" />
</li>
<li>
<label for="creep_vert">Vertical:</label><input type="text" size="2" name="creep_vert" id="creep_vert" />
</li></ol>
</fieldset>
</li>
<li><label for="unit">Units: </label><select id="unit" name="unit">
<!-- TMPL_LOOP NAME="unit" -->
<option value="<!-- TMPL_VAR NAME="unit" -->"><!-- TMPL_VAR NAME="desc" --></option>
<!-- /TMPL_LOOP -->
</select>
</li>
</ol>
</fieldset>
<fieldset class="action">
<input type="submit" name="op" value="Save" /> <a class="cancel" href="/cgi-bin/koha/labels/label-profiles.pl">Cancel</a>
</fieldset></form></div>
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->