From c16046f3fa8350782994c3ec514f59a213ee0b35 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 3 Apr 2023 21:17:18 +0000 Subject: [PATCH] fix remaining icons Signed-off-by: Arthur Lu --- images/actions/disk/add-cd.svg | 2 +- images/actions/disk/add-disk.svg | 2 +- images/actions/disk/move-active.svg | 2 +- images/actions/disk/resize-active.svg | 2 +- images/actions/loading.svg | 2 +- images/instances/lxc/loading.svg | 2 +- images/instances/qemu/loading.svg | 2 +- images/resources/cpu.svg | 2 +- images/resources/disk.svg | 2 +- images/resources/drive.svg | 2 +- images/resources/ram.svg | 2 +- images/resources/swap.svg | 2 +- scripts/config.js | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/images/actions/disk/add-cd.svg b/images/actions/disk/add-cd.svg index 2ff123b..90a152d 100644 --- a/images/actions/disk/add-cd.svg +++ b/images/actions/disk/add-cd.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/disk/add-disk.svg b/images/actions/disk/add-disk.svg index e4e110d..2f4edd5 100644 --- a/images/actions/disk/add-disk.svg +++ b/images/actions/disk/add-disk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/disk/move-active.svg b/images/actions/disk/move-active.svg index 8a00792..fdf4ec8 100644 --- a/images/actions/disk/move-active.svg +++ b/images/actions/disk/move-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/disk/resize-active.svg b/images/actions/disk/resize-active.svg index ea72ce2..8eba0c0 100644 --- a/images/actions/disk/resize-active.svg +++ b/images/actions/disk/resize-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/loading.svg b/images/actions/loading.svg index 7a89420..a4669ad 100644 --- a/images/actions/loading.svg +++ b/images/actions/loading.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/instances/lxc/loading.svg b/images/instances/lxc/loading.svg index 7a89420..a4669ad 100644 --- a/images/instances/lxc/loading.svg +++ b/images/instances/lxc/loading.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/instances/qemu/loading.svg b/images/instances/qemu/loading.svg index 7a89420..a4669ad 100644 --- a/images/instances/qemu/loading.svg +++ b/images/instances/qemu/loading.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/cpu.svg b/images/resources/cpu.svg index cd61ab2..da3ee00 100644 --- a/images/resources/cpu.svg +++ b/images/resources/cpu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/disk.svg b/images/resources/disk.svg index c3e4366..002216b 100644 --- a/images/resources/disk.svg +++ b/images/resources/disk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/drive.svg b/images/resources/drive.svg index 77c1f4f..90fbb81 100644 --- a/images/resources/drive.svg +++ b/images/resources/drive.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/ram.svg b/images/resources/ram.svg index b6e3167..6541398 100644 --- a/images/resources/ram.svg +++ b/images/resources/ram.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/swap.svg b/images/resources/swap.svg index 9a979b9..95e005e 100644 --- a/images/resources/swap.svg +++ b/images/resources/swap.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/scripts/config.js b/scripts/config.js index ed14347..c95bcb8 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -152,8 +152,8 @@ function addDiskLine (fieldset, busPrefix, busName, device, diskDetails) { else { let active = diskMetaData[type][busPrefix].actions.includes(element) ? "active" : "inactive"; // resize action.src = `images/actions/disk/${element}-${active}.svg`; - action.title = `${element.charAt(0).toUpperCase()}${element.slice(1)} Disk`; if (active === "active") { + action.title = `${element.charAt(0).toUpperCase()}${element.slice(1)} Disk`; if (element === "move") { action.addEventListener("click", handleDiskMove); }