diff options
author | Simon Rettberg | 2020-05-15 17:24:05 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-05-15 17:29:16 +0200 |
commit | 426e574b85d363cd5a1fa256034dc2a281fc7272 (patch) | |
tree | d60738f67176e991dcd84d16079d85ff2168b243 /modules-available/remoteaccess/templates/edit-group.html | |
parent | [rebootcontrol] Wait until tasks finish (diff) | |
download | slx-admin-426e574b85d363cd5a1fa256034dc2a281fc7272.tar.gz slx-admin-426e574b85d363cd5a1fa256034dc2a281fc7272.tar.xz slx-admin-426e574b85d363cd5a1fa256034dc2a281fc7272.zip |
[remoteaccess] New module
Diffstat (limited to 'modules-available/remoteaccess/templates/edit-group.html')
-rw-r--r-- | modules-available/remoteaccess/templates/edit-group.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/modules-available/remoteaccess/templates/edit-group.html b/modules-available/remoteaccess/templates/edit-group.html new file mode 100644 index 00000000..2c207ca5 --- /dev/null +++ b/modules-available/remoteaccess/templates/edit-group.html @@ -0,0 +1,43 @@ +<h2>{{lang_assignLocations}}</h2> +<h3>{{groupname}}</h3> + +<form method="post" action="?do=remoteaccess"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="groupid" value="{{groupid}}"> + + <div class="buttonbar pull-right"> + <button type="submit" class="btn btn-primary" name="action" value="set-locations"> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + </div> + <div class="clearfix"></div> + + <div class="form-group"> + <p>{{lang_locationSelectionText}}</p> + <table class="table table-condensed table-hover"> + {{#locations}} + <tr> + <td class="slx-smallcol"> + <div class="checkbox checkbox-inline"> + <input type="checkbox" name="location[]" value="{{locationid}}" id="loc-check-{{locationid}}" + {{checked}}> + <label></label> + </div> + </td> + <td class="text-nowrap"> + <div style="display:inline-block;width:{{depth}}em"></div> + <label for="loc-check-{{locationid}}">{{locationname}}</label> + </td> + </tr> + {{/locations}} + </table> + </div> + <div class="buttonbar pull-right"> + <button type="submit" class="btn btn-primary" name="action" value="set-locations"> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + </div> + <div class="clearfix"></div> +</form> |