summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates
diff options
context:
space:
mode:
authorSimon Rettberg2019-12-07 13:52:54 +0100
committerSimon Rettberg2019-12-07 13:52:54 +0100
commit3e45ec44d22f03ca6642e08f695c6d7274cecfaf (patch)
treea71b2ec81895b198757d8ec7272548b42ee074b8 /modules-available/statistics/templates
parent[apis/cron] Simple logging function for debugging (diff)
downloadslx-admin-3e45ec44d22f03ca6642e08f695c6d7274cecfaf.tar.gz
slx-admin-3e45ec44d22f03ca6642e08f695c6d7274cecfaf.tar.xz
slx-admin-3e45ec44d22f03ca6642e08f695c6d7274cecfaf.zip
[statistics/rebootcontrol] Add WOL button to statistics module
* Overhauled task display in rebootcontrol module * Can only add subnets by CIDR now instead of start and end
Diffstat (limited to 'modules-available/statistics/templates')
-rw-r--r--modules-available/statistics/templates/clientlist.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/clientlist.html b/modules-available/statistics/templates/clientlist.html
index 5420d65c..6ff9bac7 100644
--- a/modules-available/statistics/templates/clientlist.html
+++ b/modules-available/statistics/templates/clientlist.html
@@ -172,6 +172,12 @@
{{lang_reboot}}
</button>
{{/canReboot}}
+ {{#canWol}}
+ <button type="submit" name="action" value="wol" class="btn btn-primary btn-machine-action">
+ <span class="glyphicon glyphicon-bell"></span>
+ {{lang_wakeOnLan}}
+ </button>
+ {{/canWol}}
{{/rebootcontrol}}
{{#canDelete}}
<button type="submit" name="action" value="delmachines" class="btn btn-danger btn-machine-action"