summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/poweroff.html
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/actions/poweroff.html')
-rw-r--r--ogcp/templates/actions/poweroff.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/ogcp/templates/actions/poweroff.html b/ogcp/templates/actions/poweroff.html
index 2ff9440..11b14d8 100644
--- a/ogcp/templates/actions/poweroff.html
+++ b/ogcp/templates/actions/poweroff.html
@@ -1,5 +1,6 @@
{% extends 'commands.html' %}
{% import "bootstrap/wtf.html" as wtf %}
+{% import "macros.html" as macros %}
{% block content %}
@@ -9,11 +10,7 @@
{{ _('Power off %(ip_count)d client(s)', ip_count=ip_count) }}
</h1>
-<ul class="list-group mx-5 list-group-horizontal-sm">
-{% for ip in ip_list %}
- <li class="list-group-item flex-fill list-group-item-info">{{ ip }}</li>
-{% endfor %}
-</ul>
+{{ macros.cmd_selected_clients(ip_list) }}
{{ wtf.quick_form(form,
action=url_for('action_poweroff'),