This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_generator-settings.html
73 lines (59 loc) · 1.9 KB
/
_generator-settings.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
<form onsubmit="assistant.finish(); return false;">
<section>
<h4>Choose a base:</h4>
<input type="radio" name="base" value="none" checked="true">
<strong>None</strong>
<span>Start with just the basics.</span>
<br/>
<input type="radio" name="base" value="responsive">
<strong>Responsive</strong>
<span>A mobile-first, responsive design</span>
<br/>
<input type="radio" name="base" value="bootstrap">
<strong>Bootstrap</strong>
<span>A mobile-first, responsive design using the Bootstrap framework.
<br/>
</section>
<section>
<h4>Choose an HTML5 Fallback:</h4>
<input type="radio" name="polyfill" value="modernizr" checked="true">
<strong>Modernizr</strong>
<span>Check each HTML5 feature natively and add basic DOM support for unrecognized elements.</span>
<br/>
<input type="radio" name="polyfill" value="html5shiv">
<strong>HTML5Shiv</strong>
<span>Add basic DOM support for unrecognized elements.</span>
<br/>
</section>
<section>
<h4>Extras</h4>
<input type="checkbox" name="ieTags" checked="true">
<strong>IE Classes</strong>
<span>Include classes in the markup for Internet Explorer.</span>
<br/>
<input type="checkbox" name="serverExtras">
<strong>Server Extras</strong>
<span>Include .htaccess, robots.txt, a 404 landing page, etc.</span>
<br/>
<input type="checkbox" name="ga" onclick="h5bp.toggle_gaSiteId();" >
<strong>Google Analytics</strong>
<span>Insert markup for Site ID: <input type="text" name="ga_siteId" placeholder="UA-XXXXX-X" disabled="true"></span>
<br/>
</section>
</form>
<script>
window.h5bp = {
toggle_gaSiteId: function() {
var siteId = document.querySelector('input[name=ga_siteId]');
if (document.querySelector('input[name=ga]').checked) {
siteId.disabled = false;
siteId.focus();
}
else {
siteId.disabled = true;
siteId.value = '';
}
return true;
}
};
</script>