-
Notifications
You must be signed in to change notification settings - Fork 0
/
interface.html
67 lines (67 loc) · 2.65 KB
/
interface.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<!--enable special characters-->
<meta charset="UTF-8">
<!--for bootstrap styles-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<!--add this stylesheet after to be able to override styles-->
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="commandListPrompt" style="visibility: collapse;">
<br/>Say "Computer show<br/>commands please"<br/>to see all commands.
</div>
<div id="commandListBox">
<br/>
COMMANDS:
<br/>
"Computer (hide/show) commands please"
<br/>
"Computer create (a variable/function/etc.) at line (number) please"
<br/>
"Computer at line (number) create (a variable/function/etc.) please"
<br/>
"Computer create (a variable/function/file/import/loop) (name) please"
<br/>
"Computer create line please" (at the bottom of the file)
<br/>
"Computer delete (the) last character please"
<br/>
"Computer delete the last line please"
<br/>
"Computer delete line (number) please"
<br/>
"Computer undo please"
<br/>
"Computer (increase/decrease) tab please"
<br/>
"Computer literally type (...) please"
<br/>
"Computer import (...) please"
</div>
<div id="mainBox">
<div id="inputBox">
<input id="inputStr" type="text" oninput="parseCommand();" placeholder="Tap Here. Start Dictation." autofocus></input>
</div>
<div id="outputBox">
<button id='createFile' style="visibility: collapse;" onclick="createFile();">Create File</button>
<br>
<div>
<label id="lineNumbers"></label>
<label id="outputStr"></label>
</div>
<br>
<button id='createFile2' onclick="createFile();">Create File</button>
</div>
</div>
<script>
document.getElementById('createFile').addEventListener('click', createFile);
document.getElementById('createFile2').addEventListener('click', createFile);
</script>
<!--the main "brain" of this interface:-->
<script type="text/javascript" src="brain.js" ></script>
<!---->
<script type="text/javascript" src="cursorBlink.js" ></script>
</body>
</html>