Skip to content

Commit

Permalink
feat(www): Remove the virtual keyboard
Browse files Browse the repository at this point in the history
As the physical keyboard can now be used, the virtual one with a smaller
feature set (e.g. no capital letters) is not needed anymore.

Signed-off-by: Tobias Schaffner <tobias.schaffner@siemens.com>
  • Loading branch information
TobiasSchaffner committed Feb 29, 2024
1 parent e170d81 commit d4d65fe
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 375 deletions.
84 changes: 0 additions & 84 deletions mtda/assets/keyboard.css

This file was deleted.

253 changes: 0 additions & 253 deletions mtda/assets/keyboard.js

This file was deleted.

14 changes: 0 additions & 14 deletions mtda/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="./assets/material_icons.css">
<link rel="stylesheet" href="./assets/modern.min.css">
<link rel="stylesheet" href="./assets/keyboard.css">
<link rel="stylesheet" href="novnc/app/styles/base.css">
<script type="module" crossorigin="anonymous" src="./assets/vnc.js"></script>
<link rel="preload" href="./assets/winbox.bundle.min.js" as="script">
Expand Down Expand Up @@ -82,7 +81,6 @@
<ul class="nav">
<li><a href="#" id=power-toggle><i id=power-status-icon class="large material-icons">power</i></a></li>
<li><a href="#" id=storage-toggle><i id=storage-status-icon class="large material-icons">no_sim</i></a></li>
<li><a href="#" id=keyboard-show><i class="large material-icons">keyboard</i></a></li>
<li id="mtda_status">Connecting...</li>
<li id="vnc_status">Loading Video</li>
<li id="mtda_version">&nbsp;</li>
Expand All @@ -105,7 +103,6 @@
consoleWindow.focus()
</script>
<script src="./assets/jquery.min.js"></script>
<script src="./assets/keyboard.js"></script>
<script src="./assets/keysight.js"></script>
<script type=text/javascript>
window.addEventListener("keydown", function(event) {
Expand Down Expand Up @@ -133,17 +130,6 @@
return false;
});
});
$(function() {
$('a#keyboard-show').bind('click', function() {
Keyboard.open('', function(data) {
console.log("#### <KEY> " + data);
$.getJSON('./keyboard-input', {input: data}, function(data) {
// do nothing
});
}, '');
return false;
});
});
</script>
<script src="./assets/xterm.js"></script>
<script src="./assets/addon-fit.js"></script>
Expand Down
Loading

0 comments on commit d4d65fe

Please sign in to comment.