summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html8
-rw-r--r--web/kvm/navbar-system.pug6
-rw-r--r--web/kvm/navbar.pug7
3 files changed, 9 insertions, 12 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index fccb7893..72e96d34 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -147,10 +147,10 @@
<table class="one-line-switch">
<td>Auto-resize stream:</td>
<td align="right">
- <div class="switch-box">
- <input class="switch-checkbox" checked type="checkbox" id="stream-auto-resize-checkbox">
- <label class="switch-label" for="stream-auto-resize-checkbox"><span class="switch-inner"></span><span class="switch"></span></label>
- </div>
+ <div class="switch-box">
+ <input checked type="checkbox" id="stream-auto-resize-checkbox">
+ <label for="stream-auto-resize-checkbox"><span class="switch-inner"></span><span class="switch"></span></label>
+ </div>
</td>
</table>
</div>
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index fb764cb2..400dc342 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -39,7 +39,11 @@ li(class="right")
table(class="one-line-switch")
td Auto-resize stream:
td(align="right")
- +switch("stream-auto-resize-checkbox")
+ div(class="switch-box")
+ input(checked type="checkbox" id="stream-auto-resize-checkbox")
+ label(for="stream-auto-resize-checkbox")
+ span(class="switch-inner")
+ span(class="switch")
hr
div(class="buttons")
button(disabled data-force-hide-menu id="stream-reset-button") &bull; Reset stream
diff --git a/web/kvm/navbar.pug b/web/kvm/navbar.pug
index 3e38c93b..d7743160 100644
--- a/web/kvm/navbar.pug
+++ b/web/kvm/navbar.pug
@@ -13,13 +13,6 @@ mixin menu_message(icon, short, classes="")
sup(style="line-height:1")
block
-mixin switch(id)
- div(class="switch-box")
- input(checked type="checkbox" id=id class="switch-checkbox")
- label(class="switch-label" for=id)
- span(class="switch-inner")
- span(class="switch")
-
ul(id="navbar")
li(class="left")
a(id="logo" href="/") &larr;&nbsp;&nbsp;