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
/
Copy pathinput-groups.html
254 lines (234 loc) · 15.2 KB
/
input-groups.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
<!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>Input groups</h1>
</header>
<h2>Basic example</h2>
<div class="example-block">
<div class="input-group row-with-textspace">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
<div class="input-group row-with-textspace">
<input type="text" class="form-control">
<span class="input-group-addon">.00</span>
</div>
<div class="input-group row-with-textspace">
<span class="input-group-addon">$</span>
<input type="text" class="form-control">
<span class="input-group-addon">.00</span>
</div>
</div>
<h2>Sizing</h2>
<div class="example-block">
<div class="input-group input-group-lg row-with-textspace">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
<div class="input-group row-with-textspace">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
<div class="input-group input-group-sm row-with-textspace">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
</div>
<h2>Button addons</h2>
<div class="example-block">
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
<input type="text" class="form-control">
</div>
</div>
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control">
<span class="input-group-btn">
<button class="btn btn-default" type="button">ไป!</button>
</span>
</div>
</div>
</div>
</div>
<h2>Buttons with dropdowns</h2>
<div class="example-block">
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">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>
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">การกระทำ <span class="caret"></span></button>
<ul class="dropdown-menu pull-right">
<li><a href="#">การกระทำ</a></li>
<li><a href="#">การกระทำอื่นๆ</a></li>
<li><a href="#">บางอย่างที่นี่</a></li>
<li class="divider"></li>
<li><a href="#">ลิ้งค์แยก</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<h2>Segmented buttons</h2>
<div class="example-block">
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<div class="input-group-btn">
<button class="btn btn-default" type="button">Action</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul role="menu" 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>
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control">
<div class="input-group-btn">
<button class="btn btn-default" type="button">การกระทำ</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul role="menu" class="dropdown-menu dropdown-menu-right">
<li><a href="#">การกระทำ</a></li>
<li><a href="#">การกระทำอื่นๆ</a></li>
<li><a href="#">อย่างอื่นๆที่นี่</a></li>
<li class="divider"></li>
<li><a href="#">ลิ้งค์แยกต่างหาก</a></li>
</ul>
</div>
</div>
</div>
</div>
</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>