1 |
2fe004b1
|
Matej Zeman
|
<html>
|
2 |
|
|
<head>
|
3 |
|
|
<title>Pcs Details</title>
|
4 |
|
|
</head>
|
5 |
|
|
<body>
|
6 |
2552e614
|
Matej Zeman
|
<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 |
2fe004b1
|
Matej Zeman
|
<form action="" method="get">
|
23 |
|
|
<label for="view">Choose view:</label>
|
24 |
|
|
<select id="view" name="view" onchange="this.form.action=this.value;">
|
25 |
35168e5f
|
zemanm98@students.zcu.cz
|
<option value="/logs-web">Vector Logs</option>
|
26 |
|
|
<option value="/ldlogs-web">Lauterbach Logs</option>
|
27 |
2fe004b1
|
Matej Zeman
|
<option value="/devices-web">Devices</option>
|
28 |
7fe7be79
|
zemanm98@students.zcu.cz
|
<option value="/body-devices-web">Body Devices</option>
|
29 |
2fe004b1
|
Matej Zeman
|
<option value="/teams-web">Teams</option>
|
30 |
35168e5f
|
zemanm98@students.zcu.cz
|
<option value="/pcs-web" selected>PCs</option>
|
31 |
5dc6d077
|
Matej Zeman
|
<option value="/licenses-web">Licenses</option>
|
32 |
2fe004b1
|
Matej Zeman
|
</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 |
35168e5f
|
zemanm98@students.zcu.cz
|
<TD class="Username">{{pc.username}}</TD>
|
45 |
|
|
<TD class="Hostname">{{pc.hostname}}</TD>
|
46 |
2fe004b1
|
Matej Zeman
|
</TR>
|
47 |
|
|
{% endfor %}
|
48 |
|
|
</table>
|
49 |
|
|
</body>
|
50 |
|
|
</html>
|