2023-04-03 21:57:03 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2025-02-25 21:35:11 +00:00
|
|
|
{{template "head" .}}
|
2023-04-05 22:48:36 +00:00
|
|
|
<script src="scripts/account.js" type="module"></script>
|
2024-07-22 21:36:44 +00:00
|
|
|
<script src="modules/chart.js"></script>
|
2023-09-05 21:47:39 +00:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
|
|
|
<style>
|
|
|
|
@media screen and (width >= 1264px){
|
|
|
|
#resource-container {
|
2023-09-11 19:04:07 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, calc(100% / 6));
|
2023-10-05 16:38:25 +00:00
|
|
|
grid-gap: 0;
|
2023-09-11 19:04:07 +00:00
|
|
|
justify-content: space-between;
|
2023-09-05 21:47:39 +00:00
|
|
|
}
|
|
|
|
}
|
2023-10-05 16:38:25 +00:00
|
|
|
@media screen and (width <= 1264px) and (width >= 680px) {
|
2023-09-05 21:47:39 +00:00
|
|
|
#resource-container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, 200px);
|
2023-10-05 16:38:25 +00:00
|
|
|
grid-gap: 0;
|
2023-09-05 21:47:39 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
}
|
2023-10-05 16:38:25 +00:00
|
|
|
@media screen and (width <= 680px) {
|
2023-09-05 21:47:39 +00:00
|
|
|
#resource-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-10-05 16:38:25 +00:00
|
|
|
gap: 0;
|
2023-09-05 21:47:39 +00:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
2023-04-03 21:57:03 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-04-25 21:25:03 +00:00
|
|
|
<header>
|
2025-02-25 21:35:11 +00:00
|
|
|
{{template "header" .}}
|
2023-04-03 21:57:03 +00:00
|
|
|
</header>
|
2023-04-28 23:57:42 +00:00
|
|
|
<main>
|
2024-07-16 19:00:30 +00:00
|
|
|
<h2>Account</h2>
|
|
|
|
<section class="w3-card w3-padding">
|
|
|
|
<h3>Account Details</h3>
|
|
|
|
<p id="username">Username:</p>
|
|
|
|
<p id="pool">Pools:</p>
|
|
|
|
<p id="vmid">VMID Range:</p>
|
|
|
|
<p id="nodes">Nodes:</p>
|
|
|
|
</section>
|
|
|
|
<section class="w3-card w3-padding">
|
|
|
|
<div class="flex row nowrap">
|
|
|
|
<h3>Password</h3>
|
2025-02-25 21:35:11 +00:00
|
|
|
<button class="w3-button w3-margin" id="change-password" type="button">Change Password</button>
|
|
|
|
</div>
|
2024-07-16 19:00:30 +00:00
|
|
|
</section>
|
|
|
|
<section class="w3-card w3-padding">
|
|
|
|
<h3>Cluster Resources</h3>
|
|
|
|
<div id="resource-container"></div>
|
2023-04-28 23:57:42 +00:00
|
|
|
</section>
|
2023-04-03 21:57:03 +00:00
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|