-
Notifications
You must be signed in to change notification settings - Fork 0
/
embed.html
91 lines (78 loc) · 2.73 KB
/
embed.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Praxly</title>
<link id="Theme" rel="stylesheet" href="/themes.css">
<link rel="icon" href="/fallen-leaf_1f342.ico" type="image/x-icon">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
</head>
<body class="embed">
<div id="blocker"></div>
<main>
<div id="aceCode" class="codeEditor"></div>
<div id="blocklyDiv"></div>
</main>
<div class="resizeBarX"></div>
<div class="resizeBarY"></div>
<div class="side-view">
<!-- Toolbar -->
<div id="embed-toolbar">
<div class="left-group">
<button id="runButton" class="embed-button" title="Run the entire program">
Run <span class="material-symbols-rounded run">play_arrow</span>
</button>
<button id="debugButton" class="embed-button" title="Run one step at a time">
Debug <span class="material-symbols-rounded bug">pest_control</span>
</button>
<button id="stepButton" class="embed-button debugOptions" title="Run the next step">
Step <span class="material-symbols-rounded step">step</span>
</button>
<button id="stopButton" class="embed-button debugOptions" title="Exit the debugger">
Exit <span class="material-symbols-rounded stop">stop</span>
</button>
</div>
<div class="right-group">
<button id="resetButton" class="embed-button" title="Reset the initial code">
Reset <span class="material-symbols-rounded reset">restart_alt</span>
</button>
<button id="newWindow" class="embed-button" title="Open in new Praxly window">
Open <span class="material-symbols-rounded open">open_in_new</span>
</button>
</div>
</div>
<!-- Output -->
<div class="output">
<p class="stdout"></p>
<p class="stderr"></p>
</div>
<div class="resize-side-view"></div>
<!--Variables -->
<div id="Variable-table-container">
<table id="Variable-table-outer">
<thead>
<tr>
<th>Variable</th>
<th>Type</th>
<th>Value</th>
<th>Scope</th>
</tr>
</thead>
<tbody id="Variable-table"></tbody>
</table>
</div>
</div>
<div class="resetModal">
<div class="resetModal-content">
<h2>Are you sure you want to reset?</h2>
<p>Resetting will remove any changes you made AND clear both the output and variables table.</p>
<div class="answerOptions">
<button id="yes">Yes</button>
<button id="no">No</button>
</div>
</div>
</div>
<script src="/src/main.js" type="module"></script>
</body>
</html>