1 |
7fe7be79
|
zemanm98@students.zcu.cz
|
<!DOCTYPE html>
|
2 |
|
|
<html lang="en">
|
3 |
|
|
<head>
|
4 |
|
|
<meta charset="UTF-8">
|
5 |
|
|
<title>Body Device License Connect</title>
|
6 |
|
|
</head>
|
7 |
|
|
<body>
|
8 |
|
|
<h6><p>Vendor ID: {{device.vendor_id}}</p>
|
9 |
|
|
<p>Serial Number: {{device.serial_number}}</p>
|
10 |
|
|
</h6>
|
11 |
|
|
<form action="/body-devices-web/{{device.id}}" method="post">
|
12 |
|
|
<label for="lic">Licenses:</label>
|
13 |
|
|
<select id="lic" name="lic">
|
14 |
|
|
{% for license in licenses %}
|
15 |
|
|
<option value={{license.id}}>{{license.name}}</option>
|
16 |
|
|
{% endfor %}
|
17 |
|
|
</select>
|
18 |
|
|
<input type="submit" value="Connect">
|
19 |
|
|
</form>
|
20 |
|
|
<form action="/body-devices-web-del/{{device.id}}" method="post">
|
21 |
|
|
<label for="b_lic">Licenses:</label>
|
22 |
|
|
<select id="b_lic" name="b_lic">
|
23 |
|
|
{% for license in dev_lic %}
|
24 |
|
|
<option value={{license.id}}>{{license.name}}</option>
|
25 |
|
|
{% endfor %}
|
26 |
|
|
</select>
|
27 |
|
|
<input type="submit" value="Delete">
|
28 |
|
|
</form>
|
29 |
|
|
</body>
|
30 |
|
|
</html>
|