mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
This commit introduces several new components and improvements: - Added Switch module with firmware update and configuration support - Implemented new media streaming capabilities - Updated various UI elements and CSS styles - Enhanced keyboard and mouse event handling - Added new validators and configuration options - Updated Python version support to 3.13 - Improved error handling and logging
48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
li(id="text-dropdown" class="right")
|
|
a(class="menu-button" href="#")
|
|
+navbar_led("stream-ocr-led", "led-gear", "feature-disabled")
|
|
span(i18n="kvm_text44") Text
|
|
div(id="text-menu" class="menu")
|
|
div(class="text")
|
|
b(i18n="kvm_text45") Paste text as keypress sequence#[br]
|
|
sub(i18n="kvm_text46") Please note that PiKVM cannot switch the keyboard layout
|
|
hr
|
|
div(class="text" style="margin-right: 20px")
|
|
textarea(id="hid-pak-text" data-focus placeholder="Enter your text here")
|
|
table(class="kv")
|
|
tr
|
|
td
|
|
button(disabled data-force-hide-menu id="hid-pak-button" i18n="kvm_text47") • Paste
|
|
td(i18n="kvm_text48") using host keymap
|
|
td
|
|
select(id="hid-pak-keymap-selector")
|
|
table(class="kv")
|
|
+menu_switch_notable("hid-pak-slow-switch", "Slow typing", true, false, "hid-pak-slow-switch")
|
|
tr
|
|
+menu_switch_notable("hid-pak-ask-switch", "Ask paste confirmation", true, true, "hid-pak-ask-switch")
|
|
tr(id="hid-pak-secure" class="feature-disabled")
|
|
+menu_switch_notable("hid-pak-secure-switch", "Hide input text", true, false,"hid-pak-secure-switch")
|
|
div(id="stream-ocr" class="feature-disabled")
|
|
hr
|
|
br
|
|
hr
|
|
div(class="text")
|
|
b(i18n="kvm_text49") Text recognition <sup><i>β</i></sup>#[br]
|
|
sub(i18n="kvm_text50") #[a(target="_blank" href="https://docs.pikvm.org/ocr") OCR] works locally on PiKVM
|
|
hr
|
|
table(class="kv")
|
|
tr
|
|
td
|
|
button(data-force-hide-menu id="stream-ocr-button" i18n="kvm_text51") • Select area
|
|
td(i18n="kvm_text52") for
|
|
td
|
|
select(id="stream-ocr-lang-selector")
|
|
td(i18n="kvm_text53") text recognition
|
|
table(class="kv")
|
|
tr
|
|
td(colspan="4" i18n="kvm_text54") • Press #[b Enter] to recognize and copy text to clipboard
|
|
tr
|
|
td(colspan="4" i18n="kvm_text55") • Press #[b Esc] to cancel selection
|
|
tr
|
|
td
|