forked from GoogleChromeLabs/text-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
172 lines (163 loc) · 7.87 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html>
<head>
<title>Text</title>
<link href="css/app.css" rel="stylesheet">
<link href="css/theme-default.css" rel="stylesheet">
<link href="css/theme-dark.css" rel="stylesheet">
<link href="css/theme-light.css" rel="stylesheet">
<link href="lib/CodeMirror/lib/codemirror.css" rel="stylesheet">
</head>
<body>
<div id="window-container">
<div id="sidebar">
<div id="sidebar-resizer"></div>
<div id="file-tabs-menu">
<h1>Text</h1>
<hr>
<ul id="file-menu">
<li id="file-menu-new"><div>New</div></li>
<li id="file-menu-open"><div>Open</div></li>
<li id="file-menu-save"><div>Save</div></li>
<li id="file-menu-saveas"><div>Save as</div></li>
</ul>
<hr>
<div id="tabs-list-container">
<ul id="tabs-list"></ul>
</div>
<hr>
<ul class="settings-switch-ul">
<li id="open-settings"><div>Settings</div></li>
</ul>
</div>
<div id="settings-menu">
<h1>Settings</h1>
<hr>
<div id="settings-container">
<ul id="settings-list">
<li>
<label for="setting-autosave">Autosave</label>
<input type="checkbox" id="setting-autosave">
</li>
<li>
<label for="setting-spacestab">Tabs to spaces</label>
<input type="checkbox" id="setting-spacestab">
</li>
<li>
<label for="setting-tabsize">Tab size</label>
<input type="text" id="setting-tabsize" size="1" maxlength="2"
pattern="\d\d?" value="8">
</li>
<li>
<label for="setting-wraplines">Wrap lines</label>
<input type="checkbox" id="setting-wraplines">
</li>
<li>
<label for="setting-linenumbers">Line numbers</label>
<input type="checkbox" id="setting-linenumbers">
</li>
<li>
<label for="setting-smartindent">Smart indent</label>
<input type="checkbox" id="setting-smartindent">
</li>
<!-- <li>
<label for="setting-margin">Right margin</label>
<input type="checkbox" id="setting-margin">
</li>
<li>
<label for="setting-margincol">Margin column</label>
<input type="text" id="setting-margincol" size="1" maxlength="3"
pattern="\d+" value="80">
</li> -->
<li>
<label for="setting-theme">Theme</label>
<select name="setting-theme" id="setting-theme">
<option value="default">Default</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</li>
</ul>
</div>
<hr>
<ul class="settings-switch-ul">
<li id="close-settings"><div>Back</div></li>
</ul>
</div>
</div>
<div id="main-container">
<header>
<div class="icon-button" id="toggle-sidebar" title="Open sidebar"></div>
<div class="icon-button" id="search-button" title="Search"></div>
<input type="search" id="search-input">
<div id="title-filename">Error</div>
<div class="icon-button" id="window-maximize" title="Maximize"></div>
<div class="icon-button" id="window-close" title="Quit"></div>
</header>
<div id="editor"></div>
</div> <!-- main-container -->
</div> <!-- window-container -->
<div id="dialog-container">
<div class="dialog-window">
<div class="dialog-text"></div>
<div class="dialog-buttons">
<div class="dialog-button">Yes</div>
<div class="dialog-button">No</div>
<div class="dialog-button">Cancel</div>
</div>
</div>
</div>
<script src="lib/jquery-1.8.3.min.js" type="text/javascript"></script>
<!-- JS -->
<script src="lib/CodeMirror/lib/codemirror.js" type="text/javascript"></script>
<script src="lib/CodeMirror/addon/edit/matchbrackets.js" type="text/javascript"></script>
<script src="lib/CodeMirror/addon/search/searchcursor.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/clike/clike.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/clojure/clojure.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/cobol/cobol.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/coffeescript/coffeescript.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/commonlisp/commonlisp.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/css/css.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/d/d.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/diff/diff.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/erlang/erlang.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/go/go.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/haskell/haskell.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/htmlmixed/htmlmixed.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/javascript/javascript.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/less/less.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/livescript/livescript.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/lua/lua.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/markdown/markdown.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/ocaml/ocaml.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/pascal/pascal.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/perl/perl.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/php/php.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/python/python.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/r/r.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/ruby/ruby.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/rust/rust.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/scheme/scheme.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/shell/shell.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/smalltalk/smalltalk.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/sql/sql.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/stex/stex.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/tcl/tcl.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/vbscript/vbscript.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/xml/xml.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/xquery/xquery.js" type="text/javascript"></script>
<script src="lib/CodeMirror/mode/yaml/yaml.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
<script src="js/editor-cm.js" type="text/javascript"></script>
<script src="js/settings.js" type="text/javascript"></script>
<script src="js/tabs.js" type="text/javascript"></script>
<script src="js/util.js" type="text/javascript"></script>
<script src="js/controllers/dialog.js" type="text/javascript"></script>
<script src="js/controllers/hotkeys.js" type="text/javascript"></script>
<script src="js/controllers/menu.js" type="text/javascript"></script>
<script src="js/controllers/search.js" type="text/javascript"></script>
<script src="js/controllers/settings.js" type="text/javascript"></script>
<script src="js/controllers/window.js" type="text/javascript"></script>
<!-- /JS -->
</body>
</html>