summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-07-17 01:57:01 +0300
committerDevaev Maxim <[email protected]>2021-07-17 01:57:01 +0300
commit0c500aa0c95a35898924fa1c1eccfcf44f730abf (patch)
treeaeb2837ef77930e84b6af1fb789d7e2e5ea35abc /web/kvm
parent688ddca5495eef27a803290cf064a99b9469972e (diff)
moved wol to gpio
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html2
-rw-r--r--web/kvm/navbar-system.pug4
2 files changed, 4 insertions, 2 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 94c0863c..59870d50 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -121,7 +121,7 @@
<button class="small" data-force-hide-menu id="open-log-button">&bull; Log</button>
</td>
<td class="feature-disabled" id="wol">
- <button class="small" disabled data-force-hide-menu id="wol-wakeup-button">&bull; WoL</button>
+ <button class="gpio-button small" data-force-hide-menu id="gpio-button-__wol__" data-channel="__wol__" data-confirm="Are you sure to send Wake-on-LAN packet to the server?">&bull; WoL</button>
</td>
</tr>
</table>
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index 8602e673..03910cb2 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -12,7 +12,9 @@ li(class="right")
td(id="webterm" class="feature-disabled") #[button(data-force-hide-menu data-show-window="webterm-window" class="small") &bull; Term]
td #[button(data-force-hide-menu data-show-window="about-window" class="small") &bull; About]
td #[button(data-force-hide-menu id="open-log-button" class="small") &bull; Log]
- td(id="wol" class="feature-disabled") #[button(disabled data-force-hide-menu id="wol-wakeup-button" class="small") &bull; WoL]
+ td(id="wol" class="feature-disabled")
+ button(data-force-hide-menu id="gpio-button-__wol__" class="gpio-button small" data-channel="__wol__"
+ data-confirm="Are you sure to send Wake-on-LAN packet to the server?") &bull; WoL
hr
table(class="kv" style="width: calc(100% - 20px)")
tr(id="stream-resolution" class="feature-disabled")