Use Bootstrap's table for db events page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
5bad0f74af
commit
ca679a66b9
@ -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>
|
||||
|
||||
@ -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 %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user