1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 04:36:48 +00:00

fix(console): small console settings and page fixes

- The VM's console settings have no "Clear keymap" box: it wrote an empty
  keymap attribute into the VM, and choosing Auto already removes the
  keymap; that change is logged as "remove console keymap".
- The "Clip viewport" switch was labelled "View Clipboard".
- The full console page no longer fills the password field with "None"
  for a VM without a console password.
This commit is contained in:
catborise 2026-10-26 20:30:26 +03:00
parent a0b203749a
commit c169ccf5fe
5 changed files with 17 additions and 6 deletions

View file

@ -345,7 +345,7 @@
<div id="noVNC_password_block">
<label for="noVNC_password_input">{% trans 'Password' %}:</label>
{% if perms.instances.passwordless_console %}
<input id="noVNC_password_input" type="password" value="{{ console_passwd }}">
<input id="noVNC_password_input" type="password" value="{{ console_passwd|default_if_none:"" }}">
{% else %}
<input id="noVNC_password_input" type="password">
{% endif %}