@lethevimlet/sshift 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -1061
- package/example.config.json +1 -0
- package/package.json +2 -1
- package/src/server/index.js +185 -86
- package/src/server/utils/config.js +83 -17
- package/src/server/utils/env-loader.js +26 -5
- package/src/webapp/css/style.css +665 -42
- package/src/webapp/index.html +4 -1
- package/src/webapp/js/app.js +555 -78
- package/src/webapp/js/mobile-terminal.js +1370 -0
package/src/webapp/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, interactive-widget=resizes-content">
|
|
6
6
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:;">
|
|
7
7
|
<title>SSHIFT - SSH & SFTP Terminal Client</title>
|
|
8
8
|
<!-- Local resources for offline support -->
|
|
@@ -872,6 +872,9 @@
|
|
|
872
872
|
<script src="/libs/xterm/xterm-addon-search.js"></script>
|
|
873
873
|
<script src="/libs/xterm/xterm-addon-serialize.js"></script>
|
|
874
874
|
|
|
875
|
+
<!-- Mobile terminal support -->
|
|
876
|
+
<script src="/js/mobile-terminal.js"></script>
|
|
877
|
+
|
|
875
878
|
<!-- Normalize addon exports - UMD pattern exports { FitAddon: class } not the class directly -->
|
|
876
879
|
<script>
|
|
877
880
|
// The UMD pattern exports an object with the class as a property
|