/
forms.html
218 lines (182 loc) · 6.66 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
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[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">
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
More info: h5bp.com/i/378 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<!-- Mobile viewport optimized: h5bp.com/viewport -->
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="../css/kickoff.css">
</head>
<body>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<!-- ============== -->
<!-- === HEADER === -->
<!-- ============== -->
<header id="masthead" role="banner">
</header>
<!-- ==================== -->
<!-- === MAIN CONTENT === -->
<!-- ==================== -->
<div role="main" class="container">
<h1>Forms</h1>
<div class="row">
<div class="span6 col">
<h3>Forms <small>with inline labels</small></h3>
<form action="#" class="well form-horizontal">
<fieldset>
<legend>Your form</legend>
<ul class="control-group">
<li class="control-item">
<label for="name" class="control-label">Name</label>
<div class="control-input">
<input type="text" id="name" placeholder="Zander Martineau" />
</div>
</li>
<li class="control-item">
<label for="email" class="control-label">Email</label>
<div class="control-input">
<input type="email" id="email" placeholder="zmartineau@tmw.co.uk" />
</div>
</li>
<li class="control-item">
<label for="phone" class="control-label">Phone</label>
<div class="control-input">
<input type="number" id="phone" placeholder="020 123 4567" />
</div>
</li>
<li class="control-item">
<label for="comments" class="control-label">Comments</label>
<div class="control-input">
<textarea id="comments" rows="3" cols="50" class="input-xlarge"></textarea>
</div>
</li>
</ul>
</fieldset>
<div class="form-actions text_centre">
<input type="submit" value="Submit" class="btn btn-primary" />
<button type="reset" class="btn btn-inverse">Cancel</button>
</div>
</form>
</div>
<div class="span6 col">
<h3> </h3>
<pre><form action="#" class="well form-horizontal">
<fieldset>
<legend>Your form</legend>
<ul>
<li class="control-group">
<label for="name" class="control-label">Name</label>
<div class="controls">
<input type="text" id="name" placeholder="Zander Martineau" />
</div>
</li>
<li class="control-group">
<label for="email" class="control-label">Email</label>
<div class="controls">
<input type="email" id="email" placeholder="zander@martineau.tv" />
</div>
</li>
<li class="control-group">
<label for="phone" class="control-label">Phone</label>
<div class="controls"><input type="number" id="phone" placeholder="020 123 4567" /></div>
</li>
<li class="control-group">
<label for="comments" class="control-label">Comments</label>
<div class="controls">
<textarea id="comments" rows="3" cols="50"></textarea>
</div>
</li>
</ul>
</fieldset>
<div class="form-actions text_centre">
<input type="submit" value="Submit" class="btn btn-primary" />
<button type="reset" class="btn btn-inverse">Cancel</button>
</div>
</form></pre>
</div>
</div>
<h3>Form <small>with labels above inputs</small></h3>
<div class="row">
<div class="span6 col">
<form action="#" class="well">
<fieldset>
<legend>Your form</legend>
<ul>
<li class="control-group">
<label for="name" class="control-label">Name</label>
<div class="controls">
<input type="text" id="name" placeholder="Zander Martineau" />
</div>
</li>
<li class="control-group">
<label for="email" class="control-label">Email</label>
<div class="controls"><input type="email" id="email" placeholder="zander@martineau.tv" /></div>
</li>
<li class="control-group">
<label for="phone" class="control-label">Phone</label>
<div class="controls"><input type="number" id="phone" placeholder="020 123 4567" /></div>
</li>
<li class="control-group">
<label for="comments" class="control-label">Comments</label>
<div class="controls">
<textarea id="comments" rows="3" cols="50"></textarea>
</div>
</li>
</ul>
</fieldset>
<div class="form-actions text_centre">
<input type="submit" value="Submit" class="btn btn-primary" />
<button type="reset" class="btn btn-inverse">Cancel</button>
</div>
</form>
</div>
<div class="span6 col">
</div>
</div>
<h3>Inline Form</h3>
<div class="row">
<div class="span6 col">
<form class="well form-inline">
<input type="text" class="input-medium" placeholder="Email">
<input type="password" class="input-medium" placeholder="Password">
<label class="checkbox">
<input type="checkbox"> Remember me
</label>
<button type="submit" class="btn">Sign in</button>
</form>
</div>
<div class="span6 col">
</div>
</div>
<h3>Search Form</h3>
<div class="row">
<div class="span6 col">
<form class="well form-search">
<input type="text" class="input-medium search-query">
<button type="submit" class="btn">Search</button>
</form>
</div>
<div class="span6 col">
</div>
</div>
</div>
<!-- ============== -->
<!-- === FOOTER === -->
<!-- ============== -->
<footer id="footer" role="contentinfo">
</footer>
<!--[if lt IE 8]>
<script src="https://raw.github.com/scottjehl/Respond/master/respond.min.js"></script>
<![endif]-->
</body>
</html>