improve account style,

add allowed nodes to account page,
reduce use of innerHTML

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
2023-05-03 21:06:27 +00:00
parent d351fdfb67
commit 86dd966691
3 changed files with 25 additions and 23 deletions

View File

@@ -27,24 +27,25 @@
<section class="w3-container">
<h2>Account</h2>
<div class="w3-card w3-padding">
<div class="flex row wrap">
<p id="username">Username: </p>
<p id="pool">Pool: </p>
<p id="vmid">VMID Range: </p>
</div>
<div class="">
<table id="resource-table" class="w3-table w3-table-all" style="overflow-x: auto;">
<thead>
<tr class="w3-black">
<th>Resource</th>
<th>Used</th>
<th>Free</th>
<th>Total</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<h3>Account Details</h3>
<p id="username">Username:</p>
<p id="pool">Pool:</p>
<p id="vmid">VMID Range:</p>
<p id="nodes">Nodes:</p>
</div>
<div class="w3-card w3-padding w3-margin-top">
<h3>Cluster Resources</h3>
<table id="resource-table" class="w3-table w3-table-all" style="overflow-x: auto;">
<thead>
<tr class="w3-black">
<th>Resource</th>
<th>Used</th>
<th>Free</th>
<th>Total</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</section>
</main>