forked from jquery-ui-bootstrap/jquery-ui-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
287 lines (274 loc) · 15.2 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Download jQuery UI Bootstrap</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A preview of the jQuery UI Bootstrap theme.">
<meta name="author" content="Addy Osmani">
<!-- Le styles -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="css/custom-theme/jquery-ui-1.10.1.custom.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!--[if IE 7]>
<link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css">
<![endif]-->
<!--[if lt IE 9]>
<link rel="stylesheet" href="css/custom-theme/jquery.ui.1.10.1.ie.css">
<![endif]-->
<link rel="stylesheet" href="assets/css/docs.css">
<link rel="stylesheet" href="assets/js/google-code-prettify/prettify.css">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="assets/ico/favicon.png">
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar" data-twttr-rendered="true">
<!-- Navbar
================================================== -->
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="http://github.com/addyosmani/jquery-ui-bootstrap">jQuery UI Bootstrap</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active">
<a href="./index.html">Home</a>
</li>
<li>
<a href="./components.html">Components</a>
</li>
<li>
<a href="./extra.html">Extra</a>
</li>
<li>
<a href="./map.html">Map</a>
</li>
<li>
<a href="http://github.com/addyosmani/jquery-ui-bootstrap/issues">Feedback/Issues</a>
</li>
<li>
<a href="http://twitter.com/addyosmani">Contact</a>
</li>
</ul>
<div id="twitter-share" class="pull-right">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://addyosmani.github.com/jquery-ui-bootstrap/" data-text="A new jQuery UI Bootstrap theme" data-via="addyosmani" data-size="large">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>
</div>
</div>
</div>
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
<div class="container">
<h1>jQuery UI Bootstrap</h1>
<p class="lead">A Bootstrap-themed kickstart for jQuery UI widgets (v0.5).</p>
</div>
</header>
<div class="container">
<!-- Docs nav ================================================== -->
<div class="row">
<div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav">
<li><a href="#block-download"><i class="icon-chevron-right"></i> Download</a></li>
<li><a href="#block-documentation"><i class="icon-chevron-right"></i> Getting Started</a></li>
<li><a href="#block-installation"><i class="icon-chevron-right"></i> Installation</a></li>
</ul>
</div>
<div class="span9">
<!-- Download ================================================== -->
<section id="block-download">
<div class="page-header">
<h1>1. Download</h1>
</div>
<div class="row-fluid">
<p class="docs-lead">
Welcome! This is a live preview of jQuery UI Bootstrap - a project we started to bring the beauty of Twitter <a href="http://twitter.github.com/bootstrap/">Bootstrap</a> to jQuery UI widgets.
With this theme, not only do you get the ability to use Bootstrap-themed widgets, but you can now also use (most) of Twitter Bootstrap side-by-wide with it without components breaking visually.
</p>
<p>
<a class="download-btn ui-button-primary" href="https://github.com/addyosmani/jquery-ui-bootstrap/zipball/v0.5pre">Download stable (v0.5)</a>
<a class="download-btn" href="https://github.com/addyosmani/jquery-ui-bootstrap/zipball/master" >Download Latest (dev)</a>
</p>
</div>
<div class="alert alert-info">
<span class="icon-info-sign"></span> This theme's support for more third-party widgets may improve over-time, based on requests and the popularity of the widgets.
</div>
</section>
<section id="block-documentation">
<div class="page-header">
<h1>2. Start with jQuery UI Bootstrap</h1>
</div>
<h2>Compatibility jQuery UI and Twitter Bootstrap</h2>
<p>
In their original forms, jQuery UI and Bootstrap can't coexist resulting in conflicts with both CSS classes and styles as well as JavaScript when you do try to use them. jQuery UI Bootstrap provides the JavaScript and CSS required to quickly start a project using both jQuery UI and Twitter Bootstrap.
</p>
<p>
Our solution offers a custom version of Bootstrap compatible with jQuery UI as well as a Bootstrap-themed jQuery UI theme you can use to prototype your projects.
</p>
<h3>Components</h3>
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>jQuery UI</th>
<th>Twitter Bootstrap</th>
</tr>
</thead>
<tbody>
<tr>
<td>UI Button(button())</td>
<td>Button(button())</td>
</tr>
<tr>
<td>UI Tooltip(tooltip())</td>
<td>Tooltip + popover(tooltip())</td>
</tr>
</tbody>
</table>
<p>
Once the components are identified, we choose what we want to use.
The demonstration with jQuery UI Bootstrap uses all the components of jQuery UI.
</p>
<h3>jQuery UI components</h3>
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>Widget</th>
<th>jQuery UI</th>
<th>Twitter Bootstrap</th>
</tr>
</thead>
<tbody>
<tr>
<td>Button</td>
<td><div class="label label-success"><span class="icon-ok"></span></div></td>
<td><div class="label label-important"><span class="icon-remove"></span></div></td>
</tr>
<tr>
<td>Tooltip</td>
<td><div class="label label-success"><span class="icon-ok"></span></div></td>
<td><div class="label label-important"><span class="icon-remove"></span></div></td>
</tr>
</tbody>
</table>
<div class="alert alert-info">
<span class="icon-lightbulb icon-large"></span> Select custom jQuery UI components (eg exclude tooltip)
</div>
<h3> Twitter Bootstrap components</h3>
<div class="row-fluid">
<ul class="thumbnails">
<li class="span3">
<a href="#"class="thumbnail"><img src="assets/img/bootstrap-jquery-plugins-01.png" alt="bootstrap-jquery-plugins-01" width="295" height="265" class="alignnone size-full wp-image-281" /></a>
</li>
<li class="span3">
<a href="#"class="thumbnail"><img src="assets/img/bootstrap-jquery-plugins-02.png" alt="bootstrap-jquery-plugins-02" width="295" height="265" class="alignnone size-full wp-image-282" /></a>
</li>
<li class="span3">
<a href="#"class="thumbnail"><img src="assets/img/bootstrap-js-components.png" alt="bootstrap-js-components" width="250" height="236" class="alignnone size-full wp-image-274" /></a>
</li>
</ul>
</div>
<p>
With this scheme we fully use the potential of jQuery UI but it could very well exclude jQuery UI tooltip to use tooltip + Bootstrap popover.
</p>
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>Widget</th>
<th>jQuery UI</th>
<th>Twitter Bootstrap</th>
</tr>
</thead>
<tbody>
<tr>
<td>Button</td>
<td><div class="label label-success"><span class="icon-ok"></span></div></td>
<td><div class="label label-important"><span class="icon-remove"></span></div></td>
</tr>
<tr>
<td>Tooltip + popover</td>
<td><div class="label label-important"><span class="icon-remove"></span></div></td>
<td><div class="label label-success"><span class="icon-ok"></span></div></td>
</tr>
</tbody>
</table>
<p>
Selecting which jQuery UI and Bootstrap components and styles we wish to use, we can benefit from the advantages of both projects. jQuery UI Bootstrap also provides Bootstrap theming for a number of third-party jQuery UI widgets such as the Wijmo menu widget and others.
</p>
<p>
Note: if you want to use Font awesome with Twitter Bootstrap, you must exclude the CSS component icons.
</p>
<p>
The Awesome Font documentation indicates this information perfectly.
</p>
</section>
<section id="block-installation">
<div class="page-header">
<h1>3. Installation</h1>
</div>
<ol>
<li>Download the archive</li>
<li>Unzip archive</li>
<li>Locate the folder <b>custom-theme</b> inside the css folder inside the newly uncompressed file</li>
<li>Move that folder inside the <pre>css</pre> directory of the website for which you want to use jquery-ui-bootstrap </li>
<li>Include the appropriate .css files in the layout of your website</li>
</ol>
</section>
</div>
</div>
</div>
<!-- Footer
================================================== -->
<footer class="footer">
<div class="container">
<div class="row">
<div class="span3">
<h3><span class="icon-envelope"></span> Contact</h3>
<ul class="icons">
<li><i class="icon-link"></i> Blog: <a class="targetblank" href="http://addyosmani.com/blog/">Addy Osmani</a></li>
<li><i class="icon-twitter"></i> Twitter: <a class="targetblank" href="https://twitter.com/addyosmani">@addyosmani</a></li>
<li><i class="icon-github"></i> Github: <a class="targetblank" href="https://github.com/addyosmani/jquery-ui-bootstrap/issues?state=open">Issues</a></li>
</ul>
</div>
<div class="span9">
<div class="span4">
<h3><span class="icon-group"></span> Team</h3>
<ul class="unstyled">
<li>Lead Product Developer : <a class="targetblank" href="http://addyosmani.com/blog/" hreflang="en">Addy Osmani</a></li>
<li>Co-maintainer : <a class="targetblank" href="http://blog.aurelien-gerits.be" hreflang="fr">Aurélien Gérits</a></li>
</ul>
</div>
<div class="span4">
<h3><span class="icon-lightbulb"></span> Credits</h3>
<ul class="unstyled">
<li>jQuery UI Bootstrap © <strong class="text-info">Addy Osmani</strong> 2012 - 2013.</li>
<li>Twitter Bootstrap © <strong class="text-info">Twitter</strong> 2012 - 2013</li>
</ul>
</div>
</div>
</div>
</div>
</footer>
<!-- Placed at the end of the document so the pages load faster -->
<script src="assets/js/jquery-1.9.1.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/holder.js"></script>
<script src="assets/js/jquery-ui-1.10.1.custom.min.js"></script>
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script src="assets/js/docs.js"></script>
<script src="assets/js/demo.js"></script>
</body>
</html>