diff options
Diffstat (limited to 'modules-available/remoteaccess/templates/edit-group.html')
-rw-r--r-- | modules-available/remoteaccess/templates/edit-group.html | 56 |
1 files changed, 56 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..93fa66be --- /dev/null +++ b/modules-available/remoteaccess/templates/edit-group.html @@ -0,0 +1,56 @@ +<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-danger" name="action" value="delete-group" data-confirm="{{lang_reallyDelete}}" + {{perms.group.locations.disabled}} {{perms.group.edit.disabled}}> + <span class="glyphicon glyphicon-remove"></span> + {{lang_delete}} + </button> + <button type="submit" class="btn btn-primary" name="action" value="set-locations" {{perms.group.locations.disabled}}> + <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}} {{disabled}}> + <label></label> + </div> + </td> + <td class="slx-smallcol text-nowrap"> + <div style="display:inline-block;width:{{depth}}em"></div> + <label for="loc-check-{{locationid}}" class="{{disabled}}">{{locationname}}</label> + </td> + <td> + {{#ra_never}} + <span class="glyphicon glyphicon-remove text-danger" title="{{lang_roomRemoteAccessDisabled}}"></span> + {{/ra_never}} + {{#ra_selective}} + <span class="glyphicon glyphicon-time text-danger" title="{{lang_roomRemoteAccessWhenClosed}}"></span> + {{/ra_selective}} + </td> + </tr> + {{/locations}} + </table> + </div> + <div class="buttonbar pull-right"> + <button type="submit" class="btn btn-primary" name="action" value="set-locations" {{perms.group.locations.disabled}}> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + </div> + <div class="clearfix"></div> +</form> |