-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
171 lines (145 loc) · 4.09 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
<!DOCTYPE html>
<html>
<head>
<!-- Hammer reload -->
<script>
setInterval(function(){
try {
if(typeof ws != 'undefined' && ws.readyState == 1){return true;}
ws = new WebSocket('ws://'+(location.host || 'localhost').split(':')[0]+':35353')
ws.onopen = function(){ws.onclose = function(){document.location.reload()}}
ws.onmessage = function(){
var links = document.getElementsByTagName('link');
for (var i = 0; i < links.length;i++) {
var link = links[i];
if (link.rel === 'stylesheet' && !link.href.match(/typekit/)) {
href = link.href.replace(/((&|\?)hammer=)[^&]+/,'');
link.href = href + (href.indexOf('?')>=0?'&':'?') + 'hammer='+(new Date().valueOf());
}
}
}
}catch(e){}
}, 1000)
</script>
<!-- /Hammer reload -->
<link rel='stylesheet' href='css/font-awesome.min.css'>
<link rel='stylesheet' href='css/style.css'>
<script src='js/vendor/jquery-2.1.0.min.js'></script>
<script src='js/controllers.js'></script>
<script src='js/views.js'></script>
</head>
<body>
<div id="container">
<div id="message-container"></div>
<!-- Header with logo -->
<header>
<div class="logo">
<img src="img/logo.png">
</div>
</header>
<!-- Missing node-webkit screen -->
<section id="no-node-webkit-screen" style="display:none;">
<!-- Open project button -->
<button id="download-node-webkit-button">
<span class="button-icon">
<i class="fa fa-download"></i>
</span>
<span class="button-text">
Download node-webkit
</span>
</button>
</section>
<!-- Main screen -->
<section id="screen-main">
<!-- New project button -->
<button id="new-project-button">
<span class="button-icon">
<i class="fa fa-file-o"></i>
</span>
<span class="button-text">
New project
</span>
<div class="new-project-name" style="display:none;">
<input type="text" placeholder="Project name?"/>
<span class="ok-icon">
<i class="fa fa-check"></i>
</span>
<span class="close-icon">
<i class="fa fa-times"></i>
</span>
</div>
</button>
<input id="new-project-dialog" type="file" nwdirectory style="display:none;">
<!-- Open project button -->
<button id="open-project-button">
<span class="button-icon">
<i class="fa fa-folder-open"></i>
</span>
<span class="button-text">
Open project
</span>
</button>
<input id="open-project-dialog" type="file" nwdirectory style="display:none;">
<!-- Open project button -->
<button id="open-last-project-button">
<span class="button-icon">
<i class="fa fa-heart"></i>
</span>
<span class="button-text">
Open last
</span>
</button>
</section>
<!-- Build screen -->
<section id="screen-build" style="display:none;">
<!-- Header project bar -->
<div class="project-title-container">
<!-- Open project folder -->
<span class="show-in-finder-icon">
<i class="fa fa-folder-open-o"></i>
</span>
<!-- Edit project folder -->
<span class="edit-project-icon">
<i class="fa fa-pencil"></i>
</span>
<!-- Project title -->
<span class="project-title"></span>
<!-- Close project -->
<span class="close-icon">
<i class="fa fa-times"></i>
</span>
</div>
<!-- Checkbox -->
<div id="compress-check" class="check-field-container">
<span class="check-container">
<span class="check-field active">
<i class="fa fa-check"></i>
</span>
</span>
<span class="check-label">
Compress App
</span>
</div>
<!-- Run project button -->
<button id="run-project-button">
<span class="button-icon">
<i class="fa fa-play"></i>
</span>
<span class="button-text">
Run project
</span>
</button>
<!-- Build project button -->
<button id="build-project-button">
<span class="button-icon">
<i class="fa fa-magic"></i>
</span>
<span class="button-text">
Build project
</span>
</button>
</section>
</div>
<audio id="audioclip" src=""></audio>
</body>
</html>