mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-07 10:55:40 +00:00
Header for fixed order column
Semantically and syntactically it is better to have the same number of `<th>` as `<td>`. Not that anyone will ever see that new header, since that column is always invisible (except if the user disables javascript). Plus remove a unmatched closing html element.
This commit is contained in:
parent
0e2cd063c5
commit
fec649b747
@ -60,6 +60,7 @@
|
|||||||
{% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %}
|
{% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %}
|
||||||
<th >Changelog</th>
|
<th >Changelog</th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<th>Invisible Sorting Column</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -104,7 +105,6 @@
|
|||||||
<button type="button" class="btn btn-flat btn-warning"> <i class="fa fa-exclamation-circle"></i> </button>
|
<button type="button" class="btn btn-flat btn-warning"> <i class="fa fa-exclamation-circle"></i> </button>
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
|
||||||
{% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %}
|
{% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %}
|
||||||
<td width="6%">
|
<td width="6%">
|
||||||
<button type="button" onclick="show_record_changelog('{{record.name}}','{{record.type}}',event)" class="btn btn-flat btn-primary">
|
<button type="button" onclick="show_record_changelog('{{record.name}}','{{record.type}}',event)" class="btn btn-flat btn-primary">
|
||||||
|
Loading…
Reference in New Issue
Block a user