1
|
<!DOCTYPE html>
|
2
|
<html lang="en">
|
3
|
<head>
|
4
|
<meta charset="UTF-8">
|
5
|
<title>PC Team connect</title>
|
6
|
</head>
|
7
|
<body>
|
8
|
<h6><p>Username: {{pc.username}}</p>
|
9
|
<p>Hostname: {{pc.hostname}}</p>
|
10
|
</h6>
|
11
|
<form action="/api/v1/pcs-web/{{pc.id}}" method="post">
|
12
|
<label for="team">Teams:</label>
|
13
|
<select id="team" name="team">
|
14
|
{% for team in teams %}
|
15
|
<option value={{team.id}}>{{team.name}}</option>
|
16
|
{% endfor %}
|
17
|
</select>
|
18
|
<input type="submit" value="Connect">
|
19
|
</form>
|
20
|
</body>
|
21
|
</html>
|