diff options
author | Devaev Maxim <[email protected]> | 2020-09-03 11:02:50 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-03 11:02:50 +0300 |
commit | c457251081f8c531c36f1b405683f611c29db03f (patch) | |
tree | a179efd3e073de06ef6cc9ea979f5e6bc9d4eb31 /web/share/js/kvm/gpio.js | |
parent | 68ab7ce33c5cfd5a8ae7c6682029191ccbfd49c3 (diff) |
circle led
Diffstat (limited to 'web/share/js/kvm/gpio.js')
-rw-r--r-- | web/share/js/kvm/gpio.js | 4 |
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"]) { |