1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +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

@ -30,7 +30,6 @@ class ConsoleForm(forms.Form):
widget=forms.PasswordInput(render_value=True),
required=False
)
clear_keymap = forms.BooleanField(label=_("Clear keymap"), required=False)
keymap = forms.ChoiceField(label=_("Keymap"), required=False)
def __init__(self, *args, instance, can_set_listener, **kwargs):