ProxmoxAAS-API/index.html

102 lines
3.1 KiB
HTML
Raw Normal View History

2022-12-11 02:02:29 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>proxmox - dashboard</title>
<link rel="icon" href="images/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="stylesheet" href="w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/nav.css">
<link rel="stylesheet" href="css/form.css">
<script src="scripts/index.js" type="module"></script>
<script src="scripts/instance.js" type="module"></script>
2023-06-09 07:00:21 +00:00
<style>
#instance-container > div {
border-bottom: 1px solid white;
}
#instance-container > div:last-child {
border-bottom: none;
}
@media screen and (width >= 440px) {
#vm-search {
max-width: calc(100% - 10px - 152px);
}
button .large {
display: block;
}
button .small {
display: none;
}
}
@media screen and (width <= 440px) {
#vm-search {
max-width: calc(100% - 10px - 47px);
}
button .large {
display: none;
}
button .small {
display: block;
}
}
2023-06-09 07:00:21 +00:00
</style>
2022-12-11 02:02:29 +00:00
</head>
<body>
<header>
<h1>proxmox</h1>
2023-05-11 06:13:00 +00:00
<label for="navtoggle">&#9776;</label>
<input type="checkbox" id="navtoggle">
<nav>
<a href="index.html" aria-current="page">Instances</a>
2023-05-11 06:13:00 +00:00
<a href="account.html">Account</a>
2023-07-12 00:24:16 +00:00
<a href="settings.html">Settings</a>
2023-05-11 06:13:00 +00:00
<a href="login.html">Logout</a>
2023-04-06 03:46:39 +00:00
</nav>
</header>
<main>
<section class="w3-container">
<h2>Instances</h2>
<div class="w3-card w3-padding">
<div class="flex row nowrap" style="margin-top: 1em; justify-content: space-between;">
<form id="vm-search" role="search" class="flex row nowrap">
<img src="images/static/search.svg" alt="Search VMs">
<input type="search" id="search" class="w3-input w3-border" style="height: 1lh; max-width: fit-content;" aria-label="search instances by name">
</form>
<button type="button" id="instance-add" class="w3-button" aria-label="create new instance">
<span class="large" style="margin: 0;">Create Instance</span>
<img class="small" style="height: 1lh; width: 1lh;" src="images/actions/instance/add.svg" alt="Create New Instance">
</button>
</div>
2023-09-18 19:37:07 +00:00
<div>
<div class="w3-row w3-hide-small" style="border-bottom: 1px solid;">
<div class="w3-col l1 m2">
<p>ID</p>
2023-09-18 19:37:07 +00:00
</div>
<div class="w3-col l2 m3">
<p>Name</p>
2023-09-18 19:37:07 +00:00
</div>
<div class="w3-col l1 m2">
<p>Type</p>
2023-09-18 19:37:07 +00:00
</div>
<div class="w3-col l2 m3">
<p>Status</p>
2023-09-18 19:37:07 +00:00
</div>
<div class="w3-col l2 w3-hide-medium">
<p>Host Name</p>
</div>
<div class="w3-col l2 w3-hide-medium">
<p>Host Status</p>
</div>
<div class="w3-col l2 m2">
<p>Actions</p>
</div>
</div>
<div id="instance-container"></div>
</div>
</div>
</section>
</main>
2022-12-11 02:02:29 +00:00
</body>
</html>