Initial WIP
This commit is contained in:
27
resources/views/settings.html.hbs
Normal file
27
resources/views/settings.html.hbs
Normal file
@@ -0,0 +1,27 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Settings | P5x</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Configure P5x</h1>
|
||||
<small>Current config version: {{#if settings.id}}v{{settings.id}}{{^}}v0{{/if}}</small>
|
||||
<form action="/configure" method="post">
|
||||
<br><b>Proxmox VE</b><br>
|
||||
|
||||
<label for="pve_master_node">PVE Master Node Hostname:</label>
|
||||
<input type="text" name="pve_master_node" id="pve_master_node" placeholder="node-name" value="{{{ settings.pve_master_node }}}"><br>
|
||||
|
||||
<label for="pve_api_host">PVE API Host:</label>
|
||||
<input type="text" name="pve_api_host" id="pve_api_host" placeholder="192.168.1.X" value="{{{ settings.pve_api_host }}}"><br>
|
||||
|
||||
<label for="pve_root_password">PVE Root Password:</label>
|
||||
<input type="password" name="pve_root_password" id="pve_root_password" value="{{{ settings.pve_root_password }}}"><br>
|
||||
|
||||
<label for="pve_storage_pool">PVE Storage Pool:</label>
|
||||
<input type="text" name="pve_storage_pool" id="pve_storage_pool" value="{{{ settings.pve_storage_pool }}}"><br>
|
||||
<small>Storage pool must be network-attached (Ceph/iSCSI). NFS is discouraged because it lacks proper support for locking.</small><br>
|
||||
|
||||
<br><button type="submit">Save</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user