templates: stilistic change in mode template

Remove warning header and show selected clients above boot-mode tables
master
Javier Hernandez 2024-01-19 11:02:08 +01:00 committed by OpenGnSys Support Team
parent b6b16f895e
commit 3685308ec9
1 changed files with 4 additions and 4 deletions

View File

@ -15,14 +15,16 @@
{{ _('Changing boot mode of %(ip_count)d computer(s)', ip_count=ip_count) }}
</h1>
{{ macros.cmd_selected_clients(selected_clients) }}
</br>
{% if modes_set|length > 1 %}
<h3 class="text-danger">WARNING</h3>
<p>Selected clients have different boot modes set</p>
<table class="table table-hover">
<thead class="thead-light">
<tr>
<th>Boot modes</th>
<th>Boot mode</th>
<th>Clients</th>
</tr>
</thead>
@ -41,8 +43,6 @@
</table>
{% endif %}
{{ macros.cmd_selected_clients(selected_clients) }}
{{ wtf.quick_form(form,
action=url_for('action_mode'),
method='post',