1 |
eaf8ace4
|
Matej Zeman
|
<!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 |
4858e9ee
|
Matej Zeman
|
<form action="/devices-web/{{device.id}}" method="post">
|
13 |
eaf8ace4
|
Matej Zeman
|
<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 |
|
|
</body>
|
22 |
|
|
</html>
|