Projekt

Obecné

Profil

Stáhnout (1.37 KB) Statistiky
| Větev: | Tag: | Revize:
1
<html>
2
<head>
3
    <title>Pcs Details</title>
4
</head>
5
<body>
6
<div style='float:left;padding-right:20px'>
7
<b>Your role: {{user}}</b>
8
</div>
9
<div style='float:left;padding-right:5px'>
10
<form action="/login" method="get">
11
    <input type="submit" value="Login" />
12
</form>
13
</div>
14
<div style='float:left;padding-right:5px'>
15
<form action="/signup" method="get">
16
    <input type="submit" value="Sign Up" />
17
</form>
18
</div>
19
<form action="/logout" method="get">
20
    <input type="submit" value="Logout" />
21
</form>
22
<form action="" method="get">
23
  <label for="view">Choose view:</label>
24
  <select id="view" name="view" onchange="this.form.action=this.value;">
25
      <option value="/logs-web">Vector Logs</option>
26
      <option value="/ldlogs-web">Lauterbach Logs</option>
27
      <option value="/devices-web">Devices</option>
28
      <option value="/body-devices-web">Body Devices</option>
29
      <option value="/teams-web">Teams</option>
30
      <option value="/pcs-web" selected>PCs</option>
31
      <option value="/licenses-web">Licenses</option>
32
  </select>
33
  <input type="submit" value="OK">
34
</form>
35
<table>
36
    <TR>
37
        <TH>ID</TH>
38
        <TH>Username</TH>
39
        <TH>Hostname</TH>
40
    </TR>
41
    {% for pc in pcs %}
42
    <TR>
43
        <TD class="ID">{{pc.id}}</TD>
44
        <TD class="Username">{{pc.username}}</TD>
45
        <TD class="Hostname">{{pc.hostname}}</TD>
46
    </TR>
47
    {% endfor %}
48
</table>
49
</body>
50
</html>
(2-2/3)