projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
91a1c6c
)
added form to print another barcode
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 9 Feb 2012 17:08:38 +0000
(18:08 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 25 Mar 2019 14:41:15 +0000
(15:41 +0100)
labels/spinelabel-print.pl
patch
|
blob
|
history
diff --git
a/labels/spinelabel-print.pl
b/labels/spinelabel-print.pl
index
3811d3e
..
55cb638
100755
(executable)
--- a/
labels/spinelabel-print.pl
+++ b/
labels/spinelabel-print.pl
@@
-115,19
+115,30
@@
$body = $scheme;
# XXX FFZG
# XXX FFZG
-$body .= qq|
+my $url = $query->url;
+my $station = $query->param('station');
+
+$body = qq|
<style type="text/css">
<style type="text/css">
-#printed_label {
- display: block;
- border: 1px solid #ccc;
- position: absolute;
- top: 0;
- left: 0;
-}
#print_button {
display: none;
}
#print_button {
display: none;
}
+#printed_label {
+ border: 1px solid #aaa;
+}
+body {
+ margin: 1em;
+}
</style>
</style>
+
+<form action="$url" method="post">
+Enter another barcode:
+<input type=text name=barcode autofocus>
+<input type=submit value="Print">
+</form>
+
+<h1>Last printed call number for $barcode on $station</h1>
+
<img id="printed_label" src="http://printer-zebra.vbz.ffzg.hr/$barcode.png">
|;
<img id="printed_label" src="http://printer-zebra.vbz.ffzg.hr/$barcode.png">
|;