Revize 4858e9ee
Přidáno uživatelem Matěj Zeman před téměř 3 roky(ů)
server/templates/devices/devices.html | ||
---|---|---|
7 | 7 |
<label for="view">Choose view:</label> |
8 | 8 |
<select id="view" name="view" onchange="this.form.action=this.value;"> |
9 | 9 |
<option value=""></option> |
10 |
<option value="/api/v1/logs-web">Logs</option>
|
|
11 |
<option value="/api/v1/devices-web">Devices</option>
|
|
12 |
<option value="/api/v1/teams-web">Teams</option>
|
|
13 |
<option value="/api/v1/pcs-web">PCs</option>
|
|
10 |
<option value="/logs-web">Logs</option> |
|
11 |
<option value="/devices-web">Devices</option> |
|
12 |
<option value="/teams-web">Teams</option> |
|
13 |
<option value="/pcs-web">PCs</option> |
|
14 | 14 |
</select> |
15 | 15 |
<input type="submit" value="OK"> |
16 | 16 |
</form> |
17 |
<form action="/api/v1/devices-web" method="post">
|
|
17 |
<form action="/devices-web" method="post"> |
|
18 | 18 |
<label for="lic">License:</label> |
19 | 19 |
<input id="lic" name="lic" type="text" list="licenses" value="" placeholder="all"> |
20 | 20 |
<datalist id="licenses"> |
... | ... | |
35 | 35 |
</TR> |
36 | 36 |
{% for i in range(devs) %} |
37 | 37 |
<TR> |
38 |
<TD class="ID"><a href="/api/v1/device-license/{{devices[i].id}}">{{devices[i].id}}</a></TD>
|
|
38 |
<TD class="ID"><a href="/device-license/{{devices[i].id}}">{{devices[i].id}}</a></TD> |
|
39 | 39 |
<TD class="Vendor ID">{{devices[i].vendor_id}}</TD> |
40 | 40 |
<TD class="Product ID">{{devices[i].product_id}}</TD> |
41 | 41 |
<TD class="Serial Number">{{devices[i].serial_number}}</TD> |
... | ... | |
53 | 53 |
<TD class="Product ID"></TD> |
54 | 54 |
<TD class="Serial Number"></TD> |
55 | 55 |
<TD class="License"> |
56 |
<form action="/api/v1/license-create" method="get">
|
|
56 |
<form action="/license-create" method="get"> |
|
57 | 57 |
<input type="submit" value="Add"> |
58 | 58 |
</form> |
59 | 59 |
</TD> |
Také k dispozici: Unified diff
Views navigation fix