summaryrefslogtreecommitdiffstats
path: root/modules-available/remoteaccess/templates/edit-group.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/remoteaccess/templates/edit-group.html')
-rw-r--r--modules-available/remoteaccess/templates/edit-group.html43
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>