From 12dff57b1c293b62b3cc3639638b0f577997383b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 17 Dec 2019 15:34:10 +0100 Subject: [statistics] Add WOL/exec button to machine details --- .../statistics/templates/machine-main.html | 42 +++++++++++++++------- 1 file changed, 29 insertions(+), 13 deletions(-) (limited to 'modules-available/statistics/templates') diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html index d0e6b3c1..5e3b31f6 100644 --- a/modules-available/statistics/templates/machine-main.html +++ b/modules-available/statistics/templates/machine-main.html @@ -104,26 +104,42 @@ {{#rebootcontrol}} - {{lang_reboot}}/{{lang_shutdown}} + {{lang_remoteActions}}
- {{#canShutdown}} - + {{/canShutdown}} + {{#canReboot}} + + {{/canReboot}} + +
+ {{#canWol}} + - {{/canShutdown}} - {{#canReboot}} - - {{/canReboot}} + {{/canExec}} +