diff options
Diffstat (limited to 'modules-available/passthrough/templates/location-assign.html')
-rw-r--r-- | modules-available/passthrough/templates/location-assign.html | 37 |
1 files changed, 37 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..037ab79d --- /dev/null +++ b/modules-available/passthrough/templates/location-assign.html @@ -0,0 +1,37 @@ +<h1>{{lang_assignPassthrough}}</h1> +<h2>{{locationname}}</h2> + +<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"> + {{#disabled}} + <input id="check-{{groupid}}" type="checkbox" disabled checked> + {{/disabled}} + {{^disabled}} + <input id="check-{{groupid}}" type="checkbox" name="enabled[]" value="{{groupid}}" {{checked}}> + {{/disabled}} + <label for="check-{{groupid}}"></label> + <span class="text-muted">{{parent_location}}</span> + </div> + </div> + </div> + {{/list}} + <div class="buttonbar text-right"> + <button class="btn btn-success" 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 |