-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard_locations.inc
More file actions
28 lines (27 loc) · 1.24 KB
/
dashboard_locations.inc
File metadata and controls
28 lines (27 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<table class="table table-condensed table-striped table-hover">
<thead class="table-striped ">
<tr><th width="30%">Ortname</th><th width="30%">lat/long</th>
<th width="10%">home</th><th width="10%">Büro</th><th width="10%">Löschen!</th>
</tr>
</thead>
<tbody>
<form action="/configloc" method="POST">
{% for location in locations %}
<tr><td>{{ location.name }}</td>
<input type="hidden" name="name_{{location.name}}">
<td>{{ location.pos.lat }}/{{ location.pos.long }}</td>
<td class="text-center">
<input type="checkbox" {{location.home and 'checked'}} name="home_{{ location.name }}">
</td>
<td class="text-center">
<input type="checkbox" {{location.work and 'checked'}} name="work_{{ location.name }}">
</td>
<td class="text-center">
<input type="checkbox" name="delete_{{ location.name }}">
</td>
</tr>
{% endfor %}
<tr><td colspan="5" class="text-right"><input type="submit" value="Speichern"></td></tr>
</form>
</tbody>
</table>