diff options
Diffstat (limited to 'modules-available/passthrough/templates')
-rw-r--r-- | modules-available/passthrough/templates/location-assign.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/modules-available/passthrough/templates/location-assign.html b/modules-available/passthrough/templates/location-assign.html index c2a8f805..037ab79d 100644 --- a/modules-available/passthrough/templates/location-assign.html +++ b/modules-available/passthrough/templates/location-assign.html @@ -1,3 +1,6 @@ +<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}}"> @@ -13,14 +16,20 @@ </div> <div class="col-sm-3"> <div class="checkbox"> - <input id="check-{{groupid}}" type="checkbox" name="enabled[]" value="{{groupid}}" {{#enabled}}checked="checked"{{/enabled}}> + {{#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 type="submit" name="action" value="save-location"> + <button class="btn btn-success" type="submit" name="action" value="save-location"> <span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}} </button> |