feat(client): add live fleet dashboard, sparkline charts, Server Inspector, TOFU/MITM dialogs, and Key Manager UI
This commit is contained in:
parent
2d7709035b
commit
75b969f044
9 changed files with 1200 additions and 46 deletions
|
|
@ -115,6 +115,68 @@
|
|||
</div>
|
||||
</dialog>
|
||||
|
||||
<!-- Register Server Modal -->
|
||||
<dialog id="dialog-server-reg" class="dialog-wide" aria-labelledby="dialog-srv-title">
|
||||
<div class="row-between">
|
||||
<h1 id="dialog-srv-title">Register Target Server</h1>
|
||||
<button id="srv-reg-close" type="button" class="btn btn-sm">Close</button>
|
||||
</div>
|
||||
<form id="dialog-srv-form" class="stack">
|
||||
<div class="grid-2">
|
||||
<div>
|
||||
<label for="srv-id">Server ID</label>
|
||||
<input id="srv-id" name="id" placeholder="prod-web-01" required autofocus>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-name">Display Name</label>
|
||||
<input id="srv-name" name="name" placeholder="Prod Web 01" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-host">Host / IP</label>
|
||||
<input id="srv-host" name="host" placeholder="10.10.0.12" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-port">SSH Port</label>
|
||||
<input id="srv-port" name="port" type="number" min="1" max="65535" value="22" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-user">Username</label>
|
||||
<input id="srv-user" name="username" placeholder="ops" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-cred">Vault Credential ID</label>
|
||||
<select id="srv-cred" name="credentialId" required></select>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-jump">Bastion / Jump Host (Optional)</label>
|
||||
<select id="srv-jump" name="jumpHostId"></select>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-os">OS Hint</label>
|
||||
<select id="srv-os" name="osHint">
|
||||
<option value="auto">auto (uname -s)</option>
|
||||
<option value="linux">linux</option>
|
||||
<option value="bsd">bsd</option>
|
||||
<option value="macos">macos</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-poll">Poll Interval (sec)</label>
|
||||
<input id="srv-poll" name="pollIntervalSec" type="number" min="2" max="3600" value="10" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="srv-tags">Tags (comma-separated)</label>
|
||||
<input id="srv-tags" name="tags" placeholder="prod, web">
|
||||
</div>
|
||||
</div>
|
||||
<p id="srv-reg-err" class="form-msg err-text" aria-live="polite"></p>
|
||||
<div class="dialog-actions">
|
||||
<button id="srv-reg-cancel" type="button" class="btn">Cancel</button>
|
||||
<button type="submit" class="btn btn-primary mutating-action">Register Server</button>
|
||||
</div>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
<script type="module" src="/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue