-
Notifications
You must be signed in to change notification settings - Fork 62
/
forms.html
439 lines (337 loc) · 11.9 KB
/
forms.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
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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="">
<title>Helium, a lighter-than-air responsive front end</title>
<link rel="stylesheet" href="css/master.css">
</head>
<body class="fixed-page-nav responsive">
<nav id="page-nav">
<div class="container">
<div id="nav-branding" class="float-left">
<a>Helium</a>
</div>
<button id="nav-toggle" class="button float-right" data-toggle="collapse" data-target="#nav-collapse">Toggle</button>
<div id="nav-collapse" class="collapse">
<ul id="nav-site" class="nav-section float-left">
<li><a href="#">Home</a></li>
<li class="has-dropdown">
<a href="#" data-toggle="dropdown">Products <span class="caret"></span></a>
<ul class="dropdown">
<li class="section-title">Noble Gases</li>
<li><a href="#">Helium</a></li>
<li><a href="#">Neon</a>
<li><a href="#">Argon</a></li>
<li><a href="#">Krypton</a></li>
<li><a href="#">Xenon</a></li>
<li><a href="#">Radon</a></li>
<li class="divider"></li>
<li class="section-title">Molecules</li>
<li><a href="#">Carbon Dioxide</a></li>
<li><a href="#">Sodium Chloride</a></li>
</ul>
</li>
<li><a href="#">How It Works</a></li>
<li><a href="#">About</a></li>
</ul>
<div id="nav-auth" class="nav-section float-right">
<a class="button" href="#">Log in</a>
<a class="button" href="#">Sign up</a>
</div>
</div>
</div><!--end container-->
</nav><!--end page-nav-->
<header id="page-header" class="page-region">
<div class="container">
<hgroup class="module">
<h1>Forms made easy</h1>
</hgroup>
</div><!--end container-->
</header><!--end page-header-->
<div class="page-region">
<div class="container">
<div class="row subregion">
<div class="span6">
<h2>Labels above fields</h2>
<form>
<div class="field-row">
<div class="span5">
<div class="field-group">
<label class="field-label">First name</label>
<div class="fields">
<input type="text" />
</div>
</div>
</div>
<div class="span7">
<div class="field-group">
<label class="field-label">Last name</label>
<div class="fields">
<input type="text" />
</div>
</div>
</div>
</div>
<div class="field-group">
<label class="field-label">Email address</label>
<div class="fields">
<input type="email" placeholder="[email protected]" />
</div>
</div>
<div class="field-row">
<div class="span6">
<div class="field-group">
<label class="field-label">Credit card number</label>
<div class="fields">
<input type="number" />
</div>
</div>
</div>
<div class="span6">
<div class="field-group">
<label class="field-label">Expiration date</label>
<div class="fields">
<div class="select-holder">
<select>
<option>January</option>
<option>February</option>
<option>March</option>
<option>April</option>
<option>May</option>
<option>June</option>
<option>July</option>
<option>August</option>
<option>September</option>
<option>October</option>
<option>Novemeber</option>
<option>December</option>
</select>
<select>
<option>2012</option>
<option>2013</option>
<option>2014</option>
<option>2015</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="field-group">
<label class="field-label">CVC Number</label>
<div class="fields">
<input type="number" />
<div class="field-instructions block">
This is a small 3 digit number on the back of your card.
</div>
</div>
</div>
<div class="field-group">
<label class="field-label">Comments</label>
<div class="fields">
<textarea rows="4"></textarea>
</div>
</div>
<div class="field-group">
<label class="field-label">Reason for contact</label>
<div class="fields">
<ul class="radio-checkbox-list">
<li>
<label><input type="checkbox" name="example-radio">Product inquiry</label>
</li>
<li>
<label><input type="checkbox" name="example-radio">Product inquiry</label>
</li>
<li class="error">
<label><input type="checkbox" name="example-radio">Here’s a really, really long item that goes onto two lines</label>
<div class="error-message">You’ve got some problems, man.</div>
</li>
</ul>
</div>
</div>
<div class="field-group">
<label class="field-label">Another random field <span class="small muted">(optional)</span></label>
<div class="fields">
<input type="text" />
</div>
</div>
<div class="field-group">
<label class="single-checkbox"><input type="checkbox"> I agree to the terms and conditions of using <a href="#">this website</a>, even if it does end up going onto two lines.</label>
</div>
<div class="field-group">
<button class="button" type="submit">Agree and continue</button>
<button class="button" type="submit">Cancel</button>
</div>
</form>
</div>
<div class="span6">
<h2>Labels left of fields</h2>
<form class="labels-left">
<div class="field-group">
<div class="field-row">
<div class="span3">
<label class="field-label">First name</label>
</div>
<div class="span9">
<div class="fields">
<input type="text" />
</div>
</div>
</div>
</div>
<div class="field-group error">
<div class="field-row">
<div class="span3">
<label class="field-label">Last name</label>
</div>
<div class="span9">
<div class="fields">
<input type="text" />
<div class="error-message">You’ve got some problems, man.</div>
</div>
</div>
</div>
</div>
<div class="field-group">
<div class="field-row">
<div class="span3">
<label class="field-label">Date of birth</label>
</div>
<div class="span9">
<div class="fields">
<div class="select-holder">
<select>
<option>Month</option>
</select>
<select>
<option>Day</option>
</select>
<select>
<option>Year</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="field-group">
<div class="field-row">
<div class="span3">
<label class="field-label">Email</label>
</div>
<div class="span9">
<div class="fields">
<input type="text" />
</div>
</div>
</div>
</div>
<div class="field-group">
<div class="field-row">
<div class="span3">
<label class="field-label">Comments</label>
</div>
<div class="span9">
<div class="fields">
<textarea rows="4"></textarea>
</div>
</div>
</div>
</div>
<div class="field-group">
<div class="field-row">
<div class="span3">
<label class="field-label">SSN</label>
</div>
<div class="span9">
<div class="fields multi-field">
<input class="char3" type="number">
<div class="input-inline">-</div>
<input class="char2" type="number">
<div class="input-inline">-</div>
<input class="char4" type="number">
</div>
</div>
</div>
</div>
<div class="field-group">
<div class="field-row">
<div class="span3">
<label class="field-label">Phone</label>
</div>
<div class="span9">
<div class="fields multi-field">
<input class="char3" type="number" pattern="[0-9]*">
<div class="input-inline">-</div>
<input class="char3" type="number" pattern="[0-9]*">
<div class="input-inline">-</div>
<input class="char4" type="number" pattern="[0-9]*">
</div>
</div>
</div>
</div>
<div class="field-group">
<div class="field-row">
<div class="span3">
</div>
<div class="span9">
<label class="single-checkbox"><input type="checkbox"> I agree to the terms and conditions.</label>
</div>
</div>
</div>
<div class="field-group">
<div class="field-row">
<div class="span3">
</div>
<div class="span9">
<button class="button" type="submit">Agree and continue</button>
<button class="button" type="submit">Cancel</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<footer id="page-footer" class="page-region">
<div class="container">
<div class="row">
<div class="span3">
<div class="module">
<h3>Footer Header</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a.</p>
</div><!--end module-->
</div><!--end span3-->
<div class="span3">
<div class="module">
<h3>Footer Header</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a.</p>
</div><!--end module-->
</div><!--end span3-->
<div class="span3">
<div class="module">
<h3>Footer Header</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a.</p>
</div><!--end module-->
</div><!--end span3-->
<div class="span3">
<div class="module">
<h3>Footer Header</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a.</p>
</div><!--end module-->
</div><!--end span3-->
</div>
</div><!--end container-->
</footer><!--end page-footer-->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap-dropdown.js"></script>
</body>
</html>