-
Notifications
You must be signed in to change notification settings - Fork 52
/
main.html
208 lines (182 loc) · 6.31 KB
/
main.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Crunch</title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
<script>
function preventDefault(event){
event.preventDefault();
}
</script>
</head>
<body onDragEnter="preventDefault(event)" onDragOver="preventDefault(event)">
<!-- Install web fonts right away -->
<b class="font1" style="position:absolute; visibility:hidden">download please</b>
<b class="font2" style="position:absolute; visibility:hidden">download please</b>
<div id="leftbar-top"></div>
<div id="leftbar">
<ul id="actions">
<li id="tab-project" class="active"></li>
<li id="tab-prefs"></li>
</ul>
<div id="extras">
<button id="info" class="icon"><span></span></button>
<button id="help" class="icon"><span></span></button>
</div>
</div>
<div id="wrapper">
<div id="toolbar">
<span class="windowMenu" style="display: none;">
<a id="fileMenu">File</a>
<a id="editMenu">Edit</a>
<span class="sep"></span>
</span>
<button id="save" disabled="disabled" class="icon"><span>Save</span></button>
<button id="open-file" class="open-file icon"><span>Open File...</span></button>
<button id="convert" disabled="disabled"><span>Crunch File</span></button>
</div>
<div id="container"><table border="0" cellspacing="0" cellpadding="0" ><tr>
<td id="panel-left"><div class="inner">
<div id="panel-files" class="active panel">
<div id="project-header" class="panel-header">
<button id="refresh" disabled="disabled"></button><span>Website Files</span>
</div>
<div id="project" class="jstree panel-body">
<button id="open-project" class="primary big" style="color: #6a5a4c;">
<span class="icon"><img src="img/skin/open.png"></span>
<span class="text">Open Website...</span>
</button>
<div class="drop">
<span class="icon"><img src="img/skin/drop-project.png"></span>
<span class="text">Or, Drag In A Folder</span>
</div>
<div id="filelist"></div>
</div>
</div>
<div id="panel-prefs" class="panel">
<div class="panel-header"><span>Preferences</span></div>
<div class="panel-body">
<h3>Crunch Options</h3>
<label>
<input type="checkbox" data-pref="filemonitoring" id="prefs-filemonitoring">
Enable File Monitoring
</label>
<label>
<input type="checkbox" data-pref="saveOnCrunch" id="prefs-saveOnCrunch">
Save on Crunch
</label>
<label>
<input type="checkbox" data-pref="openCSSafterCrunch" >
Open CSS after Crunching
</label>
<div class="divider"></div>
<h3>LESS Options</h3>
<label>
<input type="checkbox" data-pref="minify" id="prefs-minify">
Minify CSS
</label>
<label>
<input type="checkbox" data-pref="ieCompat">
IE8 Compatibility
</label>
<label>
<input type="checkbox" data-pref="strictMath">
Strict Math
</label>
<label>
<input type="checkbox" data-pref="strictUnits">
Strict Units
</label>
</div>
</div>
</div></td>
<td id="editor-window"><div class="inner">
<div id="editor-bg"></div>
<div id="splash">
<h1>Create a new file...</h1>
<button class="primary big new-less">
<span class="icon"><img src="img/skin/icon-less.png"></span>
<span class="text">New LESS file</span>
</button>
<button class="primary big new-css">
<span class="icon"><img src="img/skin/icon-css.png" alt="CSS"></span>
<span class="text">New CSS file</span>
</button>
<hr>
<h2>or Open one...</h2>
<button class="primary big open-file">
<span class="icon"><img src="img/skin/icon-folder.png"></span>
<span class="text">Open file...</span>
</button>
<div class="drop">
<span class="icon"><img src="img/skin/drop-file.png"></span>
<span class="text">Or, Drag In A File</span>
</div>
</div>
<div class="subtabs-outer"><div class="subtabs"></div></div>
<div id="scroller">
<ul id="tabs">
<li class="t">
<a class="tab" href="#">
<span class="filename">new.less</span>
<span class="save" style="display: none;">*</span>
<span class="close"><img src="img/skin/closeicon.png"></span>
</a>
<div class="subtabs-outer">
<div class="subtabs"></div>
</div>
<div class="messages">
<h3>Compiler Errors</h3>
<div class="description"></div>
<span class="close"><img src="img/skin/closeicon.png"></span>
</div>
<div class="editor"></div>
</li>
<li class="n">
<a class="new new-less" id="new-file"> </a>
</li>
</ul>
</div>
<div id="dropdowns-outer">
<div id="findbar">
<form id="find"><input placeholder ="find..." type="text" /></form>
<button class="up"></button>
<button class="down"></button>
<span class="close"><img src="img/skin/closeicon.png"></span>
</div>
<div id="gotolinebar">
<form id="gotoline"><input placeholder ="goto line..." type="text" /></form>
<button class="go"></button>
<span class="close"><img src="img/skin/closeicon.png"></span>
</div>
</div>
<button class="tabarrow" id="arrow-left" disabled="disabled"><span></span></button>
<button class="tabarrow" id="arrow-right" disabled="disabled"><span></span></button>
</div></td>
</tr></table></div>
<div id="preview">
<textarea name="output" id="output"></textarea>
</div>
<script src="libs/air/AIRAliases.js"></script>
<script src="libs/air/ApplicationUpdater_UI.swf" type="application/x-shockwave-flash"></script>
<script src="AIRIntrospector.js"></script>
<script src="js/ace/ace.js"></script>
<script src="js/ace/ext-modelist.js"></script>
<!-- <script src="js/ace/theme-textmate.js"></script> -->
<script src="js/less.js" id="lessjs" data-ver="1.7.5"></script>
<script src="js/jquery.min.js"></script>
<script src="js/jwerty.js"></script>
<script src="js/resize.js"></script>
<script src="js/pulse.js"></script>
<script src="js/jquery.color.js"></script>
<script src="js/jsizes.min.js"></script>
<script src="js/jstree/jquery.jstree.js"></script>
<script src="js/jquery.mockjax.js"></script>
<script src="js/cheet.min.js"></script>
<!-- <script src="js/mock.js"></script> -->
<script src="js/scripts.js"></script>
<script src="js/filemonitor.js"></script>
</div>
</body>
</html>