forked from olton/Metro-UI-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.php
390 lines (346 loc) · 17.7 KB
/
forms.php
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
<?php include("header.php")?>
<div class="page secondary">
<div class="page-header">
<div class="page-header-content">
<h1>Forms<small>demo</small></h1>
<a href="/" class="back-button big page-back"></a>
</div>
</div>
<div class="page-region">
<div class="page-region-content">
<div class="grid">
<div class="row">
<div class="span3">
<h2>Check box</h2>
<form>
<label class="input-control checkbox" onclick="">
<input type="checkbox" checked value="1"/>
<span class="helper">Checked box</span>
</label>
<label class="input-control checkbox" onclick="">
<input type="checkbox" />
<span class="helper">Unchecked</span>
</label>
<label class="input-control checkbox">
<input type="checkbox" disabled=""/>
<span class="helper">Disabled Unchecked</span>
</label>
<label class="input-control checkbox">
<input type="checkbox" disabled="" checked=""/>
<span class="helper">Disabled Checked</span>
</label>
<label class="input-control checkbox intermediate" onclick="">
<input type="checkbox"/>
<span class="helper">Intermediate</span>
</label>
</form>
</div>
<div class="span3">
<h2>Radio box</h2>
<form>
<label class="input-control radio" onclick="">
<input type="radio" name="r1" checked=""/>
<span class="helper">Checked radio</span>
</label>
<label class="input-control radio" onclick="">
<input type="radio" name="r1" />
<span class="helper">Checked radio</span>
</label>
<label class="input-control radio" onclick="">
<input type="radio" name="r1" disabled/>
<span class="helper">Checked radio</span>
</label>
<label class="input-control radio" onclick="">
<input type="radio" name="r2" disabled="" checked=""/>
<span class="helper">Disabled Checked</span>
</label>
</form>
</div>
<div class="span3">
<h2>Switch Control</h2>
<form>
<label class="input-control switch" onclick="">
<input type="checkbox" checked=""/>
<span class="helper">Switch is On</span>
</label>
<label class="input-control switch" onclick="">
<input type="checkbox" />
<span class="helper">Switch is Off</span>
</label>
<label class="input-control switch" onclick="">
<input type="checkbox" disabled=""/>
<span class="helper">Off and Disabled</span>
</label>
<label class="input-control switch" onclick="">
<input type="checkbox" disabled="" checked=""/>
<span class="helper">On and Disabled</span>
</label>
</form>
</div>
</div>
<div class="row">
<div class="span10">
<pre class="prettyprint linenums">
<label class="input-control checkbox">
<input type="checkbox">
<span class="helper">CheckBox Caption</span>
</label>
<label class="input-control radio">
<input type="radio">
<span class="helper">CheckBox Caption</span>
</label>
<label class="input-control switch">
<input type="checkbox">
<span class="helper">CheckBox Caption</span>
</label>
</pre>
</div>
</div>
<div class="row">
<div class="span10">
<h2>Buttons</h2>
<form>
<input type="button" value="Button">
<input type="submit" value="Submit">
<input type="reset" value="Reset">
<input type="button" value="Button" disabled="">
</form>
<pre class="prettyprint linenums">
<input type="button" value="Button"/>
<input type="submit" value="Submit"/>
<input type="reset" value="Reset"/>
<input type="button" disabled value="Button"/>
</pre>
</div>
</div>
<div class="row">
<div class="span5">
<h2>Text box</h2>
<form>
<div class="input-control text">
<input type="text" autofocus/>
<button class="btn-clear" />
</div>
<div class="input-control text">
<input type="text" placeholder="Enter sample text"/>
<button class="btn-clear" />
</div>
<div class="input-control text disabled">
<input type="text" disabled="" value="disabled input"/>
<button class="btn-clear" />
</div>
<div class="input-control text disabled">
<input type="text" value="this input without helper"/>
</div>
</form>
<pre class="prettyprint linenums">
<div class="input-control text">
<input type="text" />
<button class="btn-clear"></button>
</div>
</pre>
</div>
<div class="span5">
<h2>Password box</h2>
<form>
<div class="input-control password">
<input type="password" />
<button class="btn-reveal"></button>
</div>
<div class="input-control password">
<input type="password" placeholder="Enter password" />
<button class="btn-reveal"></button>
</div>
<div class="input-control password">
<input type="password" disabled="" />
<button class="btn-reveal"></button>
</div>
<div class="input-control password">
<input type="password" />
</div>
</form>
<pre class="prettyprint linenums">
<div class="input-control password">
<input type="password" />
<button class="btn-reveal"></button>
</div>
</pre>
</div>
</div>
<div class="row">
<div class="span10">
<form>
<div class="input-control text">
<input type="text" placeholder="Enter search phrase..." />
<button class="btn-search"></button>
</div>
</form>
<pre class="prettyprint linenums">
<div class="input-control text">
<input type="text" />
<button class="btn-search"></button>
</div>
</pre>
<div class="input-control text">
<input type="phone" placeholder="Enter phone" required="required"/>
<button class="btn-clear"></button>
</div>
<pre class="prettyprint linenums">
<div class="input-control text">
<input type="phone" />
<button class="btn-clear"></button>
</div>
</pre>
<div class="input-control text">
<input type="email" placeholder="Enter email" required="required" />
<button class="btn-clear"></button>
</div>
<pre class="prettyprint linenums">
<div class="input-control text">
<input type="email" />
<button class="btn-clear"></button>
</div>
</pre>
<div class="input-control text">
<input type="url" placeholder="Enter url" required="required"/>
<button class="btn-clear"></button>
</div>
<pre class="prettyprint linenums">
<div class="input-control text">
<input type="url" />
<button class="btn-clear"></button>
</div>
</pre>
</div>
</div>
<div class="row">
<div class="span10">
<h2>Select</h2>
<form>
<div class="input-control select">
<select>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
<option value="5">Option 5</option>
</select>
</div>
<pre class="prettyprint linenums">
<div class="input-control select">
<select>
<option>...</option>
</select>
</div>
</pre>
<div class="input-control select">
<select multiple="6">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
<option value="5">Option 5</option>
</select>
</div>
<pre class="prettyprint linenums">
<div class="input-control select">
<select multiple="">
<option>...</option>
</select>
</div>
</pre>
<h2>Textarea</h2>
<div class="input-control textarea">
<textarea placeholder="Input text here..."></textarea>
</div>
<pre class="prettyprint linenums">
<div class="input-control textarea">
<textarea></textarea>
</div>
</pre>
</form>
</div>
</div>
<div class="row">
<div class="span10">
<h2>Fieldset</h2>
<form>
<fieldset>
<legend>Legend</legend>
<p class="tertiary-info-secondary-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
</fieldset>
</form>
<br />
<pre class="prettyprint linenums">
<fieldset>
<legend>...</legend>
...
</fieldset>
</pre>
</div>
</div>
<div class="row">
<div class="span10">
<h2>Input with spanN class</h2>
<pre class="prettyprint linenums">
<div class="input-control text spanN">
<input type="text" class="with-helper" />
<button class="helper"></button>
</div>
</pre>
<form>
<div class="input-control text span1 as-block">
<input type="text" class="with-helper" placeholder="s1"/>
<button class="helper"></button>
</div>
<div class="input-control text span2 as-block">
<input type="text" class="with-helper" placeholder="span2"/>
<button class="helper"></button>
</div>
<div class="input-control text span3 as-block">
<input type="text" class="with-helper" placeholder="span3"/>
<button class="helper"></button>
</div>
<div class="input-control text span4 as-block">
<input type="text" class="with-helper" placeholder="span4"/>
<button class="helper"></button>
</div>
<div class="input-control text span5 as-block">
<input type="text" class="with-helper" placeholder="span5"/>
<button class="helper"></button>
</div>
<div class="input-control text span6 as-block">
<input type="text" class="with-helper" placeholder="span6"/>
<button class="helper"></button>
</div>
<div class="input-control text span7 as-block">
<input type="text" class="with-helper" placeholder="span7"/>
<button class="helper"></button>
</div>
<div class="input-control text span8 as-block">
<input type="text" class="with-helper" placeholder="span8"/>
<button class="helper"></button>
</div>
<div class="input-control text span9 as-block">
<input type="text" class="with-helper" placeholder="span9"/>
<button class="helper"></button>
</div>
<div class="input-control text span10 as-block">
<input type="text" class="with-helper" placeholder="span10"/>
<button class="helper"></button>
</div>
</form>
</div>
</div>
</div>
<div class="grid">
<div class="row">
<?php include("adsense.php")?>
</div>
</div>
</div>
</div>
</div>
<?php include("footer.php")?>