-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (91 loc) · 3.54 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>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/themes/smoothness/jquery-ui.css">
<link href="main.css" rel="stylesheet" txpe="text/css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/atom-one-dark.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js"></script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.21.3/full/pyodide.js"></script>
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
<script src="FileSaver.js"></script>
<!--<script
src="https://browser.sentry-cdn.com/7.14.1/bundle.min.js"
integrity="sha384-vPp0Gj27MNRav/IYIXvgedLDHtd9x9RMgYbVS4pgRCPaeOB296tWMH66Rm8CP3ZO"
crossorigin="anonymous"
></script>-->
<script
src="https://browser.sentry-cdn.com/7.14.1/bundle.tracing.min.js"
integrity="sha384-aagzXBsy4b5lXdsOCluoopuoUnIOwGGQFxdI2CwqSH9Owk4fzPxbHECrimLAmF4Z"
crossorigin="anonymous"
></script>
<script src="coati.js"></script>
<script>hljs.highlightAll();</script>
<style type="text/css">
.imgu-0 {
background-image: url("themes/default/0.png");
}
.imgu-1 {
background-image: url("themes/default/1.png");
}
.imgu-2 {
background-image: url("themes/default/2.png");
}
.imgu-3 {
background-image: url("themes/default/3.png");
}
.imgu-4 {
background-image: url("themes/default/4.png");
}
.imgu-0.imgu-1 {
background-image: url("themes/default/1+0.png");
}
.imgu-2.imgu-1 {
background-image: url("themes/default/1+2.png");
}
</style>
<title>CoatiPython</title>
</head>
<body>
<input id="upload-map" type="file" accept=".coati">
<input id="upload-code" type="file" accept=".py">
<div id="header">
<span id="title"><span id="menu">≡</span> CoatiPython</span>
<div id="sidebar">
<ul>
<li id="close-menu">✖ CoatiPython</li>
<li id="export-file">⤓ Export</li>
<li id="import-file">⤒ Import</li>
<li id="clear-map">+ New Map</li>
<li id="reset-map">↺ Reset Map</li>
<li id="select-theme">🖌 Select Theme</li>
<li id="welcome-guide">🕮 Welcome Guide</li>
<li id="source">🛈 Source</li>
</ul>
</div>
</div>
<div class="container">
<div class="left">
<div id="controls">
<span id="run">🗘</span>
<span id="skip">⋙</span>
<span id="slider">Speed: <input type="range" id="speed" min="0" max="3000" step="100" value="1000"> <span id="timespeed">loading...</span></span>
</div>
<textarea id="input" value="import coati\n"></textarea>
</div>
<div class="right">
<table id="output"></table>
</div>
<div class="itembar">
<div class="ibg itemimg imgu-0" data-set="Item.figure"></div>
<div class="ibg itemimg imgu-1" data-set="Item.worm"></div>
<div class="ibg itemimg imgu-2" data-set="Item.ball"></div>
<div class="ibg itemimg imgu-3" data-set="Item.stone"></div>
<div class="ibg itemimg imgu-4" data-set="Item.delete"></div>
<div class="ibg vhandle">↕</div>
</div>
</div>
<span id="popups"></span>
<div id="cover"></div>
</body>
</html>