ui: Add table dividers (#4417)
* ui: Add table dividers And add some ­ hyphens while we're here. * Remove ­
This commit is contained in:
parent
1dedeac83e
commit
228b496662
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue