diff options
author | Simon Rettberg | 2021-03-05 15:52:12 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-03-05 15:52:12 +0100 |
commit | 7a873d6f83ce3d0fdd846d436221c38d2ff98c83 (patch) | |
tree | 14b962f7700c15da669f29203f25531cdb684d78 /modules-available/remoteaccess/templates | |
parent | [roomplanner] Formatting, comments (diff) | |
download | slx-admin-7a873d6f83ce3d0fdd846d436221c38d2ff98c83.tar.gz slx-admin-7a873d6f83ce3d0fdd846d436221c38d2ff98c83.tar.xz slx-admin-7a873d6f83ce3d0fdd846d436221c38d2ff98c83.zip |
[remoteaccess] Allow changing client-side VNC port
References #3823
Diffstat (limited to 'modules-available/remoteaccess/templates')
-rw-r--r-- | modules-available/remoteaccess/templates/edit-settings.html | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/modules-available/remoteaccess/templates/edit-settings.html b/modules-available/remoteaccess/templates/edit-settings.html index 3c890b91..8f057232 100644 --- a/modules-available/remoteaccess/templates/edit-settings.html +++ b/modules-available/remoteaccess/templates/edit-settings.html @@ -4,13 +4,23 @@ <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> </div> <div class="form-group"> <div class="checkbox"> |