Projekt

Obecné

Profil

Stáhnout (1.84 KB) Statistiky
| Větev: | Tag: | Revize:
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
</h6>
11 35168e5f zemanm98@students.zcu.cz
<h4>Serial Number: {{device.serial_number}}</h4>
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 35168e5f zemanm98@students.zcu.cz
    <option value={{license.id}}>{{license.name}} : {{license.license_id}}</option>
17 eaf8ace4 Matej Zeman
      {% endfor %}
18
  </select>
19
  <input type="submit" value="Connect">
20
</form>
21 35168e5f zemanm98@students.zcu.cz
<div style='padding-top:20px'>
22 7fe7be79 zemanm98@students.zcu.cz
<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 35168e5f zemanm98@students.zcu.cz
    <option value={{license.id}}>{{license.name}} : {{license.license_id}}</option>
27 7fe7be79 zemanm98@students.zcu.cz
      {% endfor %}
28
  </select>
29
  <input type="submit" value="Delete">
30
</form>
31 35168e5f zemanm98@students.zcu.cz
</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 eaf8ace4 Matej Zeman
</body>
58
</html>