-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
139 lines (115 loc) · 2.88 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>ZebraKiller</title>
<meta name="AUTHOR" content="[email protected]" />
<meta name="GENERATOR" content="vim" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
BODY {
font-family: verdana, tahoma, arial;
font-size: 1em;
background: #ffffff;
}
#container {
position: relative;
top: 10px;
width: 600px;
margin: 0 auto;
}
#header {
height: 30px;
float: left;
font-size: 1.5em;
}
#sep {
border-bottom: 1px #cccccc solid;
clear:both;
}
#close {
height: 30px;
float: right;
font-size: 0.8em;
color: #cccccc;
margin-top: 10px;
cursor: pointer;
}
#main {
width: 100%;
}
#footer {
width: 100%;
border-top: 1px #cccccc solid;
text-align: center;
font-size: 0.8em;
color: #cccccc;
}
.red {
color: #B32D00;
}
.gray {
color: #cccccc;
}
input {
font-size: large;
}
</style>
<script type="text/javascript">
function changeClass( idref, classname ) {
var el = document.getElementById(idref);
var attributeNode = el.getAttributeNode("class");
if( attributeNode ) { attributeNode.value = classname; }
else { el.setAttribute("class", classname); }
}
window.onload = function(){
var serviceTab = document.getElementById('close');
serviceTab.onmouseover = function(){changeClass('x','red');};
serviceTab.onmouseout = function(){changeClass('x','gray');};
}
</script>
</head>
<body>
<div id="container">
<div id="header">
ZebraKiller // barcode printer for KOHA
</div>
<div id="close" onclick="window.location='index.php'">
<span id="x" class="gray">x</span> Reset
</div>
<div id="sep"></div>
<div id="main">
<form name="label" method="post" action="tc_label.php">
<h3>Page and label layout (currently predefined):</h3>
<p>Choose template:<br />
<select name="label_template">
<option value="Avery_L4737">Avery L4737</option>
<option value="Avery_L4737_test">Avery L4737 test</option>
</select>
<p>Choose filter:<br />
<select name="filter">
<option value="borrower">Patron username</option>
<option value="barcode">Barcode number (single or array)</option>
<option value="callnumber">Callnumber starts with (4 chars minimum)</option>
</select>
<p>Filter value: <br />
<input type="text" name="filter_value" size="50">
</p>
<p>Status:<br />
<select name="status">
<option value="all">On loan and on shelves</option>
<option value="onloan">On loan only</option>
<option value="onshelf">On shelf only</option>
</select>
<p>Label number start position: <br />
<input type="text" name="position" value="1" size="1">
</p>
<p><input type="submit" value="Generate PDF" name="generate">
</form>
</div>
<div id="footer">
© 2010. Ruđer Bošković Institue Library
</div>
</div>
</body>
</html>