1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/instances/templates/instances
catborise 82f2c9684f feat(console): one VNC console page, driven from the panel's bar
The VM page offered a lite and a full VNC console. Lite lacked a clipboard,
display settings and a way to reconnect; full put noVNC's own side bar under
the panel's bar, with a Fullscreen item that called a function noVNC does
not have, status messages hidden behind the bar, saved noVNC settings that
overrode the Access tab's, connection settings that cannot apply, and a
Connect button that reused the page's two-minute token and failed.

console-vnc.html and static/js/console_vnc.js replace both, on noVNC's RFB
with Bootstrap controls, and keep what the full view did:
- Status in the bar (Connecting, Connected, Disconnected, Connection lost,
  Could not connect, Authentication failed with the server's reason on
  hover); Disconnect, then Reconnect, which loads the page again for a new
  token.
- The VNC password in a dialog (with a username when the server asks for
  one), not a browser prompt; without passwordless console it is not in
  the page.
- Send key(s) gains Hold Ctrl / Alt / Windows (noVNC's extra keys).
- Clipboard: what the VM copies, sending text to the VM's clipboard, and
  typing it key by key (new: works in firmware, installers and login
  prompts; Shift for the characters a US keyboard shifts, 25 ms a key as
  firmware drops faster keys, verified in a UEFI shell).
- View: scaling (none, fit, resize the VM's screen), clip, drag a clipped
  screen, view only, dot cursor, quality, compression; it starts as
  Settings > Console says (a touch screen starts fitted).
- A Keyboard item on touch devices (noVNC's on-screen keyboard input,
  key events and Android's text-only input), Fullscreen with keyboard
  lock, the bell.
Dropped with the full view: noVNC's websocket host/port/path, repeater ID
and log level (the panel fixes them), automatic reconnect (the token is
single use in time), XVP power buttons (QEMU has no XVP) and shared-mode off.

The bar is compact (about 45 px in the 850x600 window). The Access tab has
one Console button instead of the Lite/Full split and four switches, and
it and the VM list open one window per VM (opening it again reloads it).
2026-10-27 08:05:31 +03:00
..
access_tab.html feat(console): one VNC console page, driven from the panel's bar 2026-10-27 08:05:31 +03:00
destroy_instance_form.html fix(instances): a paused VM can be destroyed from its page 2026-10-08 08:50:21 +03:00
destroy_tab.html fix(instances): a paused VM can be destroyed from its page 2026-10-08 08:50:21 +03:00
edit_instance_volume.html fix(templates): each confirmation says what its action does 2026-10-21 21:25:45 +03:00
form_errors.html fix(instances): a refused VM create form comes back with what was entered 2026-10-20 08:12:25 +03:00
info_tab.html fix(instances): Guest Info says when the agent fails and keeps what it answered 2026-10-26 13:49:37 +03:00
power_tab.html fix(templates): icon-only buttons, selects and delete pages have accessible names 2026-10-19 16:15:06 +03:00
resize_tab.html fix(instances): the Resize tab changes only what was asked 2026-10-26 13:49:37 +03:00
settings_tab.html fix(instances): the XML dialog keeps the edit and defines only this VM 2026-10-24 20:03:20 +03:00
snapshots_tab.html fix(instances): internal snapshot names are checked, snapshot dates carry the year 2026-10-26 13:49:37 +03:00
stats_tab.html feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00