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