diff options
Diffstat (limited to 'modules-available/remoteaccess/templates')
-rw-r--r-- | modules-available/remoteaccess/templates/edit-group.html | 10 | ||||
-rw-r--r-- | modules-available/remoteaccess/templates/edit-settings.html | 70 |
2 files changed, 70 insertions, 10 deletions
diff --git a/modules-available/remoteaccess/templates/edit-group.html b/modules-available/remoteaccess/templates/edit-group.html index 0f09f071..93fa66be 100644 --- a/modules-available/remoteaccess/templates/edit-group.html +++ b/modules-available/remoteaccess/templates/edit-group.html @@ -30,9 +30,17 @@ <label></label> </div> </td> - <td class="text-nowrap"> + <td class="slx-smallcol text-nowrap"> <div style="display:inline-block;width:{{depth}}em"></div> <label for="loc-check-{{locationid}}" class="{{disabled}}">{{locationname}}</label> + </td> + <td> + {{#ra_never}} + <span class="glyphicon glyphicon-remove text-danger" title="{{lang_roomRemoteAccessDisabled}}"></span> + {{/ra_never}} + {{#ra_selective}} + <span class="glyphicon glyphicon-time text-danger" title="{{lang_roomRemoteAccessWhenClosed}}"></span> + {{/ra_selective}} </td> </tr> {{/locations}} diff --git a/modules-available/remoteaccess/templates/edit-settings.html b/modules-available/remoteaccess/templates/edit-settings.html index 3c890b91..4c4c011a 100644 --- a/modules-available/remoteaccess/templates/edit-settings.html +++ b/modules-available/remoteaccess/templates/edit-settings.html @@ -4,13 +4,29 @@ <form method="post" action="?do=remoteaccess"> <input type="hidden" name="token" value="{{token}}"> - <div class="form-group"> - <label> - {{lang_allowedAccessToVncPort}} - <input type="text" class="form-control" name="allowed-source" value="{{allowed-source}}" - required {{perms.set-proxy-ip.disabled}}> - </label> - <p>{{lang_allowAccessText}}</p> + <div class="row"> + <div class="form-group col-md-6"> + <label> + {{lang_allowedAccessToVncPort}} + <input type="text" class="form-control" name="allowed-source" value="{{allowed-source}}" + required {{perms.set-proxy-ip.disabled}}> + </label> + <p>{{lang_allowAccessText}}</p> + </div> + <div class="form-group col-md-6"> + <label> + {{lang_clientVncPort}} + <input type="number" class="form-control" name="vncport" value="{{vncport}}" min="1025" max="65535" + required {{perms.set-proxy-ip.disabled}}> + </label> + <p>{{lang_vncPortText}}</p> + <div class="text-right"> + {{lang_pluginVersion}}: {{plugin_version}} + {{^plugin_version}} + {{lang_pluginVersionOldOrUnknown}} + {{/plugin_version}} + </div> + </div> </div> <div class="form-group"> <div class="checkbox"> @@ -64,9 +80,14 @@ <span class="glyphicon glyphicon-edit"></span> </a> </td> - <td> + <td class="input-group"> <input type="number" class="form-control" name="group[{{groupid}}][wolcount]" value="{{wolcount}}" {{perms.group.edit.disabled}}> + {{#unwoken}} + <span class="input-group-addon" title="{{lang_wolFailCount}}"> + <span class="glyphicon glyphicon-remove"></span>{{unwoken}} + </span> + {{/unwoken}} </td> <td> <input type="text" class="form-control" name="group[{{groupid}}][passwd]" value="{{passwd}}" @@ -87,4 +108,35 @@ </button> </div> <div class="clearfix"></div> -</form>
\ No newline at end of file +</form> + +<h3>{{lang_locations}}</h3> + +<p>{{lang_locationsInUse}}</p> + +<table class="table"> + <thead> + <tr> + <th>{{lang_location}}</th> + <th>{{lang_groups}}</th> + </tr> + </thead> + <tbody> + {{#locations}} + <tr> + <td class="{{lclass}}"> + {{locationname}} + {{#ra_never}} + <span class="glyphicon glyphicon-remove text-danger" title="{{lang_roomRemoteAccessDisabled}}"></span> + {{/ra_never}} + {{#ra_selective}} + <span class="glyphicon glyphicon-time text-danger" title="{{lang_roomRemoteAccessWhenClosed}}"></span> + {{/ra_selective}} + </td> + <td>{{#groups}} + [<a class="{{gclass}}" href="?do=remoteaccess&groupid={{groupid}}">{{groupname}}</a>] + {{/groups}}</td> + </tr> + {{/locations}} + </tbody> +</table>
\ No newline at end of file |