-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathindex.html
84 lines (76 loc) · 4.25 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
<!doctype HTML>
<html>
<head>
<meta charset="utf-8">
<!-- <script src="https://cdn.jsdelivr.net/gh/AssemblyScript/wabt.js@1.0.20/index.js" ></script> -->
<!-- <link rel="stylesheet" href="./node_modules/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="./node_modules/codemirror/theme/blackboard.css"> -->
<script src="https://cdn.jsdelivr.net/gh/AssemblyScript/wabt.js@1.0.20/index.js"></script>
<script>const wabt = WabtModule;</script>
<script src="webstart.js"></script>
</head>
<body>
<div class="wathon-playground">
<div id="menu" class="wathon-header">
<div class="left" style="width: 100%;">
<img class = "left" src="https://www.python.org/static/community_logos/python-logo-master-v3-TM.png" width="20%", height="20%">
<div class="left left-button-shadow left-button-margin">
<div class="left label-left-run" id="run">
<div class="left"> Run</div>
<div class="left run-symbol-margin">
<svg class="left-run-symbol" height="14" viewBox="8 4 10 16" width="12"
xmlns="http://www.w3.org/2000/svg">
<path d="M8 5v14l11-7z"></path>
</svg>
</div>
</div>
<a class="left label-left" id="save">Save</a>
<a class="left label-left" id="import">Load</a>
<input style="display: none;" type="file" id="choose_file" accept=".txt,.py">
<a class="left label-left" id="share">Debug</a>
</div>
<div class="right">
<select class="right label-left left-button-shadow" id="config">
<option value="blackboard">Theme</option>
</select>
</div>
<div class="right label-title-margin left-button-shadow">
<a class="right label-left" id="clear">Clear</a>
</div>
</div>
</div>
<div class="wathon-content-wrapper">
<div class="wathon-content-border">
<div class="dynamic-content-border">
<div class="absolute-content-border" id = "background">
<div>
<textarea class="user-code" id="user-code"></textarea>
</div>
</div>
<div id="dragbar" class= "dragbar" style="font-size: 1em;"></div>
<div class="interection-content-border">
<div style="inset: 0; overflow: auto; height: 100%;">
<div class="interactions" id="interactions">
<div class="output" id="output">
</div>
<div id="repl-entry" class="console-prompt">
<div>
<span class="left prompt"><code>»</code></span>
<span class="left prompt-text"></span>
<span class="left prompt-cursor" style="color: transparent; display: inline; z-index: 0; position: absolute;"> </span>
<span id = "prompt-text-after" style="position: relative;"></span>
</div>
<div id="promt-textcode" style="position: absulote; overflow:hidden; width: 0px; height: 0px;">
<textarea type="text" id="next-code" class="repl-code" wrap="off" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" style="position: absolute;width: 0px;"></textarea>
<!-- <textarea type="text" id="next-code" class="repl-code"></textarea> -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>