doormanager fixes after refactoring
This commit is contained in:
61
frontend/web/doortest/index.html
Normal file
61
frontend/web/doortest/index.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Ajtó teszt</h1>
|
||||
<div>
|
||||
<h2>Bejelentkezés</h2>
|
||||
Kártyaszám: <input id="loginCardNumber">
|
||||
|
||||
Eszköznév: <input id="loginCardNumber">
|
||||
</div>
|
||||
<div>
|
||||
<h2>Mozgás</h2>
|
||||
<form>
|
||||
<div>
|
||||
Token
|
||||
<input value="" id="token">
|
||||
</div>
|
||||
<div>
|
||||
Irány:
|
||||
<select name="direction">
|
||||
<option value="out">Out</option>
|
||||
<option value="in">In</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
Eszköz:
|
||||
<select name="device">
|
||||
<option value="c">Card</option>
|
||||
<option value="q">Qrcode</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
Eszköz azonosító:
|
||||
<input>
|
||||
</div>
|
||||
</form>
|
||||
<button onclick="move()">
|
||||
Mozgás
|
||||
</button>
|
||||
<div id="response">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
function move(){
|
||||
alert('ok');
|
||||
const token = document.getElementById('token').value;
|
||||
const dir = document.getElementById('direction').value;
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user