summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/gpio.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/gpio.js')
-rw-r--r--web/share/js/kvm/gpio.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/gpio.js b/web/share/js/kvm/gpio.js
index 53644038..56bd5d14 100644
--- a/web/share/js/kvm/gpio.js
+++ b/web/share/js/kvm/gpio.js
@@ -83,7 +83,7 @@ export function Gpio() {
if (item.type === "output") {
item.scheme = model.scheme.outputs[item.channel];
}
- content += `<td>${__createItem(item, switches, buttons)}</td>`;
+ content += `<td align="center">${__createItem(item, switches, buttons)}</td>`;
}
content += "</tr>";
}
@@ -105,7 +105,7 @@ export function Gpio() {
if (item.type === "label") {
return item.text;
} else if (item.type === "input") {
- return `<img id="gpio-led-${item.channel}" class="gpio-led inline-lamp-big led-gray" src="/share/svg/led-square.svg" />`;
+ return `<img id="gpio-led-${item.channel}" class="gpio-led inline-lamp-big led-gray" src="/share/svg/led-circle.svg" />`;
} else if (item.type === "output") {
let controls = [];
if (item.scheme["switch"]) {