From e2da7046e75cc54859a2ec67495934e7d2964f79 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 22 Mar 2019 11:52:46 +0100 Subject: [statistics] Add reboot/shutdown to list and details view --- .../statistics/templates/machine-main.html | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) (limited to 'modules-available/statistics/templates/machine-main.html') diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html index e8e67065..5adfe5aa 100644 --- a/modules-available/statistics/templates/machine-main.html +++ b/modules-available/statistics/templates/machine-main.html @@ -101,6 +101,81 @@ {{/hasroomplan}} + {{#rebootcontrol}} + + + {{lang_reboot}}/{{lang_shutdown}} + + +
+ + + {{#canShutdown}} + + {{/canShutdown}} + {{#canReboot}} + + {{/canReboot}} + + +
+ + + {{/rebootcontrol}} -- cgit v1.2.3-55-g7522