dashboard.html (1149B) download
1{% extends "layout.html" %}
2{% block content %}
3<article class="media content-section">
4 <div class="media-body">
5 <h2><b>Dit zijn uw muizenvallen</b></h2>
6 <p>
7 Klik op de titel van een muizenval om de instellingen in te zien!
8 </p>
9 </div>
10</article>
11{% for trap in traps %}
12<article class="media content-section">
13 <div class="media-body">
14 <h3><a class="article-title" href="#">
15 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="{{ trap.status_color() }}"
16 class="bi bi-circle-fill" viewBox="0 0 20 20">
17 <circle cx="10" cy="10" r="10" />
18 </svg>
19 -
20 {% if trap.name %}
21 {{ trap.name }}
22 {% else %}
23 <code>[{{ trap.pretty_mac() }}]</code>
24 {% endif %}
25 <small>van {{ home.owner_class().name }}</small>
26 </a>
27 </h3>
28 {% if trap.name %}
29 <p>
30 <code>[{{ trap.pretty_mac() }}]</code>
31 </p>
32 {% endif %}
33 {#} <p>
34 onderhouden door <b>{{ home.contact_class().name }}</b>
35 </p>{#}
36 <p>
37 <a class="article-title" href="#">
38 {{ home.street }} {{ home.number }}<br>
39 {{ home.zipcode }} {{ home.place }}
40 </a>
41 </p>
42 </div>
43</article>
44{% endfor %}
45{% endblock content %}