Use Bootstrap's table for db events page

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2020-11-26 17:00:09 -03:00
parent 5bad0f74af
commit ca679a66b9
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
2 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<fieldset>
<legend>{% trans 'Details' %}</legend>
<table class="pma-table rte_table">
<table class="rte_table table table-borderless table-sm">
<tr>
<td>{% trans 'Details' %}</td>
<td>

View File

@ -11,7 +11,8 @@
{% trans 'There are no events to display.' %}
</div>
<table class="pma-table data{{ items is empty ? ' hide' }}">
<table class="table table-light table-striped table-hover{{ items is empty ? ' hide' }}">
<thead class="thead-light">
<tr>
<th></th>
<th>{% trans 'Name' %}</th>
@ -19,6 +20,8 @@
<th colspan="3">{% trans 'Action' %}</th>
<th>{% trans 'Type' %}</th>
</tr>
</thead>
<tbody>
<tr class="hide">{% for i in 0..6 %}<td></td>{% endfor %}</tr>
{% for event in items %}
@ -75,6 +78,7 @@
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% if items is not empty %}