Stop abusing lists for dialogs
Use some more sane elements for these things.
This commit is contained in:
parent
cbe54acd1f
commit
a73b5acfbb
@ -854,11 +854,6 @@ select:active {
|
|||||||
#noVNC_verify_server_dlg.noVNC_open {
|
#noVNC_verify_server_dlg.noVNC_open {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
#noVNC_verify_server_dlg ul {
|
|
||||||
list-style: none;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ----------------------------------------
|
/* ----------------------------------------
|
||||||
* Password Dialog
|
* Password Dialog
|
||||||
@ -873,11 +868,6 @@ select:active {
|
|||||||
#noVNC_credentials_dlg.noVNC_open {
|
#noVNC_credentials_dlg.noVNC_open {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
#noVNC_credentials_dlg ul {
|
|
||||||
list-style: none;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
}
|
|
||||||
.noVNC_hidden {
|
.noVNC_hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
48
vnc.html
48
vnc.html
@ -277,38 +277,34 @@
|
|||||||
<!-- Server Key Verification Dialog -->
|
<!-- Server Key Verification Dialog -->
|
||||||
<div class="noVNC_center noVNC_connect_layer">
|
<div class="noVNC_center noVNC_connect_layer">
|
||||||
<div id="noVNC_verify_server_dlg" class="noVNC_panel"><form>
|
<div id="noVNC_verify_server_dlg" class="noVNC_panel"><form>
|
||||||
<ul>
|
<div id="noVNC_fingerprint_block">
|
||||||
<li id="noVNC_fingerprint_block">
|
<label>Fingerprint:</label>
|
||||||
<label>Fingerprint:</label>
|
<div id="noVNC_fingerprint"></div>
|
||||||
<div id="noVNC_fingerprint"></div>
|
</div>
|
||||||
</li>
|
<div>
|
||||||
<li>
|
Please verify the identification of the server by its fingerprint before you approve it.
|
||||||
Please verify the identification of the server by its fingerprint before you approve it.
|
</div>
|
||||||
</li>
|
<div>
|
||||||
<li>
|
<input id="noVNC_approve_server_button" type="submit" value="Approve" class="noVNC_submit">
|
||||||
<input id="noVNC_approve_server_button" type="submit" value="Approve" class="noVNC_submit">
|
<input id="noVNC_reject_server_button" type="button" value="Reject" class="noVNC_submit">
|
||||||
<input id="noVNC_reject_server_button" type="button" value="Reject" class="noVNC_submit">
|
</div>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</form></div>
|
</form></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Password Dialog -->
|
<!-- Password Dialog -->
|
||||||
<div class="noVNC_center noVNC_connect_layer">
|
<div class="noVNC_center noVNC_connect_layer">
|
||||||
<div id="noVNC_credentials_dlg" class="noVNC_panel"><form>
|
<div id="noVNC_credentials_dlg" class="noVNC_panel"><form>
|
||||||
<ul>
|
<div id="noVNC_username_block">
|
||||||
<li id="noVNC_username_block">
|
<label>Username:</label>
|
||||||
<label>Username:</label>
|
<input id="noVNC_username_input">
|
||||||
<input id="noVNC_username_input">
|
</div>
|
||||||
</li>
|
<div id="noVNC_password_block">
|
||||||
<li id="noVNC_password_block">
|
<label>Password:</label>
|
||||||
<label>Password:</label>
|
<input id="noVNC_password_input" type="password">
|
||||||
<input id="noVNC_password_input" type="password">
|
</div>
|
||||||
</li>
|
<div>
|
||||||
<li>
|
<input id="noVNC_credentials_button" type="submit" value="Send Credentials" class="noVNC_submit">
|
||||||
<input id="noVNC_credentials_button" type="submit" value="Send Credentials" class="noVNC_submit">
|
</div>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</form></div>
|
</form></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user