summaryrefslogtreecommitdiffstats
path: root/modules-available/passthrough/templates/location-assign.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/passthrough/templates/location-assign.html')
-rw-r--r--modules-available/passthrough/templates/location-assign.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules-available/passthrough/templates/location-assign.html b/modules-available/passthrough/templates/location-assign.html
new file mode 100644
index 00000000..c2a8f805
--- /dev/null
+++ b/modules-available/passthrough/templates/location-assign.html
@@ -0,0 +1,28 @@
+<form method="post" action="?do=passthrough">
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="locationid" value="{{locationid}}">
+ <div class="row">
+ <div class="col-sm-9">{{lang_group}}</div>
+ <div class="col-sm-3">{{lang_enabled}}</div>
+ </div>
+ {{#list}}
+ <div class="row">
+ <div class="col-sm-9">
+ {{groupid}}
+ <span class="small text-muted">{{title}}</span>
+ </div>
+ <div class="col-sm-3">
+ <div class="checkbox">
+ <input id="check-{{groupid}}" type="checkbox" name="enabled[]" value="{{groupid}}" {{#enabled}}checked="checked"{{/enabled}}>
+ <label for="check-{{groupid}}"></label>
+ </div>
+ </div>
+ </div>
+ {{/list}}
+ <div class="buttonbar text-right">
+ <button type="submit" name="action" value="save-location">
+ <span class="glyphicon glyphicon-floppy-disk"></span>
+ {{lang_save}}
+ </button>
+ </div>
+</form> \ No newline at end of file