changes order the input checkbox in the devices table

This commit is contained in:
Cayo Puigdefabregas 2021-12-29 10:13:03 +01:00
parent 1da6484f26
commit e0de5c018c
2 changed files with 2 additions and 2 deletions

View file

@ -47,17 +47,18 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th scope="col">Select all</th>
<th scope="col">Title</th> <th scope="col">Title</th>
<th scope="col">DHID</th> <th scope="col">DHID</th>
<th scope="col">Tags</th> <th scope="col">Tags</th>
<th scope="col">Status</th> <th scope="col">Status</th>
<th scope="col">Update</th> <th scope="col">Update</th>
<th scope="col">Select all</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for dev in devices %} {% for dev in devices %}
<tr> <tr>
<td><input type="checkbox" /></td>
<td>{{ dev.type }} {{ dev.manufacturer }} {{ dev.model }}</td> <td>{{ dev.type }} {{ dev.manufacturer }} {{ dev.model }}</td>
<td>{{ dev.devicehub_id }}</td> <td>{{ dev.devicehub_id }}</td>
<td> <td>
@ -67,7 +68,6 @@
</td> </td>
<td>{% if dev.status %}{{ dev.status }}{% endif %}</td> <td>{% if dev.status %}{{ dev.status }}{% endif %}</td>
<td>{{ dev.updated.strftime('%H:%M %d-%m-%Y') }}</td> <td>{{ dev.updated.strftime('%H:%M %d-%m-%Y') }}</td>
<td><input type="checkbox" /></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>