forked from filamentgroup/checkboxradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (111 loc) · 3.19 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
<!doctype html>
<html>
<head>
<title>CheckboxRadio</title>
<link rel="stylesheet" href="src/checkboxradio.css" />
<link rel="stylesheet" href="/demo-head/demohead.css" />
<style>
body {
font-family: sans-serif;
}
h3 {
margin-top: 2em;
}
</style>
<script src="/demo-head/loadfont.js"></script>
</head>
<body>
<div class="demo-header">
<div class="company">
<img src="http://filamentgroup.com/images/fg-logo-positive-sm-crop.png">
</div>
<div class="details">
<p class="description-container">Demo of <span class="repo-name">CheckboxRadio</span>
<span class="description">A custom and accessible checkbox and radio form control</span>
</p>
<ul class="outbound-links">
<li><a href="https://github.com/filamentgroup/checkboxradio">Code</a></li>
<li><a href="https://github.com/filamentgroup/checkboxradio/issues">Issues</a></li>
</ul>
</div>
</div>
<div class="container">
<h3>Checkbox</h3>
<label class="checkbox">
<input name="single" value="10" checked="" type="checkbox">
<span class="label-text">Single Checkbox<em>Description</em></span>
</label>
<h3>Checkbox Set</h3>
<ul class="listview checkbox-strip">
<li>
<label class="checkbox">
<input name="feature-1" value="1" checked="" type="checkbox">
<span class="label-text">Feature 1</span>
</label>
</li>
<li>
<label class="checkbox">
<input name="feature-2" value="2" checked="" type="checkbox">
<span class="label-text">Feature 2 - with a longer text label</span>
</label>
</li>
<li>
<label class="checkbox">
<input name="feature-3" value="3" type="checkbox">
<span class="label-text">Feature 3</span>
</label>
</li>
</ul>
<h3>Radio Set</h3>
<ul class="listview">
<li>
<label class="radiobutton">
<input name="amt2" value="10" checked="" type="radio">
<span class="label-text">$<strong>10</strong></span>
</label>
</li>
<li>
<label class="radiobutton">
<input name="amt2" value="25" type="radio">
<span class="label-text">$<strong>25</strong></span>
</label>
</li>
<li>
<label class="radiobutton">
<input name="amt2" value="50" type="radio">
<span class="label-text">$<strong>50</strong></span>
</label>
</li>
<li>
<label class="radiobutton">
<input name="amt2" value="100" type="radio">
<span class="label-text">$<strong>100</strong></span>
</label>
</li>
</ul>
<h3>Radio Strip</h3>
<fieldset class="radio-strip">
<label>
<input name="amt" value="10" checked="" type="radio">
<span class="label-text">$<strong>10</strong></span>
</label>
<label>
<input name="amt" value="25" type="radio">
<span class="label-text">$<strong>25</strong></span>
</label>
<label>
<input name="amt" value="50" type="radio">
<span class="label-text">$<strong>50</strong></span>
</label>
<label>
<input name="amt" value="100" type="radio">
<span class="label-text">$<strong>100</strong></span>
</label>
</fieldset>
</div>
<!-- normally you would concatenate these -->
<script src="libs/shoestring-dev.js"></script>
<script src="initial.js"></script>
<script src="dist/checkboxradio.js"></script>
</body>
</html>