-
Notifications
You must be signed in to change notification settings - Fork 3
/
form_basic.html
executable file
·425 lines (391 loc) · 24.6 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
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-10">
<h2>Basic Form</h2>
<ol class="breadcrumb">
<li>
<a href="index.html">Home</a>
</li>
<li>
<a>Forms</a>
</li>
<li class="active">
<strong>Basic Form</strong>
</li>
</ol>
</div>
<div class="col-lg-2">
</div>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-7">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>Basic form
<small>Simple login form example</small>
</h5>
<div ibox-tools></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 pull-right m-t-n-xs" type="submit"><strong>Log
in</strong></button>
<label> <input icheck type="checkbox" ng-model="main.unCheck"> 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 float-e-margins">
<div class="ibox-title">
<h5>Horizontal form</h5>
<div ibox-tools></div>
</div>
<div class="ibox-content">
<form class="form-horizontal">
<p>Sign in today for more expirience.</p>
<div class="form-group"><label class="col-lg-2 control-label">Email</label>
<div class="col-lg-10"><input type="email" placeholder="Email" class="form-control"> <span
class="help-block m-b-none">Example block-level help text here.</span>
</div>
</div>
<div class="form-group"><label class="col-lg-2 control-label">Password</label>
<div class="col-lg-10"><input type="password" placeholder="Password" class="form-control">
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<input icheck type="checkbox" ng-model="main.checkOne"><i></i> Remember me
</div>
</div>
<div class="form-group">
<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 float-e-margins">
<div class="ibox-title">
<h5>Inline form</h5>
<div ibox-tools></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 float-e-margins">
<div class="ibox-title">
<h5>Modal form
<small>Example of login in modal box</small>
</h5>
<div ibox-tools></div>
</div>
<div class="ibox-content" ng-controller="modalDemoCtrl">
<div class="text-center">
<button class="btn btn-primary" ng-click="open()">Form in simple modal box</button>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>All form elements
<small>With custom checbox and radion elements.</small>
</h5>
<div ibox-tools></div>
</div>
<div class="ibox-content">
<form method="get" class="form-horizontal">
<div class="form-group"><label class="col-sm-2 control-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"><label class="col-sm-2 control-label">Help text</label>
<div class="col-sm-10"><input type="text" class="form-control"> <span
class="help-block 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"><label class="col-sm-2 control-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"><label class="col-sm-2 control-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"><label class="col-lg-2 control-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"><label class="col-lg-2 control-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"><label class="col-sm-2 control-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"><label class="col-sm-2 control-label">Inline checkboxes</label>
<div class="col-sm-10">
<label class="checkbox-inline">
<input type="checkbox" value="option1" id="inlineCheckbox1"> a </label>
<label class="checkbox-inline">
<input type="checkbox" value="option2" id="inlineCheckbox2"> b </label>
<label class="checkbox-inline">
<input type="checkbox" value="option3" id="inlineCheckbox3"> c </label>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-label">Checkboxes & radios <br/>
<small class="text-navy">Custom elements</small>
</label>
<div class="col-sm-10">
<div><label> <input icheck type="checkbox" ng-model="main.check2">
Option one </label></div>
<div><label> <input icheck type="checkbox" ng-model="main.checkThree">
Option two checked </label></div>
<div><label> <input icheck type="checkbox" ng-model="main.checkTwo"
disabled> Option three checked and disabled
</label></div>
<div><label> <input icheck type="checkbox" ng-model="main.check4"
disabled> Option four disabled </label></div>
<div><label> <input icheck type="radio" name="radioTest"
ng-model="main.checkFour"> Option one </label></div>
<div><label> <input icheck type="radio" name="radioTest"
ng-model="main.check8"> Option two checked </label>
</div>
<div><label> <input icheck type="radio" name="radioTestNext"
ng-model="main.check8" disabled> Option four disabled
</label></div>
<div><label> <input icheck type="radio" name="radioTestNext"
ng-model="main.check9" disabled> Option three checked
and disabled</label></div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-label">Inline checkboxes</label>
<div class="col-sm-10">
<label class="checkbox-inline"> <input icheck type="checkbox" ng-model="main.unCheck"> a
</label>
<label class="checkbox-inline"> <input icheck type="checkbox" ng-model="main.unCheck"> b
</label>
<label class="checkbox-inline"> <input icheck type="checkbox" ng-model="main.unCheck"> c
</label></div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-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 has-success"><label class="col-sm-2 control-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 has-warning"><label class="col-sm-2 control-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 has-error"><label class="col-sm-2 control-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"><label class="col-sm-2 control-label">Control sizing</label>
<div class="col-sm-10"><input type="text" placeholder=".input-lg"
class="form-control input-lg m-b">
<input type="text" placeholder="Default input" class="form-control m-b"> <input
type="text" placeholder=".input-sm" class="form-control input-sm">
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-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"><label class="col-sm-2 control-label">Input groups</label>
<div class="col-sm-10">
<div class="input-group m-b"><span class="input-group-addon">@</span> <input type="text"
placeholder="Username"
class="form-control">
</div>
<div class="input-group m-b"><input type="text" class="form-control"> <span
class="input-group-addon">.00</span></div>
<div class="input-group m-b"><span class="input-group-addon">$</span> <input type="text"
class="form-control">
<span class="input-group-addon">.00</span></div>
<div class="input-group m-b"><span class="input-group-addon"> <input
type="checkbox"> </span> <input type="text" class="form-control"></div>
<div class="input-group"><span class="input-group-addon"> <input type="radio"> </span>
<input type="text" class="form-control"></div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-label">Button addons</label>
<div class="col-sm-10">
<div class="input-group m-b"><span class="input-group-btn">
<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-btn"> <button type="button" class="btn btn-primary">Go!
</button> </span></div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-label">With dropdowns</label>
<div class="col-sm-10">
<div class="input-group m-b">
<div class="input-group-btn" dropdown>
<button class="btn btn-white dropdown-toggle" dropdown-toggle type="button">
Action <span class="caret"></span></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="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-btn" dropdown>
<button class="btn btn-white dropdown-toggle" dropdown-toggle type="button">
Action <span class="caret"></span></button>
<ul class="dropdown-menu pull-right">
<li><a href="">Action</a></li>
<li><a href="">Another action</a></li>
<li><a href="">Something else here</a></li>
<li class="divider"></li>
<li><a href="">Separated link</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-label">Segmented</label>
<div class="col-sm-10">
<div class="input-group m-b">
<div class="input-group-btn" dropdown>
<button tabindex="-1" class="btn btn-white" type="button">Action</button>
<button class="btn btn-white dropdown-toggle" dropdown-toggle type="button">
<span class="caret"></span></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="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-btn" dropdown>
<button tabindex="-1" class="btn btn-white" type="button">Action</button>
<button class="btn btn-white dropdown-toggle" dropdown-toggle type="button">
<span class="caret"></span></button>
<ul class="dropdown-menu pull-right">
<li><a href="">Action</a></li>
<li><a href="">Another action</a></li>
<li><a href="">Something else here</a></li>
<li class="divider"></li>
<li><a href="">Separated link</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<div class="col-sm-4 col-sm-offset-2">
<button class="btn btn-white" type="submit">Cancel</button>
<button class="btn btn-primary" type="submit">Save changes</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>