-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheditor.html
72 lines (68 loc) · 3.14 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="lib/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="lib/codemirror/theme/monokai.css">
<link rel="stylesheet" href="lib/codemirror/theme/eclipse.css">
<link rel="stylesheet" href="lib/codemirror/theme/night.css">
<link rel="stylesheet" href="lib/codemirror/theme/mdn-like.css">
<link rel="stylesheet" href="lib/codemirror/theme/neat.css">
<link rel="stylesheet" href="lib/codemirror/theme/elegant.css">
<link rel="stylesheet" href="lib/codemirror/theme/ambiance.css">
<link rel="stylesheet" href="lib/codemirror/theme/the-matrix.css">
<link rel="stylesheet" href="lib/codemirror/theme/rubyblue.css">
<link rel="stylesheet" href="lib/codemirror/addon/dialog/dialog.css">
<link rel="stylesheet" href="lib/codemirror/addon/hint/show-hint.css">
<link rel="stylesheet" href="lib/codemirror/addon/tern/tern.css">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap-theme.css">
<link rel="stylesheet" href="css/editor.css">
<script src="lib/codemirror/lib/codemirror.js"></script>
<script src="lib/emmet/emmet.min.js"></script>
<script src="lib/codemirror/keymap/sublime.js"></script>
<script src="lib/codemirror/addon/mode/loadmode.js"></script>
<script src="lib/codemirror/addon/dialog/dialog.js"></script>
<script src="lib/codemirror/addon/hint/show-hint.js"></script>
<script src="lib/codemirror/addon/tern/tern.js"></script>
<script src="lib/acorn/acorn.js"></script>
<script src="lib/acorn/walk.js"></script>
<script src="lib/acorn/acorn_loose.js"></script>
<script src="lib/tern/polyfill.js"></script>
<script src="lib/tern/signal.js"></script>
<script src="lib/tern/tern.js"></script>
<script src="lib/tern/comment.js"></script>
<script src="lib/tern/def.js"></script>
<script src="lib/tern/doc_comment.js"></script>
<script src="lib/tern/infer.js"></script>
<script src="lib/jquery/js/jquery.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<script src="lib/angular/js/angular.min.js"></script>
</head>
<body>
<div class="container-fluid" ng-app="CodeEditor">
<div id="toolbar" class="row" ng-controller="Toolbar">
<div class="btn-group col-md-10 col-sm-8 nopadding">
<button ng-repeat="item in items" type="button" class="btn btn-default btn-toolbar" ng-click="item.action(item)"><span class="glyphicon {{item._class}}"></span> <span class="sr-only">{{item.title}}</span></button>
</div>
<div class="col-md-2 col-sm-4">
Theme : <select ng-model="theme" ng-options="theme for theme in themes"></select>
</div>
</div>
<div id="main" class="row">
<div id="c_editor" class="col-md-12 col-sm-12 nopadding">
<textarea id="editor"></textarea>
</div>
<div id="preview" class="col-md-6 col-sm-6 nopadding">
<iframe src=""></iframe>
</div>
</div>
<div id="footer" class="row">
<div class="col-md-2 col-sm-4" id="state">
</div>
</div>
</div>
</body>
<script src="js/editor.js"></script>
<script src="js/app.js"></script>
</html>