diff options
author | Simon Rettberg | 2020-05-15 17:24:05 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-05-15 17:24:05 +0200 |
commit | 2faaf8383c9c8a1a557518caa9f2284158df523b (patch) | |
tree | 74daaa3fa45f0808df369657d8f6efd54d19ed40 /modules-available/remoteaccess/templates/edit-settings.html | |
parent | [rebootcontrol] Wait until tasks finish (diff) | |
download | slx-admin-2faaf8383c9c8a1a557518caa9f2284158df523b.tar.gz slx-admin-2faaf8383c9c8a1a557518caa9f2284158df523b.tar.xz slx-admin-2faaf8383c9c8a1a557518caa9f2284158df523b.zip |
[remoteaccess] New module
Diffstat (limited to 'modules-available/remoteaccess/templates/edit-settings.html')
-rw-r--r-- | modules-available/remoteaccess/templates/edit-settings.html | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/modules-available/remoteaccess/templates/edit-settings.html b/modules-available/remoteaccess/templates/edit-settings.html new file mode 100644 index 00000000..2712cf04 --- /dev/null +++ b/modules-available/remoteaccess/templates/edit-settings.html @@ -0,0 +1,72 @@ +<h2>{{lang_remoteAccessSettings}}</h2> + +<form method="post" action="?do=remoteaccess"> + <input type="hidden" name="token" value="{{token}}"> + <div class="form-group"> + <label> + {{lang_allowedAccessToVncPort}} + <input type="text" class="form-control" name="allowed-source" value="{{allowed-source}}" required> + </label> + <p>{{lang_allowAccessText}}</p> + </div> + <div class="form-group"> + <div class="checkbox"> + <input type="checkbox" name="virt-handover" value="1" + id="virt-handover" {{virt-handover_checked}}> + <label for="virt-handover">{{lang_tryVirtualizerHandover}}</label> + </div> + <p>{{lang_tryVirtualizerText}}</p> + </div> + + <div class="form-group"> + <p>{{lang_groupListText}}</p> + <table class="table table-condensed table-hover"> + <thead> + <tr> + <th></th> + <th>{{lang_group}}</th> + <th class="text-nowrap" width="10%">{{lang_numLocs}}</th> + <th class="text-nowrap" width="10%">{{lang_keepAvailableWol}}</th> + <th class="text-nowrap" width="13%">{{lang_password}}</th> + </tr> + </thead> + {{#groups}} + <tr> + <td class="slx-smallcol"> + <div class="checkbox checkbox-inline"> + <input type="checkbox" name="group[{{groupid}}][active]" value="1" id="group-check-{{groupid}}" + {{checked}}> + <label for="group-check-{{groupid}}"></label> + </div> + </td> + <td class="text-nowrap"> + <input type="text" class="form-control" name="group[{{groupid}}][groupname]" value="{{groupname}}"> + </td> + <td class="text-right text-nowrap"> + <span class="badge">{{locs}}</span> + <a href="?do=remoteaccess&groupid={{groupid}}" class="btn btn-xs btn-default"> + <span class="glyphicon glyphicon-edit"></span> + </a> + </td> + <td> + <input type="number" class="form-control" name="group[{{groupid}}][wolcount]" value="{{wolcount}}"> + </td> + <td> + <input type="text" class="form-control" name="group[{{groupid}}][passwd]" value="{{passwd}}"> + </td> + </tr> + {{/groups}} + </table> + </div> + <div class="buttonbar pull-right"> + <button type="submit" class="btn btn-success" name="action" value="add-group"> + <span class="glyphicon glyphicon-plus"></span> + {{lang_add}} + </button> + <button type="submit" class="btn btn-primary" name="action" value="save-settings"> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + </div> + <div class="clearfix"></div> +</form>
\ No newline at end of file |