-
Notifications
You must be signed in to change notification settings - Fork 595
/
Copy pathscreenshot-tool.html
58 lines (50 loc) · 2.27 KB
/
screenshot-tool.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
<!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/screenshot-tool/screenshot.css">
</head>
<body>
<nav class="ui menu inverted fixed borderless">
<div class="ui item">
MakeCode Block Screenshot Tool
</div>
</nav>
<div class="content">
<div class="input-row">
<div id="endpoint-container" class="ui labeled input">
<span class="ui label">Editor</span>
<select id="endpoint-select" class="ui dropdown"></select>
<button class="ui primary button input large" id="run-button">
<i class="play icon"></i>
Run
</button>
</div>
</div>
<div class="editor-row">
<div class="monaco-col">
<div id="monaco-editor">
<div id="container" style="border:1px solid grey"></div>
</div>
<div id="render-result">
</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/screenshot-tool/screenshot.js"></script>
</body>
</html>