blob: a14bac45211b58683594f9a4ac3aadaa05ee76a8 (
plain) (
tree)
|
|
<h2>{{lang_remoteAccessSettings}}</h2>
<h3>{{lang_general}}</h3>
<form method="post" action="?do=remoteaccess">
<input type="hidden" name="token" value="{{token}}">
<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">
<input type="checkbox" name="virt-handover" value="1"
id="virt-handover" {{virt-handover_checked}} {{perms.set-proxy-ip.disabled}}>
<label for="virt-handover">{{lang_tryVirtualizerHandover}}</label>
</div>
<p>{{lang_tryVirtualizerText}}</p>
</div>
<div class="buttonbar pull-right">
<button type="submit" class="btn btn-primary" name="action" value="save-settings" {{perms.set-proxy-ip.disabled}}>
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
</div>
<div class="clearfix"></div>
</form>
<h3>{{lang_groups}}</h3>
<form method="post" action="?do=remoteaccess">
<input type="hidden" name="token" value="{{token}}">
<div class="form-group">
<p>{{lang_groupListText}}</p>
<table class="table table-condensed table-hover">
<thead>
<tr>
<th></th>
<th>{{lang_group}}</th>
<th class="text-nowrap" width="10%">{{lang_numLocs}}</th>
<th class="text-nowrap" width="10%">{{lang_keepAvailableWol}}</th>
<th class="text-nowrap" width="13%">{{lang_password}}</th>
</tr>
</thead>
{{#groups}}
<tr>
<td class="slx-smallcol">
<div class="checkbox checkbox-inline">
<input type="checkbox" name="group[{{groupid}}][active]" value="1" id="group-check-{{groupid}}"
{{checked}} {{perms.group.edit.disabled}}>
<label for="group-check-{{groupid}}"></label>
</div>
</td>
<td class="text-nowrap">
<input type="text" class="form-control" name="group[{{groupid}}][groupname]" value="{{groupname}}"
{{perms.group.edit.disabled}}>
</td>
<td class="text-right text-nowrap">
<span class="badge">{{locs}}</span>
<a href="?do=remoteaccess&groupid={{groupid}}" class="btn btn-xs btn-default">
<span class="glyphicon glyphicon-edit"></span>
</a>
</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}}"
{{perms.group.edit.disabled}}>
</td>
</tr>
{{/groups}}
</table>
</div>
<div class="buttonbar pull-right">
<button type="submit" class="btn btn-success" name="action" value="add-group" {{perms.group.add.disabled}}>
<span class="glyphicon glyphicon-plus"></span>
{{lang_add}}
</button>
<button type="submit" class="btn btn-primary" name="action" value="save-groups" {{perms.group.edit.disabled}}>
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
</div>
<div class="clearfix"></div>
</form>
|