From 1532937f007caff9fd4176e2acd034081c85cd37 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Fri, 9 Jun 2023 00:28:26 +0000 Subject: [PATCH] add vlan tag to account info --- account.html | 1 + scripts/account.js | 1 + 2 files changed, 2 insertions(+) diff --git a/account.html b/account.html index 382124a..cc17df0 100644 --- a/account.html +++ b/account.html @@ -29,6 +29,7 @@

Username:

Pool:

VMID Range:

+

VLAN Tag:

Nodes:

diff --git a/scripts/account.js b/scripts/account.js index 285286d..44ce422 100644 --- a/scripts/account.js +++ b/scripts/account.js @@ -31,6 +31,7 @@ async function init() { document.querySelector("#username").innerText = `Username: ${getCookie("username")}`; document.querySelector("#pool").innerText = `Pool: ${instances.pool}`; document.querySelector("#vmid").innerText = `VMID Range: ${instances.vmid.min} - ${instances.vmid.max}`; + document.querySelector("#vlan").innerText = `VLAN Tag: ${instances.vlan}`; document.querySelector("#nodes").innerText = `Nodes: ${nodes.nodes.toString()}`; buildResourceTable(resources, "#resource-table"); }