diff options
author | Simon Rettberg | 2019-12-07 15:28:30 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-12-07 15:28:30 +0100 |
commit | 7d6275514cd4e0ab2903f8c0891c85f3b0e66539 (patch) | |
tree | e5bb9520cc6e715dbfa8e24650e97167ea8126d1 /modules-available/rebootcontrol/templates/jumphost-subnets.html | |
parent | Merge branch 'master' into wol (diff) | |
download | slx-admin-7d6275514cd4e0ab2903f8c0891c85f3b0e66539.tar.gz slx-admin-7d6275514cd4e0ab2903f8c0891c85f3b0e66539.tar.xz slx-admin-7d6275514cd4e0ab2903f8c0891c85f3b0e66539.zip |
[rebootcontrol] Implement assigning subnets to jump host
Also fix removing all jump hosts from a subnet.
Update translations.
Diffstat (limited to 'modules-available/rebootcontrol/templates/jumphost-subnets.html')
-rw-r--r-- | modules-available/rebootcontrol/templates/jumphost-subnets.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules-available/rebootcontrol/templates/jumphost-subnets.html b/modules-available/rebootcontrol/templates/jumphost-subnets.html new file mode 100644 index 00000000..9b418667 --- /dev/null +++ b/modules-available/rebootcontrol/templates/jumphost-subnets.html @@ -0,0 +1,28 @@ +<h2>{{lang_jumpHost}} {{host}} - {{lang_assignedSubnets}}</h2> + +<form method="post" action="?do=rebootcontrol"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="show" value="jumphost"> + <input type="hidden" name="action" value="assign"> + <input type="hidden" name="hostid" value="{{hostid}}"> + <div class="list-group"> + <div class="list-group-item"> + {{#list}} + <div class="row"> + <div class="col-md-12"> + <div class="checkbox"> + <input id="check-{{subnetid}}" type="checkbox" name="subnet[{{subnetid}}]" {{checked}}> + <label for="check-{{subnetid}}">{{cidr}}</label> + </div> + </div> + </div> + {{/list}} + <div class="text-right"> + <button type="submit" class="btn btn-primary"> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + </div> + </div> + </div> +</form>
\ No newline at end of file |