This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.html
277 lines (261 loc) · 16.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bootstrap 3 Basic template</title>
<meta name="description" content="Bootstrap 3 element styles and classes">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/modernizr-3.3.1.js"></script>
<script src="js/respond.min.js"></script><!--this make media query work in IE 8-->
</head>
<body>
<main class="content-wrap" role="main">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs3-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="./">BS3 Basic template</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs3-navbar-collapse">
<ul class="nav navbar-nav">
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">CSS <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="typography.html">Typography</a></li>
<li><a href="code.html">Code</a></li>
<li><a href="tables.html">Tables</a></li>
<li><a href="forms.html">Forms</a></li>
<li><a href="buttons.html">Buttons</a></li>
<li><a href="helpers.html">Helpers</a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Components <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="dropdowns.html">Dropdowns</a></li>
<li><a href="button-groups.html">Button groups</a></li>
<li><a href="button-dropdowns.html">Button dropdowns</a></li>
<li><a href="input-groups.html">Input groups</a></li>
<li><a href="navs.html">Navs</a></li>
<li><a href="navbar.html">Navbar</a></li>
<li><a href="breadcrumb.html">Breadcrumb</a></li>
<li><a href="pagination.html">Pagination</a></li>
<li><a href="label.html">Label</a></li>
<li><a href="badges.html">Badges</a></li>
<li><a href="jumbotron.html">Jumbotron</a></li>
<li><a href="page-header.html">Page header</a></li>
<li><a href="thumbnails.html">Thumbnails</a></li>
<li><a href="alerts.html">Alerts</a></li>
<li><a href="progress-bars.html">Progress bars</a></li>
<li><a href="media-object.html">Media object</a></li>
<li><a href="list-group.html">List group</a></li>
<li><a href="panels.html">Panels</a></li>
<li><a href="wells.html">Wells</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Javascript <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="js-modal.html">Modal</a></li>
<li><a href="js-tooltip.html">Tooltip</a></li>
<li><a href="js-popover.html">Popover</a></li>
<li><a href="js-collapse.html">Collapse</a></li>
<li><a href="js-carousel.html">Carousel</a></li>
</ul>
</li>
<li><a href="credits.html">Credits</a></li>
</ul>
</div><!-- .navbar-collapse -->
</div><!-- .container -->
</nav>
<!--end navbar header-->
<div class="container">
<div class="row row-with-vspace">
<article class="col-xs-12">
<header class="page-header">
<h1>Forms</h1>
</header>
<h2>Basic example</h2>
<div class="example-block">
<form role="form">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">รหัสผ่าน</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="รหัสผ่าน">
</div>
<div class="form-group">
<label for="exampleInputFile">File input</label>
<input type="file" id="exampleInputFile">
<p class="help-block">Example block-level help text here.</p>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Check me out
</label>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>
<h2>Inline form</h2>
<div class="example-block">
<form class="form-inline" role="form">
<div class="form-group">
<label class="sr-only" for="exampleInputEmail2">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Enter email">
</div>
<div class="form-group">
<label class="sr-only" for="exampleInputPassword2">รหัสผ่าน</label>
<input type="password" class="form-control" id="exampleInputPassword2" placeholder="รหัสผ่าน">
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
</label>
</div>
<button type="submit" class="btn btn-default">Sign in</button>
</form>
</div>
<h2>Horizontal form</h2>
<div class="example-block">
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="inputText3" class="col-sm-2 control-label">Text</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputText3" placeholder="Text">
</div>
</div>
<div class="form-group">
<label for="inputPassword3" class="col-sm-2 control-label">รหัสผ่าน</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword3" placeholder="รหัสผ่าน">
</div>
</div>
<div class="form-group">
<label for="inputTextarea" class="col-sm-2 control-label">Message</label>
<div class="col-sm-10">
<textarea name="message" class="form-control" id="inputTextarea" placeholder="Message"></textarea>
</div>
</div>
<div class="form-group">
<label for="inputFile" class="col-sm-2 control-label">File</label>
<div class="col-sm-10">
<input type="file" id="inputFile">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<label class="checkbox-inline">
<input type="checkbox"> ติ๊ก 1
</label>
<label class="checkbox-inline">
<input type="checkbox"> Tick 2
</label>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<label class="radio-inline">
<input type="radio"> ตัวเลือก 1
</label>
<label class="radio-inline">
<input type="radio"> Option 2
</label>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Static control</label>
<div class="col-sm-10">
<p class="form-control-static">email@example.com</p>
</div>
</div>
<div class="form-group">
<label for="inputSelect1" class="col-sm-2 control-label">เลือก</label>
<div class="col-sm-10">
<select class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div>
<div class="form-group">
<label for="inputSelect2" class="col-sm-2 control-label">Select</label>
<div class="col-sm-10">
<select class="form-control" multiple="">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div>
<div class="form-group">
<label for="inputText4" class="col-sm-2 control-label">Disabled</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputText4" placeholder="Disabled" disabled="">
</div>
</div>
<fieldset>
<legend>Input states</legend>
<div class="form-group has-success has-feedback">
<label class="col-sm-2 control-label" for="inputSuccess2">Input with success</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputSuccess2">
<span class="glyphicon glyphicon-ok form-control-feedback"></span>
</div>
</div>
<div class="form-group has-warning has-feedback">
<label class="col-sm-2 control-label" for="inputWarning2">Input with warning</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputWarning2">
<span class="glyphicon glyphicon-warning-sign form-control-feedback"></span>
</div>
</div>
<div class="form-group has-error has-feedback">
<label class="col-sm-2 control-label" for="inputError2">Input with error</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputError2">
<span class="glyphicon glyphicon-remove form-control-feedback"></span>
</div>
</div>
</fieldset>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</form>
</div>
</article>
</div>
</div>
</main>
<footer class="footer-wrap">
<div class="container">
<div class="col-xs-12">
<p class="text-muted">© <a href="https://github.com/Rundiz/bootstrap3-basic-template" target="rundiz_bs3_bt">rundiz - Bootstrap 3 Basic template</a>.</p>
</div>
</div>
</footer>
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>