don't show message about keyboards not working when you are following its recomendations to fix it (#70)

This commit is contained in:
patrick kettner 2021-10-05 19:32:38 -04:00 committed by GitHub
parent 756a6c6066
commit 463237229d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 17 deletions

View File

@ -73,6 +73,7 @@
<div id="apps-box"> <div id="apps-box">
<h4>Loading ...</h4> <h4>Loading ...</h4>
</div> </div>
<div class="keyboard-warning">
<hr> <hr>
<p class="text"> <p class="text">
Please note that when you are working with a KVM session or another application that captures the keyboard, Please note that when you are working with a KVM session or another application that captures the keyboard,
@ -82,6 +83,7 @@
or <a target="_blank" href="https://chromium.org/Home">Chromium</a> in application mode. or <a target="_blank" href="https://chromium.org/Home">Chromium</a> in application mode.
</p> </p>
<div class="code" id="app-text"></div> <div class="code" id="app-text"></div>
</div>
<hr> <hr>
<p class="text"> <p class="text">
Full documentation, the source code, and the legal information Full documentation, the source code, and the legal information

View File

@ -27,6 +27,7 @@ block start
div(id="apps-box") div(id="apps-box")
h4 Loading ... h4 Loading ...
div(class="keyboard-warning")
hr hr
p(class="text") p(class="text")
| Please note that when you are working with a KVM session or another application that captures the keyboard, | Please note that when you are working with a KVM session or another application that captures the keyboard,

View File

@ -89,3 +89,10 @@ tr.server {
font-weight: bold; font-weight: bold;
font-family: monospace; font-family: monospace;
} }
@media all and (display-mode: standalone) {
div.keyboard-warning {
display: none;
}
}