summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/templates/subnet-edit.html
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/rebootcontrol/templates/subnet-edit.html
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/rebootcontrol/templates/subnet-edit.html')
-rw-r--r--modules-available/rebootcontrol/templates/subnet-edit.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules-available/rebootcontrol/templates/subnet-edit.html b/modules-available/rebootcontrol/templates/subnet-edit.html
index 4c3702ba..d8173863 100644
--- a/modules-available/rebootcontrol/templates/subnet-edit.html
+++ b/modules-available/rebootcontrol/templates/subnet-edit.html
@@ -6,7 +6,7 @@
<input type="hidden" name="id" value="{{subnetid}}">
<div class="panel panel-default">
<div class="panel-heading">
- {{lang_editSubnet}}: <b>{{start_s}} - {{end_s}}</b>
+ {{lang_editSubnet}}: <b>{{cidr}}</b> ({{start_s}}&thinsp;-&thinsp;{{end_s}})
</div>
<div class="list-group">
<div class="list-group-item">
@@ -39,6 +39,12 @@
</div>
{{/jumpHosts}}
</div>
+ <div class="list-group-item">
+ <label>{{lang_reachableFrom}}</label>
+ {{#sourceNets}}
+ <div>{{cidr}}</div>
+ {{/sourceNets}}
+ </div>
</div>
<div class="panel-footer text-right">
<button type="submit" class="btn btn-primary" name="action" value="edit" {{perms.subnet.flag.disabled}}>
@@ -61,4 +67,4 @@ document.addEventListener('DOMContentLoaded', function() {
}).change();
});
-//--></script> \ No newline at end of file
+//--></script>