1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-10 12:16:49 +00:00
webvirtcloud/instances/templates/instances
catborise 5e93920d78 feat(instances): a VM's stats in one grid, its logs a switch away
The Stats tab stacked one large card per chart, so a VM with a few
devices made a long page, and its "Real Time" and "Logs" sub-tabs were
shown to every user although only a superuser may read the logs. The
owner chose the layout from rendered options: a state line, CPU and
memory side by side, one chart per NIC and disk below, each with its
latest reading next to its title, and a small Graphs/Logs switch for
superusers.

Codex reviewed the tab; this is fixed:

- Memory is shown in MiB (it was labelled MB), and its axis grows to
  the RSS when the RSS passes the balloon size instead of clipping it.
- The CPU reading says it is of the host's CPUs.
- A NIC is titled by its MAC, not an invented "eth0", and its readings
  are matched to its chart by the MAC: they were matched by position, so
  removing a NIC while the page was open moved the next one's readings
  into its chart.
- A VM that is not running says nothing is measured.
- The logs load whenever the Logs view is shown, by keyboard too; an
  empty answer says "None" and a failed one says so, instead of an
  empty table. The tab shows the latest 50 rows, with a link to all of
  the VM's rows on the Logs page.
- The VM's header shows memory in MiB; it said MB.
2026-10-30 23:41:17 +03:00
..
access_tab.html feat(instances): a VM's access in one strip, its console password kept to its rule 2026-10-30 20:39:40 +03:00
destroy_instance_form.html feat(instances): a VM's destruction says what goes, and keeps what a kept file needs 2026-10-30 22:19:31 +03:00
destroy_tab.html feat(instances): a VM's destruction says what goes, and keeps what a kept file needs 2026-10-30 22:19:31 +03:00
edit_instance_volume.html feat(instances): a VM's disks as cards, its CD-ROM drives above them 2026-10-30 11:19:55 +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
host_devices_form.html feat(instances): PCI devices hot-plugged into a running VM 2026-10-29 14:54:36 +03:00
host_link.html feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
info_tab.html feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
migrate_plan.html feat(instances): a VM's migration in a route, a disk plan and its transfer settings 2026-10-30 14:55:57 +03:00
move_disk.html feat(instances): a VM's disks as cards, its CD-ROM drives above them 2026-10-30 11:19:55 +03:00
nic_qos_form.html feat(instances): a VM's network devices as cards, each with its QoS limits 2026-10-30 14:55:57 +03:00
power_tab.html feat(instances): a VM's power actions at a glance, a power cut asked first 2026-10-30 19:21:30 +03:00
resize_tab.html feat(instances): a VM's resize tab as a ledger, its vCPU changes kept 2026-10-30 18:16:11 +03:00
settings_tab.html feat(instances): a VM's owners with their rights, and XML edits kept until saved 2026-10-30 17:02:38 +03:00
snapshots_tab.html feat(instances): external snapshots first, internal ones a fallback 2026-10-30 21:40:00 +03:00
stats_tab.html feat(instances): a VM's stats in one grid, its logs a switch away 2026-10-30 23:41:17 +03:00