forked from fossasia/meilix-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
346 lines (334 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
{% extends 'layout.html' %}
{% block body %}
<div class="container">
<div class="row mt-3">
<div class="col-md-4 mx-auto">
<div class="form-group">
<label class="heading" for="bookmark">Fields with * after it are required<span>
<label class="heading" id="label" for="email">Email *</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" data-toggle="tooltip" title="Email for the ISO"
required="" type="email" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$"
required /></div>
<p id="scroll-to">We will send the link to the ready ISO file to the e-mail you have provided</p>
<br>
</div>
<div class="form-group">
<label class="heading" for="TRAVIS_TAG">Name of your Distribution *</label>
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-address-book fa-fw"></i></span>
<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>
<p id="scroll-to">Name of your custom distribution</p>
</div>
<br>
<div class="form-group">
<label class="heading" for="event_url">Browser Home Page </label>
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-window-maximize fa-fw"></i></span>
<input pattern="https?://.+" class="form-control" placeholder="Enter link" name="event_url" data-toggle="tooltip" title="only url is allowed"
type="url"></div>
<p id="scroll-to">Default home page of the browser</p>
</div>
<br>
<div class="form-group">
<label class="heading" for="search_engine">Default Search Engine</label>
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-search fa-fw"></i></span>
<input pattern="https?://.+" class="form-control" placeholder="Enter link" name="search_engine" data-toggle="tooltip" title="only url is allowed"
type="url"></div>
<p id="scroll-to">Default search engine of the browser</p>
</div>
<br>
<div class="form-group">
<label class="heading" for="bookmark">Packages that are checked will be installed<span>
</span></label>
<table class="table table-responsive">
<tbody>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>Support 64 bit (Default 32 bit)</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>Notifications</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>Screensaver</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>Sleep Modus</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>System Sounds</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>Bookmarks</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>Screen Dimming</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='express'>Power Management Saving Feature</label>
</div>
</td>
</tr>
</form>
<form>
<tr>
<td>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</td>
<td id="long">
<div class="radiotext">
<label for='regular'>Taskbar Autohide</label>
</div>
</td>
</tr>
</form>
</tbody>
</table>
</div>
<br>
<div class="form-group">
<label class="heading" for="packages">Check the packages which you want to install: <span>
<p id="scroll1" class="active">This will install the software which you have checked</p>
</span></label>
<table id="package" class="table responsive-table-input-matrix">
<tbody>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="chromium" value="chromium" name="GENERATOR_package_chromium">
<label for="chromium" class="check-title"></label>
</label>
</td>
<td>Chromium</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="firefox" value="firefox" name="GENERATOR_package_firefox">
<label for="firefox" class="check-title"></label>
</label>
</td>
<td>Firefox</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="hangout" value="hangout" name="GENERATOR_package_hangout">
<label for="hangout" class="check-title"></label>
</label>
</td>
<td>Hangout</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="vlc" value="vlc" name="GENERATOR_package_vlc">
<label for="vlc" class="check-title"></label>
</label>
</td>
<td>VLC</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="gimp" value="gimp" name="GENERATOR_package_gimp">
<label for="gimp" class="check-title"></label>
</label>
</td>
<td>GIMP</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="inkspace" value="inkspace" name="GENERATOR_package_inkspace">
<label for="inkspace" class="check-title"></label>
</label>
</td>
<td>Inkscape</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="office" value="office" name="GENERATOR_package_office">
<label for="office" class="check-title"></label>
</label>
</td>
<td>LibreOffice</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="git" value="git" name="GENERATOR_package_git">
<label for="git" class="check-title"></label>
</label>
</td>
<td>Git</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="nextcloud" value="nextcloud" name="GENERATOR_package_nextcloud">
<label for="nextcloud" class="check-title"></label>
</label>
</td>
<td>NextCloud</td>
</tr>
<tr>
<td>
<label class="label-big-check">
<input type="checkbox" id="dropbox" value="dropbox" name="GENERATOR_package_dropbox">
<label for="dropbox" class="check-title"></label>
</label>
</td>
<td>Dropbox</td>
</tr>
</tbody>
</table>
<br>
</div>
<div class="col-md-06">
<div class="form-group reducespace2">
<label class="heading" id="upload">Upload Desktop Wallpaper</label>
<label id="browse" class="btn btn-primary btn-block mx-auto">
<span data-toggle="tooltip" title=" REC size (1920X1080) or (1280X720)">Browse</span>
<input type="file" name="desktop-wallpaper" id="file" class="file form-control" title="Default Wallpaper Image"
onchange="$(this).prev('span').text($(this).val()!=''?$(this).val():'Browse')" accept="image/*" />
</label>
<span>
<p id="scroll2">This will be the default background image of the desktop</p>
</span>
<img id="file-upload">
<img src="" id="preview">
</div>
<div class="form-group reducespace1">
<label class="heading" id="upload">Upload Default Logo</label>
<label id="browse" class="btn btn-primary btn-block mx-auto browse">
<span data-toggle="tooltip" title="Only svg files are allowed">Browse</span>
<input type="file" name="desktop-logo" id="file" class="file form-control" title="Default Desktop Logo"
onchange="$(this).prev('span').text($(this).val()!=''?$(this).val():'Browse')" accept=".svg" />
</label>
<span>
<p id="logo-info">This will be the default logo of your ISO image</p>
</span>
<img id="file-upload">
</div>
<div class="form-group reducespace1">
<label class="heading" id="upload">Upload Desktop files (archive) </label>
<label id="browse1" class="btn btn-primary btn-block mx-auto">
<span data-toggle="tooltip" title="Size less than 4 Mb">Browse</span>
<input type="file" name="desktop-files" id="zip" accept=".zip, .gz" class="file form-control" title="Custom Files For Desktop"
/>
</label>
<span>
<p id="scroll3">These custom files will be kept in your Desktop</p>
</span>
</div>
<div class="form-group">
<input class="btn btn-info btn-block mx-auto file-upload" id="file-upload" value="Build" required="" type="submit" />
</div>
</div>
</div>
</div>
</div>
</form>
<br>
{% endblock %}