-
Notifications
You must be signed in to change notification settings - Fork 0
/
_index.html
86 lines (77 loc) · 2.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Eigenmath</title>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1"
/>
<link
rel="icon"
type="image/png"
href="./resources/images/status.png"
sizes="16x16"
/>
<!-- styles -->
<link rel="stylesheet" href="./style/style.css" />
<link rel="stylesheet" href="./style/media.css" />
<link rel="stylesheet" href="./style/layouts.css" />
<link href="./style/colors.css" rel="stylesheet" />
<!-- scripts -->
<script defer src="./eigenmath/eigenmath.js"></script>
<script defer src="./eigenmath/emit_graph.js"></script>
<script defer src="./script/stdin.js"></script>
<script defer src="./script/file.js"></script>
<script defer src="./script/onload.js"></script>
</head>
<body>
<!-- stdout, buffer de salida -->
<div class="VerticalArrangement output-panel">
<div id="stdout"></div>
</div>
<!-- Input panel -->
<div class="VerticalArrangement input-panel">
<div class="HorizontalArrangement tool-bar">
<label onclick="file.save()">Save</label>
<label for="load-file">Load</label>
<input
id="load-file"
name="load-file"
type="file"
onchange="file.load(this)"
/>
<label onclick="stdin.clear()"> Clear</label>
<a href="https://github.com/Galindo-lab/eigenmath-web"> Source</a>
<a href="./resources/documents/manual.html"> Manual</a>
</div>
<!-- stdin, buffer de entrada -->
<textarea
id="stdin"
autocapitalize="none"
spellcheck="false"
placeholder="script..."
onchange="stdin.save()"
></textarea>
<div class="HorizontalArrangement">
<div class="HorizontalArrangement button-panel">
<button onclick="stdin.insert('=')">=</button>
<button onclick="stdin.insert('+')">+</button>
<button onclick="stdin.insert('-')">-</button>
<button onclick="stdin.insert('*')">*</button>
<button onclick="stdin.insert('/')">/</button>
<button onclick="stdin.insert('^')">^</button>
<button onclick="stdin.insert('.')">.</button>
<button onclick="stdin.insert(',')">,</button>
<button onclick="stdin.insert('(')">(</button>
<button onclick="stdin.insert(')')">)</button>
<button onclick="stdin.insert('[')">[</button>
<button onclick="stdin.insert(']')">]</button>
<button onclick="stdin.insert('<')"><</button>
<button onclick="stdin.insert('>')">></button>
</div>
<button id="execute" onclick="run()">Run</button>
</div>
</div>
</body>
</html>