This commit is contained in:
Maxim Devaev 2022-11-12 18:53:49 +03:00
parent 5b1dd8ad3a
commit 9065b258cc
3 changed files with 9 additions and 5 deletions

View File

@ -620,10 +620,10 @@
</div>
</li>
<li class="right" id="text-dropdown"><a class="menu-button" href="#"><img class="feature-disabled" id="stream-ocr-led" src="/share/svg/led-gear.svg"><span>Text</span></a>
<div class="menu">
<div class="menu" id="text-menu">
<div class="text"><b>Paste text as keypress sequence<br></b><sub>Please note that PiKVM cannot switch the keyboard layout</sub></div>
<hr>
<div class="text">
<div class="text" style="margin-right: 20px">
<textarea id="hid-pak-text" placeholder="Enter your text here"></textarea>
</div>
<table class="kv">

View File

@ -2,12 +2,12 @@ li(id="text-dropdown" class="right")
a(class="menu-button" href="#")
+navbar_led("stream-ocr-led", "led-gear", "feature-disabled")
span Text
div(class="menu")
div(id="text-menu" class="menu")
div(class="text")
b Paste text as keypress sequence#[br]
sub Please note that PiKVM cannot switch the keyboard layout
hr
div(class="text")
div(class="text" style="margin-right: 20px")
textarea(id="hid-pak-text" placeholder="Enter your text here")
table(class="kv")
tr

View File

@ -20,11 +20,15 @@
*****************************************************************************/
div#text-menu {
width: 340px;
}
textarea#hid-pak-text {
display: block;
resize: none;
height: 120px;
width: 320px;
width: 100%;
border: var(--border-default-thin);
border-radius: 4px;
color: var(--cs-code-default-fg);