connect.html (957B) download
1{% extends "layout.html" %}
2{% block content %}
3<article class="media content-section">
4<div class="media-body">
5 <h1>Verbindt een muizenval</h1>
6 <p>Press the connect-button and enter the MAC-address of your trap:</p>
7 <form method="POST" action="">
8 {{ form.hidden_tag() }}
9 <fieldset class="form-group">
10 <legend class="border-bottom mb-4">
11 <h1>{{ legend }}</h1>
12 </legend>
13 <div class="form-group">
14 {{ form.mac.label(class="form-control-label") }}
15 {% if form.mac.errors %}
16 {{ form.mac(class="form-control form-control-lg is-invalid") }}
17 <div class="invalid-feedback">
18 {% for error in form.mac.errors %}
19 <span>{{ error }}</span>
20 {% endfor %}
21 </div>
22 {% else %}
23 {{ form.mac(class="form-control form-control-lg form-code") }}
24 {% endif %}
25 </div>
26 </fieldset>
27 <div class="form-group">
28 {{ form.submit(class="btn btn-outline-info") }}
29 </div>
30 </form>
31</div>
32</article>
33{% endblock content %}