Projekt

Obecné

Profil

Stáhnout (1.3 KB) Statistiky
| Větev: | Tag: | Revize:
1
<html>
2
<head>
3
    <title>Teams 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" selected>Teams</option>
30
      <option value="/pcs-web">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>Name</TH>
39
    </TR>
40
    {% for team in teams %}
41
    <TR>
42
        <TD class="ID">{{team.id}}</TD>
43
        <TD class="Vendor ID">{{team.name}}</TD>
44
    </TR>
45
    {% endfor %}
46
</table>
47
</body>
48
</html>
(4-4/4)