2019-01-05 13:15:51 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="pl">
|
|
|
|
<head>
|
|
|
|
<title>Stołówka ZPM Historia Biletów</title>
|
2019-01-12 15:23:56 +01:00
|
|
|
<h5><p style="text-align: right;">Zalogowano jako {{.UserView}} <button class="button button4"><a href="http://localhost:9197/wylogowano">WYLOGUJ</a></button></p></h5>
|
2019-01-05 13:15:51 +01:00
|
|
|
<link rel="shortcut icon" href="http://www.bronowicka.zs4.lublin.eu/wp-content/uploads/cutlery-297617_1280.png" />
|
|
|
|
<center><img src="http://www.bronowicka.zs4.lublin.eu/wp-content/uploads/cutlery-297617_1280.png" width="150" height="100"/></center>
|
|
|
|
</head>
|
|
|
|
<script>
|
|
|
|
function myFunction() {
|
|
|
|
var checkBox = document.getElementById("RFIDblock");
|
|
|
|
var text = document.getElementById("text");
|
|
|
|
if (checkBox.checked == true){
|
|
|
|
text.style.display = "block";
|
|
|
|
text2.style.display = "none";
|
|
|
|
} else {
|
|
|
|
text.style.display = "none";
|
|
|
|
text2.style.display = "block";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function myFunction2() {
|
|
|
|
var checkBox = document.getElementById("RFIDblock");
|
|
|
|
var text = document.getElementById("text");
|
|
|
|
if (checkBox.checked == true){
|
|
|
|
text.style.display = "block";
|
|
|
|
text2.style.display = "block";
|
|
|
|
} else {
|
|
|
|
text.style.display = "none";
|
|
|
|
text2.style.display = "none";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
|
|
<center><h1>Zmiana PIN lub blokada karty RFID</h1></center>
|
|
|
|
<h2><div><a href="http://localhost:9197/panel">Cofnij</a></div></h2>
|
|
|
|
<form action="/zmianaPINU" method="POST">
|
|
|
|
<fieldset>
|
|
|
|
<center>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<div class="container">
|
|
|
|
<td>Wpisz nowy pin (dokładnie 4 cyfry):</td> <td><input type="password" id="pinFROMsite" name="pinFROMsite" maxlength="4" pattern="([0-9]{4})" title="Wpisz cztery cyfry"></td>
|
|
|
|
</div>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<label class="container"><td>Pozostaw kartę odblokowaną: <input type="radio" id="RFIDstay" name="RFID" value="RFIDstay" onclick="myFunction2()" checked><span class="checkmark"></span></td></label>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<label class="container"><td>Zablokuj kartę: <input type="radio" id="RFIDblock" name="RFID" value="RFIDblock" onclick="myFunction()"><span class="checkmark"></span></td></label>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<label class="container"><td>Odblokuj kartę: <input type="radio" id="RFIDunlock" name="RFID" value="RFIDunlock" onclick="myFunction()"> <span class="checkmark"></span></td></label>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<p id="text" style="display:none" >Karta RFID zostanie Zablokowana!</p>
|
|
|
|
<p id="text2" style="display:none" >Karta RFID zostanie Odblokowana!</p>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br><br>
|
|
|
|
<input type="submit" value="Wykonaj">
|
|
|
|
<br><br>
|
|
|
|
</center>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|