ProxmoxAAS-Dashboard/settings.html

75 lines
2.6 KiB
HTML
Raw Normal View History

2023-07-12 00:24:16 +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 - client</title>
<link rel="icon" href="images/favicon.svg" sizes="any" type="image/svg+xml">
<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/settings.js" type="module"></script>
2023-07-12 22:37:08 +00:00
<style>
2023-07-20 22:00:54 +00:00
legend {
margin-bottom: 25px;
}
2023-07-12 22:37:08 +00:00
label {
display: flex;
height: fit-content;
width: 100%;
align-items: center;
justify-content: left;
column-gap: 10px;
}
2023-07-20 22:00:54 +00:00
label + p {
margin-top: 5px;
margin-bottom: 25px;
}
p:last-child {
margin-bottom: 0px;
}
2023-07-12 22:37:08 +00:00
</style>
2023-07-12 00:24:16 +00:00
</head>
<body>
<header>
<h1>proxmox</h1>
<label for="navtoggle">&#9776;</label>
<input type="checkbox" id="navtoggle">
<nav>
<a href="index.html">Instances</a>
<a href="account.html">Account</a>
<a href="settings.html" aria-current="true">Settings</a>
<a href="login.html">Logout</a>
</nav>
</header>
<main>
<section class="w3-container">
<h2>Settings</h2>
2023-07-12 22:37:08 +00:00
<form id = "settings">
2023-07-12 00:24:16 +00:00
<div class="w3-card w3-padding">
<h3>Synchronization Settings</h3>
<fieldset>
<legend>App Sync Method</legend>
2023-07-20 22:00:54 +00:00
<label><input class="w3-radio" type="radio" id="sync-always" name="sync-scheme" value="always" required><span>Always Sync</span></label>
<p>App will always periodically synchronize with Proxmox. High resource usage.</p>
<label><input class="w3-radio" type="radio" id="sync-hash" name="sync-scheme" value="hash" required>Check For Sync</label>
<p>App will periodically synchronize only if there have been change. Medium resource usage.</p>
<label><input class="w3-radio" type="radio" id="sync-interrupt" name="sync-scheme" value="interrupt" required>Sync When Needed</label>
<p>App will react to changes and synchronize when changes are made. Low resource usage.</p>
2023-07-12 00:24:16 +00:00
</fieldset>
<fieldset>
<legend>App Sync Frequency</legend>
<div class="input-grid" style="grid-template-columns: auto auto 1fr;">
2023-07-12 22:37:08 +00:00
<p>Sync every</p><input class="w3-input w3-border" type="number" id="sync-rate" name="sync-rate" min="1" required><p>Second(s)</p>
2023-07-12 00:24:16 +00:00
</div>
</fieldset>
</div>
<div class="w3-container w3-center" id="form-actions">
2023-07-12 22:37:08 +00:00
<button class="w3-button w3-margin" id="save" type="submit">SAVE</button>
2023-07-12 00:24:16 +00:00
</div>
</form>
</section>
</main>
</body>
</html>