forked from matthew-dean/Crunch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.html
149 lines (133 loc) · 5.08 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Crunch</title>
<link rel="stylesheet" type="text/css" href="/css/skin2.css">
<script>
function preventDefault(event){
event.preventDefault();
}
</script>
</head>
<body onDragEnter="preventDefault(event)" onDragOver="preventDefault(event)">
<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" style="display: none;">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 It!</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">
<input type="checkbox" id="chk-minify"> Minify Crunched CSS
</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="findbar-outer"><div id="findbar">
<form id="find"><input type="text" /></form>
<button class="up"></button>
<button class="down"></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/theme-textmate.js"></script> -->
<script src="js/ace/mode-less.js"></script>
<script src="js/less-1.3.3.mod.js"></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/mock.js"></script>
<script src="js/scripts.js"></script>
<script src="js/filemonitor.js"></script>
</div>
</body>
</html>