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
|
</h6>
|
11
|
<h4>Serial Number: {{device.serial_number}}</h4>
|
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}} : {{license.license_id}}</option>
|
17
|
{% endfor %}
|
18
|
</select>
|
19
|
<input type="submit" value="Connect">
|
20
|
</form>
|
21
|
<div style='padding-top:20px'>
|
22
|
<form action="/devices-web-del/{{device.id}}" method="post">
|
23
|
<label for="lic_del">Licenses:</label>
|
24
|
<select id="lic_del" name="lic_del">
|
25
|
{% for license in dev_lic %}
|
26
|
<option value={{license.id}}>{{license.name}} : {{license.license_id}}</option>
|
27
|
{% endfor %}
|
28
|
</select>
|
29
|
<input type="submit" value="Delete">
|
30
|
</form>
|
31
|
</div>
|
32
|
<div style='padding-top:20px'>
|
33
|
<form action="/devices-web-team/{{device.id}}" method="post">
|
34
|
<label for="team_con">Teams:</label>
|
35
|
<select id="team_con" name="team_con">
|
36
|
{% for team in teams %}
|
37
|
<option value={{team.id}}>{{team.name}}</option>
|
38
|
{% endfor %}
|
39
|
</select>
|
40
|
<input type="submit" value="Connect">
|
41
|
</form>
|
42
|
</div>
|
43
|
<div style='padding-top:20px'>
|
44
|
<form action="/devices-web-inv/{{device.id}}" method="post">
|
45
|
<label for="dev_inv">Inventory Number:</label><br>
|
46
|
<input type="text" id="dev_inv" name="dev_inv" value="{{device.inventory_number}}">
|
47
|
<input type="submit" value="Submit">
|
48
|
</form>
|
49
|
</div>
|
50
|
<div style='padding-top:20px'>
|
51
|
<form action="/devices-web-comment/{{device.id}}" method="post">
|
52
|
<label for="dev_com">Comment:</label><br>
|
53
|
<input type="text" id="dev_com" name="dev_com" value="{{device.comment}}">
|
54
|
<input type="submit" value="Submit">
|
55
|
</form>
|
56
|
</div>
|
57
|
</body>
|
58
|
</html>
|