Stop abusing lists for dialogs

Use some more sane elements for these things.
This commit is contained in:
Pierre Ossman 2022-03-10 16:26:38 +01:00
parent cbe54acd1f
commit a73b5acfbb
2 changed files with 22 additions and 36 deletions

View File

@ -854,11 +854,6 @@ select:active {
#noVNC_verify_server_dlg.noVNC_open {
transform: translateY(0);
}
#noVNC_verify_server_dlg ul {
list-style: none;
margin: 0px;
padding: 0px;
}
/* ----------------------------------------
* Password Dialog
@ -873,11 +868,6 @@ select:active {
#noVNC_credentials_dlg.noVNC_open {
transform: translateY(0);
}
#noVNC_credentials_dlg ul {
list-style: none;
margin: 0px;
padding: 0px;
}
.noVNC_hidden {
display: none;
}

View File

@ -277,38 +277,34 @@
<!-- Server Key Verification Dialog -->
<div class="noVNC_center noVNC_connect_layer">
<div id="noVNC_verify_server_dlg" class="noVNC_panel"><form>
<ul>
<li id="noVNC_fingerprint_block">
<label>Fingerprint:</label>
<div id="noVNC_fingerprint"></div>
</li>
<li>
Please verify the identification of the server by its fingerprint before you approve it.
</li>
<li>
<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">
</li>
</ul>
<div id="noVNC_fingerprint_block">
<label>Fingerprint:</label>
<div id="noVNC_fingerprint"></div>
</div>
<div>
Please verify the identification of the server by its fingerprint before you approve it.
</div>
<div>
<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">
</div>
</form></div>
</div>
<!-- Password Dialog -->
<div class="noVNC_center noVNC_connect_layer">
<div id="noVNC_credentials_dlg" class="noVNC_panel"><form>
<ul>
<li id="noVNC_username_block">
<label>Username:</label>
<input id="noVNC_username_input">
</li>
<li id="noVNC_password_block">
<label>Password:</label>
<input id="noVNC_password_input" type="password">
</li>
<li>
<input id="noVNC_credentials_button" type="submit" value="Send Credentials" class="noVNC_submit">
</li>
</ul>
<div id="noVNC_username_block">
<label>Username:</label>
<input id="noVNC_username_input">
</div>
<div id="noVNC_password_block">
<label>Password:</label>
<input id="noVNC_password_input" type="password">
</div>
<div>
<input id="noVNC_credentials_button" type="submit" value="Send Credentials" class="noVNC_submit">
</div>
</form></div>
</div>