-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (94 loc) · 3.73 KB
/
index.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>More-Math Calculator</title>
<link rel="icon" type="image/png" href="icon.png">
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
<script src="https://cdn.jsdelivr.net/gh/ErikHaag/More-Math@Version2/moreMathCore.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ErikHaag/More-Math@Version2/rational.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ErikHaag/More-Math@Version2/matrix.js"></script>
</head>
<body id="body" class="light">
<div id="helpBox" hidden>
<p></p>
<button id="closeHelp">Close</button>
<button id="nextHelp">Next</button>
</div>
<fieldset>
<legend>Controls</legend>
<div style="display: flex;">
<div style="width: 90%;">
<label for="visual">Stack Appearence</label>
<select id="visual">
<option value="fraction">Fraction</option>
<option value="fractioncommas">Fraction with commas</option>
<option value="decimal">Decimal</option>
<option value="decimalcommas">Decimal with Commas</option>
<option value="latex">LaTeX</option>
</select>
<div id="britishDiv" hidden>
<label for="british">British Mode</label>
<input id="british" type="checkbox">
</div>
<div id="decimalDiv" hidden>
<label for="decimal">Decimal Length</label>
<input id="decimal" type="number" min="1" max="12" step="1" value="3">
</div>
</div>
<div>
<button id="darkModeButton">☉</button>
<button id="help">Help!</button>
</div>
</div>
</fieldset>
<button id="hideStateDisplay">State shown</button>
<div id="stateDisplay">
<p>Value stack <button id="vsShrink">▴</button></p>
<ol id="vs" class="shrink">
</ol>
<div hidden>
<p>Auxillary Array <button id="axShrink">▴</button></p>
<ol id="ax" class="shrink">
</ol>
</div>
<div hidden>
<p>Repeat pile</p>
<ol id="rp" class="shrink">
</ol>
</div>
<p>Instructions <button id="follow">⨯</button></p>
<ol id="is">
</ol>
</div>
<p>Output & Errors</p>
<div id="output"></div>
<br>
<hr>
<textarea id="input" style="height: 15rem; width:200px;" spellcheck="false"></textarea><br>
<button id="reset" hidden>Reset</button>
<button id="start">Start</button>
<button id="stop">Stop</button>
<button id="speed">></button><br>
<p>share this program with:</p>
<p id="link"></p>
<button id="linkOptionsToggle">▲</button><br>
<fieldset id="linkOptions" hidden>
<legend>Link Options</legend>
<label for="useSpeed">Save speed</label>
<input id="useSpeed" type="checkbox"><br>
</fieldset>
<div id="links">
<a href="./commands.html" target="_blank">Commands</a><br>
<a href="./examples.html" target="_blank">Examples</a><br>
<a href="https://github.com/ErikHaag/More-Math-rpn" target="_blank">Check out the code!</a><br>
<a href="https://esolangs.org/wiki/MoreMathRPN" target="_blank">Check out the esolang wiki article!</a>
</div>
</body>
<script src='elements.js'></script>
<script src='main.js'></script>
<script src='help.js'></script>
<script src='events.js'></script>
</html>