add config button to disk items

This commit is contained in:
Arthur Lu 2023-01-08 20:48:58 -08:00
parent 18d59cc0b4
commit 6a92706e80
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,7 @@
</fieldset>
<fieldset>
<legend>Disks</legend>
<div class="input-grid" id="disks" style="grid-template-columns: repeat(2, auto) 1fr;"></div>
<div class="input-grid" id="disks" style="grid-template-columns: repeat(3, auto) 1fr;"></div>
</fieldset>
<fieldset class="fieldset-no-border">
<div class="btn-group" id="form-actions">

View File

@ -93,4 +93,7 @@ function addDiskLine (fieldset, id, iconHref, labelText, valueText) {
let value = document.createElement("p");
value.innerText = valueText;
field.append(value);
let config = document.createElement("img");
config.src = "images/actions/config-active.svg";
}