projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40a6b9c
)
RFID first time user test improvements in web steps
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 28 Jan 2017 15:16:15 +0000
(16:16 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 25 Mar 2019 14:43:15 +0000
(15:43 +0100)
ffzg/rfid/download.pl
patch
|
blob
|
history
diff --git
a/ffzg/rfid/download.pl
b/ffzg/rfid/download.pl
index
13059dd
..
69ead70
100755
(executable)
--- a/
ffzg/rfid/download.pl
+++ b/
ffzg/rfid/download.pl
@@
-76,10
+76,11
@@
if ( $remote_host !~ m/^10\.60\./ ) {
}
} else {
}
} else {
+#} elsif ( ! $exists ) {
- print qq{<b>Using exists port $serial_port on $server_name for configuration</b>} if $exists;
print qq{
print qq{
+
<h2>Create rfid directory</h2>
<h2>Download files to the rfid directory</h2>
<ol>
<h2>Create rfid directory</h2>
<h2>Download files to the rfid directory</h2>
<ol>
@@
-88,9
+89,21
@@
if ( $remote_host !~ m/^10\.60\./ ) {
</ol>
<h2>Create shortcut to rfid.bat on desktop<h2>
<h2>Run shortcut rfid.bat</h2>
</ol>
<h2>Create shortcut to rfid.bat on desktop<h2>
<h2>Run shortcut rfid.bat</h2>
+
+ };
+
+#} elsif ( $exists ) {
+ print qq{<b>Using exists port $serial_port on $server_name for configuration</b>};
+
+ if ( IO::Socket::INET->new("$server_name:$json_port") ) {
+ print qq{
+
<h2>Chceck if readedr works and create shortcut on computer to it</h2>
<a href="$koha_url" target="koha">$koha_url</a>
<h2>Chceck if readedr works and create shortcut on computer to it</h2>
<a href="$koha_url" target="koha">$koha_url</a>
- };
+ };
+ } else {
+ print qq{<form><input type=submit name="reload" value="Check connection to RFID reader"></form>};
+ }
}
}