-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.html
More file actions
444 lines (444 loc) · 37 KB
/
index.html
File metadata and controls
444 lines (444 loc) · 37 KB
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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name ="description" content="A free online HTML5 template page generator with multiple options and export functionality.">
<meta name="author" content="Angelos Chalaris">
<meta name="keywords" content="html5, template page generator, html, template, generator">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script type="text/javascript" src="js/htmltempgen.min.js"></script>
<link rel="stylesheet" href="css/htmltempgen.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<script type="text/javascript" src="https://cdn.rawgit.com/Chalarangelo/bootstrap-extend/880420ae663f7c539971ded33411cdecffcc2134/js/bootstrap-extend.min.js"></script>
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/bootstrap-extend/880420ae663f7c539971ded33411cdecffcc2134/css/bootstrap-extend.min.css"/>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<title>HTML5 Template Generator</title>
<link rel="icon" type="image/png" href="favicon.png">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<h1>HTML<i class="fa fa-html5 fa-lg" aria-hidden="true"></i> Template Generator <small class="versionNumbering"></small></h1><br>
</div>
</div>
<!-- Modal dialog for reset -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Reset template</h4>
</div>
<div class="modal-body">
All your changes will be lost. Are you sure you want to continue?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">No</button>
<button type="button" class="btn btn-primary" id="reset-confirm">Yes</button>
</div>
</div>
</div>
</div>
<!-- Modal dialog for first time users -->
<div class="modal fade" id="newUserModal" tabindex="-1" role="dialog" aria-labelledby="newUserModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="newUserModalLabel">Quick start guide</h4>
</div>
<div class="modal-body">
<ul>
<li>Use each of the tabs at the top to specify your HTML page's content, libraries, metadata and resources. All changes are applied immediately to your generated template.</li>
<li>View your generated template under the <span class="bg-info">Result</span> tab.</li>
<li>When satisfied with the results, copy it to your clipboard or export it to JSFiddle or Codepen using the buttons at the very top of the <span class="bg-info">Result</span> tab.</li>
<li>If you need help, check the <span class="bg-info">Help & Info</span> tab.</li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Ok, got it!</button>
</div>
</div>
</div>
</div>
<!-- Navigation -->
<div class="row">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<ul class="nav nav-tabs">
<li role="presentation" class="active" id="content-tab"><a href="javascript:void(0);" title="Content"><h5><i class="fa fa-code fa-fw" aria-hidden="true"></i><span class="tab-title"> Content</span></h5></a></li>
<li role="presentation" id="libraries-tab"><a href="javascript:void(0);" title="Libraries"><h5><i class="fa fa-archive fa-fw" aria-hidden="true"></i><span class="tab-title"> Libraries <span class="badge" id="libraries-badge">1</span></span></h5></a></li>
<li role="presentation" id="metadata-tab"><a href="javascript:void(0);" title="Metadata"><h5><i class="fa fa-tags fa-fw" aria-hidden="true"></i><span class="tab-title"> Metadata</span></h5></a></li>
<li role="presentation" id="resources-tab"><a href="javascript:void(0);" title="Resources"><h5><i class="fa fa-sticky-note-o fa-fw" aria-hidden="true"></i><span class="tab-title"> Resources</span></h5></a></li>
<li role="presentation" id="result-tab"><a href="javascript:void(0);" title="Result"><h5><i class="fa fa-download fa-fw" aria-hidden="true"></i><span class="tab-title"> Result</span></h5></a></li>
<li role="presentation" id="help-tab"><a href="javascript:void(0);" title="Help & Info"><h5><i class="fa fa-question-circle fa-fw" aria-hidden="true"></i><span class="tab-title"> Help & Info</span></h5></a></li>
<li style="float:right;" id="reset-li"><button class="btn btn-default" id="reset-btn" data-toggle="modal" data-target="#myModal">Reset</button></li>
</ul>
</div>
</div>
<!-- Content tab -->
<div class="row activeRow" id="content">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<h2>Define base content for your page</h2>
<p>Specify the basic information for your template page, such as title, body classes and/or body content. You can use the <strong>Simple pages</strong> template base and write your own HTML to customize it, pick a pre-defined template and alter its variables to suit your specific needs or do both if you want. <span class="text-info"><strong>The custom HTML body you input will always be part of the resulting page</strong></span>, you can change its position (before or after the template's generated content) by flipping the corresponding switch below.</p><br>
<form class="form-horizontal" autocomplete="off">
<div class="form-group">
<label for="content-title" class="col-sm-offset-0 col-sm-2 control-label">Title</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="text" class="form-control" id="content-title" placeholder="Title">
</div>
</div>
<div class="form-group">
<label for="content-classes" class="col-sm-offset-0 col-sm-2 control-label">Body classes</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="text" class="form-control" id="content-classes" placeholder="Body classes (space separated)">
</div>
</div>
<div class="form-group">
<label for="content-body" class="col-sm-offset-0 col-sm-2 control-label">Body</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<textarea class="form-control" rows="3" id="content-body" placeholder="Body (HTML)"></textarea>
</div>
<div class="alert alert-warning hidden col-lg-5 col-md-5 col-sm-3" id="content-body-alert" role="alert">You are using tags that are deprecated in HTML5. <strong>Your template will still be generated</strong>, however we suggest you refer to the <a href="https://www.w3.org/TR/html5/obsolete.html" class="alert-link">HTML5 specification</a> to fix this.</div>
</div>
<div class="form-group">
<label for="content-pos-selector" class="col-sm-offset-0 col-sm-2 control-label">Add custom body before or after generated body</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="radio" class="rdbtn rdbtn-info" id="con-before" name="content-pos-selector" checked><label for="con-before">Before</label>
<input type="radio" class="rdbtn rdbtn-info" id="con-after" name="content-pos-selector"><label for="con-after">After</label>
</div>
</div>
<div class="form-group">
<label for="content-templates" class="col-sm-offset-0 col-sm-2 control-label">Choose a template base (customize below)</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<select name="content-templates" class="slct">
<option value="page-template" selected>Simple pages</option>
<option value="form-template">Simple forms</option>
<option value="error-template">Error pages</option>
</select>
</div>
</div>
<div class="form-group">
<label for="commenter" class="col-sm-offset-0 col-sm-2 control-label">Add comments to generated code</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input id="commenter" class="switch switch-rect-info switch-on-off" type="checkbox"> <label for="commenter"></label>
</div>
</div>
</form>
<hr>
<h3>Customize your template base</h3>
<p>You can customize variables specific to your chosen template base below. <span class="text-warning"><strong>If you change your template base, some of the below changes might be lost.</strong></span></p><br>
<form class="form-horizontal templates-customizer" id="content-page-template-customize" autocomplete="off">
<div class="form-group">
<label for="content-page-template-selector" class="col-sm-offset-0 col-sm-2 control-label">Choose a template</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="radio" class="rdbtn rdbtn-primary" id="page-template-empty" name="content-page-template-selector"><label for="page-template-empty">Empty page</label><br>
<input type="radio" class="rdbtn rdbtn-primary" id="page-template-min" name="content-page-template-selector" checked><label for="page-template-min">Page with minimal content</label><br>
<input type="radio" class="rdbtn rdbtn-primary" id="page-template-sample" name="content-page-template-selector"><label for="page-template-sample">Page with sample content</label><br>
<input type="radio" class="rdbtn rdbtn-primary" id="page-template-showcase" name="content-page-template-selector"><label for="page-template-showcase">Content showcase page</label><br>
<input type="radio" class="rdbtn rdbtn-primary" id="page-template-twocol" name="content-page-template-selector"><label for="page-template-twocol">Minimal content page with two-column layout</label>
</div>
</div>
</form>
<form class="form-horizontal hidden templates-customizer" id="content-form-template-customize" autocomplete="off">
<div class="form-group">
<label for="content-form-template-selector" class="col-sm-offset-0 col-sm-2 control-label">Choose a template</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="radio" class="rdbtn rdbtn-success" id="form-template-empty" name="content-form-template-selector"><label for="form-template-empty">Empty form</label><br>
<input type="radio" class="rdbtn rdbtn-success" id="form-template-login" name="content-form-template-selector" checked><label for="form-template-login">Login form</label><br>
<input type="radio" class="rdbtn rdbtn-success" id="form-template-register" name="content-form-template-selector"><label for="form-template-register">Registration form</label><br>
<input type="radio" class="rdbtn rdbtn-success" id="form-template-payment" name="content-form-template-selector"><label for="form-template-payment">Payment form</label>
</div>
</div>
</form>
<form class="form-horizontal hidden templates-customizer" id="content-error-template-customize" autocomplete="off">
<div class="form-group">
<label for="content-error-selector" class="col-sm-offset-0 col-sm-2 control-label">Choose a template</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-400" name="content-error-template-selector"><label for="error-template-400">400: Bad Request</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-401" name="content-error-template-selector"><label for="error-template-401">401: Authorization Required</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-403" name="content-error-template-selector"><label for="error-template-403">403: Forbidden</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-404" name="content-error-template-selector" checked><label for="error-template-404">404: Not Found</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-408" name="content-error-template-selector"><label for="error-template-408">408: Request Time-Out</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-410" name="content-error-template-selector"><label for="error-template-410">410: Gone</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-500" name="content-error-template-selector"><label for="error-template-500">500: Internal Server Error</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-502" name="content-error-template-selector"><label for="error-template-502">502: Bad Gateway</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-503" name="content-error-template-selector"><label for="error-template-503">503: Service Temporarily Unavailable</label><br>
<input type="radio" class="rdbtn rdbtn-danger" id="error-template-504" name="content-error-template-selector"><label for="error-template-504">504: Gateway Time-Out</label>
</div>
</div>
</form>
</div>
</div>
<!-- Libraries tab -->
<div class="row hidden" id="libraries">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<h2>Load hosted libraries</h2>
<p>Choose the libraries you want to include in your template. We strongly recommend including <a href="http://jquery.com/"><strong>jQuery</strong></a> to help you write Javascript more efficiently. After you choose the libraries you want, you can customize some of them in the section below, so that you don't need to write any boilerplate code for them.</p><br>
<span id="lib-loader"></span>
<div class="alert alert-info hidden" id="lib-loader-reqs-alert" role="alert" style="white-space:pre-wrap;"><span id="lib-loader-reqs"></span></div>
<hr>
<h3>Customize loaded libraries</h3>
<p>You can customize your included libraries below. We recommend enabling boilerplate code for your preferred library to help get you started. <span class="text-warning"><strong>If you change your loaded libraries, some of the below changes might be lost.</strong></span></p><br>
<form class="form-horizontal" autocomplete="off" id="boilerplate-form-jQuery">
<div class="form-group">
<label for="boilerplate-jQuery-selector" class="col-sm-offset-0 col-sm-2 control-label">Boilerplate code for jQuery</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="radio" class="rdbtn rdbtn-primary" id="boilerplate-jQuery-no" name="boilerplate-jQuery-selector"><label for="boilerplate-jQuery-no">No boilerplate code</label><br>
<input type="radio" class="rdbtn rdbtn-primary" id="boilerplate-jQuery-yes" name="boilerplate-jQuery-selector" checked><label for="boilerplate-jQuery-yes">Boilerplate code for document ready</label><br>
<input type="radio" class="rdbtn rdbtn-primary" id="boilerplate-jQuery-noConflict" name="boilerplate-jQuery-selector"><label for="boilerplate-jQuery-noConflict">Boilerplate code for document ready (no conflict)</label><br>
</div>
</div>
</form>
<form class="form-horizontal hidden" autocomplete="off" id="boilerplate-form-Bootstrap">
<div class="form-group">
<label for="boilerplate-Bootstrap" class="col-sm-offset-0 col-sm-2 control-label">Use Bootstrap to style template</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input id="boilerplate-Bootstrap" class="switch switch-rect-primary switch-yes-no" type="checkbox"> <label for="boilerplate-Bootstrap"></label>
</div>
</div>
<div class="form-group">
<label for="boilerplate-Bootstrap-lockscale" class="col-sm-offset-0 col-sm-2 control-label">Disable zoom</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input id="boilerplate-Bootstrap-lockscale" class="switch switch-rect-primary switch-yes-no" type="checkbox"> <label for="boilerplate-Bootstrap-lockscale"></label>
</div>
<div class="alert alert-info hidden col-lg-5 col-md-5 col-sm-3" id="boilerplate-Bootstrap-lockscale-alert" role="alert">Disabling zoom will only apply if the metadata <em>Include viewport tag</em> option is enabled.</div>
</div>
</form>
<span id="lib-loader-customizers"></span>
</div>
</div>
<div class="row hidden" id="metadata">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<h2>Define metadata tags</h2>
<p>Choose metadata tags for your HTML document. Leave a field blank if you don't want to include that specific tag. We strongly recommend setting a <strong>Description</strong> for your page, so that search engines can pick it up when indexing your page and show it along with search results.</p><br>
<form class="form-horizontal" autocomplete="off">
<div class="form-group">
<label for="meta-charset" class="col-sm-offset-0 col-sm-2 control-label">Character encoding</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<select name="meta-charset" class="slct">
<option value="UTF-8" selected>UTF-8</option>
<option value="ISO-8859-1">ISO-8859-1</option>
</select>
</div>
</div>
<div class="form-group">
<label for="meta-author" class="col-sm-offset-0 col-sm-2 control-label">Author</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="text" class="form-control" id="meta-author" placeholder="Author">
</div>
</div>
<div class="form-group">
<label for="meta-desc" class="col-sm-offset-0 col-sm-2 control-label">Description</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<textarea class="form-control" rows="3" id="meta-desc" placeholder="Description"></textarea>
</div>
</div>
<div class="form-group">
<label for="meta-keys" class="col-sm-offset-0 col-sm-2 control-label">Keywords</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input type="text" class="form-control" rows="3" id="meta-keys" placeholder="Keywords (comma-separated)">
</div>
</div>
<div class="form-group">
<label for="meta-gen" class="col-sm-offset-0 col-sm-2 control-label">Include generator tag</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input id="meta-gen" class="switch switch-rect-success switch-yes-no" type="checkbox" checked> <label for="meta-gen"></label>
</div>
</div>
<div class="form-group">
<label for="meta-vp" class="col-sm-offset-0 col-sm-2 control-label">Include viewport tag</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input id="meta-vp" class="switch switch-rect-info switch-yes-no" type="checkbox" checked> <label for="meta-vp"></label>
</div>
</div>
<div class="form-group">
<label for="meta-fav" class="col-sm-offset-0 col-sm-2 control-label">Declare favicon</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input id="meta-fav" class="switch switch-rect-primary switch-yes-no" type="checkbox"> <label for="meta-fav"></label>
</div>
</div>
<div class="form-group">
<label for="meta-old" class="col-sm-offset-0 col-sm-2 control-label">Old browser warning</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<input id="meta-old" class="switch switch-rect-warning switch-yes-no" type="checkbox"> <label for="meta-old"></label>
</div>
</div>
</form>
</div>
</div>
<!-- Resources tab -->
<div class="row hidden" id="resources">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<h2>Add external resource links</h2>
<p>Add relative links to local resources or absolute links to external, online resources. <span class="text-warning"><strong>Please only write one link per line of the corresponding input areas</strong></span>, otherwise there might be errors with the generated template page.</p><br>
<form class="form-horizontal" autocomplete="off">
<div class="form-group">
<label for="res-js" class="col-sm-offset-0 col-sm-2 control-label">Javascript resources</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<textarea class="form-control" rows="5" id="res-js" placeholder="Javascript resources (one per line)"></textarea>
</div>
<div class="alert alert-warning hidden col-lg-5 col-md-5 col-sm-3" id="res-js-alert" role="alert">There seem to be commas or spaces in your javascript resources. Please specify every file's location in its own line. <strong>Your template will still be generated</strong>, however it might not work properly.</div>
</div>
<div class="form-group">
<label for="res-css" class="col-sm-offset-0 col-sm-2 control-label">CSS resources</label>
<div class="col-lg-4 col-md-4 col-sm-6">
<textarea class="form-control" rows="5" id="res-css" placeholder="CSS resources (one per line)"></textarea>
</div>
<div class="alert alert-warning hidden col-lg-5 col-md-5 col-sm-3" id="res-css-alert" role="alert">There seem to be commas or spaces in your javascript resources. Please specify every file's location in its own line. <strong>Your template will still be generated</strong>, however it might not work properly.</div>
</div>
</form>
</div>
</div>
<!-- Result tab -->
<div class="row hidden" id="result">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<h2>Get your generated template</h2>
<p>The following is the template page generated based on your choices in the other tabs; use the buttons below to copy it to clipboard or export it wherever you want. If you are not satisfied with the results, you can always tweak the specified settings in the other tabs to better suit your needs.</p><br>
<div class="btn-group btn-group-justified" role="group" aria-label="result-button-group">
<div class="btn-group" role="group">
<button type="button" class="btn btn-success" id="clipboard"><i class="fa fa-clipboard fa-fw" aria-hidden="true"></i><span class="res-button">
Copy to clipboard</span></button>
</div><div class="btn-group" role="group">
<button type="button" class="btn btn-success" id="codepen"><i class="fa fa-codepen fa-fw" aria-hidden="true"></i><span class="res-button">
Edit in Codepen</span></button>
</div><div class="btn-group" role="group">
<button type="button" class="btn btn-success" id="fiddle"><i class="fa fa-jsfiddle fa-fw" aria-hidden="true"></i><span class="res-button">
Edit in JSFiddle</span></button>
</div>
</div><br>
<div id="result-box"><!DOCTYPE html><html><!-- You shouldn't be seeing this, there has been an error!--></html></div>
<script src="https://cdn.rawgit.com/ajaxorg/ace-builds/master/src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<script>
var path = "js/modules/ace/build/src"; ace.config.set("workerPath", path); var editor = ace.edit("result-box");
editor.getSession().setMode("ace/mode/html"); editor.setReadOnly(true); editor.setShowPrintMargin(false);
editor.getSession().setUseWrapMode(true); editor.$blockScrolling = Infinity;
</script>
</div>
</div>
<!-- Info and Help tab -->
<div class="row hidden" id="help">
<div class="col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<h2>How to use</h2>
<h4>Quick start guide <small>Simple as 1, 2, 3</small></h4>
<ol>
<li>Use each of the tabs at the top to specify your HTML page's content, libraries, metadata and resources. All changes are applied immediately to your generated template.</li>
<li>View your generated template under the <span class="bg-info">Result</span> tab.</li>
<li>When satisfied with the results, copy it to your clipboard or export it to JSFiddle or Codepen using the buttons at the very top of the <span class="bg-info">Result</span> tab.</li>
</ol><br>
<h4>Extended guide <small>For the demanding user</small></h4>
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"><h4 class="panel-title">Content tab</h4></a>
</div>
<div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<ul>
<li>The <span class="bg-info">Content</span> tab allows you to specify your page's content and customize your template. You can define a title for your page's <code><head></code>, classes for the <code><body></code>, as well as your own customized content for the <code><body></code> element. Your user-defined content can be placed before or after the generated template.</li>
<li>We offer a variety of simple templates, ranging from simple empty pages, showcases and clean layouts to basic form templates and error pages for all your needs. Most template bases can be customized in the second section of the <span class="bg-info">Content</span> tab. </li>
<li>Finally, you can enable the automated comments, so that you know what is what in the final results.</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"><h4 class="panel-title">Libraries</h4></a>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
<ul>
<li>The <span class="bg-info">Libraries</span> tab offers a wide variety of popular Javascript and CSS libraries from which to choose for your template. By default, your template will have <strong>jQuery 3.1.0</strong> included, along with a minimal boilerplate code snippet in the page's <code><head></code> to help get you started.</li>
<li>You can enable as few or as many libraries as you like. The counter at the top of the <span class="bg-info">Libraries</span> tab will keep track of the amount of loaded libraries. Be careful not to add too many libraries, otherwise your page might be slow.</li>
<li>Dependencies will be resolved automatically, although you will be notified which libraries will be included based on your selection. If two or more libraries are mutually exclusive (i.e. different versions of the same library), they last one selected will automatically cause the others to deselect.</li>
<li>Some libraries allow you to include a snippet of boilerplate code in the page's <code><head></code> to help get you started. You can choose if you want this enabled for each library you include, using the second section of the <span class="bg-info">Libraries</span> tab.</li>
<li>Some other libraries will offer different options, such as the different versions of <strong>Bootstrap</strong>, which allow you to style your generated template using some of their styles.</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingThree">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"><h4 class="panel-title">Metadata</h4></a>
</div>
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="panel-body">
<ul>
<li>The <span class="bg-info">Metadata</span> tab allows you to specify your page's metadata tags, such as character encoding, author, description, keywords, generator, as well as some other properties for your page's <code><head></code>, such as viewport, favicon and warning for older browsers. </li>
<li>Some options are selected by default (such the inclusion of <strong>generator</strong> and <strong>viewport</strong> tags), but you can turn them off if you do not want them.</li>
<li>The different versions of <strong>Bootstrap</strong> require the <strong>viewport</strong> tag to be included to work properly, so remember to toggle it on if you include any of them.</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingFour">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour"><h4 class="panel-title">Resources</h4></a>
</div>
<div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
<div class="panel-body">
<ul>
<li>The <span class="bg-info">Resources</span> tab lets you specify your page's external Javascript and CSS resources, using either relative or absolute paths.</li>
<li>For each of the two types of resource, use the corresponding textarea and specify one resource's location per line.</li>
<li>If any commas or spaces are found in your input, you will be notified, however the generated template will include those resources, even if they do not work properly.</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingFive">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false" aria-controls="collapseFive"><h4 class="panel-title">Result</h4></a>
</div>
<div id="collapseFive" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFive">
<div class="panel-body">
<ul>
<li>The <span class="bg-info">Result</span> tab allows you to view your generated page. It updates instantly after you make any changes in the other tabs to reflect them. The code itself, however, cannot be edited.</li>
<li>You can use the buttons at the very top of the panel to copy the resulting template page to your clipboard or export the template page to JSFiddle or Codepen.</li>
<li>If you export to JSFiddle or Codepen, some changes like resources with relative paths might be omitted.</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingSix">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="false" aria-controls="collapseSix"><h4 class="panel-title">Miscellaneous</h4></a>
</div>
<div id="collapseSix" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSix">
<div class="panel-body">
<ul>
<li>Clicking the <span class="bg-info">Reset</span> button will present you with a dialog, asking if you are sure you want to reset the generator. All changes will be lost and you will have to start over.</li>
<li>The <span class="bg-info">Help & Info</span> tab shows you the page's quick start and extended guides, as well as the <strong>About</strong> section, which includes information about the project itself. If you find this tool useful, please Star it on Github.</li>
<li>For any errors encountered or feature requests, use the <strong>Issue</strong> button in the <strong>About</strong> section of the <span class="bg-info">Help & Info</span> tab.</li>
</ul>
</div>
</div>
</div>
</div>
<hr>
<h3>About</h3>
<div class="col-md-6 col-md-offset-0 col-sm-12 col-xs-12" style="margin-left: -15px;">
<p><strong>Current version: </strong><span class="versionNumbering"></span> -
<strong>Last updated: </strong>August, 17, 2016</p>
<p><strong>Disclaimer: </strong>Designed and built by <a href="https://github.com/Chalarangelo">@chalarangelo</a>, licensed under the <a href="https://opensource.org/licenses/MIT">MIT License</a>.</p>
</div>
<div class="col-md-6 col-md-offset-0 col-sm-12 col-xs-12" style="margin-left: -15px;">
<p>If you like this tool, you can <strong>show your support</strong> on Github!</p>
<a aria-label="Watch chalarangelo/htmltemplategenerator on GitHub" data-count-aria-label="# watchers on GitHub" data-count-api="/repos/chalarangelo/htmltemplategenerator#subscribers_count" data-count-href="/chalarangelo/htmltemplategenerator/watchers" data-style="mega" data-icon="octicon-eye" href="https://github.com/chalarangelo/htmltemplategenerator" class="github-button">Watch</a>
<a aria-label="Star chalarangelo/htmltemplategenerator on GitHub" data-count-aria-label="# stargazers on GitHub" data-count-api="/repos/chalarangelo/htmltemplategenerator#stargazers_count" data-count-href="/chalarangelo/htmltemplategenerator/stargazers" data-style="mega" data-icon="octicon-star" href="https://github.com/chalarangelo/htmltemplategenerator" class="github-button">Star</a>
<a aria-label="Fork chalarangelo/htmltemplategenerator on GitHub" data-count-aria-label="# forks on GitHub" data-count-api="/repos/chalarangelo/htmltemplategenerator#forks_count" data-count-href="/chalarangelo/htmltemplategenerator/network" data-style="mega" data-icon="octicon-repo-forked" href="https://github.com/chalarangelo/htmltemplategenerator/fork" class="github-button">Fork</a>
<p>If you encounter any bugs or have suggestions for features, please <strong>open an
<a aria-label="Issue chalarangelo/htmltemplategenerator on GitHub" data-icon="octicon-issue-opened" href="https://github.com/chalarangelo/htmltemplategenerator/issues" class="github-button">Issue</a></strong>.</p>
</div>
</div>
</div>
<!-- Empty row to fill in the gap -->
<div class="row">
<br><br><br>
</div>
</div>
</body>
</html>