-
Notifications
You must be signed in to change notification settings - Fork 596
/
Copy pathplayground.html
65 lines (58 loc) · 2.65 KB
/
playground.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="https://cdn.makecode.com/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link data-name="vs/editor/editor.main" rel="stylesheet"
href="https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.css">
<link rel="stylesheet" href="/static/shared/iframeeditor.css">
<link rel="stylesheet" href="/static/playground/playground.css">
<title>MakeCode Blocks Playground</title>
</head>
<body>
<nav class="ui menu inverted fixed borderless">
<div class="ui item">
MakeCode Blocks Playground
</div>
<div class="menu right">
<a href="/defining-blocks" target="_blank" class="ui primary button">
<i class="book icon"></i>
Defining Blocks
</a>
</div>
</nav>
<div class="content">
<div class="input-row">
<div id="sample-container" class="ui labeled input">
<span class="ui label">Sample</span>
<select id="sample-select" class="ui dropdown"></select>
<button class="ui primary button input large" id="run-button">
<i class="play icon"></i>
Run
</button>
</div>
<div id="run-container" class="ui labeled input">
<span class="ui label">Editor</span>
<select id="endpoint-select" class="ui dropdown"></select>
</div>
</div>
<div class="editor-row">
<div id="monaco-editor">
<div id="container" style="border:1px solid grey"></div>
</div>
<div id="makecode-editor" style="border:1px solid grey"></div>
</div>
</div>
<!-- @include tracking.html -->
<!-- @include thin-footer.html -->
<script>var require = { paths: { 'vs': 'https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs' } };</script>
<script src="https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/loader.js"></script>
<script
src="https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.nls.js"></script>
<script
src="https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.js"></script>
<script src="/static/playground/samples/all.js"></script>
<script src="/static/playground/playground.js"></script>
</body>
</html>