summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/gpio.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-03 11:02:50 +0300
committerDevaev Maxim <[email protected]>2020-09-03 11:02:50 +0300
commitc457251081f8c531c36f1b405683f611c29db03f (patch)
treea179efd3e073de06ef6cc9ea979f5e6bc9d4eb31 /web/share/js/kvm/gpio.js
parent68ab7ce33c5cfd5a8ae7c6682029191ccbfd49c3 (diff)
circle led
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"]) {