edb771b069fed1005004f87cc64efc49e7c552dc.svn-base
9.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>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 href="assets/css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="css/custom-theme/jquery-ui-1.10.0.custom.css" rel="stylesheet" />
<link type="text/css" href="assets/css/font-awesome.min.css" rel="stylesheet" />
<!--[if IE 7]>
<link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css">
<![endif]-->
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="css/custom-theme/jquery.ui.1.10.0.ie.css"/>
<![endif]-->
<link href="assets/css/docs.css" rel="stylesheet">
<link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
<!--begin wijmo menu-->
<link href="third-party/wijmo/jquery.wijmo-open.1.5.0.css" rel="stylesheet" type="text/css" />
<!--End wijmo menu-->
<!--begin file input-->
<link href="third-party/jQuery-UI-FileInput/css/enhanced.css" rel="Stylesheet">
<!--End file input-->
<!-- 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>
<a href="./index.html">Home</a>
</li>
<li class="active">
<a href="./extra.html">Extra</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="#wijmo"><i class="icon-chevron-right"></i> Wijmo</a></li>
<li><a href="#file-input"><i class="icon-chevron-right"></i> File input</a></li>
<li><a href="#date-range"><i class="icon-chevron-right"></i> Date Range</a></li>
</ul>
</div>
<div class="span9">
<!-- Wijmo ================================================== -->
<section id="wijmo">
<div class="page-header">
<h1>Wijmo</h1>
</div>
<p>
This is an example of how to retheme one of the Wijmo jQuery UI components to match the Twitter Bootstrap theme. Whilst a menu component will be arriving to jQueryUI soon, you can find the menu in <a href="http://wijmo.com/widgets/wijmo-open/">Wijmo Open</a>.
</p>
<div id="wijmo-container" class="container-fluid">
<ul id="menu1">
<li>
<h3>
<a href="">Project Name</a></h3>
</li>
<li><a href="#">Home</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Dropdown</a>
<ul>
<li><a href="#">Secondary link</a> </li>
<li><a href="#">Something else here</a> </li>
<li></li>
<li><a href="#">Another link</a> </li>
</ul>
</li>
<li>
<input type="text" placeholder="Search">
</li>
</ul>
<!-- End demo markup -->
</div>
<div class="clearfix"></div>
<pre class="prettyprint linenums">
$("#menu1").wijmenu({
trigger: ".wijmo-wijmenu-item",
triggerEvent: "click"
});
</pre>
</section>
<!-- File input -->
<section id="file-input">
<div class="page-header">
<h1>File Input</h1>
</div>
<div class="container-fluid">
<form>
<input type="file" class="span3" name="file" id="file">
</form>
</div>
<pre class="prettyprint linenums">
$('#file').customFileInput({
button_position : 'right'
});
</pre>
</section>
<!-- end file input -->
<!-- File input -->
<section id="date-range">
<div class="page-header">
<h1>Select a Date Range with datepicker</h1>
</div>
<p>
<input type="text" value="01/01/2013" id="rangeBa" />
<input type="text" value="02/06/2013" id="rangeBb" />
</p>
<pre class="prettyprint linenums">
// Select a Date Range with datepicker
$( "#rangeBa" ).datepicker({
defaultDate: "+1w",
changeMonth: true,
numberOfMonths: 3,
onClose: function( selectedDate ) {
$( "#rangeBb" ).datepicker( "option", "minDate", selectedDate );
}
});
$( "#rangeBb" ).datepicker({
defaultDate: "+1w",
changeMonth: true,
numberOfMonths: 3,
onClose: function( selectedDate ) {
$( "#rangeBa" ).datepicker( "option", "maxDate", selectedDate );
}
});
</pre>
</section>
<!-- end file input -->
</div>
</div>
</div>
<!-- Footer
================================================== -->
<footer class="footer">
<div class="container">
<p>
jQuery UI Bootstrap © Addy Osmani 2012 - 2013.
</p>
<p>
Twitter Bootstrap © Twitter 2012 - 2013
</p>
<ul class="footer-links">
<li><a href="http://addyosmani.com/blog/">Blog</a></li>
<li class="muted">·</li>
<li><a href="https://github.com/addyosmani/jquery-ui-bootstrap/issues?state=open">Issues</a></li>
</ul>
</div>
</footer>
<!-- Placed at the end of the document so the pages load faster -->
<script src="assets/js/jquery-1.9.0.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>
<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>
<script src="assets/js/jquery-ui-1.10.0.custom.min.js" type="text/javascript"></script>
<script src="assets/js/google-code-prettify/prettify.js" type="text/javascript"></script>
<script src="assets/js/docs.js" type="text/javascript"></script>
<!-- FileInput -->
<script src="third-party/jQuery-UI-FileInput/js/enhance.min.js" type="text/javascript"></script>
<script src="third-party/jQuery-UI-FileInput/js/fileinput.jquery.js" type="text/javascript"></script>
<!-- End FileInput -->
<!--wijmo-->
<script src="third-party/wijmo/jquery.mousewheel.min.js" type="text/javascript"></script>
<script src="third-party/wijmo/jquery.wijmo-open.1.5.0.min.js" type="text/javascript"></script>
<!--End wijmo-->
<script src="assets/js/demo.js" type="text/javascript"></script>
</body>
</html>