aboutsummaryrefslogtreecommitdiffstats
path: root/static/app.js
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-13 20:34:47 +0100
committerDanilo M. <danix@danix.xyz>2026-11-13 20:34:47 +0100
commit69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4 (patch)
treeb69bc4f6f8a092605cb2fac82328e340a5071ae2 /static/app.js
parentf9330aff36868b723fd6918686360ea8992b285e (diff)
downloaddeck-it-69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4.tar.gz
deck-it-69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4.zip
feat(vm): a VMs tab for libvirt power, snapshots and ssh
virsh domstats each poll for state, CPU and memory; managed save, snapshots and the guest agent's IP in a thread every 10s. Actions are the drawer's power set plus snapshot take/revert/delete, names checked against the last state. SSH opens a tab in a running kitty over its remote-control socket and focuses it, else spawns kitty. Destructive buttons are press and hold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/app.js')
-rw-r--r--static/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/app.js b/static/app.js
index 60cbb9f..5d1688a 100644
--- a/static/app.js
+++ b/static/app.js
@@ -29,7 +29,7 @@ const tabs = {};
// Tab icons, glyphs in the Nerd Font the server serves, or a brand logo from
// static/logos; a tab with neither shows its name. The name also shows next
// to the active one.
-const TAB_ICONS = { Dashboard: "\uf0e4", Windows: "\uf2d2", Assistant: "\uf086", K1C: "\u{f0e5b}" };
+const TAB_ICONS = { Dashboard: "\uf0e4", Windows: "\uf2d2", Assistant: "\uf086", K1C: "\u{f0e5b}", VMs: "\uf233" };
const TAB_LOGOS = { OBS: "obs" };
function ensureTab(name) {