display more info from sip2 partron info
[Biblio-RFID.git] / examples / selfcheck.html
1 <html>
2 <head>
3 <meta charset="utf-8"></meta>
4 <title>RFID SIP2 Selfcheck</title>
5 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
6 <link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
7 <style type="text/css">
8
9 body, input {
10         font-family: 'Roboto', sans-serif;
11         background: #eee;
12         font-size: 150%;
13 }
14
15 body {
16         margin: 2em;
17 }
18
19
20 .status {
21         background: #ff8;
22 }
23
24 .da {
25         background: #fcc;
26 }
27
28 .d7 {
29         background: #cfc;
30 }
31
32 .page {
33         border: 2em solid #fff;
34         border-radius: 1em;
35         background: #fff;
36 }
37
38 #tags {
39         position: fixed;
40         width: 20em;
41         top: 0;
42         right: 0;
43 }
44
45 input[type=button] {
46         margin-top: 1em;
47         display: block;
48         width: 100%;
49         height: 5em;
50 }
51
52 </style>
53 <script type="text/javascript" src="/examples/selfcheck.js"></script>
54 </head>
55 <body>
56
57 <div id="tags">
58 RFID reader not found or driver program not started.
59 </div>
60
61
62 <h1>Knjižnica Filozofskog fakulteta</h1>
63
64 <div class="page" id="start">
65
66 <!--
67 Put borrower card on a reader to borrow books
68 -->
69
70 Ako želite posuditi knjigu, najprije stavite iskaznicu na za to previđeno mjesto.
71
72 <hr>
73
74 <!--
75 Select checkin button to return books.
76 -->
77
78 Ako želite vratiti knjigu, pristisnite ovaj gumb.
79
80 <input name=checkin type=button value="Povrat" onClick="change_page('checkin')">
81 </div>
82
83 <div class="page" id="borrower_info">
84 <!--
85 Borrower:
86 -->
87 <h2>Informacije o članu</h2>
88 <div class="borrower_name"></div>
89 <!--
90 <div class="borrower_email"></div>
91 -->
92 <div class="borrower_number"></div>
93
94 <h2>Dokumenti</h2>
95
96 <ul>
97 <li>Hold items: <span class="hold_items">0</span>
98 <li>Overdue items: <span class="overdue_items">0</span>
99 <li>Charged items: <span class="charged_items">0</span>
100 <li>Fine items: <span class="fine_items">0</span>
101 </ul>
102
103 <h2>Dugovanje</h2>
104
105 Ostatak: 0,00 kn
106
107 <h2>Poruke</h2>
108
109 Greeting from Koha.
110
111 <input type="button" value="OK" onClick="change_page(circulation_type)">
112
113
114 </div>
115
116 <div class="page" id="circulation">
117 <!--
118 Put books to borrow on reader pad.
119 -->
120 Postavite knjige na predviđeno mjesto ispred monitora.
121
122 <hr>
123
124 <div class="checkout">Posuđeno:</div>
125 <div class="checkin">Vraćeno:</div>
126
127 <ul id="books">
128 </ul>
129
130 Dokumenata: <span id="books_count">0</span>
131
132 <div style="display: block">
133 <input type="button" value="Završi" onClick="change_page('end')">
134 <input class="checkout" type="button" value="Informacije o članu" onClick="change_page('borrower_info')">
135 </div>
136
137 </div>
138
139 <div class="page" id="end">
140
141 Hvala što ste koristili selfcheck sustav.
142
143 </div>
144
145 <div class="page" id="error">
146
147 Greška. Odnesite knjige na pult.
148
149 </div>
150
151 </body>
152 </html>