diff options
Diffstat (limited to 'modules-available/remoteaccess/templates/edit-group.html')
-rw-r--r-- | modules-available/remoteaccess/templates/edit-group.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/modules-available/remoteaccess/templates/edit-group.html b/modules-available/remoteaccess/templates/edit-group.html index 2c207ca5..0f09f071 100644 --- a/modules-available/remoteaccess/templates/edit-group.html +++ b/modules-available/remoteaccess/templates/edit-group.html @@ -6,7 +6,12 @@ <input type="hidden" name="groupid" value="{{groupid}}"> <div class="buttonbar pull-right"> - <button type="submit" class="btn btn-primary" name="action" value="set-locations"> + <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> @@ -21,20 +26,20 @@ <td class="slx-smallcol"> <div class="checkbox checkbox-inline"> <input type="checkbox" name="location[]" value="{{locationid}}" id="loc-check-{{locationid}}" - {{checked}}> + {{checked}} {{disabled}}> <label></label> </div> </td> <td class="text-nowrap"> <div style="display:inline-block;width:{{depth}}em"></div> - <label for="loc-check-{{locationid}}">{{locationname}}</label> + <label for="loc-check-{{locationid}}" class="{{disabled}}">{{locationname}}</label> </td> </tr> {{/locations}} </table> </div> <div class="buttonbar pull-right"> - <button type="submit" class="btn btn-primary" name="action" value="set-locations"> + <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> |