Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

final procedural project

ER authored on 13/04/2012 10:17:34
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,798 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+  <head>
4
+    <meta charset="utf-8">
5
+    <title>Fbootstrapp by Clemens Krack, based on Bootstrap, from Twitter</title>
6
+    <meta name="description" content="">
7
+    <meta name="author" content="">
8
+
9
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
+    <!--[if lt IE 9]>
11
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
+    <![endif]-->
13
+
14
+    <!-- Le javascript -->
15
+    <script src="http://code.jquery.com/jquery-1.7.min.js"></script>
16
+    <script src="/js/assets/prettify.js"></script>
17
+    <script>$(function () { prettyPrint() })</script>
18
+    <script src="/js/bootstrap-modal.js"></script>
19
+    <script src="/js/bootstrap-alerts.js"></script>
20
+    <script src="/js/bootstrap-twipsy.js"></script>
21
+    <script src="/js/bootstrap-popover.js"></script>
22
+    <script src="/js/bootstrap-dropdown.js"></script>
23
+    <script src="/js/bootstrap-scrollspy.js"></script>
24
+    <script src="/js/bootstrap-tabs.js"></script>
25
+    <script src="/js/bootstrap-buttons.js"></script>
26
+
27
+    <!-- Le styles -->
28
+    <link rel="stylesheet" href="/css/bootstrap.css">
29
+    <link href="/css/docs.css" rel="stylesheet">
30
+    <link href="/js/assets/prettify.css" rel="stylesheet">
31
+
32
+    <!-- Le fav icon -->
33
+    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
34
+
35
+    </head>
36
+
37
+  <body id="bootstrap-js">
38
+
39
+    <!-- Topbar
40
+    ================================================== -->
41
+    <div class="topbar" data-scrollspy="scrollspy" >
42
+      <div class="fill">
43
+        <div class="container canvas">
44
+          <h3><a href="#">Bootstrap JS</a></h3>
45
+          <ul>
46
+            <li><a href="#overview">Overview</a></li>
47
+            <li><a href="#modal">Modals</a></li>
48
+            <li><a href="#dropdown">Dropdown</a></li>
49
+            <li><a href="#scrollspy">ScrollSpy</a></li>
50
+            <li><a href="#buttons">Buttons</a></li>
51
+            <li><a href="#tabs">Tabs</a></li>
52
+            <li><a href="#twipsy">Twipsy</a></li>
53
+            <li><a href="#popover">Popover</a></li>
54
+            <li><a href="#alerts">Alerts</a></li>
55
+          </ul>
56
+        </div>
57
+      </div>
58
+    </div>
59
+
60
+    <!-- Masthead (blueprinty thing)
61
+    ================================================== -->
62
+    <header class="jumbotron subhead" id="overview">
63
+      <div class="inner">
64
+        <div class="container canvas">
65
+          <h1>Javascript for Bootstrap</h1>
66
+          <p class="lead">
67
+            Bring Bootstrap's components to life with new, custom plugins that work with <a href="http://jquery.com/" target="_blank">jQuery</a> and <a href="http://ender.no.de" target="_blank">Ender</a>.
68
+          </p>
69
+          <p><a href="./index.html">&larr; Back to Bootstrap home</a></p>
70
+        </div><!-- /container -->
71
+      </div>
72
+    </header>
73
+
74
+    <div class="container canvas">
75
+
76
+    <!-- Modal
77
+    ================================================== -->
78
+
79
+    <section id="modal">
80
+      <div class="page-header">
81
+        <h1>Modals <small>bootstrap-modal.js</small></h1>
82
+      </div>
83
+      <div class="row">
84
+        <div class="span4 columns">
85
+          <p>Our Modal plugin is a super slim take on the traditional modal js plugin, taking special care to include only the bare functionality that we require here at twitter.</p>
86
+          <a href="js/bootstrap-modal.js" target="_blank" class="btn primary">Download</a>
87
+        </div>
88
+        <div class="span12 columns">
89
+          <h3>Using bootstrap-modal</h3>
90
+          <pre class="prettyprint linenums">$('#my-modal').modal(options)</pre>
91
+          <h3>Options</h3>
92
+          <table class="zebra-striped">
93
+            <thead>
94
+             <tr>
95
+               <th style="width: 100px;">Name</th>
96
+               <th style="width: 50px;">type</th>
97
+               <th style="width: 50px;">default</th>
98
+               <th>description</th>
99
+             </tr>
100
+            </thead>
101
+            <tbody>
102
+             <tr>
103
+               <td>backdrop</td>
104
+               <td>boolean, string</td>
105
+               <td>false</td>
106
+               <td>Includes a modal-backdrop element. Set backdrop to <code>"static"</code> if you do not want the modal closed when the backdrop is clicked.</td>
107
+             </tr>
108
+             <tr>
109
+               <td>keyboard</td>
110
+               <td>boolean</td>
111
+               <td>false</td>
112
+               <td>Closes the modal when escape key is pressed</td>
113
+             </tr>
114
+             <tr>
115
+               <td>show</td>
116
+               <td>boolean</td>
117
+               <td>false</td>
118
+               <td>Opens modal on class initialization</td>
119
+             </tr>
120
+            </tbody>
121
+          </table>
122
+          <h3>Markup</h3>
123
+          <p>You can activate modals on your page easily without having to write a single line of javascript. Just give an element a <code>data-controls-modal</code> attribute which corresponds to a modal element id, and when clicked, it will launch your modal. To add modal options, just include them as data attributes as well.</p>
124
+<pre class="prettyprint linenums">
125
+&lt;a class="btn" data-controls-modal="my-modal" data-backdrop="static" &gt;Launch Modal&lt;/a&gt;
126
+</pre>
127
+          <p><span class="label notice">Notice</span> If you want your modal to animate in and out, just add a <code>.fade</code> class to your <code>.modal</code> element (refer to the demo to see this in action).</p>
128
+          <h3>Methods</h3>
129
+          <h4>.modal(options)</h4>
130
+          <p>Activates your content as a modal. Accepts an optional options <code>object</code>.
131
+<pre class="prettyprint linenums">
132
+$('#my-modal').modal({
133
+  keyboard: true
134
+})</pre>
135
+          <h4>.modal('toggle')</h4>
136
+          <p>Manually toggles a modal.</p>
137
+          <pre class="prettyprint linenums">$('#my-modal').modal('toggle')</pre>
138
+          <h4>.modal('show')</h4>
139
+          <p>Manually opens a modal.</p>
140
+          <pre class="prettyprint linenums">$('#my-modal').modal('show')</pre>
141
+          <h4>.modal('hide')</h4>
142
+          <p>Manually hides a modal.</p>
143
+          <pre class="prettyprint linenums">$('#my-modal').modal('hide')</pre>
144
+          <h4>.modal(true)</h4>
145
+          <p>Returns an elements modal class instance.</p>
146
+          <pre class="prettyprint linenums">$('#my-modal').modal(true)</pre>
147
+          <p><span class="label notice">Notice</span> Alternatively, this can be retrieved with <code>$().data('modal')</code>.</p>
148
+          <h3>Events</h3>
149
+          <p>Bootstrap's modal class exposes a few events for hooking into modal functionality. </p>
150
+          <table class="zebra-striped">
151
+            <thead>
152
+             <tr>
153
+               <th style="width: 150px;">Event</th>
154
+               <th>Description</th>
155
+             </tr>
156
+            </thead>
157
+            <tbody>
158
+             <tr>
159
+               <td>show</td>
160
+               <td>This event fires immediately when the <code>show</code> instance method is called.</td>
161
+             </tr>
162
+             <tr>
163
+               <td>shown</td>
164
+               <td>This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).</td>
165
+             </tr>
166
+             <tr>
167
+               <td>hide</td>
168
+               <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td>
169
+             </tr>
170
+             <tr>
171
+               <td>hidden</td>
172
+               <td>This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).</td>
173
+             </tr>
174
+            </tbody>
175
+          </table>
176
+
177
+<pre class="prettyprint linenums">
178
+$('#my-modal').bind('hidden', function () {
179
+  // do something ...
180
+})</pre>
181
+          <h3>Demo</h3>
182
+          <!-- sample modal content -->
183
+          <div id="modal-from-dom" class="modal hide fade">
184
+            <div class="modal-header">
185
+              <a href="#" class="close">&times;</a>
186
+              <h3>Modal Heading</h3>
187
+            </div>
188
+            <div class="modal-body">
189
+              <p>One fine body…</p>
190
+            </div>
191
+            <div class="modal-footer">
192
+              <a href="#" class="btn primary">Primary</a>
193
+              <a href="#" class="btn secondary">Secondary</a>
194
+            </div>
195
+          </div>
196
+
197
+          <button data-controls-modal="modal-from-dom" data-backdrop="true" data-keyboard="true" class="btn danger">Launch Modal</button>
198
+        </div>
199
+      </div>
200
+    </section>
201
+
202
+
203
+    <!-- Dropdown
204
+    ================================================== -->
205
+
206
+    <section id="dropdown">
207
+      <div class="page-header">
208
+        <h1>Dropdown <small>bootstrap-dropdown.js</small></h1>
209
+      </div>
210
+      <div class="row">
211
+        <div class="span4 columns">
212
+          <p>This plugin is for adding dropdown interaction to the bootstrap topbar or tabbed navigations.</p>
213
+          <a href="js/bootstrap-dropdown.js" target="_blank" class="btn primary">Download</a>
214
+        </div>
215
+        <div class="span12 columns">
216
+          <h3>Using bootstrap-dropdown.js</h3>
217
+          <pre class="prettyprint linenums">$('#topbar').dropdown()</pre>
218
+          <h3>Markup</h3>
219
+          <p>To quickly add dropdown functionality to any nav element, use the <code>data-dropdown</code> attribute. Any valid bootstrap dropdown will automatically be activated.</p>
220
+<pre class="prettyprint linenums">
221
+&lt;ul class="tabs"&gt;
222
+  &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
223
+  &lt;li class="dropdown" data-dropdown="dropdown" &gt;
224
+    &lt;a href="#" class="dropdown-toggle"&gt;Dropdown&lt;/a&gt;
225
+    &lt;ul class="dropdown-menu"&gt;
226
+      &lt;li&gt;&lt;a href="#"&gt;Secondary link&lt;/a&gt;&lt;/li&gt;
227
+      &lt;li&gt;&lt;a href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
228
+      &lt;li class="divider"&gt;&lt;/li&gt;
229
+      &lt;li&gt;&lt;a href="#"&gt;Another link&lt;/a&gt;&lt;/li&gt;
230
+    &lt;/ul&gt;
231
+  &lt;/li&gt;
232
+&lt;/ul&gt;</pre>
233
+          <p><span class="label notice">Notice</span> If your ui has several dropdowns, consider adding the <code>data-dropdown</code> attribute to a more significant container element like <code>.tabs</code> or <code>.topbar</code>.
234
+          <h3>Methods</h3>
235
+          <h4>$().dropdown()</h4>
236
+          <p>
237
+          A programatic api for activating menus for a given topbar or tabbed navigation.
238
+          </p>
239
+          <h3>Demo</h3>
240
+          <div class="topbar-wrapper">
241
+            <div id="topbar-example" class="topbar" data-dropdown="dropdown">
242
+              <div class="topbar-inner">
243
+                <div class="container">
244
+                  <h3><a href="#">Project Name</a></h3>
245
+                  <ul>
246
+                    <li><a href="#">Link</a></li>
247
+                    <li><a href="#">Link</a></li>
248
+                  </ul>
249
+                  <form action="">
250
+                    <input type="text" placeholder="Search" />
251
+                  </form>
252
+                  <ul class="nav secondary-nav">
253
+                    <li class="menu">
254
+                      <a href="#" class="menu">Dropdown 1</a>
255
+                      <ul class="menu-dropdown">
256
+                        <li><a href="#">Secondary link</a></li>
257
+                        <li><a href="#">Something else here</a></li>
258
+                        <li class="divider"></li>
259
+                        <li><a href="#">Another link</a></li>
260
+                      </ul>
261
+                    </li>
262
+                    <li class="menu">
263
+                      <a href="#" class="menu">Dropdown 2</a>
264
+                      <ul class="menu-dropdown">
265
+                        <li><a href="#">Secondary link</a></li>
266
+                        <li><a href="#">Something else here</a></li>
267
+                        <li class="divider"></li>
268
+                        <li><a href="#">Another link</a></li>
269
+                      </ul>
270
+                    </li>
271
+                  </ul>
272
+                </div>
273
+              </div>
274
+            </div>
275
+          </div>
276
+        </div>
277
+      </div>
278
+    </section>
279
+
280
+   <!-- ScrollSpy
281
+    ================================================== -->
282
+
283
+    <section id="scrollspy">
284
+      <div class="page-header">
285
+        <h1>ScrollSpy <small>bootstrap-scrollspy.js</small></h1>
286
+      </div>
287
+      <div class="row">
288
+        <div class="span4 columns">
289
+          <p>This plugin is for adding the scrollspy (auto updating nav) interaction to the bootstrap topbar.</p>
290
+          <a href="js/bootstrap-scrollspy.js" target="_blank" class="btn primary">Download</a>
291
+        </div>
292
+        <div class="span12 columns">
293
+          <h2>Using bootstrap-scrollspy.js</h2>
294
+          <pre class="prettyprint linenums">$('#topbar').scrollSpy()</pre>
295
+          <h3>Markup</h3>
296
+          <p>To easily add scrollspy behavior to your nav, just add the <code>data-scrollspy</code> attribute to the <code>.topbar</code>.
297
+          <pre class="prettyprint linenums">&lt;div class="topbar" data-scrollspy="scrollspy" &gt;...&lt;/div&gt;</pre>
298
+          <h3>Methods</h3>
299
+          <h4>$().scrollSpy()</h4>
300
+          <p>
301
+          Auto activates navigation buttons by users scroll position.
302
+          </p>
303
+          <pre class="prettyprint linenums">$('body > .topbar').scrollSpy()</pre>
304
+           <p><span class="label notice">Notice</span> Topbar anchor tags must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the dom like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.
305
+          </p>
306
+          <h4>.scrollSpy('refresh')</h4>
307
+          <p>The scrollspy caches nav buttons and section coordinates for performance. If you need to update this cache (likely if you have dynamic content) just call this refresh method. If you used the data attribute to define your scrollspy, just call refresh on the body.</p>
308
+          <pre class="prettyprint linenums">$('body').scrollSpy('refresh')</pre>
309
+          <h3>Demo</h3>
310
+          <p>Checkout the the topbar navigation on this page.</p>
311
+        </div>
312
+      </div>
313
+    </section>
314
+
315
+    <!-- Buttons
316
+    ================================================== -->
317
+
318
+    <section id="buttons">
319
+      <div class="page-header">
320
+        <h1>Buttons <small>bootstrap-buttons.js</small></h1>
321
+      </div>
322
+      <div class="row">
323
+        <div class="span4 columns">
324
+          <p>This plugin offers additional functionality for managing button state.</p>
325
+          <a href="js/bootstrap-buttons.js" target="_blank" class="btn primary">Download</a>
326
+        </div>
327
+        <div class="span12 columns">
328
+          <h3>Using bootstrap-buttons.js</h3>
329
+          <pre class="prettyprint linenums">$('.tabs').button()</pre>
330
+          <h3>Methods</h3>
331
+          <h4>$().button('toggle')</h4>
332
+          <p>Toggles push state. Gives btn the look that it's been activated.</p>
333
+          <p><span class="label notice">Notice</span> You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.</p>
334
+          <pre class="prettyprint linenums">&lt;button class="btn" data-toggle="toggle" &gt;...&lt;/button&gt;</pre>
335
+          <h4>$().button('loading')</h4>
336
+          <p>Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>.
337
+          </p>
338
+           <pre class="prettyprint linenums">&lt;button class="btn" data-loading-text="loading stuff..." &gt;...&lt;/button&gt;</pre>
339
+           <h4>$().button('reset')</h4>
340
+           <p>Resets button state - swaps text to original text.</p>
341
+           <h4>$().button(string)</h4>
342
+           <p>Resets button state - swaps text to any data defined text state.</p>
343
+<pre class="prettyprint linenums">&lt;button class="btn" data-complete-text="finished!" &gt;...&lt;/button&gt;
344
+&lt;script&gt;
345
+  $('.btn').button('complete')
346
+&lt;/scrip&gt;</pre>
347
+          <h3>Demo</h3>
348
+          <button id="fat-btn" data-loading-text="loading..." class="btn danger">Loading Demo</button>
349
+          <button class="btn" data-toggle="toggle">Toggle Demo</button>
350
+          <script>
351
+            $(function() {
352
+              var btn = $('#fat-btn').click(function () {
353
+                btn.button('loading')
354
+                setTimeout(function () {
355
+                  btn.button('reset')
356
+                }, 3000)
357
+              })
358
+            })
359
+          </script>
360
+        </div>
361
+      </div>
362
+    </section>
363
+
364
+
365
+    <!-- Tabs
366
+    ================================================== -->
367
+
368
+    <section id="tabs">
369
+      <div class="page-header">
370
+        <h1>Tabs <small>bootstrap-tabs.js</small></h1>
371
+      </div>
372
+      <div class="row">
373
+        <div class="span4 columns">
374
+          <p>This plugin adds quick, dynamic tab and pill functionality.</p>
375
+          <a href="js/bootstrap-tabs.js" target="_blank" class="btn primary">Download</a>
376
+        </div>
377
+        <div class="span12 columns">
378
+          <h3>Using bootstrap-tabs.js</h3>
379
+          <pre class="prettyprint linenums">$('.tabs').tabs()</pre>
380
+          <h3>Markup</h3>
381
+          <p>You can activate a tab or pill navigation without writing any javascript by simply giving them a <code>data-tabs</code> or <code>data-pills</code> attribute.</p>
382
+          <pre class="prettyprint linenums"> &lt;ul class="tabs" data-tabs="tabs" &gt;...&lt;/ul&gt;</pre>
383
+          <h3>Methods</h3>
384
+          <h4>$().tabs or $().pills</h4>
385
+          <p>
386
+            Activates tab and pill functionality for a given container. Tab links should reference IDs in the document.
387
+          </p>
388
+<pre class="prettyprint linenums">
389
+&lt;ul class="tabs"&gt;
390
+  &lt;li class="active"&gt;&lt;a href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
391
+  &lt;li&gt;&lt;a href="#profile"&gt;Profile&lt;/a&gt;&lt;/li&gt;
392
+  &lt;li&gt;&lt;a href="#messages"&gt;Messages&lt;/a&gt;&lt;/li&gt;
393
+  &lt;li&gt;&lt;a href="#settings"&gt;Settings&lt;/a&gt;&lt;/li&gt;
394
+&lt;/ul&gt;
395
+
396
+&lt;div class="pill-content"&gt;
397
+  &lt;div class="active" id="home"&gt;...&lt;/div&gt;
398
+  &lt;div id="profile"&gt;...&lt;/div&gt;
399
+  &lt;div id="messages"&gt;...&lt;/div&gt;
400
+  &lt;div id="settings"&gt;...&lt;/div&gt;
401
+&lt;/div&gt;
402
+
403
+&lt;script&gt;
404
+  $(function () {
405
+    $('.tabs').tabs()
406
+  })
407
+&lt;/script&gt;</pre>
408
+          </p>
409
+					<h3>Events</h3>
410
+					<table class="zebra-striped">
411
+					  <thead>
412
+					   <tr>
413
+					     <th style="width: 150px;">Event</th>
414
+					     <th>Description</th>
415
+					   </tr>
416
+					  </thead>
417
+					  <tbody>
418
+					   <tr>
419
+					     <td>change</td>
420
+					     <td>This event fires on tab change. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab respectively.</td>
421
+					   </tr>
422
+					  </tbody>
423
+					</table>
424
+
425
+					<pre class="prettyprint linenums">
426
+$('.tabs a').bind('change', function (e) {
427
+  e.target // activated tab
428
+  e.relatedTarget // previous tab
429
+})</pre>
430
+          <h3>Demo</h3>
431
+          <ul class="tabs" data-tabs="tabs">
432
+            <li class="active"><a href="#home">Home</a></li>
433
+            <li><a href="#profile">Profile</a></li>
434
+            <li><a href="#messages">Messages</a></li>
435
+            <li><a href="#settings">Settings</a></li>
436
+            <li class="dropdown" data-dropdown="dropdown">
437
+              <a href="#" class="dropdown-toggle">Dropdown</a>
438
+              <ul class="dropdown-menu">
439
+                <li><a href="#fat">@fat</a></li>
440
+                <li><a href="#mdo">@mdo</a></li>
441
+              </ul>
442
+            </li>
443
+          </ul>
444
+          <div id="my-tab-content" class="tab-content">
445
+            <div class="active tab-pane" id="home">
446
+              <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
447
+            </div>
448
+            <div class="tab-pane" id="profile">
449
+              <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
450
+            </div>
451
+            <div class="tab-pane" id="messages">
452
+              <p>Banksy do proident, brooklyn photo booth delectus sunt artisan sed organic exercitation eiusmod four loko. Quis tattooed iphone esse aliqua. Master cleanse vero fixie mcsweeney's. Ethical portland aute, irony food truck pitchfork lomo eu anim. Aesthetic blog DIY, ethical beard leggings tofu consequat whatever cardigan nostrud. Helvetica you probably haven't heard of them carles, marfa veniam occaecat lomo before they sold out in shoreditch scenester sustainable thundercats. Consectetur tofu craft beer, mollit brunch fap echo park pitchfork mustache dolor.</p>
453
+            </div>
454
+            <div class="tab-pane" id="settings">
455
+              <p>Sunt qui biodiesel mollit officia, fanny pack put a bird on it thundercats seitan squid ad wolf bicycle rights blog. Et aute readymade farm-to-table carles 8-bit, nesciunt nulla etsy adipisicing organic ea. Master cleanse mollit high life, next level Austin nesciunt american apparel twee mustache adipisicing reprehenderit hoodie portland irony. Aliqua tofu quinoa +1 commodo eiusmod. High life williamsburg cupidatat twee homo leggings. Four loko vinyl DIY consectetur nisi, marfa retro keffiyeh vegan. Fanny pack viral retro consectetur gentrify fap.</p>
456
+            </div>
457
+            <div class="tab-pane" id="fat">
458
+              <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
459
+            </div>
460
+            <div class="tab-pane" id="mdo">
461
+              <p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p>
462
+            </div>
463
+          </div>
464
+        </div>
465
+      </div>
466
+    </section>
467
+
468
+    <!-- Tips
469
+    ================================================== -->
470
+
471
+    <section id="twipsy">
472
+      <div class="page-header">
473
+        <h1>Twipsy <small>bootstrap-twipsy.js</small></h1>
474
+      </div>
475
+      <div class="row">
476
+        <div class="span4 columns">
477
+          <p>Based on the excellent jQuery.tipsy plugin written by Jason Frame; twipsy is an updated version, which doesn't rely on images, uses css3 for animations, and data-attributes for title storage!</p>
478
+          <a href="js/bootstrap-twipsy.js" target="_blank" class="btn primary">Download</a>
479
+        </div>
480
+        <div class="span12 columns">
481
+          <h3>Using bootstrap-twipsy.js</h3>
482
+          <pre class="prettyprint linenums">$('#example').twipsy(options)</pre>
483
+          <h3>Options</h3>
484
+          <table class="zebra-striped">
485
+            <thead>
486
+             <tr>
487
+               <th style="width: 100px;">Name</th>
488
+               <th style="width: 95px;">type</th>
489
+               <th style="width: 95px;">default</th>
490
+               <th>description</th>
491
+             </tr>
492
+            </thead>
493
+            <tbody>
494
+             <tr>
495
+               <td>animate</td>
496
+               <td>boolean</td>
497
+               <td>true</td>
498
+               <td>apply a css fade transition to the tooltip</td>
499
+             </tr>
500
+             <tr>
501
+               <td>delayIn</td>
502
+               <td>number</td>
503
+               <td>0</td>
504
+               <td>delay before showing tooltip (ms)</td>
505
+             </tr>
506
+             <tr>
507
+               <td>delayOut</td>
508
+               <td>number</td>
509
+               <td>0</td>
510
+               <td>delay before hiding tooltip (ms)</td>
511
+             </tr>
512
+             <tr>
513
+               <td>fallback</td>
514
+               <td>string</td>
515
+               <td>''</td>
516
+               <td>text to use when no tooltip title is present</td>
517
+             </tr>
518
+             <tr>
519
+               <td>placement</td>
520
+               <td>string</td>
521
+               <td>'above'</td>
522
+               <td>how to position the tooltip - above | below | left | right</td>
523
+             </tr>
524
+             <tr>
525
+               <td>html</td>
526
+               <td>boolean</td>
527
+               <td>false</td>
528
+               <td>allows html content within tooltip</td>
529
+             </tr>
530
+             <tr>
531
+               <td>live</td>
532
+               <td>boolean</td>
533
+               <td>false</td>
534
+               <td>use event delegation instead of individual event handlers</td>
535
+             </tr>
536
+             <tr>
537
+               <td>offset</td>
538
+               <td>number</td>
539
+               <td>0</td>
540
+               <td>pixel offset of tooltip from target element</td>
541
+             </tr>
542
+             <tr>
543
+               <td>title</td>
544
+               <td>string, function</td>
545
+               <td>'title'</td>
546
+               <td>attribute or method for retrieving title text</td>
547
+             </tr>
548
+             <tr>
549
+               <td>trigger</td>
550
+               <td>string</td>
551
+               <td>'hover'</td>
552
+               <td>how tooltip is triggered - hover | focus | manual</td>
553
+             </tr>
554
+             <tr>
555
+               <td>template</td>
556
+               <td>string</td>
557
+               <td>[default markup]</td>
558
+               <td>the html template used for rendering a twipsy</td>
559
+             </tr>
560
+            </tbody>
561
+          </table>
562
+          <p><span class="label notice">Notice</span> Individual twipsy instance options can alternatively be specified through the use of data attributes.</code></p>
563
+          <pre class="prettyprint linenums">&lt;a href="#" data-placement="below" rel='twipsy' title='Some title text'&gt;text&lt;/a&gt;</pre>
564
+          <h3>Methods</h3>
565
+          <h4>$().twipsy(options)</h4>
566
+          <p>Attaches a twipsy handler to an element collection.</p>
567
+          <h4>.twipsy('show')</h4>
568
+          <p>Reveals an elements twipsy.</p>
569
+          <pre class="prettyprint linenums">$('#element').twipsy('show')</pre>
570
+          <h4>.twipsy('hide')</h4>
571
+          <p>Hides an elements twipsy.</p>
572
+          <pre class="prettyprint linenums">$('#element').twipsy('hide')</pre>
573
+          <h4>.twipsy(true)</h4>
574
+          <p>Returns an elements twipsy class instance.</p>
575
+          <pre class="prettyprint linenums">$('#element').twipsy(true)</pre>
576
+          <p><span class="label notice">Notice</span> Alternatively, this can be retrieved with <code>$().data('twipsy')</code>.</p>
577
+          <h3>Demo</h3>
578
+          <div class="well">
579
+            <p class="muted">Tight pants next level keffiyeh <a href="#" rel='twipsy' title='Some title text'>you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" rel='twipsy' title='Another twipsy'>have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A <a href="#" rel='twipsy' title='Another one here too'>really ironic</a> artisan whatever keytar, scenester farm-to-table banksy Austin <a href="#" rel='twipsy' title='The last tip!'>twitter handle</a> freegan cred raw denim single-origin coffee viral.
580
+            </p>
581
+          </div>
582
+          <script>
583
+            $(function () {
584
+              $("a[rel=twipsy]").twipsy({
585
+                live: true
586
+              })
587
+            })
588
+          </script>
589
+        </div>
590
+      </div>
591
+    </section>
592
+
593
+    <!-- Popovers
594
+    ================================================== -->
595
+
596
+
597
+    <section id="popover">
598
+      <div class="page-header">
599
+        <h1>Popovers <small>bootstrap-popover.js</small></h1>
600
+      </div>
601
+      <div class="row">
602
+        <div class="span4 columns">
603
+          <p>The popover plugin provides a simple interface for adding popovers to your application. It extends the <a href="#twipsy">bootstrap-twipsy.js</a> plugin, so be sure to grab that file as well when including popovers in your project!</p>
604
+           <p><span class="label notice">Notice</span> You must include the bootstrap-twipsy.js file <strong>before</strong> bootstrap-popover.js.</p>
605
+          <a href="js/bootstrap-popover.js" target="_blank" class="btn primary">Download</a>
606
+        </div>
607
+        <div class="span12 columns">
608
+          <h3>Using bootstrap-popover.js</h3>
609
+          <pre class="prettyprint linenums">$('#example').popover(options)</pre>
610
+          <h3>Options</h3>
611
+          <table class="zebra-striped">
612
+            <thead>
613
+             <tr>
614
+               <th style="width: 100px;">Name</th>
615
+               <th style="width: 95px;">type</th>
616
+               <th style="width: 95px;">default</th>
617
+               <th>description</th>
618
+             </tr>
619
+            </thead>
620
+            <tbody>
621
+             <tr>
622
+               <td>animate</td>
623
+               <td>boolean</td>
624
+               <td>true</td>
625
+               <td>apply a css fade transition to the tooltip</td>
626
+             </tr>
627
+             <tr>
628
+               <td>delayIn</td>
629
+               <td>number</td>
630
+               <td>0</td>
631
+               <td>delay before showing tooltip (ms)</td>
632
+             </tr>
633
+             <tr>
634
+               <td>delayOut</td>
635
+               <td>number</td>
636
+               <td>0</td>
637
+               <td>delay before hiding tooltip (ms)</td>
638
+             </tr>
639
+             <tr>
640
+               <td>fallback</td>
641
+               <td>string</td>
642
+               <td>''</td>
643
+               <td>text to use when no tooltip title is present</td>
644
+             </tr>
645
+             <tr>
646
+               <td>placement</td>
647
+               <td>string</td>
648
+               <td>'right'</td>
649
+               <td>how to position the tooltip - above | below | left | right</td>
650
+             </tr>
651
+             <tr>
652
+               <td>html</td>
653
+               <td>boolean</td>
654
+               <td>false</td>
655
+               <td>allows html content within tooltip</td>
656
+             </tr>
657
+             <tr>
658
+               <td>live</td>
659
+               <td>boolean</td>
660
+               <td>false</td>
661
+               <td>use event delegation instead of individual event handlers</td>
662
+             </tr>
663
+             <tr>
664
+               <td>offset</td>
665
+               <td>number</td>
666
+               <td>0</td>
667
+               <td>pixel offset of tooltip from target element</td>
668
+             </tr>
669
+             <tr>
670
+               <td>title</td>
671
+               <td>string, function</td>
672
+               <td>'title'</td>
673
+               <td>attribute or method for retrieving title text</td>
674
+             </tr>
675
+             <tr>
676
+               <td>content</td>
677
+               <td>string, function</td>
678
+               <td>'data-content'</td>
679
+               <td>attribute or method for retrieving content text.</td>
680
+             </tr>
681
+             <tr>
682
+               <td>trigger</td>
683
+               <td>string</td>
684
+               <td>'hover'</td>
685
+               <td>how tooltip is triggered - hover | focus | manual</td>
686
+             </tr>
687
+             <tr>
688
+               <td>template</td>
689
+               <td>string</td>
690
+               <td>[default markup]</td>
691
+               <td>the html template used for rendering a popover</td>
692
+             </tr>
693
+            </tbody>
694
+          </table>
695
+          <p><span class="label notice">Notice</span> Individual popover instance options can alternatively be specified through the use of data attributes.</code></p>
696
+          <pre class="prettyprint linenums">&lt;a data-placement="below" href="#" class="btn danger" rel="popover"&gt;text&lt;/a&gt;</pre>
697
+          <h3>Methods</h3>
698
+          <h4>$().popover(options)</h4>
699
+          <p>Initializes popovers for an element collection.</p>
700
+          <h4>.popover('show')</h4>
701
+          <p>Reveals an elements popover.</p>
702
+          <pre class="prettyprint linenums">$('#element').popover('show')</pre>
703
+          <h4>.popover('hide')</h4>
704
+          <p>Hides an elements popover.</p>
705
+          <pre class="prettyprint linenums">$('#element').popover('hide')</pre>
706
+          <h3>Demo</h3>
707
+          <a href="#" class="btn danger" rel="popover" title="A title" data-content="And here's some amazing content. It's very engaging. right?">hover for popover</a>
708
+          <script>
709
+            $(function () {
710
+              $("a[rel=popover]")
711
+                .popover({
712
+                  offset: 10
713
+                })
714
+                .click(function(e) {
715
+                  e.preventDefault()
716
+                })
717
+            })
718
+          </script>
719
+        </div>
720
+      </div>
721
+    </section>
722
+
723
+
724
+
725
+    <!-- Alerts
726
+    ================================================== -->
727
+
728
+    <section id="alerts">
729
+      <div class="page-header">
730
+        <h1>Alerts <small>bootstrap-alerts.js</small></h1>
731
+      </div>
732
+      <div class="row">
733
+        <div class="span4 columns">
734
+          <p>The alert plugin is a super tiny class for adding close functionality to alerts.</p>
735
+          <a href="js/bootstrap-alerts.js" target="_blank" class="btn primary">Download</a>
736
+        </div>
737
+        <div class="span12 columns">
738
+          <h3>Using bootstrap-alerts.js</h3>
739
+          <pre class="prettyprint linenums">$(".alert-message").alert()</pre>
740
+          <h3>Markup</h3>
741
+          <p>Just add a <code>data-alert</code> attribute to your alert messages to automatically give them close functionality.</p>
742
+          <h3>Options</h3>
743
+          <table class="zebra-striped">
744
+            <thead>
745
+             <tr>
746
+               <th style="width: 100px;">Name</th>
747
+               <th style="width: 100px;">type</th>
748
+               <th style="width: 50px;">default</th>
749
+               <th>description</th>
750
+             </tr>
751
+            </thead>
752
+            <tbody>
753
+             <tr>
754
+               <td>selector</td>
755
+               <td>string</td>
756
+               <td>'.close'</td>
757
+               <td>What selector to target for closing an alert.</td>
758
+             </tr>
759
+            </tbody>
760
+          </table>
761
+
762
+          <h3>Methods</h3>
763
+          <h4>$().alert()</h4>
764
+          <p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.</p>
765
+          <h4>.alert('close')</h4>
766
+          <p>Closes an alert.</p>
767
+          <pre class="prettyprint linenums">$(".alert-message").alert('close')</pre>
768
+          <h3>Demo</h3>
769
+          <div class="alert-message warning fade in" data-alert="alert" >
770
+            <a class="close" href="#">&times;</a>
771
+            <p><strong>Holy guacamole!</strong> Best check yo self, you’re not looking too good.</p>
772
+          </div>
773
+          <div class="alert-message block-message error fade in" data-alert="alert" >
774
+            <a class="close" href="#">&times;</a>
775
+            <p><strong>Oh snap! You got an error!</strong> Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
776
+            <div class="alert-actions">
777
+              <a class="btn small" href="#">Take this action</a> <a class="btn small" href="#">Or do this</a>
778
+            </div>
779
+          </div>
780
+        </div>
781
+      </div>
782
+    </section>
783
+
784
+
785
+    </div><!-- /container -->
786
+
787
+    <footer class="footer">
788
+      <div class="container">
789
+        <p class="pull-right"><a href="#">Back to top</a></p>
790
+        <p>
791
+          Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.<br />
792
+          Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>.
793
+        </p>
794
+      </div>
795
+    </footer>
796
+
797
+  </body>
798
+</html>