-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.html
41 lines (38 loc) · 1.46 KB
/
editor.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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>CllbPad</title>
<link rel="stylesheet" type="text/css" href="/assets/styles/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/assets/styles/styles.css">
</head>
<body>
<script type="text/javascript">
var mode = '{{.Mode}}', socketName = '{{.Socket}}'
</script>
<div id="content">
<div class="pick">
<div class="form-group col-sm-4 col-xs-6">
<select class="form-control input-sm select-pref" id="language-select">
</select>
</div>
<div class="form-group col-sm-2 col-xs-4 pull-right">
<select class="form-control input-sm select-pref" id="keybinding-select"></select>
</div>
<div class="col-xs-2 pull-right nav-container">
<span class="badge pull-right">
<span id="user-count">{{.Count}}</span> <span class="glyphicon glyphicon-user"></span>
</span>
</div>
</div>
<pre id="editor">{{.Text}}</pre>
</div>
<script src="/assets/js/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
{{if (eq .Env "development")}}
<script src="/assets/js/bundle.js"></script>
{{end}}
{{if (eq .Env "production")}}
<script src="/assets/js/bundle-prod.js"></script>
{{end}}
</body>
</html>