Spaces:
Paused
Paused
Update static/index.html
Browse files- static/index.html +2 -21
static/index.html
CHANGED
|
@@ -1,29 +1,20 @@
|
|
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
-
|
| 5 |
<meta charset="UTF-8">
|
| 6 |
-
|
| 7 |
<meta
|
| 8 |
name="viewport"
|
| 9 |
content="width=device-width, initial-scale=1.0">
|
| 10 |
-
|
| 11 |
<title>WebCLI</title>
|
| 12 |
-
|
| 13 |
<link rel="stylesheet" href="/static/style.css">
|
| 14 |
-
|
| 15 |
</head>
|
| 16 |
-
|
| 17 |
<body>
|
| 18 |
-
|
| 19 |
<div id="terminal">
|
| 20 |
-
|
| 21 |
<pre id="output"></pre>
|
| 22 |
-
|
| 23 |
<div id="input-bar">
|
| 24 |
-
|
| 25 |
<span>$</span>
|
| 26 |
-
|
| 27 |
<textarea
|
| 28 |
id="command"
|
| 29 |
rows="1"
|
|
@@ -32,32 +23,22 @@
|
|
| 32 |
autocorrect="off"
|
| 33 |
autocapitalize="off"
|
| 34 |
></textarea>
|
| 35 |
-
|
| 36 |
<button id="send">
|
| 37 |
▶
|
| 38 |
</button>
|
| 39 |
-
|
| 40 |
</div>
|
| 41 |
-
|
| 42 |
<div id="hardkeys">
|
| 43 |
-
|
| 44 |
<button data-key="CTRL">CTRL</button>
|
| 45 |
<button data-key="TAB">TAB</button>
|
| 46 |
<button data-key="ESC">ESC</button>
|
| 47 |
-
|
| 48 |
<button data-key="UP">↑</button>
|
| 49 |
<button data-key="DOWN">↓</button>
|
| 50 |
<button data-key="LEFT">←</button>
|
| 51 |
<button data-key="RIGHT">→</button>
|
| 52 |
-
|
| 53 |
<button data-key="HOME">HOME</button>
|
| 54 |
<button data-key="END">END</button>
|
| 55 |
-
|
| 56 |
</div>
|
| 57 |
-
|
| 58 |
</div>
|
| 59 |
-
|
| 60 |
<script src="/static/app.js"></script>
|
| 61 |
-
|
| 62 |
</body>
|
| 63 |
</html>
|
|
|
|
| 1 |
+
File 6: static/index.html
|
| 2 |
+
|
| 3 |
<!DOCTYPE html>
|
| 4 |
<html lang="en">
|
| 5 |
<head>
|
|
|
|
| 6 |
<meta charset="UTF-8">
|
|
|
|
| 7 |
<meta
|
| 8 |
name="viewport"
|
| 9 |
content="width=device-width, initial-scale=1.0">
|
|
|
|
| 10 |
<title>WebCLI</title>
|
|
|
|
| 11 |
<link rel="stylesheet" href="/static/style.css">
|
|
|
|
| 12 |
</head>
|
|
|
|
| 13 |
<body>
|
|
|
|
| 14 |
<div id="terminal">
|
|
|
|
| 15 |
<pre id="output"></pre>
|
|
|
|
| 16 |
<div id="input-bar">
|
|
|
|
| 17 |
<span>$</span>
|
|
|
|
| 18 |
<textarea
|
| 19 |
id="command"
|
| 20 |
rows="1"
|
|
|
|
| 23 |
autocorrect="off"
|
| 24 |
autocapitalize="off"
|
| 25 |
></textarea>
|
|
|
|
| 26 |
<button id="send">
|
| 27 |
▶
|
| 28 |
</button>
|
|
|
|
| 29 |
</div>
|
|
|
|
| 30 |
<div id="hardkeys">
|
|
|
|
| 31 |
<button data-key="CTRL">CTRL</button>
|
| 32 |
<button data-key="TAB">TAB</button>
|
| 33 |
<button data-key="ESC">ESC</button>
|
|
|
|
| 34 |
<button data-key="UP">↑</button>
|
| 35 |
<button data-key="DOWN">↓</button>
|
| 36 |
<button data-key="LEFT">←</button>
|
| 37 |
<button data-key="RIGHT">→</button>
|
|
|
|
| 38 |
<button data-key="HOME">HOME</button>
|
| 39 |
<button data-key="END">END</button>
|
|
|
|
| 40 |
</div>
|
|
|
|
| 41 |
</div>
|
|
|
|
| 42 |
<script src="/static/app.js"></script>
|
|
|
|
| 43 |
</body>
|
| 44 |
</html>
|