Add a separate dialog for the password prompt

The user might be queried for the password during the connect stage
if no password was previously provided. Add a separate dialog for
this rather than abusing the connect dialog.
This commit is contained in:
Samuel Mannehed
2016-08-29 14:46:58 +02:00
committed by Pierre Ossman
parent 8d7708c82e
commit 8a7ec6ea19
3 changed files with 74 additions and 11 deletions

View File

@@ -185,6 +185,16 @@
</div> <!-- End of noVNC_control_bar -->
<!-- Password Dialog -->
<div class="noVNC_center">
<div id="noVNC_password_dlg" class="noVNC_panel">
<ul>
<li><label><strong>Password: </strong><input id="noVNC_password_input" type="password" /></label></li>
<li><input id="noVNC_password_button" type="button" value="Send Password" class="noVNC_submit" /></li>
</ul>
</div>
</div>
<div id="noVNC_container">
<h1 id="noVNC_logo"><span>no</span><br />VNC</h1>