center config form

This commit is contained in:
Arthur Lu 2023-04-06 04:31:12 +00:00
parent f9137a4f44
commit d3fca0f67c

View File

@ -22,28 +22,26 @@
</header> </header>
<main> <main>
<h2 id="name">Instances / %{vmname}</h2><hr> <h2 id="name">Instances / %{vmname}</h2><hr>
<div class="center-div"> <form style="margin-left: auto; margin-right: auto;">
<form> <fieldset>
<fieldset> <legend>Resources</legend>
<legend>Resources</legend> <div class="input-grid" id="resources" style="grid-template-columns: repeat(3, auto) 1fr;"></div>
<div class="input-grid" id="resources" style="grid-template-columns: repeat(3, auto) 1fr;"></div> </fieldset>
</fieldset> <fieldset>
<fieldset> <legend>Disks</legend>
<legend>Disks</legend> <div class="input-grid" id="disks" style="grid-template-columns: auto auto auto 1fr;"></div>
<div class="input-grid" id="disks" style="grid-template-columns: auto auto auto 1fr;"></div> <hr>
<hr> <div class="btn-group">
<div class="btn-group"> <img id="disk-add" src="images/actions/disk/add-disk.svg" class="clickable" alt="Add New Disk" title="Add New Disk">
<img id="disk-add" src="images/actions/disk/add-disk.svg" class="clickable" alt="Add New Disk" title="Add New Disk"> <img id="cd-add" src="images/actions/disk/add-cd.svg" class="clickable none" alt="Add New CDROM" title="Add New CDROM">
<img id="cd-add" src="images/actions/disk/add-cd.svg" class="clickable none" alt="Add New CDROM" title="Add New CDROM"> </div>
</div> </fieldset>
</fieldset> <fieldset class="fieldset-no-border">
<fieldset class="fieldset-no-border"> <div class="btn-group" id="form-actions">
<div class="btn-group" id="form-actions"> <button id="exit" type="button">EXIT</button>
<button id="exit" type="button">EXIT</button> </div>
</div> </fieldset>
</fieldset> </form>
</form>
</div>
</main> </main>
<footer><p>&copy; tronnet</p></footer> <footer><p>&copy; tronnet</p></footer>
</body> </body>