ui: Add table dividers (#4417)

* ui: Add table dividers

And add some ­ hyphens while we're here.

* Remove ­
This commit is contained in:
Lars Eggert 2022-09-08 16:57:19 +03:00 committed by GitHub
parent 1dedeac83e
commit 228b496662
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 15 deletions

View file

@ -25,7 +25,7 @@
</tr>
</thead>
{% if stats %}
<tbody>
<tbody class="table-group-divider">
{% for item in stats %}
<tr>
<th scope="row">{{ item.position__name }}</th>
@ -43,7 +43,7 @@
{% endfor %}
</tbody>
{% endif %}
<tfoot>
<tfoot class="table-group-divider">
<tr>
<th scope="row">Totals</th>
<td>{{ totals.open }}</td>

View file

@ -175,10 +175,10 @@
</tr>
</thead>
{% for row in data %}
{% if forloop.first %}<tbody>{% endif %}
{% if forloop.last %}</tbody><tfoot>{% endif %}
{% if forloop.first %}<tbody class="table-group-divider">{% endif %}
{% if forloop.last %}</tbody><tfoot class="table-group-divider">{% endif %}
<tr>
<td>{{ row.obj }}</td>
{% if forloop.last %}<th scope="row">{% else %}<td>{% endif %}{{ row.obj }}{% if forloop.last %}</th>{% else %}</td>{% endif %}
<td>{{ row.open_in_time }}</td>
<td>{{ row.open_late }}</td>
<td>{{ row.completed_in_time }}</td>
@ -219,12 +219,10 @@
</tr>
</thead>
{% for row in data %}
{% if forloop.first %}<tbody>{% endif %}
{% if forloop.last %}</tbody><tfoot>{% endif %}
{% if forloop.first %}<tbody class="table-group-divider">{% endif %}
{% if forloop.last %}</tbody><tfoot class="table-group-divider">{% endif %}
<tr>
<td>
{{ row.obj }}
</td>
{% if forloop.last %}<th scope="row">{% else %}<td>{% endif %}{{ row.obj }}{% if forloop.last %}</th>{% else %}</td>{% endif %}
{% for c in row.result_list %}
<td>
{{ c }}
@ -256,12 +254,10 @@
</tr>
</thead>
{% for row in data %}
{% if forloop.first %}<tbody>{% endif %}
{% if forloop.last %}</tbody><tfoot>{% endif %}
{% if forloop.first %}<tbody class="table-group-divider">{% endif %}
{% if forloop.last %}</tbody><tfoot class="table-group-divider">{% endif %}
<tr>
<td>
{{ row.obj }}
</td>
{% if forloop.last %}<th scope="row">{% else %}<td>{% endif %}{{ row.obj }}{% if forloop.last %}</th>{% else %}</td>{% endif %}
{% for c in row.state_list %}
<td>
{{ c }}