X-Git-Url: http://git.rot13.org/?p=Biblio-RFID.git;a=blobdiff_plain;f=examples%2Fselfcheck.html;h=1c0b378b8da3b69612aaee25a132117e1dc57a93;hp=979ca02a3072fbef11928bf5b269e7941e841d32;hb=282b54550a8a651fe528648d40aa7c582d288511;hpb=71eca481790da9d6c41799bba4930965b30c4e44 diff --git a/examples/selfcheck.html b/examples/selfcheck.html index 979ca02..1c0b378 100644 --- a/examples/selfcheck.html +++ b/examples/selfcheck.html @@ -8,15 +8,27 @@ body, input { font-family: 'Roboto', sans-serif; - background: #eee; font-size: 150%; + /* disable selection which brings havoc on touchscreens */ + -webkit-user-select: none; + -moz-user-select: -moz-none; + -ms-user-select: none; + user-select: none; } body { + background: #f0f0ff; margin: 2em; } +h1 { + position: absolute; + top: -0.5em; + left: 0.5em; + font-size: 100%; +} + .status { background: #ff8; } @@ -40,13 +52,24 @@ body { width: 20em; top: 0; right: 0; + font-size: 50%; } input[type=button] { + display: block; + float: left; + width: 50%; + height: 6em; + font-size: 100%; +} + +.button { margin-top: 1em; display: block; width: 100%; - height: 5em; + position: absolute; + left: 0; + bottom: 0; } #timeout { @@ -54,13 +77,24 @@ input[type=button] { position: absolute; top: 50%; left: 50%; - margin-left: -10em; + margin-left: -8em; /* width + 2 * padding / 2 */ margin-top: -5em; - width: 20em; - height: 10em; + width: 12em; + height: 8em; background: #ff8; padding: 2em; border: 0.5em solid #f00; + text-align: center; + font-size: 100%; +} + +#working { + display: none; + position: absolute; + top: 50%; + left: 50%; + margin-left: -250px; /* 500 / 2 */ + margin-top: -187px; /* 375 / 2 */ } @@ -72,12 +106,18 @@ input[type=button] { RFID reader not found or driver program not started. -

Knjižnica Filozofskog fakulteta

Timeout in 99 seconds. - +
+ +
+
+ + +
+
@@ -87,7 +127,7 @@ Timeout in 99 seconds. Put borrower card on a reader to borrow books --> -Ako želite posuditi knjigu, najprije stavite iskaznicu na za to previđeno mjesto. +Ako želite posuditi knjigu, najprije stavite iskaznicu na za to predviđeno mjesto.
@@ -95,12 +135,15 @@ Ako želite posuditi knjigu, najprije stavite iskaznicu na za to previđeno mjes Select checkin button to return books. --> -Ako želite vratiti knjigu, pristisnite ovaj gumb. +Ako želite vratiti knjigu, pritisnite gumb za povrat. - +
+ +
+ @@ -114,12 +157,17 @@ Borrower:

Dokumenti

+ +
+ +
@@ -147,11 +198,9 @@ Postavite knjige na predviđeno mjesto ispred monitora. -Dokumenata: 0 - -
- +
+