-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
68 lines (68 loc) · 2.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/clangd.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Clangd Web</title>
</head>
<body>
<div id="app">
<div id="editor">
<div class="loader"></div>
</div>
<div id="buildPanel" class="display-none">
<div id="buildPanelResize"></div>
<div id="buildPanelBody">
<div id="buildPanelHeader">
<button class="success" id="run">
<i class="icon icon-run"></i>
Run code
</button>
<div class="button-group" id="buildPanelTab">
<button active>Input</button>
<button>Output</button>
<button>Compiler Diagnostics</button>
</div>
<div class="spacer"></div>
<button class="danger" id="closeBuildPanel">
<i class="icon icon-close"></i>
</button>
</div>
<textarea
class="io"
id="buildPanelInput"
placeholder="Type input here..."
></textarea>
<pre class="io display-none" id="buildPanelOutput"></pre>
</div>
</div>
<div id="footer">
<div id="status" data-tooltip data-tooltip-left>
<i class="icon icon-loading"></i>
<div id="progress">
<div class="progress-bar"></div>
</div>
</div>
<div>
<button id="showBuildPanel" data-tooltip="Run code">
<i class="icon icon-run"></i>
</button>
<button id="toggleTheme" data-tooltip="Toggle theme">
<i class="icon icon-toggle-theme"></i>
</button>
<span> Guyutongxue © 2024 </span>
<button
onclick="window.open('https://github.com/Guyutongxue/clangd-in-browser')"
data-tooltip="Give me a star!"
data-tooltip-right
>
<i class="icon icon-github"></i>
</button>
</div>
</div>
</div>
<script type="module" src="src/preload.ts">
</script>
</body>
</html>