diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2024-01-19 11:02:08 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-19 11:05:05 +0100 |
commit | 3685308ec9dfcecacfad4e6a71f15cd9a196d8d2 (patch) | |
tree | 55127f30118176cd29a6d7a901dcca7ae9e6bc71 | |
parent | b6b16f895e72a049eeafc0e07eb9336d0bd9825e (diff) |
templates: stilistic change in mode template
Remove warning header and show selected clients above boot-mode tables
-rw-r--r-- | ogcp/templates/actions/mode.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ogcp/templates/actions/mode.html b/ogcp/templates/actions/mode.html index 87ce59d..d89f536 100644 --- a/ogcp/templates/actions/mode.html +++ b/ogcp/templates/actions/mode.html @@ -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', |