summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-19 16:54:50 +0300
committerDevaev Maxim <[email protected]>2020-07-19 16:54:50 +0300
commit903382fda501e3c5f54d0b82e0067139ab5e11f7 (patch)
treeb132aaedb6c23d362e1a9ea7e9aece8b6dcb1a97 /web/kvm
parentaf89118eda79ede894ff45a0bea7db030a8d6e86 (diff)
many style improvements
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;