add vlan tag to account info

This commit is contained in:
Arthur Lu 2023-06-09 00:28:26 +00:00
parent 0c05140bfe
commit 1532937f00
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@
<p id="username">Username:</p>
<p id="pool">Pool:</p>
<p id="vmid">VMID Range:</p>
<p id="vlan">VLAN Tag:</p>
<p id="nodes">Nodes:</p>
</div>
<div class="w3-card w3-padding">

View File

@ -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");
}