summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-12-11 21:09:49 +0200
committerMaxim Devaev <[email protected]>2024-12-11 21:09:49 +0200
commite014cbcedff6d7e96a1d5d6417ed5b9362d927c5 (patch)
treeff050e6b282eb65feebb4ee5cc9d92c9f36f2796 /web/kvm
parentadbd4f242b4478dd1a67de1afb3ba799de57f2d5 (diff)
pikvm/pikvm#858, pikvm/pikvm#1249: Added slow typing mode for /api/hid/print
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html15
-rw-r--r--web/kvm/navbar-text.pug4
2 files changed, 15 insertions, 4 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 5e18ac31..08093288 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -728,11 +728,11 @@
</table>
<table class="kv">
<tr>
- <td>Ask paste confirmation:</td>
+ <td>Slow typing:</td>
<td align="right">
<div class="switch-box">
- <input checked type="checkbox" id="hid-pak-ask-switch">
- <label for="hid-pak-ask-switch"><span class="switch-inner"></span><span class="switch"></span></label>
+ <input type="checkbox" id="hid-pak-slow-switch">
+ <label for="hid-pak-slow-switch"><span class="switch-inner"></span><span class="switch"></span></label>
</div>
</td>
</tr>
@@ -745,6 +745,15 @@
</div>
</td>
</tr>
+ <tr>
+ <td>Ask paste confirmation:</td>
+ <td align="right">
+ <div class="switch-box">
+ <input checked type="checkbox" id="hid-pak-ask-switch">
+ <label for="hid-pak-ask-switch"><span class="switch-inner"></span><span class="switch"></span></label>
+ </div>
+ </td>
+ </tr>
</table>
<div class="feature-disabled" id="stream-ocr">
<hr><br>
diff --git a/web/kvm/navbar-text.pug b/web/kvm/navbar-text.pug
index 4b344964..e4a37919 100644
--- a/web/kvm/navbar-text.pug
+++ b/web/kvm/navbar-text.pug
@@ -18,9 +18,11 @@ li(id="text-dropdown" class="right")
select(id="hid-pak-keymap-selector")
table(class="kv")
tr
- +menu_switch_notable("hid-pak-ask-switch", "Ask paste confirmation", true, true)
+ +menu_switch_notable("hid-pak-slow-switch", "Slow typing", true, false)
tr
+menu_switch_notable("hid-pak-secure-switch", "Hide input text", true, false)
+ tr
+ +menu_switch_notable("hid-pak-ask-switch", "Ask paste confirmation", true, true)
div(id="stream-ocr" class="feature-disabled")
hr
br