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,15 +73,17 @@
<div id="apps-box"> <div id="apps-box">
<h4>Loading ...</h4> <h4>Loading ...</h4>
</div> </div>
<hr> <div class="keyboard-warning">
<p class="text"> <hr>
Please note that when you are working with a KVM session or another application that captures the keyboard, <p class="text">
you can't use some keyboard shortcuts such as Ctrl+Alt+Del (which will be caught by your OS) or Ctrl+W (caught by your browser). Please note that when you are working with a KVM session or another application that captures the keyboard,
</p> you can't use some keyboard shortcuts such as Ctrl+Alt+Del (which will be caught by your OS) or Ctrl+W (caught by your browser).
<p class="text">To override this limitation you can use <a target="_blank" href="https://google.com/chrome">Google Chrome</a> </p>
or <a target="_blank" href="https://chromium.org/Home">Chromium</a> in application mode. <p class="text">To override this limitation you can use <a target="_blank" href="https://google.com/chrome">Google Chrome</a>
</p> or <a target="_blank" href="https://chromium.org/Home">Chromium</a> in application mode.
<div class="code" id="app-text"></div> </p>
<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,14 +27,15 @@ block start
div(id="apps-box") div(id="apps-box")
h4 Loading ... h4 Loading ...
hr div(class="keyboard-warning")
hr
p(class="text")
| Please note that when you are working with a KVM session or another application that captures the keyboard,
| you can't use some keyboard shortcuts such as Ctrl+Alt+Del (which will be caught by your OS) or Ctrl+W (caught by your browser).
p(class="text") p(class="text")
| Please note that when you are working with a KVM session or another application that captures the keyboard, | To override this limitation you can use #[a(target="_blank" href="https://google.com/chrome") Google Chrome]
| you can't use some keyboard shortcuts such as Ctrl+Alt+Del (which will be caught by your OS) or Ctrl+W (caught by your browser). | or #[a(target="_blank" href="https://chromium.org/Home") Chromium] in application mode.
p(class="text") div(id="app-text" class="code")
| To override this limitation you can use #[a(target="_blank" href="https://google.com/chrome") Google Chrome]
| or #[a(target="_blank" href="https://chromium.org/Home") Chromium] in application mode.
div(id="app-text" class="code")
hr hr
p(class="text") p(class="text")

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;
}
}