forked from fossasia/meilix-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
356 lines (347 loc) · 14.2 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
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static',filename='css/menu.css') }}">
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/font-awesome.min.css') }}">
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/bootstrap2.min.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/email_noti.js') }}"></script>
<script src="{{ url_for('static', filename='js/functions.js') }}"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<title>Meilix ISO Generator</title>
</head>
<body>
<!--Loader-->
<div class="welcome">
<div class="csd">
<div class="a" style="--n: 5;">
<div class="dot" style="--i: 0;"></div>
<div class="dot" style="--i: 1;"></div>
<div class="dot" style="--i: 2;"></div>
<div class="dot" style="--i: 3;"></div>
<div class="dot" style="--i: 4;"></div>
</div>
</div>
</div>
<!--End Loader-->
<!--file upload form-->
<form method="POST" enctype="multipart/form-data">
<div class="custom-navbar">
<a style="text-decoration: none;" href='.' class="custom-navtitle">
<strong>Meilix Generator</strong>
</a>
<div class="custom-menubutton">
<i class="glyphicon glyphicon-th" style="font-size:20px;"></i>
</div>
</div>
<div class="custom-menu-cont hidden">
<div class="custom-menu">
<div class="arrow-up"></div>
<div>
<div class="custom-menu-item">
<a href="http://github.com/fossasia/meilix-generator" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='code.png') }}"></div>
<p class="custom-title">Code</p></a>
</div>
<div class="custom-menu-item">
<a href="http://github.com/fossasia/meilix-generator/issues" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='bug.png') }}"></div>
<p class="custom-title">Bug Report</p></a>
</div>
<div class="custom-menu-item">
<a href="http://blog.fossasia.org" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='blog.png') }}"></div>
<p class="custom-title">Blogs</p></a>
</div>
<hr style="margin-bottom: 10px; margin-top: 10px;">
<div class="custom-menu-item">
<a href="https://eventyay.com/" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='eventyay.png') }}"></div>
<p class="custom-title">Eventyay</p></a>
</div>
<div class="custom-menu-item">
<a href="https://susper.com/" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='susper.png') }}" style="width: 60px;height: 16px;"></div>
<p class="custom-title">Susper</p></a>
</div>
<div class="custom-menu-item">
<a href="https://chat.susi.ai/" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='susi.png') }}"></div>
<p class="custom-title">Susi</p></a>
</div>
<div class="custom-menu-item">
<a href="https://fossasia.org/" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='fossasia.png') }}"></div>
<p class="custom-title">FOSSASIA</p></a>
</div>
<div class="custom-menu-item">
<a href="https://loklak.org/" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='loklak.png') }}"></div>
<p class="custom-title">loklak</p></a>
</div>
<div class="custom-menu-item">
<a href="https://phimp.me/" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='phimp.png') }}"></div>
<p class="custom-title">Phimp.me</p></a>
</div>
<div class="custom-menu-item">
<a href="https://pslab.fossasia.org" target="_blank">
<div class="custom-icon"><img src="{{ url_for('static', filename='Pslab.png') }}"></div>
<p class="custom-title">PS Lab</p></a>
</div>
<hr style="margin: 10px">
<div style="display: flex;justify-content: center;align-items: center; margin: 0 0 -20px 0">
More on <a href="https://labs.fossasia.org/" target="_blank" style="text-decoration: none;color: #737373"> labs.fossasia.org</a>
</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row mt-3">
<div class="col-md-4 mx-auto">
<div class="form-group">
<label class="heading" id="label" for="email">Email * <img src="{{ url_for('static', filename='alert.jpg') }}" height="20" width="20" onclick="noti()"></label>
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
<input autofocus="" class="form-control" placeholder="Enter email" name="email" title="Email for sending the ISO" required="" type="email" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$" required /></div>
<br>
</div>
<div class="form-group">
<label class="heading" for="TRAVIS_TAG">Name of your Distribution * <img src="{{ url_for('static', filename='alert.jpg') }}" height="20" width="20" onclick="disti()"></label>
<input pattern="[A-Za-z0-9\s]{1,20}" class="form-control" placeholder="Enter name" name="TRAVIS_TAG" required="" type="text" data-toggle="tooltip" title="Only alphanumeric characters allowed">
</div>
<br>
<div class="form-group">
<label class="heading" for="event_url">Browser Home Page * <img src="{{ url_for('static', filename='alert.jpg') }}" height="20" width="20" onclick="hpage()"></label>
<input pattern="https?://.+" class="form-control" placeholder="Enter link" name="event_url" title="only url is allowed"
required="" type="url">
</div>
<br>
<div class="form-group">
<label class="heading" for="search_engine">Default Search Engine * <img src="{{ url_for('static', filename='alert.jpg') }}" height="20" width="20" onclick="sengine()"></label>
<input pattern="https?://.+" class="form-control" placeholder="Enter link" name="search_engine" title="only url is allowed"
required="" type="url">
</div>
<br>
<div class="form-group">
<label class="heading" for="bookmark">Choose Either ON or OFF:</label>
<table class="table table-responsive" style="width:100%">
<thead>
<tr>
<th>Tweaks</th>
<th>OFF/ON</th>
</tr>
</thead>
<tbody>
<form>
<tr>
<td>
<div class="radiotext">
<label for='express'>Notification</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr></form>
<form>
<tr>
<td>
<div class="radiotext">
<label for='express'>Screensaver</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr></form>
<form>
<tr>
<td>
<div class="radiotext">
<label for='express'>Sleep Modus</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr></form>
<form>
<tr>
<td>
<div class="radiotext">
<label for='express'>System Sounds</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr></form>
<form>
<tr>
<td>
<div class="radiotext">
<label for='express'>Bookmarks</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr></form>
<form>
<tr>
<td>
<div class="radiotext">
<label for='express'>Screen Diming</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr></form>
<form>
<tr>
<td>
<div class="radiotext">
<label for='express'>Power Management Saving Feature</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr></form>
<form>
<tr>
<td>
<div class="radiotext">
<label for='regular'>Taskbar Autohide</label>
</div>
</td>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
</tr>
</form>
</tbody>
</table>
</div>
<br>
<div class="form-group">
<label class="heading" for="packages">Check the packages which you want to install: * <img src="{{ url_for('static', filename='alert.jpg') }}" height="20" width="20" onclick="pinstall()"></label>
<table id="package" class="table responsive-table-input-matrix" style="width:100%">
<thread>
<tr>
<th>Package</th>
<th>Checkbox</th>
</tr>
<tbody>
<tr>
<td>Chromium</td>
<td><input name="GENERATOR_package_chromium" type="checkbox" value="chromium" id="chromium"></td>
</tr>
<tr>
<td>Firefox</td>
<td><input name="GENERATOR_package_firefox" type="checkbox" value="firefox" id="firefox"></td>
</tr>
<tr>
<td>Hangout</td>
<td><input name="GENERATOR_package_hangout" type="checkbox" value="hangout" id="hangout"></td>
</tr>
<tr>
<td>VLC</td>
<td><input name="GENERATOR_package_vlc" type="checkbox" value="vlc" id="vlc"></td>
</tr>
<tr>
<td>GIMP</td>
<td><input name="GENERATOR_package_gimp" type="checkbox" value="gimp" id="gimp"></td>
</tr>
<tr>
<td>Inkscape</td>
<td><input name="GENERATOR_package_inkscape" type="checkbox" value="inkscape" id="inkscape"></td>
</tr>
<tr>
<td>LibreOffice</td>
<td><input name="GENERATOR_package_office" type="checkbox" value="office" id="office"></td>
</tr>
<tr>
<td>Git</td>
<td><input name="GENERATOR_package_git" type="checkbox" value="git" id="git"></td>
</tr>
<tr>
<td>Dropbox</td>
<td><input name="GENERATOR_package_dropbox" type="checkbox" value="dropbox" id="dropbox"></td>
</tr>
<tr>
<td>NextCloud</td>
<td><input name="GENERATOR_package_nextcloud" type="checkbox" value="nextcloud" id="nextcloud"></td>
</tr>
</tbody>
</table>
<br>
</div>
<div class="col-md-06">
<div class="form-group">
<label class="heading" style="text-align: center;">Upload Wallpaper* <img src="{{ url_for('static', filename='alert.jpg') }}" height="20" width="20" onclick="upwal()"></label>
<label class="btn btn-secondary mx-auto btn-block btn-secondary">
<span style="white-space: pre-wrap;" data-toggle="tooltip" title=" REC size (1920X1080) or (1280X720)">Browse</span>
<input name="file" class="file form-control" title="Default Wallpaper Image" style="display: none;" onchange="$(this).prev('span').text($(this).val()!=''?$(this).val():'Browse')"
required="" type="file">
</label>
<img id="file-upload">
</div>
</div>
<br>
<div class="form-group">
<input class="btn btn-info mx-auto btn-block" id="file-upload" value="Build" required="" type="submit" style="height: 50px; width: 360px; border-radius: 500px;"/>
</div>
</div>
</div>
</div>
</form>
<br>
<div id="deployment">
<span class="text-muted"> Grab the latest pre-built ISO
<a href="https://github.com/fossasia/meilix/zipball/master">here</a> or head to the
<a href="https://github.com/fossasia/meilix/releases">Releases</a> page for more options.</span>
</div>
<script>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
</script>
</body>
</html>