-
Notifications
You must be signed in to change notification settings - Fork 0
/
form_basic.html
535 lines (476 loc) · 33 KB
/
form_basic.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
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
<link href="css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-7">
<div class="ibox ">
<div class="ibox-title">
<h5>Basic form <small>Simple login form example</small></h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#" class="dropdown-item">Config option 1</a>
</li>
<li><a href="#" class="dropdown-item">Config option 2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-6 b-r"><h3 class="m-t-none m-b">Sign in</h3>
<p>Sign in today for more expirience.</p>
<form role="form">
<div class="form-group"><label>Email</label> <input type="email" placeholder="Enter email" class="form-control"></div>
<div class="form-group"><label>Password</label> <input type="password" placeholder="Password" class="form-control"></div>
<div>
<button class="btn btn-sm btn-primary float-right m-t-n-xs" type="submit"><strong>Log in</strong></button>
<label> <input type="checkbox" class="i-checks"> Remember me </label>
</div>
</form>
</div>
<div class="col-sm-6"><h4>Not a member?</h4>
<p>You can create an account:</p>
<p class="text-center">
<a href=""><i class="fa fa-sign-in big-icon"></i></a>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-5">
<div class="ibox ">
<div class="ibox-title">
<h5>Horizontal form</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#" class="dropdown-item">Config option 1</a>
</li>
<li><a href="#" class="dropdown-item">Config option 2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<form>
<p>Sign in today for more expirience.</p>
<div class="form-group row"><label class="col-lg-2 col-form-label">Email</label>
<div class="col-lg-10"><input type="email" placeholder="Email" class="form-control"> <span class="form-text m-b-none">Example block-level help text here.</span>
</div>
</div>
<div class="form-group row"><label class="col-lg-2 col-form-label">Password</label>
<div class="col-lg-10"><input type="password" placeholder="Password" class="form-control"></div>
</div>
<div class="form-group row">
<div class="col-lg-offset-2 col-lg-10">
<div class="i-checks"><label> <input type="checkbox"><i></i> Remember me </label></div>
</div>
</div>
<div class="form-group row">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-sm btn-white" type="submit">Sign in</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-8">
<div class="ibox ">
<div class="ibox-title">
<h5>Inline form</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#" class="dropdown-item">Config option 1</a>
</li>
<li><a href="#" class="dropdown-item">Config option 2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<form role="form" class="form-inline">
<div class="form-group">
<label for="exampleInputEmail2" class="sr-only">Email address</label>
<input type="email" placeholder="Enter email" id="exampleInputEmail2"
class="form-control">
</div>
<div class="form-group">
<label for="exampleInputPassword2" class="sr-only">Password</label>
<input type="password" placeholder="Password" id="exampleInputPassword2"
class="form-control">
</div>
<div class="checkbox m-r-xs">
<input type="checkbox" id="checkbox1">
<label for="checkbox1">
Remember me
</label>
</div>
<button class="btn btn-white" type="submit">Sign in</button>
</form>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="ibox ">
<div class="ibox-title">
<h5>Modal form <small>Example of login in modal box</small></h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#" class="dropdown-item">Config option 1</a>
</li>
<li><a href="#" class="dropdown-item">Config option 2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<div class="text-center">
<a data-toggle="modal" class="btn btn-primary" href="#modal-form">Form in simple modal box</a>
</div>
<div id="modal-form" class="modal fade" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<div class="row">
<div class="col-sm-6 b-r"><h3 class="m-t-none m-b">Sign in</h3>
<p>Sign in today for more expirience.</p>
<form role="form">
<div class="form-group"><label>Email</label> <input type="email" placeholder="Enter email" class="form-control"></div>
<div class="form-group"><label>Password</label> <input type="password" placeholder="Password" class="form-control"></div>
<div>
<button class="btn btn-sm btn-primary float-right m-t-n-xs" type="submit"><strong>Log in</strong></button>
<label> <input type="checkbox" class="i-checks"> Remember me </label>
</div>
</form>
</div>
<div class="col-sm-6"><h4>Not a member?</h4>
<p>You can create an account:</p>
<p class="text-center">
<a href=""><i class="fa fa-sign-in big-icon"></i></a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5>All form elements <small>With custom checbox and radion elements.</small></h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#" class="dropdown-item">Config option 1</a>
</li>
<li><a href="#" class="dropdown-item">Config option 2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<form method="get">
<div class="form-group row"><label class="col-sm-2 col-form-label">Normal</label>
<div class="col-sm-10"><input type="text" class="form-control"></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Help text</label>
<div class="col-sm-10"><input type="text" class="form-control"> <span class="form-text m-b-none">A block of help text that breaks onto a new line and may extend beyond one line.</span>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Password</label>
<div class="col-sm-10"><input type="password" class="form-control" name="password"></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Placeholder</label>
<div class="col-sm-10"><input type="text" placeholder="placeholder" class="form-control"></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-lg-2 col-form-label">Disabled</label>
<div class="col-lg-10"><input type="text" disabled="" placeholder="Disabled input here..." class="form-control"></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-lg-2 col-form-label">Static control</label>
<div class="col-lg-10"><p class="form-control-static">[email protected]</p></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Checkboxes and radios <br/>
<small class="text-navy">Normal Bootstrap elements</small></label>
<div class="col-sm-10">
<div><label> <input type="checkbox" value=""> Option one is this and that—be sure to include why it's great </label></div>
<div><label> <input type="radio" checked="" value="option1" id="optionsRadios1" name="optionsRadios"> Option one is this and that—be sure to
include why it's great </label></div>
<div><label> <input type="radio" value="option2" id="optionsRadios2" name="optionsRadios"> Option two can be something else and selecting it will
deselect option one </label></div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Inline checkboxes</label>
<div class="col-sm-10"><label> <input type="checkbox" value="option1" id="inlineCheckbox1"> a </label> <label class="checkbox-inline">
<input type="checkbox" value="option2" id="inlineCheckbox2"> b </label> <label>
<input type="checkbox" value="option3" id="inlineCheckbox3"> c </label></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Checkboxes & radios <br/><small class="text-navy">Custom elements</small></label>
<div class="col-sm-10">
<div class="i-checks"><label> <input type="checkbox" value=""> <i></i> Option one </label></div>
<div class="i-checks"><label> <input type="checkbox" value="" checked=""> <i></i> Option two checked </label></div>
<div class="i-checks"><label> <input type="checkbox" value="" disabled="" checked=""> <i></i> Option three checked and disabled </label></div>
<div class="i-checks"><label> <input type="checkbox" value="" disabled=""> <i></i> Option four disabled </label></div>
<div class="i-checks"><label> <input type="radio" value="option1" name="a"> <i></i> Option one </label></div>
<div class="i-checks"><label> <input type="radio" checked="" value="option2" name="a"> <i></i> Option two checked </label></div>
<div class="i-checks"><label> <input type="radio" disabled="" checked="" value="option2"> <i></i> Option three checked and disabled </label></div>
<div class="i-checks"><label> <input type="radio" disabled="" name="a"> <i></i> Option four disabled </label></div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Inline checkboxes</label>
<div class="col-sm-10"><label class="checkbox-inline i-checks"> <input type="checkbox" value="option1">a </label>
<label class="i-checks"> <input type="checkbox" value="option2"> b </label>
<label class="i-checks"> <input type="checkbox" value="option3"> c </label></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Select</label>
<div class="col-sm-10"><select class="form-control m-b" name="account">
<option>option 1</option>
<option>option 2</option>
<option>option 3</option>
<option>option 4</option>
</select>
<div class="col-lg-4 m-l-n"><select class="form-control" multiple="">
<option>option 1</option>
<option>option 2</option>
<option>option 3</option>
<option>option 4</option>
</select></div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row has-success"><label class="col-sm-2 col-form-label">Input with success</label>
<div class="col-sm-10"><input type="text" class="form-control"></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row has-warning"><label class="col-sm-2 col-form-label">Input with warning</label>
<div class="col-sm-10"><input type="text" class="form-control"></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row has-error"><label class="col-sm-2 col-form-label">Input with error</label>
<div class="col-sm-10"><input type="text" class="form-control"></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Control sizing</label>
<div class="col-sm-10"><input type="text" placeholder=".form-control-lg" class="form-control form-control-lg m-b">
<input type="text" placeholder="Default input" class="form-control m-b"> <input type="text" placeholder=".form-control-sm" class="form-control form-control-sm">
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Column sizing</label>
<div class="col-sm-10">
<div class="row">
<div class="col-md-2"><input type="text" placeholder=".col-md-2" class="form-control"></div>
<div class="col-md-3"><input type="text" placeholder=".col-md-3" class="form-control"></div>
<div class="col-md-4"><input type="text" placeholder=".col-md-4" class="form-control"></div>
</div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Input groups</label>
<div class="col-sm-10">
<div class="input-group m-b">
<div class="input-group-prepend">
<span class="input-group-addon">@</span>
</div>
<input type="text" placeholder="Username" class="form-control">
</div>
<div class="input-group m-b">
<input type="text" class="form-control">
<div class="input-group-append">
<span class="input-group-addon">.00</span>
</div>
</div>
<div class="input-group m-b">
<div class="input-group-prepend">
<span class="input-group-addon">$</span>
</div>
<input type="text" class="form-control">
<div class="input-group-append">
<span class="input-group-addon">.00</span>
</div>
</div>
<div class="input-group m-b">
<div class="input-group-prepend">
<span class="input-group-addon">
<input type="checkbox">
</span>
</div>
<input type="text" class="form-control">
</div>
<div class="input-group m-b">
<div class="input-group-prepend">
<span class="input-group-addon">
<input type="radio">
</span>
</div>
<input type="text" class="form-control">
</div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Button addons</label>
<div class="col-sm-10">
<div class="input-group m-b"><span class="input-group-prepend">
<button type="button" class="btn btn-primary">Go!</button> </span> <input type="text" class="form-control">
</div>
<div class="input-group"><input type="text" class="form-control"> <span class="input-group-append"> <button type="button" class="btn btn-primary">Go!
</button> </span></div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">With dropdowns</label>
<div class="col-sm-10">
<div class="input-group m-b">
<div class="input-group-prepend">
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">Action </button>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="dropdown-divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
<input type="text" class="form-control"></div>
<div class="input-group"><input type="text" class="form-control">
<div class="input-group-append">
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">Action </button>
<ul class="dropdown-menu float-right">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="dropdown-divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row"><label class="col-sm-2 col-form-label">Segmented</label>
<div class="col-sm-10">
<div class="input-group m-b">
<div class="input-group-prepend">
<button tabindex="-1" class="btn btn-white" type="button">Action</button>
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button"></button>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="dropdown-divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
<input type="text" class="form-control"></div>
<div class="input-group"><input type="text" class="form-control">
<div class="input-group-append">
<button tabindex="-1" class="btn btn-white" type="button">Action</button>
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button"></button>
<ul class="dropdown-menu float-right">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="dropdown-divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group row">
<div class="col-sm-4 col-sm-offset-2">
<button class="btn btn-white btn-sm" type="submit">Cancel</button>
<button class="btn btn-primary btn-sm" type="submit">Save changes</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="float-right">
10GB of <strong>250GB</strong> Free.
</div>
<div>
<strong>Copyright</strong> Example Company © 2014-2018
</div>
</div>
</div>
</div>
<!-- Mainly scripts -->
<!-- Custom and plugin javascript -->
<script src="js/common.js"></script>
<!-- iCheck -->
<script src="js/plugins/iCheck/icheck.min.js"></script>
<script>
$(document).ready(function () {
$('.i-checks').iCheck({
checkboxClass: 'icheckbox_square-green',
radioClass: 'iradio_square-green',
});
});
</script>