Merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3 into lp:openerp-web

Proposed by Kunal Chavda
Status: Merged
Merge reported by: Antony Lesuisse (OpenERP)
Merged at revision: not available
Proposed branch: lp:~openerp-dev/openerp-web/trunk-web-bootstrap3
Merge into: lp:openerp-web
Diff against target: 44110 lines (+42228/-235)
160 files modified
addons/web/__openerp__.py (+2/-1)
addons/web/static/lib/bootstrap/CNAME (+1/-0)
addons/web/static/lib/bootstrap/CONTRIBUTING.md (+61/-0)
addons/web/static/lib/bootstrap/DOCS-LICENSE (+319/-0)
addons/web/static/lib/bootstrap/Gruntfile.js (+226/-0)
addons/web/static/lib/bootstrap/LICENSE (+176/-0)
addons/web/static/lib/bootstrap/LICENSE-MIT (+21/-0)
addons/web/static/lib/bootstrap/README.md (+165/-0)
addons/web/static/lib/bootstrap/_config.yml (+25/-0)
addons/web/static/lib/bootstrap/_includes/ads.html (+1/-0)
addons/web/static/lib/bootstrap/_includes/footer.html (+34/-0)
addons/web/static/lib/bootstrap/_includes/header.html (+42/-0)
addons/web/static/lib/bootstrap/_includes/nav-about.html (+12/-0)
addons/web/static/lib/bootstrap/_includes/nav-components.html (+137/-0)
addons/web/static/lib/bootstrap/_includes/nav-css.html (+99/-0)
addons/web/static/lib/bootstrap/_includes/nav-customize.html (+40/-0)
addons/web/static/lib/bootstrap/_includes/nav-getting-started.html (+44/-0)
addons/web/static/lib/bootstrap/_includes/nav-javascript.html (+88/-0)
addons/web/static/lib/bootstrap/_includes/nav-main.html (+37/-0)
addons/web/static/lib/bootstrap/_includes/old-bs-docs.html (+8/-0)
addons/web/static/lib/bootstrap/_includes/social-buttons.html (+16/-0)
addons/web/static/lib/bootstrap/_layouts/default.html (+79/-0)
addons/web/static/lib/bootstrap/_layouts/home.html (+47/-0)
addons/web/static/lib/bootstrap/about.html (+93/-0)
addons/web/static/lib/bootstrap/bower.json (+11/-0)
addons/web/static/lib/bootstrap/browserstack.json (+37/-0)
addons/web/static/lib/bootstrap/components.html (+3689/-0)
addons/web/static/lib/bootstrap/composer.json (+20/-0)
addons/web/static/lib/bootstrap/css.html (+2674/-0)
addons/web/static/lib/bootstrap/customize.html (+1715/-0)
addons/web/static/lib/bootstrap/dist/css/bootstrap-theme.css (+459/-0)
addons/web/static/lib/bootstrap/dist/css/bootstrap-theme.min.css (+9/-0)
addons/web/static/lib/bootstrap/dist/css/bootstrap.css (+7059/-0)
addons/web/static/lib/bootstrap/dist/css/bootstrap.min.css (+9/-0)
addons/web/static/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg (+229/-0)
addons/web/static/lib/bootstrap/dist/js/bootstrap.js (+2002/-0)
addons/web/static/lib/bootstrap/dist/js/bootstrap.min.js (+9/-0)
addons/web/static/lib/bootstrap/docs-assets/css/docs.css (+1195/-0)
addons/web/static/lib/bootstrap/docs-assets/css/pygments-manni.css (+66/-0)
addons/web/static/lib/bootstrap/docs-assets/js/application.js (+103/-0)
addons/web/static/lib/bootstrap/docs-assets/js/customizer.js (+331/-0)
addons/web/static/lib/bootstrap/docs-assets/js/filesaver.js (+169/-0)
addons/web/static/lib/bootstrap/docs-assets/js/holder.js (+404/-0)
addons/web/static/lib/bootstrap/docs-assets/js/ie8-responsive-file-warning.js (+12/-0)
addons/web/static/lib/bootstrap/docs-assets/js/jszip.js (+1467/-0)
addons/web/static/lib/bootstrap/docs-assets/js/less.js (+9/-0)
addons/web/static/lib/bootstrap/docs-assets/js/raw-files.js (+3/-0)
addons/web/static/lib/bootstrap/docs-assets/js/uglify.js (+14/-0)
addons/web/static/lib/bootstrap/examples/carousel/carousel.css (+148/-0)
addons/web/static/lib/bootstrap/examples/carousel/index.html (+205/-0)
addons/web/static/lib/bootstrap/examples/grid/grid.css (+28/-0)
addons/web/static/lib/bootstrap/examples/grid/index.html (+148/-0)
addons/web/static/lib/bootstrap/examples/jumbotron-narrow/index.html (+82/-0)
addons/web/static/lib/bootstrap/examples/jumbotron-narrow/jumbotron-narrow.css (+79/-0)
addons/web/static/lib/bootstrap/examples/jumbotron/index.html (+98/-0)
addons/web/static/lib/bootstrap/examples/jumbotron/jumbotron.css (+5/-0)
addons/web/static/lib/bootstrap/examples/justified-nav/index.html (+83/-0)
addons/web/static/lib/bootstrap/examples/justified-nav/justified-nav.css (+88/-0)
addons/web/static/lib/bootstrap/examples/navbar-fixed-top/index.html (+90/-0)
addons/web/static/lib/bootstrap/examples/navbar-fixed-top/navbar-fixed-top.css (+4/-0)
addons/web/static/lib/bootstrap/examples/navbar-static-top/index.html (+91/-0)
addons/web/static/lib/bootstrap/examples/navbar-static-top/navbar-static-top.css (+7/-0)
addons/web/static/lib/bootstrap/examples/navbar/index.html (+87/-0)
addons/web/static/lib/bootstrap/examples/navbar/navbar.css (+8/-0)
addons/web/static/lib/bootstrap/examples/non-responsive/index.html (+100/-0)
addons/web/static/lib/bootstrap/examples/non-responsive/non-responsive.css (+116/-0)
addons/web/static/lib/bootstrap/examples/offcanvas/index.html (+129/-0)
addons/web/static/lib/bootstrap/examples/offcanvas/offcanvas.css (+50/-0)
addons/web/static/lib/bootstrap/examples/offcanvas/offcanvas.js (+5/-0)
addons/web/static/lib/bootstrap/examples/signin/index.html (+50/-0)
addons/web/static/lib/bootstrap/examples/signin/signin.css (+40/-0)
addons/web/static/lib/bootstrap/examples/starter-template/index.html (+67/-0)
addons/web/static/lib/bootstrap/examples/starter-template/starter-template.css (+7/-0)
addons/web/static/lib/bootstrap/examples/sticky-footer-navbar/index.html (+90/-0)
addons/web/static/lib/bootstrap/examples/sticky-footer-navbar/sticky-footer-navbar.css (+45/-0)
addons/web/static/lib/bootstrap/examples/sticky-footer/index.html (+55/-0)
addons/web/static/lib/bootstrap/examples/sticky-footer/sticky-footer.css (+38/-0)
addons/web/static/lib/bootstrap/examples/theme/index.html (+381/-0)
addons/web/static/lib/bootstrap/examples/theme/theme.css (+14/-0)
addons/web/static/lib/bootstrap/fonts/glyphicons-halflings-regular.svg (+229/-0)
addons/web/static/lib/bootstrap/getting-started.html (+1025/-0)
addons/web/static/lib/bootstrap/index.html (+16/-0)
addons/web/static/lib/bootstrap/javascript.html (+1983/-0)
addons/web/static/lib/bootstrap/js/affix.js (+126/-0)
addons/web/static/lib/bootstrap/js/alert.js (+98/-0)
addons/web/static/lib/bootstrap/js/button.js (+109/-0)
addons/web/static/lib/bootstrap/js/carousel.js (+217/-0)
addons/web/static/lib/bootstrap/js/collapse.js (+179/-0)
addons/web/static/lib/bootstrap/js/dropdown.js (+154/-0)
addons/web/static/lib/bootstrap/js/modal.js (+246/-0)
addons/web/static/lib/bootstrap/js/popover.js (+117/-0)
addons/web/static/lib/bootstrap/js/scrollspy.js (+158/-0)
addons/web/static/lib/bootstrap/js/tab.js (+135/-0)
addons/web/static/lib/bootstrap/js/tests/index.html (+52/-0)
addons/web/static/lib/bootstrap/js/tests/unit/affix.js (+25/-0)
addons/web/static/lib/bootstrap/js/tests/unit/alert.js (+62/-0)
addons/web/static/lib/bootstrap/js/tests/unit/button.js (+116/-0)
addons/web/static/lib/bootstrap/js/tests/unit/carousel.js (+87/-0)
addons/web/static/lib/bootstrap/js/tests/unit/collapse.js (+164/-0)
addons/web/static/lib/bootstrap/js/tests/unit/dropdown.js (+219/-0)
addons/web/static/lib/bootstrap/js/tests/unit/modal.js (+196/-0)
addons/web/static/lib/bootstrap/js/tests/unit/phantom.js (+69/-0)
addons/web/static/lib/bootstrap/js/tests/unit/popover.js (+133/-0)
addons/web/static/lib/bootstrap/js/tests/unit/scrollspy.js (+37/-0)
addons/web/static/lib/bootstrap/js/tests/unit/tab.js (+86/-0)
addons/web/static/lib/bootstrap/js/tests/unit/tooltip.js (+437/-0)
addons/web/static/lib/bootstrap/js/tests/unit/transition.js (+13/-0)
addons/web/static/lib/bootstrap/js/tests/vendor/jquery.js (+6/-0)
addons/web/static/lib/bootstrap/js/tests/vendor/qunit.css (+232/-0)
addons/web/static/lib/bootstrap/js/tests/vendor/qunit.js (+1510/-0)
addons/web/static/lib/bootstrap/js/tooltip.js (+386/-0)
addons/web/static/lib/bootstrap/js/transition.js (+56/-0)
addons/web/static/lib/bootstrap/less/alerts.less (+67/-0)
addons/web/static/lib/bootstrap/less/badges.less (+51/-0)
addons/web/static/lib/bootstrap/less/bootstrap.less (+49/-0)
addons/web/static/lib/bootstrap/less/breadcrumbs.less (+23/-0)
addons/web/static/lib/bootstrap/less/button-groups.less (+253/-0)
addons/web/static/lib/bootstrap/less/buttons.less (+158/-0)
addons/web/static/lib/bootstrap/less/carousel.less (+231/-0)
addons/web/static/lib/bootstrap/less/close.less (+33/-0)
addons/web/static/lib/bootstrap/less/code.less (+53/-0)
addons/web/static/lib/bootstrap/less/component-animations.less (+29/-0)
addons/web/static/lib/bootstrap/less/dropdowns.less (+192/-0)
addons/web/static/lib/bootstrap/less/forms.less (+366/-0)
addons/web/static/lib/bootstrap/less/glyphicons.less (+237/-0)
addons/web/static/lib/bootstrap/less/grid.less (+93/-0)
addons/web/static/lib/bootstrap/less/input-groups.less (+136/-0)
addons/web/static/lib/bootstrap/less/jumbotron.less (+40/-0)
addons/web/static/lib/bootstrap/less/labels.less (+58/-0)
addons/web/static/lib/bootstrap/less/list-group.less (+88/-0)
addons/web/static/lib/bootstrap/less/media.less (+56/-0)
addons/web/static/lib/bootstrap/less/mixins.less (+858/-0)
addons/web/static/lib/bootstrap/less/modals.less (+132/-0)
addons/web/static/lib/bootstrap/less/navbar.less (+624/-0)
addons/web/static/lib/bootstrap/less/navs.less (+262/-0)
addons/web/static/lib/bootstrap/less/normalize.less (+406/-0)
addons/web/static/lib/bootstrap/less/pager.less (+55/-0)
addons/web/static/lib/bootstrap/less/pagination.less (+85/-0)
addons/web/static/lib/bootstrap/less/panels.less (+172/-0)
addons/web/static/lib/bootstrap/less/popovers.less (+133/-0)
addons/web/static/lib/bootstrap/less/print.less (+105/-0)
addons/web/static/lib/bootstrap/less/progress-bars.less (+92/-0)
addons/web/static/lib/bootstrap/less/responsive-utilities.less (+209/-0)
addons/web/static/lib/bootstrap/less/scaffolding.less (+119/-0)
addons/web/static/lib/bootstrap/less/tables.less (+236/-0)
addons/web/static/lib/bootstrap/less/theme.less (+247/-0)
addons/web/static/lib/bootstrap/less/thumbnails.less (+31/-0)
addons/web/static/lib/bootstrap/less/tooltip.less (+95/-0)
addons/web/static/lib/bootstrap/less/type.less (+279/-0)
addons/web/static/lib/bootstrap/less/utilities.less (+56/-0)
addons/web/static/lib/bootstrap/less/variables.less (+637/-0)
addons/web/static/lib/bootstrap/less/wells.less (+29/-0)
addons/web/static/lib/bootstrap/package.json (+38/-0)
addons/web/static/src/css/base.css (+249/-121)
addons/web/static/src/css/base.sass (+207/-80)
addons/web/static/src/css/data_export.css (+5/-0)
addons/web/static/src/js/chrome.js (+12/-12)
addons/web/static/src/xml/base.xml (+23/-21)
addons/web_calendar/static/src/css/web_calendar.css (+21/-0)
addons/web_calendar/static/src/css/web_calendar.sass (+14/-0)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3
Reviewer Review Type Date Requested Status
OpenERP R&D Web Team Pending
Review via email: mp+195920@code.launchpad.net

Description of the change

Hello,
Added bootstrap3 library and fix in css for broken layout. Some where replaced existing class to bootstrap class like navbar(bootstrap) instead of top_bar etc.

Thanks,
Kunal Chavda(KCH)

To post a comment you must log in.
Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote :

Merged manually at 3891 revid:<email address hidden>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'addons/web/__openerp__.py'
--- addons/web/__openerp__.py 2013-09-26 16:49:02 +0000
+++ addons/web/__openerp__.py 2013-11-21 06:05:15 +0000
@@ -66,9 +66,10 @@
66 "static/lib/jquery.tipsy/tipsy.css",66 "static/lib/jquery.tipsy/tipsy.css",
67 "static/lib/jquery.textext/jquery.textext.css",67 "static/lib/jquery.textext/jquery.textext.css",
68 "static/lib/fontawesome/css/font-awesome.css",68 "static/lib/fontawesome/css/font-awesome.css",
69 "static/lib/bootstrap/dist/css/bootstrap.min.css",
69 "static/src/css/base.css",70 "static/src/css/base.css",
70 "static/src/css/data_export.css",71 "static/src/css/data_export.css",
71 "static/lib/cleditor/jquery.cleditor.css",72 "static/lib/cleditor/jquery.cleditor.css"
72 ],73 ],
73 'qweb' : [74 'qweb' : [
74 "static/src/xml/*.xml",75 "static/src/xml/*.xml",
7576
=== added directory 'addons/web/static/lib/bootstrap'
=== added file 'addons/web/static/lib/bootstrap/CNAME'
--- addons/web/static/lib/bootstrap/CNAME 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/CNAME 2013-11-21 06:05:15 +0000
@@ -0,0 +1,1 @@
1getbootstrap.com
02
=== added file 'addons/web/static/lib/bootstrap/CONTRIBUTING.md'
--- addons/web/static/lib/bootstrap/CONTRIBUTING.md 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/CONTRIBUTING.md 2013-11-21 06:05:15 +0000
@@ -0,0 +1,61 @@
1# Contributing to Bootstrap
2
3Looking to contribute something to Bootstrap? **Here's how you can help.**
4
5
6
7## Reporting issues
8
9We only accept issues that are bug reports or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Bootstrap core. Please read the following guidelines before opening any issue.
10
111. **Search for existing issues.** We get a lot of duplicate issues, and you'd help us out a lot by first checking if someone else has reported the same issue. Moreover, the issue may have already been resolved with a fix available.
122. **Create an isolated and reproducible test case.** Be sure the problem exists in Bootstrap's code with a [reduced test case](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report.
133. **Include a live example.** Make use of jsFiddle or jsBin to share your isolated test cases.
144. **Share as much information as possible.** Include operating system and version, browser and version, version of Bootstrap, customized or vanilla build, etc. where appropriate. Also include steps to reproduce the bug.
15
16
17
18## Pull requests
19
20- CSS changes must be done in `.less` files first, never just the compiled `.css` files
21- If modifying the `.less` files, always recompile and commit the compiled files `bootstrap.css` and `bootstrap.min.css`
22- Try not to pollute your pull request with unintended changes--keep them simple and small
23- Try to share which browsers your code has been tested in before submitting a pull request
24- Pull requests should always be against the `master` branch, never against `gh-pages`.
25
26
27
28## Coding standards
29
30### HTML
31
32- Two spaces for indentation, never tabs
33- Double quotes only, never single quotes
34- Always use proper indentation
35- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags)
36- Use CDNs and HTTPS for third-party JS when possible. We don't use protocol-relative URLs in this case because they break when viewing the page locally via `file://`.
37
38### CSS
39
40- Adhere to the [RECESS CSS property order](http://markdotto.com/2011/11/29/css-property-order/)
41- Multiple-line approach (one property and value per line)
42- Always a space after a property's colon (e.g., `display: block;` and not `display:block;`)
43- End all lines with a semi-colon
44- For multiple, comma-separated selectors, place each selector on its own line
45- Attribute selectors, like `input[type="text"]` should always wrap the attribute's value in double quotes, for consistency and safety (see this [blog post on unquoted attribute values](http://mathiasbynens.be/notes/unquoted-attribute-values) that can lead to XSS attacks).
46
47### JS
48
49- No semicolons
50- Comma first
51- 2 spaces (no tabs)
52- strict mode
53- "Attractive"
54
55
56
57## License
58
59With v3.1, we're moving from the Apache 2 to the MIT license for the Bootstrap code (not the docs). We're in the process of collecting permissions from all Bootstrap contributors with code still part of the project to make this happen. For details, please see [#2054](https://github.com/twbs/bootstrap/issues/2054).
60
61By contributing your code, you agree to dual-license your contribution under the [Apache 2](https://github.com/twbs/bootstrap/blob/master/LICENSE) and [MIT](https://github.com/twbs/bootstrap/blob/master/MIT) licenses.
062
=== added file 'addons/web/static/lib/bootstrap/DOCS-LICENSE'
--- addons/web/static/lib/bootstrap/DOCS-LICENSE 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/DOCS-LICENSE 2013-11-21 06:05:15 +0000
@@ -0,0 +1,319 @@
1Creative Commons Legal Code
2
3Attribution 3.0 Unported
4
5 CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6 LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
7 ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8 INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9 REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
10 DAMAGES RESULTING FROM ITS USE.
11
12License
13
14THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
15COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
16COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
17AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
18
19BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
20TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
21BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
22CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
23CONDITIONS.
24
251. Definitions
26
27 a. "Adaptation" means a work based upon the Work, or upon the Work and
28 other pre-existing works, such as a translation, adaptation,
29 derivative work, arrangement of music or other alterations of a
30 literary or artistic work, or phonogram or performance and includes
31 cinematographic adaptations or any other form in which the Work may be
32 recast, transformed, or adapted including in any form recognizably
33 derived from the original, except that a work that constitutes a
34 Collection will not be considered an Adaptation for the purpose of
35 this License. For the avoidance of doubt, where the Work is a musical
36 work, performance or phonogram, the synchronization of the Work in
37 timed-relation with a moving image ("synching") will be considered an
38 Adaptation for the purpose of this License.
39 b. "Collection" means a collection of literary or artistic works, such as
40 encyclopedias and anthologies, or performances, phonograms or
41 broadcasts, or other works or subject matter other than works listed
42 in Section 1(f) below, which, by reason of the selection and
43 arrangement of their contents, constitute intellectual creations, in
44 which the Work is included in its entirety in unmodified form along
45 with one or more other contributions, each constituting separate and
46 independent works in themselves, which together are assembled into a
47 collective whole. A work that constitutes a Collection will not be
48 considered an Adaptation (as defined above) for the purposes of this
49 License.
50 c. "Distribute" means to make available to the public the original and
51 copies of the Work or Adaptation, as appropriate, through sale or
52 other transfer of ownership.
53 d. "Licensor" means the individual, individuals, entity or entities that
54 offer(s) the Work under the terms of this License.
55 e. "Original Author" means, in the case of a literary or artistic work,
56 the individual, individuals, entity or entities who created the Work
57 or if no individual or entity can be identified, the publisher; and in
58 addition (i) in the case of a performance the actors, singers,
59 musicians, dancers, and other persons who act, sing, deliver, declaim,
60 play in, interpret or otherwise perform literary or artistic works or
61 expressions of folklore; (ii) in the case of a phonogram the producer
62 being the person or legal entity who first fixes the sounds of a
63 performance or other sounds; and, (iii) in the case of broadcasts, the
64 organization that transmits the broadcast.
65 f. "Work" means the literary and/or artistic work offered under the terms
66 of this License including without limitation any production in the
67 literary, scientific and artistic domain, whatever may be the mode or
68 form of its expression including digital form, such as a book,
69 pamphlet and other writing; a lecture, address, sermon or other work
70 of the same nature; a dramatic or dramatico-musical work; a
71 choreographic work or entertainment in dumb show; a musical
72 composition with or without words; a cinematographic work to which are
73 assimilated works expressed by a process analogous to cinematography;
74 a work of drawing, painting, architecture, sculpture, engraving or
75 lithography; a photographic work to which are assimilated works
76 expressed by a process analogous to photography; a work of applied
77 art; an illustration, map, plan, sketch or three-dimensional work
78 relative to geography, topography, architecture or science; a
79 performance; a broadcast; a phonogram; a compilation of data to the
80 extent it is protected as a copyrightable work; or a work performed by
81 a variety or circus performer to the extent it is not otherwise
82 considered a literary or artistic work.
83 g. "You" means an individual or entity exercising rights under this
84 License who has not previously violated the terms of this License with
85 respect to the Work, or who has received express permission from the
86 Licensor to exercise rights under this License despite a previous
87 violation.
88 h. "Publicly Perform" means to perform public recitations of the Work and
89 to communicate to the public those public recitations, by any means or
90 process, including by wire or wireless means or public digital
91 performances; to make available to the public Works in such a way that
92 members of the public may access these Works from a place and at a
93 place individually chosen by them; to perform the Work to the public
94 by any means or process and the communication to the public of the
95 performances of the Work, including by public digital performance; to
96 broadcast and rebroadcast the Work by any means including signs,
97 sounds or images.
98 i. "Reproduce" means to make copies of the Work by any means including
99 without limitation by sound or visual recordings and the right of
100 fixation and reproducing fixations of the Work, including storage of a
101 protected performance or phonogram in digital form or other electronic
102 medium.
103
1042. Fair Dealing Rights. Nothing in this License is intended to reduce,
105limit, or restrict any uses free from copyright or rights arising from
106limitations or exceptions that are provided for in connection with the
107copyright protection under copyright law or other applicable laws.
108
1093. License Grant. Subject to the terms and conditions of this License,
110Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
111perpetual (for the duration of the applicable copyright) license to
112exercise the rights in the Work as stated below:
113
114 a. to Reproduce the Work, to incorporate the Work into one or more
115 Collections, and to Reproduce the Work as incorporated in the
116 Collections;
117 b. to create and Reproduce Adaptations provided that any such Adaptation,
118 including any translation in any medium, takes reasonable steps to
119 clearly label, demarcate or otherwise identify that changes were made
120 to the original Work. For example, a translation could be marked "The
121 original work was translated from English to Spanish," or a
122 modification could indicate "The original work has been modified.";
123 c. to Distribute and Publicly Perform the Work including as incorporated
124 in Collections; and,
125 d. to Distribute and Publicly Perform Adaptations.
126 e. For the avoidance of doubt:
127
128 i. Non-waivable Compulsory License Schemes. In those jurisdictions in
129 which the right to collect royalties through any statutory or
130 compulsory licensing scheme cannot be waived, the Licensor
131 reserves the exclusive right to collect such royalties for any
132 exercise by You of the rights granted under this License;
133 ii. Waivable Compulsory License Schemes. In those jurisdictions in
134 which the right to collect royalties through any statutory or
135 compulsory licensing scheme can be waived, the Licensor waives the
136 exclusive right to collect such royalties for any exercise by You
137 of the rights granted under this License; and,
138 iii. Voluntary License Schemes. The Licensor waives the right to
139 collect royalties, whether individually or, in the event that the
140 Licensor is a member of a collecting society that administers
141 voluntary licensing schemes, via that society, from any exercise
142 by You of the rights granted under this License.
143
144The above rights may be exercised in all media and formats whether now
145known or hereafter devised. The above rights include the right to make
146such modifications as are technically necessary to exercise the rights in
147other media and formats. Subject to Section 8(f), all rights not expressly
148granted by Licensor are hereby reserved.
149
1504. Restrictions. The license granted in Section 3 above is expressly made
151subject to and limited by the following restrictions:
152
153 a. You may Distribute or Publicly Perform the Work only under the terms
154 of this License. You must include a copy of, or the Uniform Resource
155 Identifier (URI) for, this License with every copy of the Work You
156 Distribute or Publicly Perform. You may not offer or impose any terms
157 on the Work that restrict the terms of this License or the ability of
158 the recipient of the Work to exercise the rights granted to that
159 recipient under the terms of the License. You may not sublicense the
160 Work. You must keep intact all notices that refer to this License and
161 to the disclaimer of warranties with every copy of the Work You
162 Distribute or Publicly Perform. When You Distribute or Publicly
163 Perform the Work, You may not impose any effective technological
164 measures on the Work that restrict the ability of a recipient of the
165 Work from You to exercise the rights granted to that recipient under
166 the terms of the License. This Section 4(a) applies to the Work as
167 incorporated in a Collection, but this does not require the Collection
168 apart from the Work itself to be made subject to the terms of this
169 License. If You create a Collection, upon notice from any Licensor You
170 must, to the extent practicable, remove from the Collection any credit
171 as required by Section 4(b), as requested. If You create an
172 Adaptation, upon notice from any Licensor You must, to the extent
173 practicable, remove from the Adaptation any credit as required by
174 Section 4(b), as requested.
175 b. If You Distribute, or Publicly Perform the Work or any Adaptations or
176 Collections, You must, unless a request has been made pursuant to
177 Section 4(a), keep intact all copyright notices for the Work and
178 provide, reasonable to the medium or means You are utilizing: (i) the
179 name of the Original Author (or pseudonym, if applicable) if supplied,
180 and/or if the Original Author and/or Licensor designate another party
181 or parties (e.g., a sponsor institute, publishing entity, journal) for
182 attribution ("Attribution Parties") in Licensor's copyright notice,
183 terms of service or by other reasonable means, the name of such party
184 or parties; (ii) the title of the Work if supplied; (iii) to the
185 extent reasonably practicable, the URI, if any, that Licensor
186 specifies to be associated with the Work, unless such URI does not
187 refer to the copyright notice or licensing information for the Work;
188 and (iv) , consistent with Section 3(b), in the case of an Adaptation,
189 a credit identifying the use of the Work in the Adaptation (e.g.,
190 "French translation of the Work by Original Author," or "Screenplay
191 based on original Work by Original Author"). The credit required by
192 this Section 4 (b) may be implemented in any reasonable manner;
193 provided, however, that in the case of a Adaptation or Collection, at
194 a minimum such credit will appear, if a credit for all contributing
195 authors of the Adaptation or Collection appears, then as part of these
196 credits and in a manner at least as prominent as the credits for the
197 other contributing authors. For the avoidance of doubt, You may only
198 use the credit required by this Section for the purpose of attribution
199 in the manner set out above and, by exercising Your rights under this
200 License, You may not implicitly or explicitly assert or imply any
201 connection with, sponsorship or endorsement by the Original Author,
202 Licensor and/or Attribution Parties, as appropriate, of You or Your
203 use of the Work, without the separate, express prior written
204 permission of the Original Author, Licensor and/or Attribution
205 Parties.
206 c. Except as otherwise agreed in writing by the Licensor or as may be
207 otherwise permitted by applicable law, if You Reproduce, Distribute or
208 Publicly Perform the Work either by itself or as part of any
209 Adaptations or Collections, You must not distort, mutilate, modify or
210 take other derogatory action in relation to the Work which would be
211 prejudicial to the Original Author's honor or reputation. Licensor
212 agrees that in those jurisdictions (e.g. Japan), in which any exercise
213 of the right granted in Section 3(b) of this License (the right to
214 make Adaptations) would be deemed to be a distortion, mutilation,
215 modification or other derogatory action prejudicial to the Original
216 Author's honor and reputation, the Licensor will waive or not assert,
217 as appropriate, this Section, to the fullest extent permitted by the
218 applicable national law, to enable You to reasonably exercise Your
219 right under Section 3(b) of this License (right to make Adaptations)
220 but not otherwise.
221
2225. Representations, Warranties and Disclaimer
223
224UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
225OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
226KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
227INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
228FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
229LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
230WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
231OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
232
2336. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
234LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
235ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
236ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
237BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
238
2397. Termination
240
241 a. This License and the rights granted hereunder will terminate
242 automatically upon any breach by You of the terms of this License.
243 Individuals or entities who have received Adaptations or Collections
244 from You under this License, however, will not have their licenses
245 terminated provided such individuals or entities remain in full
246 compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
247 survive any termination of this License.
248 b. Subject to the above terms and conditions, the license granted here is
249 perpetual (for the duration of the applicable copyright in the Work).
250 Notwithstanding the above, Licensor reserves the right to release the
251 Work under different license terms or to stop distributing the Work at
252 any time; provided, however that any such election will not serve to
253 withdraw this License (or any other license that has been, or is
254 required to be, granted under the terms of this License), and this
255 License will continue in full force and effect unless terminated as
256 stated above.
257
2588. Miscellaneous
259
260 a. Each time You Distribute or Publicly Perform the Work or a Collection,
261 the Licensor offers to the recipient a license to the Work on the same
262 terms and conditions as the license granted to You under this License.
263 b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
264 offers to the recipient a license to the original Work on the same
265 terms and conditions as the license granted to You under this License.
266 c. If any provision of this License is invalid or unenforceable under
267 applicable law, it shall not affect the validity or enforceability of
268 the remainder of the terms of this License, and without further action
269 by the parties to this agreement, such provision shall be reformed to
270 the minimum extent necessary to make such provision valid and
271 enforceable.
272 d. No term or provision of this License shall be deemed waived and no
273 breach consented to unless such waiver or consent shall be in writing
274 and signed by the party to be charged with such waiver or consent.
275 e. This License constitutes the entire agreement between the parties with
276 respect to the Work licensed here. There are no understandings,
277 agreements or representations with respect to the Work not specified
278 here. Licensor shall not be bound by any additional provisions that
279 may appear in any communication from You. This License may not be
280 modified without the mutual written agreement of the Licensor and You.
281 f. The rights granted under, and the subject matter referenced, in this
282 License were drafted utilizing the terminology of the Berne Convention
283 for the Protection of Literary and Artistic Works (as amended on
284 September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
285 Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
286 and the Universal Copyright Convention (as revised on July 24, 1971).
287 These rights and subject matter take effect in the relevant
288 jurisdiction in which the License terms are sought to be enforced
289 according to the corresponding provisions of the implementation of
290 those treaty provisions in the applicable national law. If the
291 standard suite of rights granted under applicable copyright law
292 includes additional rights not granted under this License, such
293 additional rights are deemed to be included in the License; this
294 License is not intended to restrict the license of any rights under
295 applicable law.
296
297
298Creative Commons Notice
299
300 Creative Commons is not a party to this License, and makes no warranty
301 whatsoever in connection with the Work. Creative Commons will not be
302 liable to You or any party on any legal theory for any damages
303 whatsoever, including without limitation any general, special,
304 incidental or consequential damages arising in connection to this
305 license. Notwithstanding the foregoing two (2) sentences, if Creative
306 Commons has expressly identified itself as the Licensor hereunder, it
307 shall have all rights and obligations of Licensor.
308
309 Except for the limited purpose of indicating to the public that the
310 Work is licensed under the CCPL, Creative Commons does not authorize
311 the use by either party of the trademark "Creative Commons" or any
312 related trademark or logo of Creative Commons without the prior
313 written consent of Creative Commons. Any permitted use will be in
314 compliance with Creative Commons' then-current trademark usage
315 guidelines, as may be published on its website or otherwise made
316 available upon request from time to time. For the avoidance of doubt,
317 this trademark restriction does not form part of this License.
318
319 Creative Commons may be contacted at http://creativecommons.org/.
0320
=== added file 'addons/web/static/lib/bootstrap/Gruntfile.js'
--- addons/web/static/lib/bootstrap/Gruntfile.js 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/Gruntfile.js 2013-11-21 06:05:15 +0000
@@ -0,0 +1,226 @@
1/* jshint node: true */
2
3module.exports = function(grunt) {
4 "use strict";
5
6 var btoa = require('btoa')
7 // Project configuration.
8 grunt.initConfig({
9
10 // Metadata.
11 pkg: grunt.file.readJSON('package.json'),
12 banner: '/*!\n' +
13 ' * Bootstrap v<%= pkg.version %> by @fat and @mdo\n' +
14 ' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
15 ' * Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
16 ' *\n' +
17 ' * Designed and built with all the love in the world by @mdo and @fat.\n' +
18 ' */\n\n',
19 jqueryCheck: 'if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery") }\n\n',
20
21 // Task configuration.
22 clean: {
23 dist: ['dist']
24 },
25
26 jshint: {
27 options: {
28 jshintrc: 'js/.jshintrc'
29 },
30 gruntfile: {
31 src: 'Gruntfile.js'
32 },
33 src: {
34 src: ['js/*.js']
35 },
36 test: {
37 src: ['js/tests/unit/*.js']
38 }
39 },
40
41 concat: {
42 options: {
43 banner: '<%= banner %><%= jqueryCheck %>',
44 stripBanners: false
45 },
46 bootstrap: {
47 src: [
48 'js/transition.js',
49 'js/alert.js',
50 'js/button.js',
51 'js/carousel.js',
52 'js/collapse.js',
53 'js/dropdown.js',
54 'js/modal.js',
55 'js/tooltip.js',
56 'js/popover.js',
57 'js/scrollspy.js',
58 'js/tab.js',
59 'js/affix.js'
60 ],
61 dest: 'dist/js/<%= pkg.name %>.js'
62 }
63 },
64
65 uglify: {
66 options: {
67 banner: '<%= banner %>',
68 report: 'min'
69 },
70 bootstrap: {
71 src: ['<%= concat.bootstrap.dest %>'],
72 dest: 'dist/js/<%= pkg.name %>.min.js'
73 }
74 },
75
76 recess: {
77 options: {
78 compile: true,
79 banner: '<%= banner %>'
80 },
81 bootstrap: {
82 src: ['less/bootstrap.less'],
83 dest: 'dist/css/<%= pkg.name %>.css'
84 },
85 min: {
86 options: {
87 compress: true
88 },
89 src: ['less/bootstrap.less'],
90 dest: 'dist/css/<%= pkg.name %>.min.css'
91 },
92 theme: {
93 src: ['less/theme.less'],
94 dest: 'dist/css/<%= pkg.name %>-theme.css'
95 },
96 theme_min: {
97 options: {
98 compress: true
99 },
100 src: ['less/theme.less'],
101 dest: 'dist/css/<%= pkg.name %>-theme.min.css'
102 }
103 },
104
105 copy: {
106 fonts: {
107 expand: true,
108 src: ["fonts/*"],
109 dest: 'dist/'
110 }
111 },
112
113 qunit: {
114 options: {
115 inject: 'js/tests/unit/phantom.js'
116 },
117 files: ['js/tests/*.html']
118 },
119
120 connect: {
121 server: {
122 options: {
123 port: 3000,
124 base: '.'
125 }
126 }
127 },
128
129 jekyll: {
130 docs: {}
131 },
132
133 validation: {
134 options: {
135 reset: true,
136 relaxerror: [
137 "Bad value X-UA-Compatible for attribute http-equiv on element meta.",
138 "Element img is missing required attribute src."
139 ]
140 },
141 files: {
142 src: ["_gh_pages/**/*.html"]
143 }
144 },
145
146 watch: {
147 src: {
148 files: '<%= jshint.src.src %>',
149 tasks: ['jshint:src', 'qunit']
150 },
151 test: {
152 files: '<%= jshint.test.src %>',
153 tasks: ['jshint:test', 'qunit']
154 },
155 recess: {
156 files: 'less/*.less',
157 tasks: ['recess']
158 }
159 }
160 });
161
162
163 // These plugins provide necessary tasks.
164 grunt.loadNpmTasks('browserstack-runner');
165 grunt.loadNpmTasks('grunt-contrib-clean');
166 grunt.loadNpmTasks('grunt-contrib-concat');
167 grunt.loadNpmTasks('grunt-contrib-connect');
168 grunt.loadNpmTasks('grunt-contrib-copy');
169 grunt.loadNpmTasks('grunt-contrib-jshint');
170 grunt.loadNpmTasks('grunt-contrib-qunit');
171 grunt.loadNpmTasks('grunt-contrib-uglify');
172 grunt.loadNpmTasks('grunt-contrib-watch');
173 grunt.loadNpmTasks('grunt-html-validation');
174 grunt.loadNpmTasks('grunt-jekyll');
175 grunt.loadNpmTasks('grunt-recess');
176
177 // Docs HTML validation task
178 grunt.registerTask('validate-html', ['jekyll', 'validation']);
179
180 // Test task.
181 var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html'];
182 // Only run BrowserStack tests under Travis
183 if (process.env.TRAVIS) {
184 // Only run BrowserStack tests if this is a mainline commit in twbs/bootstrap, or you have your own BrowserStack key
185 if ((process.env.TRAVIS_REPO_SLUG === 'twbs/bootstrap' && process.env.TRAVIS_PULL_REQUEST === 'false') || process.env.TWBS_HAVE_OWN_BROWSERSTACK_KEY) {
186 testSubtasks.push('browserstack_runner');
187 }
188 }
189 grunt.registerTask('test', testSubtasks);
190
191 // JS distribution task.
192 grunt.registerTask('dist-js', ['concat', 'uglify']);
193
194 // CSS distribution task.
195 grunt.registerTask('dist-css', ['recess']);
196
197 // Fonts distribution task.
198 grunt.registerTask('dist-fonts', ['copy']);
199
200 // Full distribution task.
201 grunt.registerTask('dist', ['clean', 'dist-css', 'dist-fonts', 'dist-js']);
202
203 // Default task.
204 grunt.registerTask('default', ['test', 'dist', 'build-customizer']);
205
206 // task for building customizer
207 grunt.registerTask('build-customizer', 'Add scripts/less files to customizer.', function () {
208 var fs = require('fs')
209
210 function getFiles(type) {
211 var files = {}
212 fs.readdirSync(type)
213 .filter(function (path) {
214 return type == 'fonts' ? true : new RegExp('\\.' + type + '$').test(path)
215 })
216 .forEach(function (path) {
217 var fullPath = type + '/' + path
218 return files[path] = (type == 'fonts' ? btoa(fs.readFileSync(fullPath)) : fs.readFileSync(fullPath, 'utf8'))
219 })
220 return 'var __' + type + ' = ' + JSON.stringify(files) + '\n'
221 }
222
223 var files = getFiles('js') + getFiles('less') + getFiles('fonts')
224 fs.writeFileSync('docs-assets/js/raw-files.js', files)
225 });
226};
0227
=== added file 'addons/web/static/lib/bootstrap/LICENSE'
--- addons/web/static/lib/bootstrap/LICENSE 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/LICENSE 2013-11-21 06:05:15 +0000
@@ -0,0 +1,176 @@
1 Apache License
2 Version 2.0, January 2004
3 http://www.apache.org/licenses/
4
5 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
7 1. Definitions.
8
9 "License" shall mean the terms and conditions for use, reproduction,
10 and distribution as defined by Sections 1 through 9 of this document.
11
12 "Licensor" shall mean the copyright owner or entity authorized by
13 the copyright owner that is granting the License.
14
15 "Legal Entity" shall mean the union of the acting entity and all
16 other entities that control, are controlled by, or are under common
17 control with that entity. For the purposes of this definition,
18 "control" means (i) the power, direct or indirect, to cause the
19 direction or management of such entity, whether by contract or
20 otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 outstanding shares, or (iii) beneficial ownership of such entity.
22
23 "You" (or "Your") shall mean an individual or Legal Entity
24 exercising permissions granted by this License.
25
26 "Source" form shall mean the preferred form for making modifications,
27 including but not limited to software source code, documentation
28 source, and configuration files.
29
30 "Object" form shall mean any form resulting from mechanical
31 transformation or translation of a Source form, including but
32 not limited to compiled object code, generated documentation,
33 and conversions to other media types.
34
35 "Work" shall mean the work of authorship, whether in Source or
36 Object form, made available under the License, as indicated by a
37 copyright notice that is included in or attached to the work
38 (an example is provided in the Appendix below).
39
40 "Derivative Works" shall mean any work, whether in Source or Object
41 form, that is based on (or derived from) the Work and for which the
42 editorial revisions, annotations, elaborations, or other modifications
43 represent, as a whole, an original work of authorship. For the purposes
44 of this License, Derivative Works shall not include works that remain
45 separable from, or merely link (or bind by name) to the interfaces of,
46 the Work and Derivative Works thereof.
47
48 "Contribution" shall mean any work of authorship, including
49 the original version of the Work and any modifications or additions
50 to that Work or Derivative Works thereof, that is intentionally
51 submitted to Licensor for inclusion in the Work by the copyright owner
52 or by an individual or Legal Entity authorized to submit on behalf of
53 the copyright owner. For the purposes of this definition, "submitted"
54 means any form of electronic, verbal, or written communication sent
55 to the Licensor or its representatives, including but not limited to
56 communication on electronic mailing lists, source code control systems,
57 and issue tracking systems that are managed by, or on behalf of, the
58 Licensor for the purpose of discussing and improving the Work, but
59 excluding communication that is conspicuously marked or otherwise
60 designated in writing by the copyright owner as "Not a Contribution."
61
62 "Contributor" shall mean Licensor and any individual or Legal Entity
63 on behalf of whom a Contribution has been received by Licensor and
64 subsequently incorporated within the Work.
65
66 2. Grant of Copyright License. Subject to the terms and conditions of
67 this License, each Contributor hereby grants to You a perpetual,
68 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 copyright license to reproduce, prepare Derivative Works of,
70 publicly display, publicly perform, sublicense, and distribute the
71 Work and such Derivative Works in Source or Object form.
72
73 3. Grant of Patent License. Subject to the terms and conditions of
74 this License, each Contributor hereby grants to You a perpetual,
75 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 (except as stated in this section) patent license to make, have made,
77 use, offer to sell, sell, import, and otherwise transfer the Work,
78 where such license applies only to those patent claims licensable
79 by such Contributor that are necessarily infringed by their
80 Contribution(s) alone or by combination of their Contribution(s)
81 with the Work to which such Contribution(s) was submitted. If You
82 institute patent litigation against any entity (including a
83 cross-claim or counterclaim in a lawsuit) alleging that the Work
84 or a Contribution incorporated within the Work constitutes direct
85 or contributory patent infringement, then any patent licenses
86 granted to You under this License for that Work shall terminate
87 as of the date such litigation is filed.
88
89 4. Redistribution. You may reproduce and distribute copies of the
90 Work or Derivative Works thereof in any medium, with or without
91 modifications, and in Source or Object form, provided that You
92 meet the following conditions:
93
94 (a) You must give any other recipients of the Work or
95 Derivative Works a copy of this License; and
96
97 (b) You must cause any modified files to carry prominent notices
98 stating that You changed the files; and
99
100 (c) You must retain, in the Source form of any Derivative Works
101 that You distribute, all copyright, patent, trademark, and
102 attribution notices from the Source form of the Work,
103 excluding those notices that do not pertain to any part of
104 the Derivative Works; and
105
106 (d) If the Work includes a "NOTICE" text file as part of its
107 distribution, then any Derivative Works that You distribute must
108 include a readable copy of the attribution notices contained
109 within such NOTICE file, excluding those notices that do not
110 pertain to any part of the Derivative Works, in at least one
111 of the following places: within a NOTICE text file distributed
112 as part of the Derivative Works; within the Source form or
113 documentation, if provided along with the Derivative Works; or,
114 within a display generated by the Derivative Works, if and
115 wherever such third-party notices normally appear. The contents
116 of the NOTICE file are for informational purposes only and
117 do not modify the License. You may add Your own attribution
118 notices within Derivative Works that You distribute, alongside
119 or as an addendum to the NOTICE text from the Work, provided
120 that such additional attribution notices cannot be construed
121 as modifying the License.
122
123 You may add Your own copyright statement to Your modifications and
124 may provide additional or different license terms and conditions
125 for use, reproduction, or distribution of Your modifications, or
126 for any such Derivative Works as a whole, provided Your use,
127 reproduction, and distribution of the Work otherwise complies with
128 the conditions stated in this License.
129
130 5. Submission of Contributions. Unless You explicitly state otherwise,
131 any Contribution intentionally submitted for inclusion in the Work
132 by You to the Licensor shall be under the terms and conditions of
133 this License, without any additional terms or conditions.
134 Notwithstanding the above, nothing herein shall supersede or modify
135 the terms of any separate license agreement you may have executed
136 with Licensor regarding such Contributions.
137
138 6. Trademarks. This License does not grant permission to use the trade
139 names, trademarks, service marks, or product names of the Licensor,
140 except as required for reasonable and customary use in describing the
141 origin of the Work and reproducing the content of the NOTICE file.
142
143 7. Disclaimer of Warranty. Unless required by applicable law or
144 agreed to in writing, Licensor provides the Work (and each
145 Contributor provides its Contributions) on an "AS IS" BASIS,
146 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 implied, including, without limitation, any warranties or conditions
148 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 PARTICULAR PURPOSE. You are solely responsible for determining the
150 appropriateness of using or redistributing the Work and assume any
151 risks associated with Your exercise of permissions under this License.
152
153 8. Limitation of Liability. In no event and under no legal theory,
154 whether in tort (including negligence), contract, or otherwise,
155 unless required by applicable law (such as deliberate and grossly
156 negligent acts) or agreed to in writing, shall any Contributor be
157 liable to You for damages, including any direct, indirect, special,
158 incidental, or consequential damages of any character arising as a
159 result of this License or out of the use or inability to use the
160 Work (including but not limited to damages for loss of goodwill,
161 work stoppage, computer failure or malfunction, or any and all
162 other commercial damages or losses), even if such Contributor
163 has been advised of the possibility of such damages.
164
165 9. Accepting Warranty or Additional Liability. While redistributing
166 the Work or Derivative Works thereof, You may choose to offer,
167 and charge a fee for, acceptance of support, warranty, indemnity,
168 or other liability obligations and/or rights consistent with this
169 License. However, in accepting such obligations, You may act only
170 on Your own behalf and on Your sole responsibility, not on behalf
171 of any other Contributor, and only if You agree to indemnify,
172 defend, and hold each Contributor harmless for any liability
173 incurred by, or claims asserted against, such Contributor by reason
174 of your accepting any such warranty or additional liability.
175
176 END OF TERMS AND CONDITIONS
0177
=== added file 'addons/web/static/lib/bootstrap/LICENSE-MIT'
--- addons/web/static/lib/bootstrap/LICENSE-MIT 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/LICENSE-MIT 2013-11-21 06:05:15 +0000
@@ -0,0 +1,21 @@
1The MIT License (MIT)
2
3Copyright (c) 2013 Twitter, Inc
4
5Permission is hereby granted, free of charge, to any person obtaining a copy
6of this software and associated documentation files (the "Software"), to deal
7in the Software without restriction, including without limitation the rights
8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9copies of the Software, and to permit persons to whom the Software is
10furnished to do so, subject to the following conditions:
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21THE SOFTWARE.
022
=== added file 'addons/web/static/lib/bootstrap/README.md'
--- addons/web/static/lib/bootstrap/README.md 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/README.md 2013-11-21 06:05:15 +0000
@@ -0,0 +1,165 @@
1# [Bootstrap](http://getbootstrap.com) [![Build Status](https://secure.travis-ci.org/twbs/bootstrap.png)](http://travis-ci.org/twbs/bootstrap) [![devDependency Status](https://david-dm.org/twbs/bootstrap/dev-status.png)](https://david-dm.org/twbs/bootstrap#info=devDependencies)
2
3Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by [Mark Otto](http://twitter.com/mdo) and [Jacob Thornton](http://twitter.com/fat).
4
5To get started, check out <http://getbootstrap.com>!
6
7
8
9## Quick start
10
11Three quick start options are available:
12
13* [Download the latest release](https://github.com/twbs/bootstrap/releases/tag/v3.0.0).
14* Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.
15* Install with [Bower](http://bower.io): `bower install bootstrap`.
16
17Read the [Getting Started page](http://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more.
18
19### What's included
20
21Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:
22
23```
24bootstrap/
25├── css/
26│ ├── bootstrap.css
27│ ├── bootstrap.min.css
28│ ├── bootstrap-theme.css
29│ └── bootstrap-theme.min.css
30├── js/
31│ ├── bootstrap.js
32│ └── bootstrap.min.js
33└── fonts/
34 ├── glyphicons-halflings-regular.eot
35 ├── glyphicons-halflings-regular.svg
36 ├── glyphicons-halflings-regular.ttf
37 └── glyphicons-halflings-regular.woff
38```
39
40We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). Fonts from Glyphicons are included, as is the optional Bootstrap theme.
41
42
43
44## Bugs and feature requests
45
46Have a bug or a feature request? [Please open a new issue](https://github.com/twbs/bootstrap/issues). Before opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/necolas/issue-guidelines), written by [Nicolas Gallagher](https://github.com/necolas/).
47
48You may use [this JS Bin](http://jsbin.com/aKiCIDO/1/edit) as a template for your bug reports.
49
50
51
52## Documentation
53
54Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages at <http://getbootstrap.com>. The docs may also be run locally.
55
56### Running documentation locally
57
581. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) (requires v1.x).
592. From the root `/bootstrap` directory, run `jekyll serve` in the command line.
60 - **Windows users:** run `chcp 65001` first to change the command prompt's character encoding ([code page](http://en.wikipedia.org/wiki/Windows_code_page)) to UTF-8 so Jekyll runs without errors.
613. Open <http://localhost:9001> in your browser, and voilà.
62
63Learn more about using Jekyll by reading its [documentation](http://jekyllrb.com/docs/home/).
64
65### Documentation for previous releases
66
67Documentation for v2.3.2 has been made available for the time being at <http://getbootstrap.com/2.3.2/> while folks transition to Bootstrap 3.
68
69[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.
70
71
72
73## Compiling CSS and JavaScript
74
75Bootstrap uses [Grunt](http://gruntjs.com/) with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run some Grunt commands.
76
77### Install Grunt
78
79From the command line:
80
811. Install `grunt-cli` globally with `npm install -g grunt-cli`.
822. Navigate to the root `/bootstrap` directory, then run `npm install`. npm will look at [package.json](package.json) and automatically install the necessary local dependencies listed there.
83
84When completed, you'll be able to run the various Grunt commands provided from the command line.
85
86**Unfamiliar with `npm`? Don't have node installed?** That's a-okay. npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js. [Download and install node.js](http://nodejs.org/download/) before proceeding.
87
88### Available Grunt commands
89
90#### Build - `grunt`
91Run `grunt` to run tests locally and compile the CSS and JavaScript into `/dist`. **Uses [recess](http://twitter.github.io/recess/) and [UglifyJS](http://lisperator.net/uglifyjs/).**
92
93#### Only compile CSS and JavaScript - `grunt dist`
94`grunt dist` creates the `/dist` directory with compiled files. **Uses [recess](http://twitter.github.io/recess/) and [UglifyJS](http://lisperator.net/uglifyjs/).**
95
96#### Tests - `grunt test`
97Runs [JSHint](http://jshint.com) and [QUnit](http://qunitjs.com/) tests headlessly in [PhantomJS](http://phantomjs.org/) (used for CI).
98
99#### Watch - `grunt watch`
100This is a convenience method for watching just Less files and automatically building them whenever you save.
101
102### Troubleshooting dependencies
103
104Should you encounter problems with installing dependencies or running Grunt commands, uninstall all previous dependency versions (global and local). Then, rerun `npm install`.
105
106
107
108## Contributing
109
110Please read through our [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
111
112More over, if your pull request contains JavaScript patches or features, you must include relevant unit tests. All HTML and CSS should conform to the [Code Guide](http://github.com/mdo/code-guide), maintained by [Mark Otto](http://github.com/mdo).
113
114Editor preferences are available in the [editor config](.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.
115
116With v3.1, we're moving from the Apache 2 to the MIT license for the Bootstrap code (not the docs). Please see the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) for more information.
117
118
119## Community
120
121Keep track of development and community news.
122
123* Follow [@twbootstrap on Twitter](http://twitter.com/twbootstrap).
124* Read and subscribe to [The Official Bootstrap Blog](http://blog.getbootstrap.com).
125* Have a question that's not a feature request or bug report? [Ask on the mailing list.](http://groups.google.com/group/twitter-bootstrap)
126* Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##twitter-bootstrap` channel.
127
128
129
130
131## Versioning
132
133For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible.
134
135Releases will be numbered with the following format:
136
137`<major>.<minor>.<patch>`
138
139And constructed with the following guidelines:
140
141* Breaking backward compatibility bumps the major (and resets the minor and patch)
142* New additions without breaking backward compatibility bumps the minor (and resets the patch)
143* Bug fixes and misc changes bumps the patch
144
145For more information on SemVer, please visit <http://semver.org/>.
146
147
148
149## Authors
150
151**Mark Otto**
152
153+ <http://twitter.com/mdo>
154+ <http://github.com/mdo>
155
156**Jacob Thornton**
157
158+ <http://twitter.com/fat>
159+ <http://github.com/fat>
160
161
162
163## Copyright and license
164
165Copyright 2013 Twitter, Inc under [the Apache 2.0 license](LICENSE).
0166
=== added file 'addons/web/static/lib/bootstrap/_config.yml'
--- addons/web/static/lib/bootstrap/_config.yml 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_config.yml 2013-11-21 06:05:15 +0000
@@ -0,0 +1,25 @@
1# Dependencies
2markdown: rdiscount
3pygments: true
4
5# Permalinks
6permalink: pretty
7
8# Server
9destination: ./_gh_pages
10exclude: [".editorconfig", ".gitignore", "bower.json", "composer.json", "CONTRIBUTING.md", "CNAME", "LICENSE", "Gruntfile.js", "package.json", "node_modules", "README.md", "less"]
11port: 9001
12
13# Custom vars
14current_version: 3.0.1
15repo: https://github.com/twbs/bootstrap
16
17download_source: https://github.com/twbs/bootstrap/archive/v3.0.1.zip
18download_dist: https://github.com/twbs/bootstrap/releases/download/v3.0.1/bootstrap-3.0.1-dist.zip
19
20blog: http://blog.getbootstrap.com
21expo: http://expo.getbootstrap.com
22
23cdn_css: //netdna.bootstrapcdn.com/bootstrap/3.0.1/css/bootstrap.min.css
24cdn_theme_css: //netdna.bootstrapcdn.com/bootstrap/3.0.1/css/bootstrap-theme.min.css
25cdn_js: //netdna.bootstrapcdn.com/bootstrap/3.0.1/js/bootstrap.min.js
026
=== added directory 'addons/web/static/lib/bootstrap/_includes'
=== added file 'addons/web/static/lib/bootstrap/_includes/ads.html'
--- addons/web/static/lib/bootstrap/_includes/ads.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/ads.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,1 @@
1<div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div><script>var z = document.createElement("script"); z.async = true; z.src = "http://engine.carbonads.com/z/32341/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script></div></div>
02
=== added file 'addons/web/static/lib/bootstrap/_includes/footer.html'
--- addons/web/static/lib/bootstrap/_includes/footer.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/footer.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,34 @@
1<!-- Bootstrap core JavaScript
2================================================== -->
3<!-- Placed at the end of the document so the pages load faster -->
4<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
5<script src="{{ page.base_url }}dist/js/bootstrap.js"></script>
6
7<script src="http://platform.twitter.com/widgets.js"></script>
8<script src="{{ page.base_url }}docs-assets/js/holder.js"></script>
9
10<script src="{{ page.base_url }}docs-assets/js/application.js"></script>
11
12{% if page.slug == "customize" %}
13<script src="{{ page.base_url }}docs-assets/js/less.js"></script>
14<script src="{{ page.base_url }}docs-assets/js/jszip.js"></script>
15<script src="{{ page.base_url }}docs-assets/js/uglify.js"></script>
16<script src="{{ page.base_url }}docs-assets/js/filesaver.js"></script>
17<script src="{{ page.base_url }}docs-assets/js/raw-files.js"></script>
18<script src="{{ page.base_url }}docs-assets/js/customizer.js"></script>
19{% endif %}
20
21<!-- Analytics
22================================================== -->
23<script>
24 var _gauges = _gauges || [];
25 (function() {
26 var t = document.createElement('script');
27 t.async = true;
28 t.id = 'gauges-tracker';
29 t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');
30 t.src = '//secure.gaug.es/track.js';
31 var s = document.getElementsByTagName('script')[0];
32 s.parentNode.insertBefore(t, s);
33 })();
34</script>
035
=== added file 'addons/web/static/lib/bootstrap/_includes/header.html'
--- addons/web/static/lib/bootstrap/_includes/header.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/header.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,42 @@
1<meta charset="utf-8">
2<meta http-equiv="X-UA-Compatible" content="IE=edge">
3<meta name="viewport" content="width=device-width, initial-scale=1.0">
4<meta name="description" content="">
5<meta name="author" content="">
6
7<title>
8 {% if page.title == "Bootstrap" %}
9 {{ page.title }}
10 {% else %}
11 {{ page.title }} &middot; Bootstrap
12 {% endif %}
13</title>
14
15<!-- Bootstrap core CSS -->
16<link href="{{ page.base_url }}dist/css/bootstrap.min.css" rel="stylesheet">
17
18<!-- Documentation extras -->
19<link href="{{ page.base_url }}docs-assets/css/docs.css" rel="stylesheet">
20<link href="{{ page.base_url }}docs-assets/css/pygments-manni.css" rel="stylesheet">
21<!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
22
23<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
24<!--[if lt IE 9]>
25 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
26 <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
27<![endif]-->
28
29<!-- Favicons -->
30<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ page.base_url }}docs-assets/ico/apple-touch-icon-144-precomposed.png">
31 <link rel="shortcut icon" href="{{ page.base_url }}docs-assets/ico/favicon.png">
32
33<script>
34 var _gaq = _gaq || [];
35 _gaq.push(['_setAccount', 'UA-146052-10']);
36 _gaq.push(['_trackPageview']);
37 (function() {
38 var ga = document.createElement('script'); ga.async = true;
39 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
40 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
41 })();
42</script>
043
=== added file 'addons/web/static/lib/bootstrap/_includes/nav-about.html'
--- addons/web/static/lib/bootstrap/_includes/nav-about.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/nav-about.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,12 @@
1<li>
2 <a href="#history">History</a>
3</li>
4<li>
5 <a href="#team">Core team</a>
6</li>
7<li>
8 <a href="#community">Community</a>
9</li>
10<li>
11 <a href="#translations">Translations</a>
12</li>
013
=== added file 'addons/web/static/lib/bootstrap/_includes/nav-components.html'
--- addons/web/static/lib/bootstrap/_includes/nav-components.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/nav-components.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,137 @@
1<li>
2 <a href="#glyphicons">Glyphicons</a>
3 <ul class="nav">
4 <li><a href="#glyphicons-glyphs">Available glyphs</a></li>
5 <li><a href="#glyphicons-how-to-use">How to use</a></li>
6 <li><a href="#glyphicons-examples">Examples</a></li>
7 </ul>
8</li>
9<li>
10 <a href="#dropdowns">Dropdowns</a>
11 <ul class="nav">
12 <li><a href="#dropdowns-example">Example</a></li>
13 <li><a href="#dropdowns-alignment">Alignment options</a></li>
14 <li><a href="#dropdowns-headers">Headers</a></li>
15 <li><a href="#dropdowns-disabled">Disabled menu items</a></li>
16 </ul>
17</li>
18<li>
19 <a href="#btn-groups">Button groups</a>
20 <ul class="nav">
21 <li><a href="#btn-groups-single">Basic example</a></li>
22 <li><a href="#btn-groups-toolbar">Button toolbar</a></li>
23 <li><a href="#btn-groups-sizing">Sizing</a></li>
24 <li><a href="#btn-groups-nested">Nesting</a></li>
25 <li><a href="#btn-groups-vertical">Vertical variation</a></li>
26 <li><a href="#btn-groups-justified">Justified link variation</a></li>
27 </ul>
28</li>
29<li>
30 <a href="#btn-dropdowns">Button dropdowns</a>
31 <ul class="nav">
32 <li><a href="#btn-dropdowns-single">Single button dropdowns</a></li>
33 <li><a href="#btn-dropdowns-split">Split button dropdowns</a></li>
34 <li><a href="#btn-dropdowns-sizing">Sizing</a></li>
35 <li><a href="#btn-dropdowns-dropup">Dropup variation</a></li>
36 </ul>
37</li>
38<li>
39 <a href="#input-groups">Input groups</a>
40 <ul class="nav">
41 <li><a href="#input-groups-basic">Basic example</a></li>
42 <li><a href="#input-groups-sizing">Sizing</a></li>
43 <li><a href="#input-groups-checkboxes-radios">Checkbox and radios addons</a></li>
44 <li><a href="#input-groups-buttons">Button addons</a></li>
45 <li><a href="#input-groups-buttons-dropdowns">Buttons with dropdowns</a></li>
46 <li><a href="#input-groups-buttons-segmented">Segmented buttons</a></li>
47 </ul>
48</li>
49<li>
50 <a href="#nav">Navs</a>
51 <ul class="nav">
52 <li><a href="#nav-tabs">Tabs</a></li>
53 <li><a href="#nav-pills">Pills</a></li>
54 <li><a href="#nav-justified">Justified nav</a></li>
55 <li><a href="#nav-disabled-links">Disabled links</a></li>
56 <li><a href="#nav-dropdowns">Using dropdowns</a></li>
57 </ul>
58</li>
59<li>
60 <a href="#navbar">Navbar</a>
61 <ul class="nav">
62 <li><a href="#navbar-default">Default navbar</a></li>
63 <li><a href="#navbar-forms">Forms</a></li>
64 <li><a href="#navbar-buttons">Buttons</a></li>
65 <li><a href="#navbar-text">Text</a></li>
66 <li><a href="#navbar-links">Non-nav links</a></li>
67 <li><a href="#navbar-component-alignment">Component alignment</a></li>
68 <li><a href="#navbar-fixed-top">Fixed to top</a></li>
69 <li><a href="#navbar-fixed-bottom">Fixed to bottom</a></li>
70 <li><a href="#navbar-static-top">Static top</a></li>
71 <li><a href="#navbar-inverted">Inverted navbar</a></li>
72 </ul>
73</li>
74<li><a href="#breadcrumbs">Breadcrumbs</a></li>
75<li>
76 <a href="#pagination">Pagination</a>
77 <ul class="nav">
78 <li><a href="#pagination-default">Default pagination</a></li>
79 <li><a href="#pagination-pager">Pager</a></li>
80 </ul>
81</li>
82<li><a href="#labels">Labels</a></li>
83<li><a href="#badges">Badges</a></li>
84<li><a href="#jumbotron">Jumbotron</a></li>
85<li><a href="#page-header">Page header</a></li>
86<li>
87 <a href="#thumbnails">Thumbnails</a>
88 <ul class="nav">
89 <li><a href="#thumbnails-default">Default example</a></li>
90 <li><a href="#thumbnails-custom-content">Custom content</a></li>
91 </ul>
92</li>
93<li>
94 <a href="#alerts">Alerts</a>
95 <ul class="nav">
96 <li><a href="#alerts-examples">Examples</a></li>
97 <li><a href="#alerts-dismissable">Dismissable alerts</a></li>
98 <li><a href="#alerts-links">Links in alerts</a></li>
99 </ul>
100</li>
101<li>
102 <a href="#progress">Progress bars</a>
103 <ul class="nav">
104 <li><a href="#progress-basic">Basic example</a></li>
105 <li><a href="#progress-alternatives">Contextual alternatives</a></li>
106 <li><a href="#progress-striped">Striped</a></li>
107 <li><a href="#progress-animated">Animated</a></li>
108 <li><a href="#progress-stacked">Stacked</a></li>
109 </ul>
110</li>
111<li>
112 <a href="#media">Media object</a>
113 <ul class="nav">
114 <li><a href="#media-default">Default media</a></li>
115 <li><a href="#media-list">Media list</a></li>
116 </ul>
117</li>
118<li>
119 <a href="#list-group">List group</a>
120 <ul class="nav">
121 <li><a href="#list-group-basic">Basic example</a></li>
122 <li><a href="#list-group-badges">Badges</a></li>
123 <li><a href="#list-group-linked">Linked items</a></li>
124 <li><a href="#list-group-custom-content">Custom content</a></li>
125 </ul>
126</li>
127<li>
128 <a href="#panels">Panels</a>
129 <ul class="nav">
130 <li><a href="#panels-basic">Basic example</a></li>
131 <li><a href="#panels-heading">Panel with heading</a></li>
132 <li><a href="#panels-alternatives">Contextual alternatives</a></li>
133 <li><a href="#panels-tables">With tables</a>
134 <li><a href="#panels-list-group">With list groups</a>
135 </ul>
136</li>
137<li><a href="#wells">Wells</a></li>
0138
=== added file 'addons/web/static/lib/bootstrap/_includes/nav-css.html'
--- addons/web/static/lib/bootstrap/_includes/nav-css.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/nav-css.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,99 @@
1<li>
2 <a href="#overview">Overview</a>
3 <ul class="nav">
4 <li><a href="#overview-doctype">HTML5 doctype</a></li>
5 <li><a href="#overview-mobile">Mobile first</a></li>
6 <li><a href="#overview-responsive-images">Responsive images</a></li>
7 <li><a href="#overview-type-links">Typography and links</a></li>
8 <li><a href="#overview-normalize">Normalize</a></li>
9 <li><a href="#overview-container">Containers</a></li>
10 </ul>
11</li>
12<li>
13 <a href="#grid">Grid system</a>
14 <ul class="nav">
15 <li><a href="#grid-intro">Introduction</a></li>
16 <li><a href="#grid-media-queries">Media queries</a></li>
17 <li><a href="#grid-options">Grid options</a></li>
18 <li><a href="#grid-example-basic">Ex: Stacked-to-horizonal</a></li>
19 <li><a href="#grid-example-mixed">Ex: Mobile and desktops</a></li>
20 <li><a href="#grid-example-mixed-complete">Ex: Mobile, tablet, desktops</a></li>
21 <li><a href="#grid-responsive-resets">Responsive column resets</a></li>
22 <li><a href="#grid-offsetting">Offsetting columns</a></li>
23 <li><a href="#grid-nesting">Nesting columns</a></li>
24 <li><a href="#grid-column-ordering">Column ordering</a></li>
25 <li><a href="#grid-less">LESS mixins and variables</a></li>
26 </ul>
27</li>
28<li>
29 <a href="#type">Typography</a>
30 <ul class="nav">
31 <li><a href="#type-headings">Headings</a></li>
32 <li><a href="#type-body-copy">Body copy</a></li>
33 <li><a href="#type-emphasis">Emphasis</a></li>
34 <li><a href="#type-abbreviations">Abbreviations</a></li>
35 <li><a href="#type-addresses">Addresses</a></li>
36 <li><a href="#type-blockquotes">Blockquotes</a></li>
37 <li><a href="#type-lists">Lists</a></li>
38 </ul>
39</li>
40<li><a href="#code">Code</a></li>
41<li>
42 <a href="#tables">Tables</a>
43 <ul class="nav">
44 <li><a href="#tables-example">Basic example</a></li>
45 <li><a href="#tables-striped">Striped rows</a></li>
46 <li><a href="#tables-bordered">Bordered table</a></li>
47 <li><a href="#tables-hover-rows">Hover rows</a></li>
48 <li><a href="#tables-condensed">Condensed table</a></li>
49 <li><a href="#tables-contextual-classes">Contextual classes</a></li>
50 <li><a href="#tables-responsive">Responsive tables</a></li>
51 </ul>
52</li>
53<li>
54 <a href="#forms">Forms</a>
55 <ul class="nav">
56 <li><a href="#forms-example">Basic example</a></li>
57 <li><a href="#forms-inline">Inline form</a></li>
58 <li><a href="#forms-horizontal">Horizontal form</a></li>
59 <li><a href="#forms-controls">Supported controls</a></li>
60 <li><a href="#forms-controls-static">Static control</a></li>
61 <li><a href="#forms-control-states">Control states</a></li>
62 <li><a href="#forms-control-sizes">Control sizing</a></li>
63 <li><a href="#forms-help-text">Help text</a></li>
64 </ul>
65</li>
66<li>
67 <a href="#buttons">Buttons</a>
68 <ul class="nav">
69 <li><a href="#buttons-options">Options</a></li>
70 <li><a href="#buttons-sizes">Sizes</a></li>
71 <li><a href="#buttons-active">Active state</a></li>
72 <li><a href="#buttons-disabled">Disabled state</a></li>
73 <li><a href="#buttons-tags">Button tags</a></li>
74 </ul>
75</li>
76<li>
77 <a href="#images">Images</a>
78</li>
79<li>
80 <a href="#helper-classes">Helper classes</a>
81 <ul class="nav">
82 <li><a href="#helper-classes-close">Close icon</a></li>
83 <li><a href="#helper-classes-carets">Carets</a></li>
84 <li><a href="#helper-classes-floats">Quick floats</a></li>
85 <li><a href="#helper-classes-center">Center content blocks</a></li>
86 <li><a href="#helper-classes-clearfix">Clearfix</a></li>
87 <li><a href="#helper-classes-show-hide">Showing and hiding content</a></li>
88 <li><a href="#helper-classes-screen-readers">Screen reader content</a></li>
89 <li><a href="#helper-classes-image-replacement">Image replacement</a></li>
90 </ul>
91</li>
92<li>
93 <a href="#responsive-utilities">Responsive utilities</a>
94 <ul class="nav">
95 <li><a href="#responsive-utilities-classes">Available classes</a></li>
96 <li><a href="#responsive-utilities-print">Print classes</a></li>
97 <li><a href="#responsive-utilities-tests">Test cases</a></li>
98 </ul>
99</li>
0100
=== added file 'addons/web/static/lib/bootstrap/_includes/nav-customize.html'
--- addons/web/static/lib/bootstrap/_includes/nav-customize.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/nav-customize.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,40 @@
1<li>
2 <a href="#less">LESS components</a>
3</li>
4<li>
5 <a href="#plugins">jQuery plugins</a>
6</li>
7<li>
8 <a href="#less-variables">LESS variables</a>
9 <ul class="nav">
10 <li><a href="#variables-basics">Basics</a></li>
11 <li><a href="#variables-buttons">Buttons</a></li>
12 <li><a href="#variables-form-states">Form states</a></li>
13 <li><a href="#variables-alerts">Alerts</a></li>
14 <li><a href="#variables-navbar">Navbar</a></li>
15 <li><a href="#variables-nav">Nav</a></li>
16 <li><a href="#variables-tables">Tables</a></li>
17 <li><a href="#variables-forms">Forms</a></li>
18 <li><a href="#variables-dropdowns">Dropdowns</a></li>
19 <li><a href="#variables-panels-wells">Panels and wells</a></li>
20 <li><a href="#variables-accordion">Accordion</a></li>
21 <li><a href="#variables-badges">Badges</a></li>
22 <li><a href="#variables-breadcrumbs">Breadcrumbs</a></li>
23 <li><a href="#variables-jumbotron">Jumbotron</a></li>
24 <li><a href="#variables-modals">Modals</a></li>
25 <li><a href="#variables-carousel">Carousel</a></li>
26 <li><a href="#variables-list-group">List group</a></li>
27 <li><a href="#variables-thumbnails">Thumbnails</a></li>
28 <li><a href="#variables-progress">Progress bars</a></li>
29 <li><a href="#variables-pagination">Pagination</a></li>
30 <li><a href="#variables-pager">Pager</a></li>
31 <li><a href="#variables-labels">Labels</a></li>
32 <li><a href="#variables-tooltips-popovers">Tooltips and popovers</a></li>
33 <li><a href="#variables-close">Close button</a></li>
34 <li><a href="#variables-type">Type</a></li>
35 <li><a href="#variables-other">Other</a></li>
36 </ul>
37</li>
38<li>
39 <a href="#download">Download</a>
40</li>
041
=== added file 'addons/web/static/lib/bootstrap/_includes/nav-getting-started.html'
--- addons/web/static/lib/bootstrap/_includes/nav-getting-started.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/nav-getting-started.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,44 @@
1<li>
2 <a href="#download">Download Bootstrap</a>
3 <ul class="nav">
4 <li><a href="#download-compiled">Compiled CSS, JS, and fonts</a></li>
5 <li><a href="#download-additional">Additional downloads</a></li>
6 <li><a href="#download-cdn">Bootstrap CDN</a></li>
7 </ul>
8</li>
9<li>
10 <a href="#whats-included">What's included</a>
11</li>
12<li>
13 <a href="#template">Basic template</a>
14</li>
15<li>
16 <a href="#examples">Examples</a>
17</li>
18<li>
19 <a href="#disable-responsive">Disabling responsiveness</a>
20</li>
21<li>
22 <a href="#migration">Migrating from 2.x to 3.0</a>
23 <ul class="nav">
24 <li><a href="#migration-classes">Major class changes</a></li>
25 <li><a href="#migration-new">What's new</a></li>
26 <li><a href="#migration-dropped">What's removed</a></li>
27 <li><a href="#migration-notes">Additional notes</a></li>
28 </ul>
29</li>
30<li>
31 <a href="#browsers">Browser support</a>
32</li>
33<li>
34 <a href="#third-parties">Third party support</a>
35</li>
36<li>
37 <a href="#accessibility">Accessibility</a>
38</li>
39<li>
40 <a href="#license-faqs">License FAQs</a>
41</li>
42<li>
43 <a href="#customizing">Customizing Bootstrap</a>
44</li>
045
=== added file 'addons/web/static/lib/bootstrap/_includes/nav-javascript.html'
--- addons/web/static/lib/bootstrap/_includes/nav-javascript.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/nav-javascript.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,88 @@
1<li>
2 <a href="#js-overview">Overview</a>
3 <ul class="nav">
4 <li><a href="#js-individual-compiled">Individual or compiled</a></li>
5 <li><a href="#js-data-attrs">Data attributes</a></li>
6 <li><a href="#js-programmatic-api">Programmatic API</a></li>
7 <li><a href="#js-noconflict">No conflict</a></li>
8 <li><a href="#js-events">Events</a></li>
9 </ul>
10</li>
11<li><a href="#transitions">Transitions</a></li>
12<li>
13 <a href="#modals">Modal</a>
14 <ul class="nav">
15 <li><a href="#modals-examples">Examples</a></li>
16 <li><a href="#modals-usage">Usage</a></li>
17 </ul>
18</li>
19<li>
20 <a href="#dropdowns">Dropdown</a>
21 <ul class="nav">
22 <li><a href="#dropdowns-examples">Examples</a></li>
23 <li><a href="#dropdowns-usage">Usage</a></li>
24 </ul>
25</li>
26<li>
27 <a href="#scrollspy">Scrollspy</a>
28 <ul class="nav">
29 <li><a href="#scrollspy-examples">Examples</a></li>
30 <li><a href="#scrollspy-usage">Usage</a></li>
31 </ul>
32</li>
33<li>
34 <a href="#tabs">Tab</a>
35 <ul class="nav">
36 <li><a href="#tabs-examples">Examples</a></li>
37 <li><a href="#tabs-usage">Usage</a></li>
38 </ul>
39</li>
40<li>
41 <a href="#tooltips">Tooltip</a>
42 <ul class="nav">
43 <li><a href="#tooltips-examples">Examples</a></li>
44 <li><a href="#tooltips-usage">Usage</a></li>
45 </ul>
46</li>
47<li>
48 <a href="#popovers">Popover</a>
49 <ul class="nav">
50 <li><a href="#popovers-examples">Examples</a></li>
51 <li><a href="#popovers-usage">Usage</a></li>
52 </ul>
53</li>
54<li>
55 <a href="#alerts">Alert</a>
56 <ul class="nav">
57 <li><a href="#alerts-examples">Examples</a></li>
58 <li><a href="#alerts-usage">Usage</a></li>
59 </ul>
60</li>
61<li>
62 <a href="#buttons">Button</a>
63 <ul class="nav">
64 <li><a href="#buttons-examples">Examples</a></li>
65 <li><a href="#buttons-usage">Usage</a></li>
66 </ul>
67</li>
68<li>
69 <a href="#collapse">Collapse</a>
70 <ul class="nav">
71 <li><a href="#collapse-examples">Examples</a></li>
72 <li><a href="#collapse-usage">Usage</a></li>
73 </ul>
74</li>
75<li>
76 <a href="#carousel">Carousel</a>
77 <ul class="nav">
78 <li><a href="#carousel-examples">Examples</a></li>
79 <li><a href="#carousel-usage">Usage</a></li>
80 </ul>
81</li>
82<li>
83 <a href="#affix">Affix</a>
84 <ul class="nav">
85 <li><a href="#affix-examples">Examples</a></li>
86 <li><a href="#affix-usage">Usage</a></li>
87 </ul>
88</li>
089
=== added file 'addons/web/static/lib/bootstrap/_includes/nav-main.html'
--- addons/web/static/lib/bootstrap/_includes/nav-main.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/nav-main.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,37 @@
1<header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav" role="banner">
2 <div class="container">
3 <div class="navbar-header">
4 <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
5 <span class="sr-only">Toggle navigation</span>
6 <span class="icon-bar"></span>
7 <span class="icon-bar"></span>
8 <span class="icon-bar"></span>
9 </button>
10 <a href="{{ page.base_url }}" class="navbar-brand">Bootstrap</a>
11 </div>
12 <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
13 <ul class="nav navbar-nav">
14 <li{% if page.slug == "getting-started" %} class="active"{% endif %}>
15 <a href="{{ page.base_url }}getting-started">Getting started</a>
16 </li>
17 <li{% if page.slug == "css" %} class="active"{% endif %}>
18 <a href="{{ page.base_url }}css">CSS</a>
19 </li>
20 <li{% if page.slug == "components" %} class="active"{% endif %}>
21 <a href="{{ page.base_url }}components">Components</a>
22 </li>
23 <li{% if page.slug == "js" %} class="active"{% endif %}>
24 <a href="{{ page.base_url }}javascript">JavaScript</a>
25 </li>
26 <li{% if page.slug == "customize" %} class="active"{% endif %}>
27 <a href="{{ page.base_url }}customize">Customize</a>
28 </li>
29 </ul>
30 <ul class="nav navbar-nav navbar-right">
31 <li{% if page.slug == "about" %} class="active"{% endif %}>
32 <a href="{{ page.base_url }}about">About</a>
33 </li>
34 </ul>
35 </nav>
36 </div>
37</header>
038
=== added file 'addons/web/static/lib/bootstrap/_includes/old-bs-docs.html'
--- addons/web/static/lib/bootstrap/_includes/old-bs-docs.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/old-bs-docs.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,8 @@
1<div class="bs-old-docs">
2 <div class="container">
3 <strong>
4 <a href="{{ page.base_url }}2.3.2/">Looking for Bootstrap 2.3.2 docs?</a>
5 </strong>
6 We've moved it to a new home while we push forward with Bootstrap 3. <a href="http://blog.getbootstrap.com/">Read the blog</a> for details.
7 </div>
8</div>
09
=== added file 'addons/web/static/lib/bootstrap/_includes/social-buttons.html'
--- addons/web/static/lib/bootstrap/_includes/social-buttons.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_includes/social-buttons.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,16 @@
1<div class="bs-social">
2 <ul class="bs-social-buttons">
3 <li>
4 <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=watch&amp;count=true" width="100" height="20" title="Star on GitHub"></iframe>
5 </li>
6 <li>
7 <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=fork&amp;count=true" width="102" height="20" title="Fork on GitHub"></iframe>
8 </li>
9 <li class="follow-btn">
10 <a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @twbootstrap</a>
11 </li>
12 <li class="tweet-btn">
13 <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://getbootstrap.com/" data-count="horizontal" data-via="twbootstrap" data-related="mdo:Creator of Twitter Bootstrap">Tweet</a>
14 </li>
15 </ul>
16</div>
017
=== added directory 'addons/web/static/lib/bootstrap/_layouts'
=== added file 'addons/web/static/lib/bootstrap/_layouts/default.html'
--- addons/web/static/lib/bootstrap/_layouts/default.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_layouts/default.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,79 @@
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <!-- Meta, title, CSS, favicons, etc. -->
5 {% include header.html %}
6 </head>
7 <body>
8 <a class="sr-only" href="#content">Skip to main content</a>
9
10 <!-- Docs master nav -->
11 {% include nav-main.html %}
12
13 <!-- Docs page layout -->
14 <div class="bs-header" id="content">
15 <div class="container">
16 <h1>{{ page.title }}</h1>
17 <p>{{ page.lead }}</p>
18 {% include ads.html %}
19 </div>
20 </div>
21
22 <!-- Callout for the old docs link -->
23 {% include old-bs-docs.html %}
24
25 <div class="container bs-docs-container">
26 <div class="row">
27 <div class="col-md-3">
28 <div class="bs-sidebar hidden-print" role="complementary">
29 <ul class="nav bs-sidenav">
30 {% if page.slug == "getting-started" %}
31 {% include nav-getting-started.html %}
32 {% elsif page.slug == "css" %}
33 {% include nav-css.html %}
34 {% elsif page.slug == "components" %}
35 {% include nav-components.html %}
36 {% elsif page.slug == "js" %}
37 {% include nav-javascript.html %}
38 {% elsif page.slug == "customize" %}
39 {% include nav-customize.html %}
40 {% elsif page.slug == "about" %}
41 {% include nav-about.html %}
42 {% endif %}
43 </ul>
44 </div>
45 </div>
46 <div class="col-md-9" role="main">
47 {{ content }}
48 </div>
49 </div>
50
51 </div>
52
53 <!-- Footer
54 ================================================== -->
55 <footer class="bs-footer" role="contentinfo">
56 <div class="container">
57 {% include social-buttons.html %}
58
59 <p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
60 <p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
61 <ul class="footer-links">
62 <li>Currently v{{ site.current_version }}</li>
63 <li class="muted">&middot;</li>
64 <li><a href="{{ page.base_url }}2.3.2/">Bootstrap 2.3.2 docs</a></li>
65 <li class="muted">&middot;</li>
66 <li><a href="{{ site.blog }}">Blog</a></li>
67 <li class="muted">&middot;</li>
68 <li><a href="{{ site.repo }}/issues?state=open">Issues</a></li>
69 <li class="muted">&middot;</li>
70 <li><a href="{{ site.repo }}/releases">Releases</a></li>
71 </ul>
72 </div>
73 </footer>
74
75 <!-- JS and analytics only. -->
76 {% include footer.html %}
77
78 </body>
79</html>
080
=== added file 'addons/web/static/lib/bootstrap/_layouts/home.html'
--- addons/web/static/lib/bootstrap/_layouts/home.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/_layouts/home.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,47 @@
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <!-- Meta, title, CSS, favicons, etc. -->
5 {% include header.html %}
6 </head>
7 <body class="bs-docs-home">
8 <a class="sr-only" href="#content">Skip to main content</a>
9
10 <!-- Docs master nav -->
11 {% include nav-main.html %}
12
13 <!-- Page content of course! -->
14 {{ content }}
15
16 <footer class="container" role="contentinfo">
17 {% include ads.html %}
18
19 {% include social-buttons.html %}
20
21 <ul class="bs-masthead-links">
22 <li class="current-version">
23 Currently v{{ site.current_version }}
24 </li>
25 <li>
26 <a href="{{ page.base_url }}2.3.2/">Bootstrap 2.3.2 docs</a>
27 </li>
28 <li>
29 <a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
30 </li>
31 <li>
32 <a href="{{ page.base_url }}getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
33 </li>
34 <li>
35 <a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Expo</a>
36 </li>
37 <li>
38 <a href="{{ site.blog }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Blog']);">Blog</a>
39 </li>
40 </ul>
41 </footer>
42
43 <!-- JS and analytics only. -->
44 {% include footer.html %}
45
46 </body>
47</html>
048
=== added file 'addons/web/static/lib/bootstrap/about.html'
--- addons/web/static/lib/bootstrap/about.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/about.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,93 @@
1---
2layout: default
3title: About
4slug: about
5lead: "Learn about the history of Bootstrap, meet the core team, and check out the ever-growing community resources."
6base_url: "../"
7---
8
9
10<!-- History
11================================================== -->
12<div class="bs-docs-section">
13 <div class="page-header">
14 <h1 id="history">History</h1>
15 </div>
16 <p class="lead">Originally created by a designer and a developer at Twitter, Bootstrap has become one of the most popular front-end frameworks and open source projects in the world.</p>
17 <p>Bootstrap was created at Twitter in mid-2010 by <a href="https://twitter.com/mdo">@mdo</a> and <a href="https://twitter.com/fat">@fat</a>. Prior to being an open-sourced framework, Bootstrap was known as <em>Twitter Blueprint</em>. A few months into development, Twitter held its <a href="https://blog.twitter.com/2010/hack-week">first Hack Week</a> and the project exploded as developers of all skill levels jumped in without any external guidance. It served as the style guide for internal tools development at the company for over a year before its public release, and continues to do so today.</p>
18 <p>Originally <a href="https://dev.twitter.com/blog/bootstrap-twitter">released</a> on <a href="https://twitter.com/mdo/statuses/104620039650557952"><time datetime="2011-08-19 11:25">Friday, August 19, 2011</time></a>, we've since had over <a href="https://github.com/twbs/bootstrap/releases">twenty releases</a>, including two major rewrites with v2 and v3. With Bootstrap 2, we added responsive functionality to the entire framework as an optional stylesheet. Building on that with Bootstrap 3, we rewrote the library once more to make it responsive by default with a mobile first approach.</p>
19</div>
20
21
22<!-- Team
23================================================== -->
24<div class="bs-docs-section">
25 <div class="page-header">
26 <h1 id="team">Core team</h1>
27 </div>
28 <p class="lead">Bootstrap is maintained by the founding team and a small group of invaluable core contributors, with the massive support and involvement of our community.</p>
29 <div class="list-group bs-team">
30 <div class="list-group-item">
31 <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=mdo&amp;type=follow"></iframe>
32 <a class="team-member" href="https://github.com/mdo">
33 <img src="http://www.gravatar.com/avatar/bc4ab438f7a4ce1c406aadc688427f2c" alt="@mdo">
34 <strong>Mark Otto</strong> <small>@mdo</small>
35 </a>
36 </div>
37 <div class="list-group-item">
38 <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=fat&amp;type=follow"></iframe>
39 <a class="team-member" href="https://github.com/fat">
40 <img src="http://www.gravatar.com/avatar/a98244cbdacaf1c0b55499466002f7a8" alt="@fat">
41 <strong>Jacob Thornton</strong> <small>@fat</small>
42 </a>
43 </div>
44 <div class="list-group-item">
45 <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=cvrebert&amp;type=follow"></iframe>
46 <a class="team-member" href="https://github.com/cvrebert">
47 <img src="http://www.gravatar.com/avatar/edec428c425453955f770095a7d26c50" alt="@cvrebert">
48 <strong>Chris Rebert</strong> <small>@cvrebert</small>
49 </a>
50 </div>
51 <div class="list-group-item">
52 <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=juthilo&amp;type=follow"></iframe>
53 <a class="team-member" href="https://github.com/juthilo">
54 <img src="http://www.gravatar.com/avatar/0f7dd3ce58a416be5685ea6194f82b11" alt="@juthilo">
55 <strong>Julian Thilo</strong> <small>@juthilo</small>
56 </a>
57 </div>
58 </div>
59 <p>Get involved with Bootstrap development by <a href="https://github.com/twbs/bootstrap/issues/new">opening an issue</a> or submitting a pull request. Read our <a href="https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md">contributing guidelines</a> for information on how we develop.</p>
60</div>
61
62
63<!-- Community
64================================================== -->
65<div class="bs-docs-section">
66 <div class="page-header">
67 <h1 id="community">Community</h1>
68 </div>
69 <p class="lead">Stay up to date on the development of Bootstrap and reach out to the community with these helpful resources.</p>
70 <ul>
71 <li>Read and subscribe to <a href="http://blog.getbootstrap.com/">The Official Bootstrap Blog</a>.</li>
72 <li>Have a question that's not a feature request or bug report? <a href="http://groups.google.com/group/twitter-bootstrap">Ask on the mailing list.</a></li>
73 <li>Chat with fellow Bootstrappers using IRC in the <code>irc.freenode.net</code> server, in the <a href="irc://irc.freenode.net/#twitter-bootstrap">##twitter-bootstrap channel</a>.</li>
74 <li>Find inspiring examples of people building with Bootstrap at the <a href="http://expo.getbootstrap.com">Bootstrap Expo</a>.</li>
75 </ul>
76 <p>You can also follow <a href="https://twitter.com/twbootstrap">@twbootstrap on Twitter</a> for the latest gossip and awesome music videos.</p>
77</div>
78
79
80<!-- Translations
81================================================== -->
82<div class="bs-docs-section">
83 <div class="page-header">
84 <h1 id="translations">Translations</h1>
85 </div>
86 <p class="lead">Community members have translated Bootstrap's documentation into various langauges. None are officially supported and may not always be up to date.</p>
87 <ul>
88 <li><a href="http://v3.bootcss.com/">Bootstrap 中文文档 (Chinese)</a></li>
89 <li><a href="http://www.oneskyapp.com/docs/bootstrap/ru">Bootstrap по-русски (Russian)</a></li>
90 <li><a href="http://www.oneskyapp.com/docs/bootstrap/es">Bootstrap en Español (Spanish)</a></li>
91 </ul>
92 <p>Have another language to add, or perhaps a different or better translation? Let us know by <a href="https://github.com/twbs/bootstrap/issues/new">opening an issue</a>.</p>
93</div>
094
=== added file 'addons/web/static/lib/bootstrap/bower.json'
--- addons/web/static/lib/bootstrap/bower.json 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/bower.json 2013-11-21 06:05:15 +0000
@@ -0,0 +1,11 @@
1{
2 "name": "bootstrap",
3 "version": "3.0.1",
4 "main": ["./dist/js/bootstrap.js", "./dist/css/bootstrap.css", "./dist/fonts/*"],
5 "ignore": [
6 "**/.*"
7 ],
8 "dependencies": {
9 "jquery": ">= 1.9.0"
10 }
11}
012
=== added file 'addons/web/static/lib/bootstrap/browserstack.json'
--- addons/web/static/lib/bootstrap/browserstack.json 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/browserstack.json 2013-11-21 06:05:15 +0000
@@ -0,0 +1,37 @@
1{
2 "username": "--secure--",
3 "key": "--secure--",
4 "test_path": "js/tests/index.html",
5 "browsers": [
6 {
7 "browser": "firefox",
8 "browser_version": "latest",
9 "os": "OS X",
10 "os_version": "Mountain Lion"
11 },
12 {
13 "browser": "safari",
14 "browser_version": "latest",
15 "os": "OS X",
16 "os_version": "Mountain Lion"
17 },
18 {
19 "browser": "chrome",
20 "browser_version": "latest",
21 "os": "OS X",
22 "os_version": "Mountain Lion"
23 },
24 {
25 "browser": "firefox",
26 "browser_version": "latest",
27 "os": "Windows",
28 "os_version": "7"
29 },
30 {
31 "browser": "chrome",
32 "browser_version": "latest",
33 "os": "Windows",
34 "os_version": "7"
35 }
36 ]
37}
038
=== added file 'addons/web/static/lib/bootstrap/components.html'
--- addons/web/static/lib/bootstrap/components.html 1970-01-01 00:00:00 +0000
+++ addons/web/static/lib/bootstrap/components.html 2013-11-21 06:05:15 +0000
@@ -0,0 +1,3689 @@
1---
2layout: default
3title: Components
4slug: components
5lead: "Over a dozen reusable components built to provide iconography, dropdowns, navigation, alerts, popovers, and much more."
6base_url: "../"
7---
8
9
10 <!-- Glyphicons
11 ================================================== -->
12 <div class="bs-docs-section">
13 <div class="page-header">
14 <h1 id="glyphicons">Glyphicons</h1>
15 </div>
16
17 <h2 id="glyphicons-glyphs">Available glyphs</h2>
18 <p>Includes 200 glyphs in font format from the Glyphicon Halflings set. <a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost. As a thank you, we only ask that you to include a link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever possible.</p>
19 <ul class="bs-glyphicons">
20 <li>
21 <span class="glyphicon glyphicon-adjust"></span>
22 <span class="glyphicon-class">.glyphicon .glyphicon-adjust</span>
23 </li>
24 <li>
25 <span class="glyphicon glyphicon-align-center"></span>
26 <span class="glyphicon-class">.glyphicon .glyphicon-align-center</span>
27 </li>
28 <li>
29 <span class="glyphicon glyphicon-align-justify"></span>
30 <span class="glyphicon-class">.glyphicon .glyphicon-align-justify</span>
31 </li>
32 <li>
33 <span class="glyphicon glyphicon-align-left"></span>
34 <span class="glyphicon-class">.glyphicon .glyphicon-align-left</span>
35 </li>
36 <li>
37 <span class="glyphicon glyphicon-align-right"></span>
38 <span class="glyphicon-class">.glyphicon .glyphicon-align-right</span>
39 </li>
40 <li>
41 <span class="glyphicon glyphicon-arrow-down"></span>
42 <span class="glyphicon-class">.glyphicon .glyphicon-arrow-down</span>
43 </li>
44 <li>
45 <span class="glyphicon glyphicon-arrow-left"></span>
46 <span class="glyphicon-class">.glyphicon .glyphicon-arrow-left</span>
47 </li>
48 <li>
49 <span class="glyphicon glyphicon-arrow-right"></span>
50 <span class="glyphicon-class">.glyphicon .glyphicon-arrow-right</span>
51 </li>
52 <li>
53 <span class="glyphicon glyphicon-arrow-up"></span>
54 <span class="glyphicon-class">.glyphicon .glyphicon-arrow-up</span>
55 </li>
56 <li>
57 <span class="glyphicon glyphicon-asterisk"></span>
58 <span class="glyphicon-class">.glyphicon .glyphicon-asterisk</span>
59 </li>
60 <li>
61 <span class="glyphicon glyphicon-backward"></span>
62 <span class="glyphicon-class">.glyphicon .glyphicon-backward</span>
63 </li>
64 <li>
65 <span class="glyphicon glyphicon-ban-circle"></span>
66 <span class="glyphicon-class">.glyphicon .glyphicon-ban-circle</span>
67 </li>
68 <li>
69 <span class="glyphicon glyphicon-barcode"></span>
70 <span class="glyphicon-class">.glyphicon .glyphicon-barcode</span>
71 </li>
72 <li>
73 <span class="glyphicon glyphicon-bell"></span>
74 <span class="glyphicon-class">.glyphicon .glyphicon-bell</span>
75 </li>
76 <li>
77 <span class="glyphicon glyphicon-bold"></span>
78 <span class="glyphicon-class">.glyphicon .glyphicon-bold</span>
79 </li>
80 <li>
81 <span class="glyphicon glyphicon-book"></span>
82 <span class="glyphicon-class">.glyphicon .glyphicon-book</span>
83 </li>
84 <li>
85 <span class="glyphicon glyphicon-bookmark"></span>
86 <span class="glyphicon-class">.glyphicon .glyphicon-bookmark</span>
87 </li>
88 <li>
89 <span class="glyphicon glyphicon-briefcase"></span>
90 <span class="glyphicon-class">.glyphicon .glyphicon-briefcase</span>
91 </li>
92 <li>
93 <span class="glyphicon glyphicon-bullhorn"></span>
94 <span class="glyphicon-class">.glyphicon .glyphicon-bullhorn</span>
95 </li>
96 <li>
97 <span class="glyphicon glyphicon-calendar"></span>
98 <span class="glyphicon-class">.glyphicon .glyphicon-calendar</span>
99 </li>
100 <li>
101 <span class="glyphicon glyphicon-camera"></span>
102 <span class="glyphicon-class">.glyphicon .glyphicon-camera</span>
103 </li>
104 <li>
105 <span class="glyphicon glyphicon-certificate"></span>
106 <span class="glyphicon-class">.glyphicon .glyphicon-certificate</span>
107 </li>
108 <li>
109 <span class="glyphicon glyphicon-check"></span>
110 <span class="glyphicon-class">.glyphicon .glyphicon-check</span>
111 </li>
112 <li>
113 <span class="glyphicon glyphicon-chevron-down"></span>
114 <span class="glyphicon-class">.glyphicon .glyphicon-chevron-down</span>
115 </li>
116 <li>
117 <span class="glyphicon glyphicon-chevron-left"></span>
118 <span class="glyphicon-class">.glyphicon .glyphicon-chevron-left</span>
119 </li>
120 <li>
121 <span class="glyphicon glyphicon-chevron-right"></span>
122 <span class="glyphicon-class">.glyphicon .glyphicon-chevron-right</span>
123 </li>
124 <li>
125 <span class="glyphicon glyphicon-chevron-up"></span>
126 <span class="glyphicon-class">.glyphicon .glyphicon-chevron-up</span>
127 </li>
128 <li>
129 <span class="glyphicon glyphicon-circle-arrow-down"></span>
130 <span class="glyphicon-class">.glyphicon .glyphicon-circle-arrow-down</span>
131 </li>
132 <li>
133 <span class="glyphicon glyphicon-circle-arrow-left"></span>
134 <span class="glyphicon-class">.glyphicon .glyphicon-circle-arrow-left</span>
135 </li>
136 <li>
137 <span class="glyphicon glyphicon-circle-arrow-right"></span>
138 <span class="glyphicon-class">.glyphicon .glyphicon-circle-arrow-right</span>
139 </li>
140 <li>
141 <span class="glyphicon glyphicon-circle-arrow-up"></span>
142 <span class="glyphicon-class">.glyphicon .glyphicon-circle-arrow-up</span>
143 </li>
144 <li>
145 <span class="glyphicon glyphicon-cloud"></span>
146 <span class="glyphicon-class">.glyphicon .glyphicon-cloud</span>
147 </li>
148 <li>
149 <span class="glyphicon glyphicon-cloud-download"></span>
150 <span class="glyphicon-class">.glyphicon .glyphicon-cloud-download</span>
151 </li>
152 <li>
153 <span class="glyphicon glyphicon-cloud-upload"></span>
154 <span class="glyphicon-class">.glyphicon .glyphicon-cloud-upload</span>
155 </li>
156 <li>
157 <span class="glyphicon glyphicon-cog"></span>
158 <span class="glyphicon-class">.glyphicon .glyphicon-cog</span>
159 </li>
160 <li>
161 <span class="glyphicon glyphicon-collapse-down"></span>
162 <span class="glyphicon-class">.glyphicon .glyphicon-collapse-down</span>
163 </li>
164 <li>
165 <span class="glyphicon glyphicon-collapse-up"></span>
166 <span class="glyphicon-class">.glyphicon .glyphicon-collapse-up</span>
167 </li>
168 <li>
169 <span class="glyphicon glyphicon-comment"></span>
170 <span class="glyphicon-class">.glyphicon .glyphicon-comment</span>
171 </li>
172 <li>
173 <span class="glyphicon glyphicon-compressed"></span>
174 <span class="glyphicon-class">.glyphicon .glyphicon-compressed</span>
175 </li>
176 <li>
177 <span class="glyphicon glyphicon-copyright-mark"></span>
178 <span class="glyphicon-class">.glyphicon .glyphicon-copyright-mark</span>
179 </li>
180 <li>
181 <span class="glyphicon glyphicon-credit-card"></span>
182 <span class="glyphicon-class">.glyphicon .glyphicon-credit-card</span>
183 </li>
184 <li>
185 <span class="glyphicon glyphicon-cutlery"></span>
186 <span class="glyphicon-class">.glyphicon .glyphicon-cutlery</span>
187 </li>
188 <li>
189 <span class="glyphicon glyphicon-dashboard"></span>
190 <span class="glyphicon-class">.glyphicon .glyphicon-dashboard</span>
191 </li>
192 <li>
193 <span class="glyphicon glyphicon-download"></span>
194 <span class="glyphicon-class">.glyphicon .glyphicon-download</span>
195 </li>
196 <li>
197 <span class="glyphicon glyphicon-download-alt"></span>
198 <span class="glyphicon-class">.glyphicon .glyphicon-download-alt</span>
199 </li>
200 <li>
201 <span class="glyphicon glyphicon-earphone"></span>
202 <span class="glyphicon-class">.glyphicon .glyphicon-earphone</span>
203 </li>
204 <li>
205 <span class="glyphicon glyphicon-edit"></span>
206 <span class="glyphicon-class">.glyphicon .glyphicon-edit</span>
207 </li>
208 <li>
209 <span class="glyphicon glyphicon-eject"></span>
210 <span class="glyphicon-class">.glyphicon .glyphicon-eject</span>
211 </li>
212 <li>
213 <span class="glyphicon glyphicon-envelope"></span>
214 <span class="glyphicon-class">.glyphicon .glyphicon-envelope</span>
215 </li>
216 <li>
217 <span class="glyphicon glyphicon-euro"></span>
218 <span class="glyphicon-class">.glyphicon .glyphicon-euro</span>
219 </li>
220 <li>
221 <span class="glyphicon glyphicon-exclamation-sign"></span>
222 <span class="glyphicon-class">.glyphicon .glyphicon-exclamation-sign</span>
223 </li>
224 <li>
225 <span class="glyphicon glyphicon-expand"></span>
226 <span class="glyphicon-class">.glyphicon .glyphicon-expand</span>
227 </li>
228 <li>
229 <span class="glyphicon glyphicon-export"></span>
230 <span class="glyphicon-class">.glyphicon .glyphicon-export</span>
231 </li>
232 <li>
233 <span class="glyphicon glyphicon-eye-close"></span>
234 <span class="glyphicon-class">.glyphicon .glyphicon-eye-close</span>
235 </li>
236 <li>
237 <span class="glyphicon glyphicon-eye-open"></span>
238 <span class="glyphicon-class">.glyphicon .glyphicon-eye-open</span>
239 </li>
240 <li>
241 <span class="glyphicon glyphicon-facetime-video"></span>
242 <span class="glyphicon-class">.glyphicon .glyphicon-facetime-video</span>
243 </li>
244 <li>
245 <span class="glyphicon glyphicon-fast-backward"></span>
246 <span class="glyphicon-class">.glyphicon .glyphicon-fast-backward</span>
247 </li>
248 <li>
249 <span class="glyphicon glyphicon-fast-forward"></span>
250 <span class="glyphicon-class">.glyphicon .glyphicon-fast-forward</span>
251 </li>
252 <li>
253 <span class="glyphicon glyphicon-file"></span>
254 <span class="glyphicon-class">.glyphicon .glyphicon-file</span>
255 </li>
256 <li>
257 <span class="glyphicon glyphicon-film"></span>
258 <span class="glyphicon-class">.glyphicon .glyphicon-film</span>
259 </li>
260 <li>
261 <span class="glyphicon glyphicon-filter"></span>
262 <span class="glyphicon-class">.glyphicon .glyphicon-filter</span>
263 </li>
264 <li>
265 <span class="glyphicon glyphicon-fire"></span>
266 <span class="glyphicon-class">.glyphicon .glyphicon-fire</span>
267 </li>
268 <li>
269 <span class="glyphicon glyphicon-flag"></span>
270 <span class="glyphicon-class">.glyphicon .glyphicon-flag</span>
271 </li>
272 <li>
273 <span class="glyphicon glyphicon-flash"></span>
274 <span class="glyphicon-class">.glyphicon .glyphicon-flash</span>
275 </li>
276 <li>
277 <span class="glyphicon glyphicon-floppy-disk"></span>
278 <span class="glyphicon-class">.glyphicon .glyphicon-floppy-disk</span>
279 </li>
280 <li>
281 <span class="glyphicon glyphicon-floppy-open"></span>
282 <span class="glyphicon-class">.glyphicon .glyphicon-floppy-open</span>
283 </li>
284 <li>
285 <span class="glyphicon glyphicon-floppy-remove"></span>
286 <span class="glyphicon-class">.glyphicon .glyphicon-floppy-remove</span>
287 </li>
288 <li>
289 <span class="glyphicon glyphicon-floppy-save"></span>
290 <span class="glyphicon-class">.glyphicon .glyphicon-floppy-save</span>
291 </li>
292 <li>
293 <span class="glyphicon glyphicon-floppy-saved"></span>
294 <span class="glyphicon-class">.glyphicon .glyphicon-floppy-saved</span>
295 </li>
296 <li>
297 <span class="glyphicon glyphicon-folder-close"></span>
298 <span class="glyphicon-class">.glyphicon .glyphicon-folder-close</span>
299 </li>
300 <li>
301 <span class="glyphicon glyphicon-folder-open"></span>
302 <span class="glyphicon-class">.glyphicon .glyphicon-folder-open</span>
303 </li>
304 <li>
305 <span class="glyphicon glyphicon-font"></span>
306 <span class="glyphicon-class">.glyphicon .glyphicon-font</span>
307 </li>
308 <li>
309 <span class="glyphicon glyphicon-forward"></span>
310 <span class="glyphicon-class">.glyphicon .glyphicon-forward</span>
311 </li>
312 <li>
313 <span class="glyphicon glyphicon-fullscreen"></span>
314 <span class="glyphicon-class">.glyphicon .glyphicon-fullscreen</span>
315 </li>
316 <li>
317 <span class="glyphicon glyphicon-gbp"></span>
318 <span class="glyphicon-class">.glyphicon .glyphicon-gbp</span>
319 </li>
320 <li>
321 <span class="glyphicon glyphicon-gift"></span>
322 <span class="glyphicon-class">.glyphicon .glyphicon-gift</span>
323 </li>
324 <li>
325 <span class="glyphicon glyphicon-glass"></span>
326 <span class="glyphicon-class">.glyphicon .glyphicon-glass</span>
327 </li>
328 <li>
329 <span class="glyphicon glyphicon-globe"></span>
330 <span class="glyphicon-class">.glyphicon .glyphicon-globe</span>
331 </li>
332 <li>
333 <span class="glyphicon glyphicon-hand-down"></span>
334 <span class="glyphicon-class">.glyphicon .glyphicon-hand-down</span>
335 </li>
336 <li>
337 <span class="glyphicon glyphicon-hand-left"></span>
338 <span class="glyphicon-class">.glyphicon .glyphicon-hand-left</span>
339 </li>
340 <li>
341 <span class="glyphicon glyphicon-hand-right"></span>
342 <span class="glyphicon-class">.glyphicon .glyphicon-hand-right</span>
343 </li>
344 <li>
345 <span class="glyphicon glyphicon-hand-up"></span>
346 <span class="glyphicon-class">.glyphicon .glyphicon-hand-up</span>
347 </li>
348 <li>
349 <span class="glyphicon glyphicon-hd-video"></span>
350 <span class="glyphicon-class">.glyphicon .glyphicon-hd-video</span>
351 </li>
352 <li>
353 <span class="glyphicon glyphicon-hdd"></span>
354 <span class="glyphicon-class">.glyphicon .glyphicon-hdd</span>
355 </li>
356 <li>
357 <span class="glyphicon glyphicon-header"></span>
358 <span class="glyphicon-class">.glyphicon .glyphicon-header</span>
359 </li>
360 <li>
361 <span class="glyphicon glyphicon-headphones"></span>
362 <span class="glyphicon-class">.glyphicon .glyphicon-headphones</span>
363 </li>
364 <li>
365 <span class="glyphicon glyphicon-heart"></span>
366 <span class="glyphicon-class">.glyphicon .glyphicon-heart</span>
367 </li>
368 <li>
369 <span class="glyphicon glyphicon-heart-empty"></span>
370 <span class="glyphicon-class">.glyphicon .glyphicon-heart-empty</span>
371 </li>
372 <li>
373 <span class="glyphicon glyphicon-home"></span>
374 <span class="glyphicon-class">.glyphicon .glyphicon-home</span>
375 </li>
376 <li>
377 <span class="glyphicon glyphicon-import"></span>
378 <span class="glyphicon-class">.glyphicon .glyphicon-import</span>
379 </li>
380 <li>
381 <span class="glyphicon glyphicon-inbox"></span>
382 <span class="glyphicon-class">.glyphicon .glyphicon-inbox</span>
383 </li>
384 <li>
385 <span class="glyphicon glyphicon-indent-left"></span>
386 <span class="glyphicon-class">.glyphicon .glyphicon-indent-left</span>
387 </li>
388 <li>
389 <span class="glyphicon glyphicon-indent-right"></span>
390 <span class="glyphicon-class">.glyphicon .glyphicon-indent-right</span>
391 </li>
392 <li>
393 <span class="glyphicon glyphicon-info-sign"></span>
394 <span class="glyphicon-class">.glyphicon .glyphicon-info-sign</span>
395 </li>
396 <li>
397 <span class="glyphicon glyphicon-italic"></span>
398 <span class="glyphicon-class">.glyphicon .glyphicon-italic</span>
399 </li>
400 <li>
401 <span class="glyphicon glyphicon-leaf"></span>
402 <span class="glyphicon-class">.glyphicon .glyphicon-leaf</span>
403 </li>
404 <li>
405 <span class="glyphicon glyphicon-link"></span>
406 <span class="glyphicon-class">.glyphicon .glyphicon-link</span>
407 </li>
408 <li>
409 <span class="glyphicon glyphicon-list"></span>
410 <span class="glyphicon-class">.glyphicon .glyphicon-list</span>
411 </li>
412 <li>
413 <span class="glyphicon glyphicon-list-alt"></span>
414 <span class="glyphicon-class">.glyphicon .glyphicon-list-alt</span>
415 </li>
416 <li>
417 <span class="glyphicon glyphicon-lock"></span>
418 <span class="glyphicon-class">.glyphicon .glyphicon-lock</span>
419 </li>
420 <li>
421 <span class="glyphicon glyphicon-log-in"></span>
422 <span class="glyphicon-class">.glyphicon .glyphicon-log-in</span>
423 </li>
424 <li>
425 <span class="glyphicon glyphicon-log-out"></span>
426 <span class="glyphicon-class">.glyphicon .glyphicon-log-out</span>
427 </li>
428 <li>
429 <span class="glyphicon glyphicon-magnet"></span>
430 <span class="glyphicon-class">.glyphicon .glyphicon-magnet</span>
431 </li>
432 <li>
433 <span class="glyphicon glyphicon-map-marker"></span>
434 <span class="glyphicon-class">.glyphicon .glyphicon-map-marker</span>
435 </li>
436 <li>
437 <span class="glyphicon glyphicon-minus"></span>
438 <span class="glyphicon-class">.glyphicon .glyphicon-minus</span>
439 </li>
440 <li>
441 <span class="glyphicon glyphicon-minus-sign"></span>
442 <span class="glyphicon-class">.glyphicon .glyphicon-minus-sign</span>
443 </li>
444 <li>
445 <span class="glyphicon glyphicon-move"></span>
446 <span class="glyphicon-class">.glyphicon .glyphicon-move</span>
447 </li>
448 <li>
449 <span class="glyphicon glyphicon-music"></span>
450 <span class="glyphicon-class">.glyphicon .glyphicon-music</span>
451 </li>
452 <li>
453 <span class="glyphicon glyphicon-new-window"></span>
454 <span class="glyphicon-class">.glyphicon .glyphicon-new-window</span>
455 </li>
456 <li>
457 <span class="glyphicon glyphicon-off"></span>
458 <span class="glyphicon-class">.glyphicon .glyphicon-off</span>
459 </li>
460 <li>
461 <span class="glyphicon glyphicon-ok"></span>
462 <span class="glyphicon-class">.glyphicon .glyphicon-ok</span>
463 </li>
464 <li>
465 <span class="glyphicon glyphicon-ok-circle"></span>
466 <span class="glyphicon-class">.glyphicon .glyphicon-ok-circle</span>
467 </li>
468 <li>
469 <span class="glyphicon glyphicon-ok-sign"></span>
470 <span class="glyphicon-class">.glyphicon .glyphicon-ok-sign</span>
471 </li>
472 <li>
473 <span class="glyphicon glyphicon-open"></span>
474 <span class="glyphicon-class">.glyphicon .glyphicon-open</span>
475 </li>
476 <li>
477 <span class="glyphicon glyphicon-paperclip"></span>
478 <span class="glyphicon-class">.glyphicon .glyphicon-paperclip</span>
479 </li>
480 <li>
481 <span class="glyphicon glyphicon-pause"></span>
482 <span class="glyphicon-class">.glyphicon .glyphicon-pause</span>
483 </li>
484 <li>
485 <span class="glyphicon glyphicon-pencil"></span>
486 <span class="glyphicon-class">.glyphicon .glyphicon-pencil</span>
487 </li>
488 <li>
489 <span class="glyphicon glyphicon-phone"></span>
490 <span class="glyphicon-class">.glyphicon .glyphicon-phone</span>
491 </li>
492 <li>
493 <span class="glyphicon glyphicon-phone-alt"></span>
494 <span class="glyphicon-class">.glyphicon .glyphicon-phone-alt</span>
495 </li>
496 <li>
497 <span class="glyphicon glyphicon-picture"></span>
498 <span class="glyphicon-class">.glyphicon .glyphicon-picture</span>
499 </li>
500 <li>
501 <span class="glyphicon glyphicon-plane"></span>
502 <span class="glyphicon-class">.glyphicon .glyphicon-plane</span>
503 </li>
504 <li>
505 <span class="glyphicon glyphicon-play"></span>
506 <span class="glyphicon-class">.glyphicon .glyphicon-play</span>
507 </li>
508 <li>
509 <span class="glyphicon glyphicon-play-circle"></span>
510 <span class="glyphicon-class">.glyphicon .glyphicon-play-circle</span>
511 </li>
512 <li>
513 <span class="glyphicon glyphicon-plus"></span>
514 <span class="glyphicon-class">.glyphicon .glyphicon-plus</span>
515 </li>
516 <li>
517 <span class="glyphicon glyphicon-plus-sign"></span>
518 <span class="glyphicon-class">.glyphicon .glyphicon-plus-sign</span>
519 </li>
520 <li>
521 <span class="glyphicon glyphicon-print"></span>
522 <span class="glyphicon-class">.glyphicon .glyphicon-print</span>
523 </li>
524 <li>
525 <span class="glyphicon glyphicon-pushpin"></span>
526 <span class="glyphicon-class">.glyphicon .glyphicon-pushpin</span>
527 </li>
528 <li>
529 <span class="glyphicon glyphicon-qrcode"></span>
530 <span class="glyphicon-class">.glyphicon .glyphicon-qrcode</span>
531 </li>
532 <li>
533 <span class="glyphicon glyphicon-question-sign"></span>
534 <span class="glyphicon-class">.glyphicon .glyphicon-question-sign</span>
535 </li>
536 <li>
537 <span class="glyphicon glyphicon-random"></span>
538 <span class="glyphicon-class">.glyphicon .glyphicon-random</span>
539 </li>
540 <li>
541 <span class="glyphicon glyphicon-record"></span>
542 <span class="glyphicon-class">.glyphicon .glyphicon-record</span>
543 </li>
544 <li>
545 <span class="glyphicon glyphicon-refresh"></span>
546 <span class="glyphicon-class">.glyphicon .glyphicon-refresh</span>
547 </li>
548 <li>
549 <span class="glyphicon glyphicon-registration-mark"></span>
550 <span class="glyphicon-class">.glyphicon .glyphicon-registration-mark</span>
551 </li>
552 <li>
553 <span class="glyphicon glyphicon-remove"></span>
554 <span class="glyphicon-class">.glyphicon .glyphicon-remove</span>
555 </li>
556 <li>
557 <span class="glyphicon glyphicon-remove-circle"></span>
558 <span class="glyphicon-class">.glyphicon .glyphicon-remove-circle</span>
559 </li>
560 <li>
561 <span class="glyphicon glyphicon-remove-sign"></span>
562 <span class="glyphicon-class">.glyphicon .glyphicon-remove-sign</span>
563 </li>
564 <li>
565 <span class="glyphicon glyphicon-repeat"></span>
566 <span class="glyphicon-class">.glyphicon .glyphicon-repeat</span>
567 </li>
568 <li>
569 <span class="glyphicon glyphicon-resize-full"></span>
570 <span class="glyphicon-class">.glyphicon .glyphicon-resize-full</span>
571 </li>
572 <li>
573 <span class="glyphicon glyphicon-resize-horizontal"></span>
574 <span class="glyphicon-class">.glyphicon .glyphicon-resize-horizontal</span>
575 </li>
576 <li>
577 <span class="glyphicon glyphicon-resize-small"></span>
578 <span class="glyphicon-class">.glyphicon .glyphicon-resize-small</span>
579 </li>
580 <li>
581 <span class="glyphicon glyphicon-resize-vertical"></span>
582 <span class="glyphicon-class">.glyphicon .glyphicon-resize-vertical</span>
583 </li>
584 <li>
585 <span class="glyphicon glyphicon-retweet"></span>
586 <span class="glyphicon-class">.glyphicon .glyphicon-retweet</span>
587 </li>
588 <li>
589 <span class="glyphicon glyphicon-road"></span>
590 <span class="glyphicon-class">.glyphicon .glyphicon-road</span>
591 </li>
592 <li>
593 <span class="glyphicon glyphicon-save"></span>
594 <span class="glyphicon-class">.glyphicon .glyphicon-save</span>
595 </li>
596 <li>
597 <span class="glyphicon glyphicon-saved"></span>
598 <span class="glyphicon-class">.glyphicon .glyphicon-saved</span>
599 </li>
600 <li>
601 <span class="glyphicon glyphicon-screenshot"></span>
602 <span class="glyphicon-class">.glyphicon .glyphicon-screenshot</span>
603 </li>
604 <li>
605 <span class="glyphicon glyphicon-sd-video"></span>
606 <span class="glyphicon-class">.glyphicon .glyphicon-sd-video</span>
607 </li>
608 <li>
609 <span class="glyphicon glyphicon-search"></span>
610 <span class="glyphicon-class">.glyphicon .glyphicon-search</span>
611 </li>
612 <li>
613 <span class="glyphicon glyphicon-send"></span>
614 <span class="glyphicon-class">.glyphicon .glyphicon-send</span>
615 </li>
616 <li>
617 <span class="glyphicon glyphicon-share"></span>
618 <span class="glyphicon-class">.glyphicon .glyphicon-share</span>
619 </li>
620 <li>
621 <span class="glyphicon glyphicon-share-alt"></span>
622 <span class="glyphicon-class">.glyphicon .glyphicon-share-alt</span>
623 </li>
624 <li>
625 <span class="glyphicon glyphicon-shopping-cart"></span>
626 <span class="glyphicon-class">.glyphicon .glyphicon-shopping-cart</span>
627 </li>
628 <li>
629 <span class="glyphicon glyphicon-signal"></span>
630 <span class="glyphicon-class">.glyphicon .glyphicon-signal</span>
631 </li>
632 <li>
633 <span class="glyphicon glyphicon-sort"></span>
634 <span class="glyphicon-class">.glyphicon .glyphicon-sort</span>
635 </li>
636 <li>
637 <span class="glyphicon glyphicon-sort-by-alphabet"></span>
638 <span class="glyphicon-class">.glyphicon .glyphicon-sort-by-alphabet</span>
639 </li>
640 <li>
641 <span class="glyphicon glyphicon-sort-by-alphabet-alt"></span>
642 <span class="glyphicon-class">.glyphicon .glyphicon-sort-by-alphabet-alt</span>
643 </li>
644 <li>
645 <span class="glyphicon glyphicon-sort-by-attributes"></span>
646 <span class="glyphicon-class">.glyphicon .glyphicon-sort-by-attributes</span>
647 </li>
648 <li>
649 <span class="glyphicon glyphicon-sort-by-attributes-alt"></span>
650 <span class="glyphicon-class">.glyphicon .glyphicon-sort-by-attributes-alt</span>
651 </li>
652 <li>
653 <span class="glyphicon glyphicon-sort-by-order"></span>
654 <span class="glyphicon-class">.glyphicon .glyphicon-sort-by-order</span>
655 </li>
656 <li>
657 <span class="glyphicon glyphicon-sort-by-order-alt"></span>
658 <span class="glyphicon-class">.glyphicon .glyphicon-sort-by-order-alt</span>
659 </li>
660 <li>
661 <span class="glyphicon glyphicon-sound-5-1"></span>
662 <span class="glyphicon-class">.glyphicon .glyphicon-sound-5-1</span>
663 </li>
664 <li>
665 <span class="glyphicon glyphicon-sound-6-1"></span>
666 <span class="glyphicon-class">.glyphicon .glyphicon-sound-6-1</span>
667 </li>
668 <li>
669 <span class="glyphicon glyphicon-sound-7-1"></span>
670 <span class="glyphicon-class">.glyphicon .glyphicon-sound-7-1</span>
671 </li>
672 <li>
673 <span class="glyphicon glyphicon-sound-dolby"></span>
674 <span class="glyphicon-class">.glyphicon .glyphicon-sound-dolby</span>
675 </li>
676 <li>
677 <span class="glyphicon glyphicon-sound-stereo"></span>
678 <span class="glyphicon-class">.glyphicon .glyphicon-sound-stereo</span>
679 </li>
680 <li>
681 <span class="glyphicon glyphicon-star"></span>
682 <span class="glyphicon-class">.glyphicon .glyphicon-star</span>
683 </li>
684 <li>
685 <span class="glyphicon glyphicon-star-empty"></span>
686 <span class="glyphicon-class">.glyphicon .glyphicon-star-empty</span>
687 </li>
688 <li>
689 <span class="glyphicon glyphicon-stats"></span>
690 <span class="glyphicon-class">.glyphicon .glyphicon-stats</span>
691 </li>
692 <li>
693 <span class="glyphicon glyphicon-step-backward"></span>
694 <span class="glyphicon-class">.glyphicon .glyphicon-step-backward</span>
695 </li>
696 <li>
697 <span class="glyphicon glyphicon-step-forward"></span>
698 <span class="glyphicon-class">.glyphicon .glyphicon-step-forward</span>
699 </li>
700 <li>
701 <span class="glyphicon glyphicon-stop"></span>
702 <span class="glyphicon-class">.glyphicon .glyphicon-stop</span>
703 </li>
704 <li>
705 <span class="glyphicon glyphicon-subtitles"></span>
706 <span class="glyphicon-class">.glyphicon .glyphicon-subtitles</span>
707 </li>
708 <li>
709 <span class="glyphicon glyphicon-tag"></span>
710 <span class="glyphicon-class">.glyphicon .glyphicon-tag</span>
711 </li>
712 <li>
713 <span class="glyphicon glyphicon-tags"></span>
714 <span class="glyphicon-class">.glyphicon .glyphicon-tags</span>
715 </li>
716 <li>
717 <span class="glyphicon glyphicon-tasks"></span>
718 <span class="glyphicon-class">.glyphicon .glyphicon-tasks</span>
719 </li>
720 <li>
721 <span class="glyphicon glyphicon-text-height"></span>
722 <span class="glyphicon-class">.glyphicon .glyphicon-text-height</span>
723 </li>
724 <li>
725 <span class="glyphicon glyphicon-text-width"></span>
726 <span class="glyphicon-class">.glyphicon .glyphicon-text-width</span>
727 </li>
728 <li>
729 <span class="glyphicon glyphicon-th"></span>
730 <span class="glyphicon-class">.glyphicon .glyphicon-th</span>
731 </li>
732 <li>
733 <span class="glyphicon glyphicon-th-large"></span>
734 <span class="glyphicon-class">.glyphicon .glyphicon-th-large</span>
735 </li>
736 <li>
737 <span class="glyphicon glyphicon-th-list"></span>
738 <span class="glyphicon-class">.glyphicon .glyphicon-th-list</span>
739 </li>
740 <li>
741 <span class="glyphicon glyphicon-thumbs-down"></span>
742 <span class="glyphicon-class">.glyphicon .glyphicon-thumbs-down</span>
743 </li>
744 <li>
745 <span class="glyphicon glyphicon-thumbs-up"></span>
746 <span class="glyphicon-class">.glyphicon .glyphicon-thumbs-up</span>
747 </li>
748 <li>
749 <span class="glyphicon glyphicon-time"></span>
750 <span class="glyphicon-class">.glyphicon .glyphicon-time</span>
751 </li>
752 <li>
753 <span class="glyphicon glyphicon-tint"></span>
754 <span class="glyphicon-class">.glyphicon .glyphicon-tint</span>
755 </li>
756 <li>
757 <span class="glyphicon glyphicon-tower"></span>
758 <span class="glyphicon-class">.glyphicon .glyphicon-tower</span>
759 </li>
760 <li>
761 <span class="glyphicon glyphicon-transfer"></span>
762 <span class="glyphicon-class">.glyphicon .glyphicon-transfer</span>
763 </li>
764 <li>
765 <span class="glyphicon glyphicon-trash"></span>
766 <span class="glyphicon-class">.glyphicon .glyphicon-trash</span>
767 </li>
768 <li>
769 <span class="glyphicon glyphicon-tree-conifer"></span>
770 <span class="glyphicon-class">.glyphicon .glyphicon-tree-conifer</span>
771 </li>
772 <li>
773 <span class="glyphicon glyphicon-tree-deciduous"></span>
774 <span class="glyphicon-class">.glyphicon .glyphicon-tree-deciduous</span>
775 </li>
776 <li>
777 <span class="glyphicon glyphicon-unchecked"></span>
778 <span class="glyphicon-class">.glyphicon .glyphicon-unchecked</span>
779 </li>
780 <li>
781 <span class="glyphicon glyphicon-upload"></span>
782 <span class="glyphicon-class">.glyphicon .glyphicon-upload</span>
783 </li>
784 <li>
785 <span class="glyphicon glyphicon-usd"></span>
786 <span class="glyphicon-class">.glyphicon .glyphicon-usd</span>
787 </li>
788 <li>
789 <span class="glyphicon glyphicon-user"></span>
790 <span class="glyphicon-class">.glyphicon .glyphicon-user</span>
791 </li>
792 <li>
793 <span class="glyphicon glyphicon-volume-down"></span>
794 <span class="glyphicon-class">.glyphicon .glyphicon-volume-down</span>
795 </li>
796 <li>
797 <span class="glyphicon glyphicon-volume-off"></span>
798 <span class="glyphicon-class">.glyphicon .glyphicon-volume-off</span>
799 </li>
800 <li>
801 <span class="glyphicon glyphicon-volume-up"></span>
802 <span class="glyphicon-class">.glyphicon .glyphicon-volume-up</span>
803 </li>
804 <li>
805 <span class="glyphicon glyphicon-warning-sign"></span>
806 <span class="glyphicon-class">.glyphicon .glyphicon-warning-sign</span>
807 </li>
808 <li>
809 <span class="glyphicon glyphicon-wrench"></span>
810 <span class="glyphicon-class">.glyphicon .glyphicon-wrench</span>
811 </li>
812 <li>
813 <span class="glyphicon glyphicon-zoom-in"></span>
814 <span class="glyphicon-class">.glyphicon .glyphicon-zoom-in</span>
815 </li>
816 <li>
817 <span class="glyphicon glyphicon-zoom-out"></span>
818 <span class="glyphicon-class">.glyphicon .glyphicon-zoom-out</span>
819 </li>
820 </ul>
821
822
823 <h2 id="glyphicons-how-to-use">How to use</h2>
824 <p>For performance reasons, all icons require a base class and individual icon class. To use, place the following code just about anywhere. Be sure to leave a space between the icon and text for proper padding.</p>
825{% highlight html %}
826<span class="glyphicon glyphicon-search"></span>
827{% endhighlight %}
828
829
830 <h2 id="glyphicons-examples">Examples</h2>
831 <p>Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.</p>
832 <div class="bs-example">
833 <div class="btn-toolbar" role="toolbar">
834 <div class="btn-group">
835 <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-left"></span></button>
836 <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-center"></span></button>
837 <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-right"></span></button>
838 <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-justify"></span></button>
839 </div>
840 </div>
841 <div class="btn-toolbar" role="toolbar">
842 <button type="button" class="btn btn-default btn-lg"><span class="glyphicon glyphicon-star"></span> Star</button>
843 <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-star"></span> Star</button>
844 <button type="button" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-star"></span> Star</button>
845 <button type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-star"></span> Star</button>
846 </div>
847 </div>
848{% highlight html %}
849<button type="button" class="btn btn-default btn-lg">
850 <span class="glyphicon glyphicon-star"></span> Star
851</button>
852{% endhighlight %}
853
854 </div>
855
856
857 <!-- Dropdowns
858 ================================================== -->
859 <div class="bs-docs-section">
860 <div class="page-header">
861 <h1 id="dropdowns">Dropdowns</h1>
862 </div>
863 <p class="lead">Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="../javascript/#dropdowns">dropdown JavaScript plugin</a>.</p>
864
865 <h3 id="dropdowns-example">Example</h3>
866 <p>Wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then add the menu's HTML.</p>
867 <div class="bs-example">
868 <div class="dropdown clearfix">
869 <button class="btn dropdown-toggle sr-only" type="button" id="dropdownMenu1" data-toggle="dropdown">
870 Dropdown
871 <span class="caret"></span>
872 </button>
873 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
874 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
875 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
876 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
877 <li role="presentation" class="divider"></li>
878 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
879 </ul>
880 </div>
881 </div><!-- /example -->
882{% highlight html %}
883<div class="dropdown">
884 <button class="btn dropdown-toggle sr-only" type="button" id="dropdownMenu1" data-toggle="dropdown">
885 Dropdown
886 <span class="caret"></span>
887 </button>
888 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
889 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
890 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
891 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
892 <li role="presentation" class="divider"></li>
893 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
894 </ul>
895</div>
896{% endhighlight %}
897
898 <h3 id="dropdowns-alignment">Alignment options</h3>
899 <p>Add <code>.pull-right</code> to a <code>.dropdown-menu</code> to right align the dropdown menu.</p>
900{% highlight html %}
901<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dLabel">
902 ...
903</ul>
904{% endhighlight %}
905
906 <h3 id="dropdowns-headers">Headers</h3>
907 <p>Add a header to label sections of actions in any dropdown menu.</p>
908 <div class="bs-example">
909 <div class="dropdown clearfix">
910 <button class="btn dropdown-toggle sr-only" type="button" id="dropdownMenu2" data-toggle="dropdown">
911 Dropdown
912 <span class="caret"></span>
913 </button>
914 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2">
915 <li role="presentation" class="dropdown-header">Dropdown header</li>
916 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
917 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
918 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
919 <li role="presentation" class="divider"></li>
920 <li role="presentation" class="dropdown-header">Dropdown header</li>
921 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
922 </ul>
923 </div>
924 </div><!-- /example -->
925{% highlight html %}
926<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2">
927 <li role="presentation" class="dropdown-header">Dropdown header</li>
928 ...
929 <li role="presentation" class="divider"></li>
930 <li role="presentation" class="dropdown-header">Dropdown header</li>
931 ...
932</ul>
933{% endhighlight %}
934
935 <h3 id="dropdowns-disabled">Disabled menu items</h3>
936 <p>Add <code>.disabled</code> to a <code>&lt;li&gt;</code> in the dropdown to disable the link.</p>
937 <div class="bs-example">
938 <div class="dropdown clearfix">
939 <button class="btn dropdown-toggle sr-only" type="button" id="dropdownMenu3" data-toggle="dropdown">
940 Dropdown
941 <span class="caret"></span>
942 </button>
943 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu3">
944 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Regular link</a></li>
945 <li role="presentation" class="disabled"><a role="menuitem" tabindex="-1" href="#">Disabled link</a></li>
946 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another link</a></li>
947 </ul>
948 </div>
949 </div><!-- /example -->
950{% highlight html %}
951<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu3">
952 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Regular link</a></li>
953 <li role="presentation" class="disabled"><a role="menuitem" tabindex="-1" href="#">Disabled link</a></li>
954 <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another link</a></li>
955</ul>
956{% endhighlight %}
957 </div>
958
959
960
961 <!-- Button Groups
962 ================================================== -->
963 <div class="bs-docs-section">
964 <div class="page-header">
965 <h1 id="btn-groups">Button groups</h1>
966 </div>
967 <p class="lead">Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with <a href="../javascript/#buttons">our buttons plugin</a>.</p>
968
969 <div class="bs-callout bs-callout-info">
970 <h4>Tooltips &amp; popovers in button groups require special setting</h4>
971 <p>When using tooltips or popovers on elements within a <code>.btn-group</code>, you'll have to specify the option <code>container: 'body'</code> to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).</p>
972 </div>
973
974 <h3 id="btn-groups-single">Basic example</h3>
975 <p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p>
976 <div class="bs-example">
977 <div class="btn-group" style="margin: 9px 0 5px;">
978 <button type="button" class="btn btn-default">Left</button>
979 <button type="button" class="btn btn-default">Middle</button>
980 <button type="button" class="btn btn-default">Right</button>
981 </div>
982 </div>
983{% highlight html %}
984<div class="btn-group">
985 <button type="button" class="btn btn-default">Left</button>
986 <button type="button" class="btn btn-default">Middle</button>
987 <button type="button" class="btn btn-default">Right</button>
988</div>
989{% endhighlight %}
990
991 <h3 id="btn-groups-toolbar">Button toolbar</h3>
992 <p>Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.</p>
993 <div class="bs-example">
994 <div class="btn-toolbar" role="toolbar" style="margin: 0;">
995 <div class="btn-group">
996 <button type="button" class="btn btn-default">1</button>
997 <button type="button" class="btn btn-default">2</button>
998 <button type="button" class="btn btn-default">3</button>
999 <button type="button" class="btn btn-default">4</button>
1000 </div>
1001 <div class="btn-group">
1002 <button type="button" class="btn btn-default">5</button>
1003 <button type="button" class="btn btn-default">6</button>
1004 <button type="button" class="btn btn-default">7</button>
1005 </div>
1006 <div class="btn-group">
1007 <button type="button" class="btn btn-default">8</button>
1008 </div>
1009 </div>
1010 </div>
1011{% highlight html %}
1012<div class="btn-toolbar" role="toolbar">
1013 <div class="btn-group">...</div>
1014 <div class="btn-group">...</div>
1015 <div class="btn-group">...</div>
1016</div>
1017{% endhighlight %}
1018
1019 <h3 id="btn-groups-sizing">Sizing</h3>
1020 <p>Instead of applying button sizing classes to every button in a group, just add <code>.btn-group-*</code> to the <code>.btn-group</code>.</p>
1021 <div class="bs-example">
1022 <div class="btn-toolbar" role="toolbar">
1023 <div class="btn-group btn-group-lg">
1024 <button type="button" class="btn btn-default">Left</button>
1025 <button type="button" class="btn btn-default">Middle</button>
1026 <button type="button" class="btn btn-default">Right</button>
1027 </div>
1028 </div>
1029 <div class="btn-toolbar" role="toolbar">
1030 <div class="btn-group">
1031 <button type="button" class="btn btn-default">Left</button>
1032 <button type="button" class="btn btn-default">Middle</button>
1033 <button type="button" class="btn btn-default">Right</button>
1034 </div>
1035 </div>
1036 <div class="btn-toolbar" role="toolbar">
1037 <div class="btn-group btn-group-sm">
1038 <button type="button" class="btn btn-default">Left</button>
1039 <button type="button" class="btn btn-default">Middle</button>
1040 <button type="button" class="btn btn-default">Right</button>
1041 </div>
1042 </div>
1043 <div class="btn-toolbar" role="toolbar">
1044 <div class="btn-group btn-group-xs">
1045 <button type="button" class="btn btn-default">Left</button>
1046 <button type="button" class="btn btn-default">Middle</button>
1047 <button type="button" class="btn btn-default">Right</button>
1048 </div>
1049 </div>
1050 </div>
1051{% highlight html %}
1052<div class="btn-group btn-group-lg">...</div>
1053<div class="btn-group">...</div>
1054<div class="btn-group btn-group-sm">...</div>
1055<div class="btn-group btn-group-xs">...</div>
1056{% endhighlight %}
1057
1058 <h3 id="btn-groups-nested">Nesting</h3>
1059 <p>Place a <code>.btn-group</code> within another <code>.btn-group</code> when you want dropdown menus mixed with a series of buttons.</p>
1060 <div class="bs-example">
1061 <div class="btn-group">
1062 <button type="button" class="btn btn-default">1</button>
1063 <button type="button" class="btn btn-default">2</button>
1064
1065 <div class="btn-group">
1066 <button id="btnGroupDrop1" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1067 Dropdown
1068 <span class="caret"></span>
1069 </button>
1070 <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupDrop1">
1071 <li><a href="#">Dropdown link</a></li>
1072 <li><a href="#">Dropdown link</a></li>
1073 </ul>
1074 </div>
1075 </div>
1076 </div>
1077{% highlight html %}
1078<div class="btn-group">
1079 <button type="button" class="btn btn-default">1</button>
1080 <button type="button" class="btn btn-default">2</button>
1081
1082 <div class="btn-group">
1083 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1084 Dropdown
1085 <span class="caret"></span>
1086 </button>
1087 <ul class="dropdown-menu">
1088 <li><a href="#">Dropdown link</a></li>
1089 <li><a href="#">Dropdown link</a></li>
1090 </ul>
1091 </div>
1092</div>
1093{% endhighlight %}
1094
1095 <h3 id="btn-groups-vertical">Vertical variation</h3>
1096 <p>Make a set of buttons appear vertically stacked rather than horizontally.</p>
1097 <div class="bs-example">
1098 <div class="btn-group-vertical">
1099 <button type="button" class="btn btn-default">Button</button>
1100 <button type="button" class="btn btn-default">Button</button>
1101 <div class="btn-group">
1102 <button id="btnGroupVerticalDrop1" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1103 Dropdown
1104 <span class="caret"></span>
1105 </button>
1106 <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop1">
1107 <li><a href="#">Dropdown link</a></li>
1108 <li><a href="#">Dropdown link</a></li>
1109 </ul>
1110 </div>
1111 <button type="button" class="btn btn-default">Button</button>
1112 <button type="button" class="btn btn-default">Button</button>
1113 <div class="btn-group">
1114 <button id="btnGroupVerticalDrop2" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1115 Dropdown
1116 <span class="caret"></span>
1117 </button>
1118 <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop2">
1119 <li><a href="#">Dropdown link</a></li>
1120 <li><a href="#">Dropdown link</a></li>
1121 </ul>
1122 </div>
1123 <div class="btn-group">
1124 <button id="btnGroupVerticalDrop3" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1125 Dropdown
1126 <span class="caret"></span>
1127 </button>
1128 <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop3">
1129 <li><a href="#">Dropdown link</a></li>
1130 <li><a href="#">Dropdown link</a></li>
1131 </ul>
1132 </div>
1133 <div class="btn-group">
1134 <button id="btnGroupVerticalDrop4" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1135 Dropdown
1136 <span class="caret"></span>
1137 </button>
1138 <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop4">
1139 <li><a href="#">Dropdown link</a></li>
1140 <li><a href="#">Dropdown link</a></li>
1141 </ul>
1142 </div>
1143 </div>
1144 </div>
1145{% highlight html %}
1146<div class="btn-group-vertical">
1147 ...
1148</div>
1149{% endhighlight %}
1150
1151 <h3 id="btn-groups-justified">Justified link variation</h3>
1152 <p>Make a group of buttons stretch at the same size to span the entire width of its parent.</p>
1153
1154 <div class="bs-callout bs-callout-warning">
1155 <h4>Element-specific usage</h4>
1156 <p>This only works with <code>&lt;a&gt;</code> elements as the <code>&lt;button&gt;</code> doesn't pick up these styles.</p>
1157 </div>
1158
1159 <div class="bs-example">
1160 <div class="btn-group btn-group-justified">
1161 <a class="btn btn-default" role="button">Left</a>
1162 <a class="btn btn-default" role="button">Middle</a>
1163 <a class="btn btn-default" role="button">Right</a>
1164 </div>
1165 </div>
1166{% highlight html %}
1167<div class="btn-group btn-group-justified">
1168 ...
1169</div>
1170{% endhighlight %}
1171
1172 </div>
1173
1174
1175
1176 <!-- Split button dropdowns
1177 ================================================== -->
1178 <div class="bs-docs-section">
1179 <div class="page-header">
1180 <h1 id="btn-dropdowns">Button dropdowns</h1>
1181 </div>
1182 <p class="lead">Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p>
1183
1184 <div class="bs-callout bs-callout-danger">
1185 <h4>Plugin dependency</h4>
1186 <p>Button dropdowns require the <a href="../javascript/#dropdowns">dropdown plugin</a> to be included in your version of Bootstrap.</p>
1187 </div>
1188
1189 <h3 id="btn-dropdowns-single">Single button dropdowns</h3>
1190 <p>Turn a button into a dropdown toggle with some basic markup changes.</p>
1191 <div class="bs-example">
1192 <div class="btn-group">
1193 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Default <span class="caret"></span></button>
1194 <ul class="dropdown-menu" role="menu">
1195 <li><a href="#">Action</a></li>
1196 <li><a href="#">Another action</a></li>
1197 <li><a href="#">Something else here</a></li>
1198 <li class="divider"></li>
1199 <li><a href="#">Separated link</a></li>
1200 </ul>
1201 </div><!-- /btn-group -->
1202 <div class="btn-group">
1203 <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Primary <span class="caret"></span></button>
1204 <ul class="dropdown-menu" role="menu">
1205 <li><a href="#">Action</a></li>
1206 <li><a href="#">Another action</a></li>
1207 <li><a href="#">Something else here</a></li>
1208 <li class="divider"></li>
1209 <li><a href="#">Separated link</a></li>
1210 </ul>
1211 </div><!-- /btn-group -->
1212 <div class="btn-group">
1213 <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">Success <span class="caret"></span></button>
1214 <ul class="dropdown-menu" role="menu">
1215 <li><a href="#">Action</a></li>
1216 <li><a href="#">Another action</a></li>
1217 <li><a href="#">Something else here</a></li>
1218 <li class="divider"></li>
1219 <li><a href="#">Separated link</a></li>
1220 </ul>
1221 </div><!-- /btn-group -->
1222 <div class="btn-group">
1223 <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">Info <span class="caret"></span></button>
1224 <ul class="dropdown-menu" role="menu">
1225 <li><a href="#">Action</a></li>
1226 <li><a href="#">Another action</a></li>
1227 <li><a href="#">Something else here</a></li>
1228 <li class="divider"></li>
1229 <li><a href="#">Separated link</a></li>
1230 </ul>
1231 </div><!-- /btn-group -->
1232 <div class="btn-group">
1233 <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Warning <span class="caret"></span></button>
1234 <ul class="dropdown-menu" role="menu">
1235 <li><a href="#">Action</a></li>
1236 <li><a href="#">Another action</a></li>
1237 <li><a href="#">Something else here</a></li>
1238 <li class="divider"></li>
1239 <li><a href="#">Separated link</a></li>
1240 </ul>
1241 </div><!-- /btn-group -->
1242 <div class="btn-group">
1243 <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown">Danger <span class="caret"></span></button>
1244 <ul class="dropdown-menu" role="menu">
1245 <li><a href="#">Action</a></li>
1246 <li><a href="#">Another action</a></li>
1247 <li><a href="#">Something else here</a></li>
1248 <li class="divider"></li>
1249 <li><a href="#">Separated link</a></li>
1250 </ul>
1251 </div><!-- /btn-group -->
1252 </div>
1253{% highlight html %}
1254<!-- Single button -->
1255<div class="btn-group">
1256 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1257 Action <span class="caret"></span>
1258 </button>
1259 <ul class="dropdown-menu" role="menu">
1260 <li><a href="#">Action</a></li>
1261 <li><a href="#">Another action</a></li>
1262 <li><a href="#">Something else here</a></li>
1263 <li class="divider"></li>
1264 <li><a href="#">Separated link</a></li>
1265 </ul>
1266</div>
1267{% endhighlight %}
1268
1269 <h3 id="btn-dropdowns-split">Split button dropdowns</h3>
1270 <p>Similarly, create split button dropdowns with the same markup changes, only with a separate button.</p>
1271 <div class="bs-example">
1272 <div class="btn-group">
1273 <button type="button" class="btn btn-default">Default</button>
1274 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1275 <span class="caret"></span>
1276 <span class="sr-only">Toggle Dropdown</span>
1277 </button>
1278 <ul class="dropdown-menu" role="menu">
1279 <li><a href="#">Action</a></li>
1280 <li><a href="#">Another action</a></li>
1281 <li><a href="#">Something else here</a></li>
1282 <li class="divider"></li>
1283 <li><a href="#">Separated link</a></li>
1284 </ul>
1285 </div><!-- /btn-group -->
1286 <div class="btn-group">
1287 <button type="button" class="btn btn-primary">Primary</button>
1288 <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
1289 <span class="caret"></span>
1290 <span class="sr-only">Toggle Dropdown</span>
1291 </button>
1292 <ul class="dropdown-menu" role="menu">
1293 <li><a href="#">Action</a></li>
1294 <li><a href="#">Another action</a></li>
1295 <li><a href="#">Something else here</a></li>
1296 <li class="divider"></li>
1297 <li><a href="#">Separated link</a></li>
1298 </ul>
1299 </div><!-- /btn-group -->
1300 <div class="btn-group">
1301 <button type="button" class="btn btn-success">Success</button>
1302 <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">
1303 <span class="caret"></span>
1304 <span class="sr-only">Toggle Dropdown</span>
1305 </button>
1306 <ul class="dropdown-menu" role="menu">
1307 <li><a href="#">Action</a></li>
1308 <li><a href="#">Another action</a></li>
1309 <li><a href="#">Something else here</a></li>
1310 <li class="divider"></li>
1311 <li><a href="#">Separated link</a></li>
1312 </ul>
1313 </div><!-- /btn-group -->
1314 <div class="btn-group">
1315 <button type="button" class="btn btn-info">Info</button>
1316 <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">
1317 <span class="caret"></span>
1318 <span class="sr-only">Toggle Dropdown</span>
1319 </button>
1320 <ul class="dropdown-menu" role="menu">
1321 <li><a href="#">Action</a></li>
1322 <li><a href="#">Another action</a></li>
1323 <li><a href="#">Something else here</a></li>
1324 <li class="divider"></li>
1325 <li><a href="#">Separated link</a></li>
1326 </ul>
1327 </div><!-- /btn-group -->
1328 <div class="btn-group">
1329 <button type="button" class="btn btn-warning">Warning</button>
1330 <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">
1331 <span class="caret"></span>
1332 <span class="sr-only">Toggle Dropdown</span>
1333 </button>
1334 <ul class="dropdown-menu" role="menu">
1335 <li><a href="#">Action</a></li>
1336 <li><a href="#">Another action</a></li>
1337 <li><a href="#">Something else here</a></li>
1338 <li class="divider"></li>
1339 <li><a href="#">Separated link</a></li>
1340 </ul>
1341 </div><!-- /btn-group -->
1342 <div class="btn-group">
1343 <button type="button" class="btn btn-danger">Danger</button>
1344 <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown">
1345 <span class="caret"></span>
1346 <span class="sr-only">Toggle Dropdown</span>
1347 </button>
1348 <ul class="dropdown-menu" role="menu">
1349 <li><a href="#">Action</a></li>
1350 <li><a href="#">Another action</a></li>
1351 <li><a href="#">Something else here</a></li>
1352 <li class="divider"></li>
1353 <li><a href="#">Separated link</a></li>
1354 </ul>
1355 </div><!-- /btn-group -->
1356 </div>
1357{% highlight html %}
1358<!-- Split button -->
1359<div class="btn-group">
1360 <button type="button" class="btn btn-danger">Action</button>
1361 <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown">
1362 <span class="caret"></span>
1363 <span class="sr-only">Toggle Dropdown</span>
1364 </button>
1365 <ul class="dropdown-menu" role="menu">
1366 <li><a href="#">Action</a></li>
1367 <li><a href="#">Another action</a></li>
1368 <li><a href="#">Something else here</a></li>
1369 <li class="divider"></li>
1370 <li><a href="#">Separated link</a></li>
1371 </ul>
1372</div>
1373{% endhighlight %}
1374
1375 <h3 id="btn-dropdowns-sizing">Sizing</h3>
1376 <p>Button dropdowns work with buttons of all sizes.</p>
1377 <div class="bs-example">
1378 <div class="btn-toolbar" role="toolbar">
1379 <div class="btn-group">
1380 <button class="btn btn-default btn-lg dropdown-toggle" type="button" data-toggle="dropdown">
1381 Large button <span class="caret"></span>
1382 </button>
1383 <ul class="dropdown-menu" role="menu">
1384 <li><a href="#">Action</a></li>
1385 <li><a href="#">Another action</a></li>
1386 <li><a href="#">Something else here</a></li>
1387 <li class="divider"></li>
1388 <li><a href="#">Separated link</a></li>
1389 </ul>
1390 </div><!-- /btn-group -->
1391 </div><!-- /btn-toolbar -->
1392 <div class="btn-toolbar" role="toolbar">
1393 <div class="btn-group">
1394 <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown">
1395 Small button <span class="caret"></span>
1396 </button>
1397 <ul class="dropdown-menu" role="menu">
1398 <li><a href="#">Action</a></li>
1399 <li><a href="#">Another action</a></li>
1400 <li><a href="#">Something else here</a></li>
1401 <li class="divider"></li>
1402 <li><a href="#">Separated link</a></li>
1403 </ul>
1404 </div><!-- /btn-group -->
1405 </div><!-- /btn-toolbar -->
1406 <div class="btn-toolbar" role="toolbar">
1407 <div class="btn-group">
1408 <button class="btn btn-default btn-xs dropdown-toggle" type="button" data-toggle="dropdown">
1409 Extra small button <span class="caret"></span>
1410 </button>
1411 <ul class="dropdown-menu" role="menu">
1412 <li><a href="#">Action</a></li>
1413 <li><a href="#">Another action</a></li>
1414 <li><a href="#">Something else here</a></li>
1415 <li class="divider"></li>
1416 <li><a href="#">Separated link</a></li>
1417 </ul>
1418 </div><!-- /btn-group -->
1419 </div><!-- /btn-toolbar -->
1420 </div><!-- /example -->
1421{% highlight html %}
1422<!-- Large button group -->
1423<div class="btn-group">
1424 <button class="btn btn-default btn-lg dropdown-toggle" type="button" data-toggle="dropdown">
1425 Large button <span class="caret"></span>
1426 </button>
1427 <ul class="dropdown-menu">
1428 ...
1429 </ul>
1430</div>
1431
1432<!-- Small button group -->
1433<div class="btn-group">
1434 <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown">
1435 Small button <span class="caret"></span>
1436 </button>
1437 <ul class="dropdown-menu">
1438 ...
1439 </ul>
1440</div>
1441
1442<!-- Extra small button group -->
1443<div class="btn-group">
1444 <button class="btn btn-default btn-xs dropdown-toggle" type="button" data-toggle="dropdown">
1445 Extra small button <span class="caret"></span>
1446 </button>
1447 <ul class="dropdown-menu">
1448 ...
1449 </ul>
1450</div>
1451{% endhighlight %}
1452
1453 <h3 id="btn-dropdowns-dropup">Dropup variation</h3>
1454 <p>Trigger dropdown menus above elements by adding <code>.dropup</code> to the parent.</p>
1455 <div class="bs-example">
1456 <div class="btn-toolbar" role="toolbar">
1457 <div class="btn-group dropup">
1458 <button type="button" class="btn btn-default">Dropup</button>
1459 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1460 <span class="caret"></span>
1461 <span class="sr-only">Toggle Dropdown</span>
1462 </button>
1463 <ul class="dropdown-menu" role="menu">
1464 <li><a href="#">Action</a></li>
1465 <li><a href="#">Another action</a></li>
1466 <li><a href="#">Something else here</a></li>
1467 <li class="divider"></li>
1468 <li><a href="#">Separated link</a></li>
1469 </ul>
1470 </div><!-- /btn-group -->
1471 <div class="btn-group dropup">
1472 <button type="button" class="btn btn-primary">Right dropup</button>
1473 <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
1474 <span class="caret"></span>
1475 <span class="sr-only">Toggle Dropdown</span>
1476 </button>
1477 <ul class="dropdown-menu pull-right" role="menu">
1478 <li><a href="#">Action</a></li>
1479 <li><a href="#">Another action</a></li>
1480 <li><a href="#">Something else here</a></li>
1481 <li class="divider"></li>
1482 <li><a href="#">Separated link</a></li>
1483 </ul>
1484 </div><!-- /btn-group -->
1485 </div>
1486 </div><!-- /example -->
1487{% highlight html %}
1488<div class="btn-group dropup">
1489 <button type="button" class="btn btn-default">Dropup</button>
1490 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
1491 <span class="caret"></span>
1492 <span class="sr-only">Toggle Dropdown</span>
1493 </button>
1494 <ul class="dropdown-menu">
1495 <!-- Dropdown menu links -->
1496 </ul>
1497</div>
1498{% endhighlight %}
1499
1500 </div>
1501
1502
1503
1504
1505 <!-- Input groups
1506 ================================================== -->
1507 <div class="bs-docs-section">
1508 <div class="page-header">
1509 <h1 id="input-groups">Input groups</h1>
1510 </div>
1511 <p class="lead">Extend form controls by adding text or buttons before, after, or on both sides of any text-based input. Use <code>.input-group</code> with an <code>.input-group-addon</code> to prepend or append elements to a <code>.form-control</code>.</p>
1512
1513 <div class="bs-callout bs-callout-danger">
1514 <h4>Cross-browser compatibility</h4>
1515 <p>Avoid using <code>&lt;select&gt;</code> elements here as they cannot be fully styled in WebKit browsers.</p>
1516 </div>
1517 <div class="bs-callout bs-callout-info">
1518 <h4>Tooltips &amp; popovers in input groups require special setting</h4>
1519 <p>When using tooltips or popovers on elements within an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).</p>
1520 </div>
1521 <div class="bs-callout bs-callout-info">
1522 <h4>Don't mix with form groups</h4>
1523 <p>Do not apply input group classes directly to form groups. An input group is an isolated component.</p>
1524 </div>
1525
1526
1527 <h2 id="input-groups-basic">Basic example</h2>
1528 <form class="bs-example bs-example-form" role="form">
1529 <div class="input-group">
1530 <span class="input-group-addon">@</span>
1531 <input type="text" class="form-control" placeholder="Username">
1532 </div>
1533 <br>
1534 <div class="input-group">
1535 <input type="text" class="form-control">
1536 <span class="input-group-addon">.00</span>
1537 </div>
1538 <br>
1539 <div class="input-group">
1540 <span class="input-group-addon">$</span>
1541 <input type="text" class="form-control">
1542 <span class="input-group-addon">.00</span>
1543 </div>
1544 </form>
1545{% highlight html %}
1546<div class="input-group">
1547 <span class="input-group-addon">@</span>
1548 <input type="text" class="form-control" placeholder="Username">
1549</div>
1550
1551<div class="input-group">
1552 <input type="text" class="form-control">
1553 <span class="input-group-addon">.00</span>
1554</div>
1555
1556<div class="input-group">
1557 <span class="input-group-addon">$</span>
1558 <input type="text" class="form-control">
1559 <span class="input-group-addon">.00</span>
1560</div>
1561{% endhighlight %}
1562
1563
1564 <h2 id="input-groups-sizing">Sizing</h2>
1565 <p>Add the relative form sizing classes to the <code>.input-group</code> itself and contents within will automatically resize—no need for repeating the form control size classes on each element.</p>
1566 <form class="bs-example bs-example-form" role="form">
1567 <div class="input-group input-group-lg">
1568 <span class="input-group-addon">@</span>
1569 <input type="text" class="form-control" placeholder="Username">
1570 </div>
1571 <br>
1572 <div class="input-group">
1573 <span class="input-group-addon">@</span>
1574 <input type="text" class="form-control" placeholder="Username">
1575 </div>
1576 <br>
1577 <div class="input-group input-group-sm">
1578 <span class="input-group-addon">@</span>
1579 <input type="text" class="form-control" placeholder="Username">
1580 </div>
1581 </form>
1582{% highlight html %}
1583<div class="input-group input-group-lg">
1584 <span class="input-group-addon">@</span>
1585 <input type="text" class="form-control" placeholder="Username">
1586</div>
1587
1588<div class="input-group">
1589 <span class="input-group-addon">@</span>
1590 <input type="text" class="form-control" placeholder="Username">
1591</div>
1592
1593<div class="input-group input-group-sm">
1594 <span class="input-group-addon">@</span>
1595 <input type="text" class="form-control" placeholder="Username">
1596</div>
1597{% endhighlight %}
1598
1599
1600 <h2 id="input-groups-checkboxes-radios">Checkboxes and radio addons</h2>
1601 <p>Place any checkbox or radio option within an input group's addon instead of text.</p>
1602 <form class="bs-example bs-example-form">
1603 <div class="row">
1604 <div class="col-lg-6">
1605 <div class="input-group">
1606 <span class="input-group-addon">
1607 <input type="checkbox">
1608 </span>
1609 <input type="text" class="form-control">
1610 </div><!-- /input-group -->
1611 </div><!-- /.col-lg-6 -->
1612 <div class="col-lg-6">
1613 <div class="input-group">
1614 <span class="input-group-addon">
1615 <input type="radio">
1616 </span>
1617 <input type="text" class="form-control">
1618 </div><!-- /input-group -->
1619 </div><!-- /.col-lg-6 -->
1620 </div><!-- /.row -->
1621 </form>
1622{% highlight html %}
1623<div class="row">
1624 <div class="col-lg-6">
1625 <div class="input-group">
1626 <span class="input-group-addon">
1627 <input type="checkbox">
1628 </span>
1629 <input type="text" class="form-control">
1630 </div><!-- /input-group -->
1631 </div><!-- /.col-lg-6 -->
1632 <div class="col-lg-6">
1633 <div class="input-group">
1634 <span class="input-group-addon">
1635 <input type="radio">
1636 </span>
1637 <input type="text" class="form-control">
1638 </div><!-- /input-group -->
1639 </div><!-- /.col-lg-6 -->
1640</div><!-- /.row -->
1641{% endhighlight %}
1642
1643
1644 <h2 id="input-groups-buttons">Button addons</h2>
1645 <p>Buttons in input groups are a bit different and require one extra level of nesting. Instead of <code>.input-group-addon</code>, you'll need to use <code>.input-group-btn</code> to wrap the buttons. This is required due to default browser styles that cannot be overridden.</p>
1646 <form class="bs-example bs-example-form">
1647 <div class="row">
1648 <div class="col-lg-6">
1649 <div class="input-group">
1650 <span class="input-group-btn">
1651 <button class="btn btn-default" type="button">Go!</button>
1652 </span>
1653 <input type="text" class="form-control">
1654 </div><!-- /input-group -->
1655 </div><!-- /.col-lg-6 -->
1656 <div class="col-lg-6">
1657 <div class="input-group">
1658 <input type="text" class="form-control">
1659 <span class="input-group-btn">
1660 <button class="btn btn-default" type="button">Go!</button>
1661 </span>
1662 </div><!-- /input-group -->
1663 </div><!-- /.col-lg-6 -->
1664 </div><!-- /.row -->
1665 </form>
1666{% highlight html %}
1667<div class="row">
1668 <div class="col-lg-6">
1669 <div class="input-group">
1670 <span class="input-group-btn">
1671 <button class="btn btn-default" type="button">Go!</button>
1672 </span>
1673 <input type="text" class="form-control">
1674 </div><!-- /input-group -->
1675 </div><!-- /.col-lg-6 -->
1676 <div class="col-lg-6">
1677 <div class="input-group">
1678 <input type="text" class="form-control">
1679 <span class="input-group-btn">
1680 <button class="btn btn-default" type="button">Go!</button>
1681 </span>
1682 </div><!-- /input-group -->
1683 </div><!-- /.col-lg-6 -->
1684</div><!-- /.row -->
1685{% endhighlight %}
1686
1687 <h2 id="input-groups-buttons-dropdowns">Buttons with dropdowns</h2>
1688 <p></p>
1689 <form class="bs-example bs-example-form" role="form">
1690 <div class="row">
1691 <div class="col-lg-6">
1692 <div class="input-group">
1693 <div class="input-group-btn">
1694 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
1695 <ul class="dropdown-menu" role="menu">
1696 <li><a href="#">Action</a></li>
1697 <li><a href="#">Another action</a></li>
1698 <li><a href="#">Something else here</a></li>
1699 <li class="divider"></li>
1700 <li><a href="#">Separated link</a></li>
1701 </ul>
1702 </div><!-- /btn-group -->
1703 <input type="text" class="form-control">
1704 </div><!-- /input-group -->
1705 </div><!-- /.col-lg-6 -->
1706 <div class="col-lg-6">
1707 <div class="input-group">
1708 <input type="text" class="form-control">
1709 <div class="input-group-btn">
1710 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
1711 <ul class="dropdown-menu pull-right" role="menu">
1712 <li><a href="#">Action</a></li>
1713 <li><a href="#">Another action</a></li>
1714 <li><a href="#">Something else here</a></li>
1715 <li class="divider"></li>
1716 <li><a href="#">Separated link</a></li>
1717 </ul>
1718 </div><!-- /btn-group -->
1719 </div><!-- /input-group -->
1720 </div><!-- /.col-lg-6 -->
1721 </div><!-- /.row -->
1722 </form>
1723{% highlight html %}
1724<div class="row">
1725 <div class="col-lg-6">
1726 <div class="input-group">
1727 <div class="input-group-btn">
1728 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
1729 <ul class="dropdown-menu">
1730 <li><a href="#">Action</a></li>
1731 <li><a href="#">Another action</a></li>
1732 <li><a href="#">Something else here</a></li>
1733 <li class="divider"></li>
1734 <li><a href="#">Separated link</a></li>
1735 </ul>
1736 </div><!-- /btn-group -->
1737 <input type="text" class="form-control">
1738 </div><!-- /input-group -->
1739 </div><!-- /.col-lg-6 -->
1740 <div class="col-lg-6">
1741 <div class="input-group">
1742 <input type="text" class="form-control">
1743 <div class="input-group-btn">
1744 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
1745 <ul class="dropdown-menu pull-right">
1746 <li><a href="#">Action</a></li>
1747 <li><a href="#">Another action</a></li>
1748 <li><a href="#">Something else here</a></li>
1749 <li class="divider"></li>
1750 <li><a href="#">Separated link</a></li>
1751 </ul>
1752 </div><!-- /btn-group -->
1753 </div><!-- /input-group -->
1754 </div><!-- /.col-lg-6 -->
1755</div><!-- /.row -->
1756{% endhighlight %}
1757
1758 <h2 id="input-groups-buttons-segmented">Segmented buttons</h2>
1759 <form class="bs-example bs-example-form" role="form">
1760 <div class="row">
1761 <div class="col-lg-6">
1762 <div class="input-group">
1763 <div class="input-group-btn">
1764 <button type="button" class="btn btn-default" tabindex="-1">Action</button>
1765 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" tabindex="-1">
1766 <span class="caret"></span>
1767 <span class="sr-only">Toggle Dropdown</span>
1768 </button>
1769 <ul class="dropdown-menu" role="menu">
1770 <li><a href="#">Action</a></li>
1771 <li><a href="#">Another action</a></li>
1772 <li><a href="#">Something else here</a></li>
1773 <li class="divider"></li>
1774 <li><a href="#">Separated link</a></li>
1775 </ul>
1776 </div>
1777 <input type="text" class="form-control">
1778 </div><!-- /.input-group -->
1779 </div><!-- /.col-lg-6 -->
1780 <div class="col-lg-6">
1781 <div class="input-group">
1782 <input type="text" class="form-control">
1783 <div class="input-group-btn">
1784 <button type="button" class="btn btn-default" tabindex="-1">Action</button>
1785 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" tabindex="-1">
1786 <span class="caret"></span>
1787 <span class="sr-only">Toggle Dropdown</span>
1788 </button>
1789 <ul class="dropdown-menu pull-right" role="menu">
1790 <li><a href="#">Action</a></li>
1791 <li><a href="#">Another action</a></li>
1792 <li><a href="#">Something else here</a></li>
1793 <li class="divider"></li>
1794 <li><a href="#">Separated link</a></li>
1795 </ul>
1796 </div>
1797 </div><!-- /.input-group -->
1798 </div><!-- /.col-lg-6 -->
1799 </div><!-- /.row -->
1800 </form>
1801{% highlight html %}
1802<div class="input-group">
1803 <div class="input-group-btn">
1804 <!-- Button and dropdown menu -->
1805 </div>
1806 <input type="text" class="form-control">
1807</div>
1808
1809<div class="input-group">
1810 <input type="text" class="form-control">
1811 <div class="input-group-btn">
1812 <!-- Button and dropdown menu -->
1813 </div>
1814</div>
1815{% endhighlight %}
1816
1817</div>
1818
1819
1820
1821 <!-- Navs
1822 ================================================== -->
1823 <div class="bs-docs-section">
1824 <div class="page-header">
1825 <h1 id="nav">Navs</h1>
1826 </div>
1827
1828 <p class="lead">Navs available in Bootstrap have shared markup, starting with the base <code>.nav</code> class, as well as shared states. Swap modifier classes to switch between each style.</p>
1829
1830 <h2 id="nav-tabs">Tabs</h2>
1831 <p>Note the <code>.nav-tabs</code> class requires the <code>.nav</code> base class.</p>
1832 <div class="bs-example">
1833 <ul class="nav nav-tabs">
1834 <li class="active"><a href="#">Home</a></li>
1835 <li><a href="#">Profile</a></li>
1836 <li><a href="#">Messages</a></li>
1837 </ul>
1838 </div>
1839{% highlight html %}
1840<ul class="nav nav-tabs">
1841 <li class="active"><a href="#">Home</a></li>
1842 <li><a href="#">Profile</a></li>
1843 <li><a href="#">Messages</a></li>
1844</ul>
1845{% endhighlight %}
1846 <div class="bs-callout bs-callout-info">
1847 <h4>Requires JavaScript tabs plugin</h4>
1848 <p>For tabs with tabbable areas, you must use the <a href="../javascript/#tabs">tabs JavaScript plugin</a>.</p>
1849 </div>
1850
1851 <h2 id="nav-pills">Pills</h2>
1852 <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p>
1853 <div class="bs-example">
1854 <ul class="nav nav-pills">
1855 <li class="active"><a href="#">Home</a></li>
1856 <li><a href="#">Profile</a></li>
1857 <li><a href="#">Messages</a></li>
1858 </ul>
1859 </div>
1860{% highlight html %}
1861<ul class="nav nav-pills">
1862 <li class="active"><a href="#">Home</a></li>
1863 <li><a href="#">Profile</a></li>
1864 <li><a href="#">Messages</a></li>
1865</ul>
1866{% endhighlight %}
1867 <p>Pills are also vertically stackable. Just add <code>.nav-stacked</code>.</p>
1868 <div class="bs-example">
1869 <ul class="nav nav-pills nav-stacked" style="max-width: 300px;">
1870 <li class="active"><a href="#">Home</a></li>
1871 <li><a href="#">Profile</a></li>
1872 <li><a href="#">Messages</a></li>
1873 </ul>
1874 </div>
1875{% highlight html %}
1876<ul class="nav nav-pills nav-stacked">
1877 ...
1878</ul>
1879{% endhighlight %}
1880
1881
1882 <h2 id="nav-justified">Justified</h2>
1883 <p>Easily make tabs or pills equal widths of their parent at screens wider than 768px with <code>.nav-justified</code>. On smaller screens, the nav links are stacked.</p>
1884 <div class="bs-callout bs-callout-warning">
1885 <h4>WebKit and responsive justified navs</h4>
1886 <p>Chrome and Safari both exhibit a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing. This bug is also shown in the <a href="../examples/justified-nav/">justified nav example</a>.</p>
1887 </div>
1888 <div class="bs-example">
1889 <ul class="nav nav-tabs nav-justified">
1890 <li class="active"><a href="#">Home</a></li>
1891 <li><a href="#">Profile</a></li>
1892 <li><a href="#">Messages</a></li>
1893 </ul>
1894 <br>
1895 <ul class="nav nav-pills nav-justified">
1896 <li class="active"><a href="#">Home</a></li>
1897 <li><a href="#">Profile</a></li>
1898 <li><a href="#">Messages</a></li>
1899 </ul>
1900 </div>
1901{% highlight html %}
1902<ul class="nav nav-tabs nav-justified">
1903 ...
1904</ul>
1905<ul class="nav nav-pills nav-justified">
1906 ...
1907</ul>
1908{% endhighlight %}
1909
1910
1911 <h2 id="nav-disabled-links">Disabled links</h2>
1912 <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>.</p>
1913
1914 <div class="bs-callout bs-callout-warning">
1915 <h4>Link functionality not impacted</h4>
1916 <p>This class will only change the <code>&lt;a&gt;</code>'s appearance, not its functionality. Use custom JavaScript to disable links here.</p>
1917 </div>
1918
1919 <div class="bs-example">
1920 <ul class="nav nav-pills">
1921 <li><a href="#">Clickable link</a></li>
1922 <li><a href="#">Clickable link</a></li>
1923 <li class="disabled"><a href="#">Disabled link</a></li>
1924 </ul>
1925 </div>
1926{% highlight html %}
1927<ul class="nav nav-pills">
1928 ...
1929 <li class="disabled"><a href="#">Disabled link</a></li>
1930 ...
1931</ul>
1932{% endhighlight %}
1933
1934
1935 <h2 id="nav-dropdowns">Using dropdowns</h2>
1936 <p>Add dropdown menus with a little extra HTML and the <a href="../javascript/#dropdowns">dropdowns JavaScript plugin</a>.</p>
1937
1938 <h3>Tabs with dropdowns</h3>
1939 <div class="bs-example">
1940 <ul class="nav nav-tabs">
1941 <li class="active"><a href="#">Home</a></li>
1942 <li><a href="#">Help</a></li>
1943 <li class="dropdown">
1944 <a class="dropdown-toggle" data-toggle="dropdown" href="#">
1945 Dropdown <span class="caret"></span>
1946 </a>
1947 <ul class="dropdown-menu" role="menu">
1948 <li><a href="#">Action</a></li>
1949 <li><a href="#">Another action</a></li>
1950 <li><a href="#">Something else here</a></li>
1951 <li class="divider"></li>
1952 <li><a href="#">Separated link</a></li>
1953 </ul>
1954 </li>
1955 </ul>
1956 </div>
1957{% highlight html %}
1958<ul class="nav nav-tabs">
1959 ...
1960 <li class="dropdown">
1961 <a class="dropdown-toggle" data-toggle="dropdown" href="#">
1962 Dropdown <span class="caret"></span>
1963 </a>
1964 <ul class="dropdown-menu">
1965 ...
1966 </ul>
1967 </li>
1968 ...
1969</ul>
1970{% endhighlight %}
1971
1972 <h3>Pills with dropdowns</h3>
1973 <div class="bs-example">
1974 <ul class="nav nav-pills">
1975 <li class="active"><a href="#">Home</a></li>
1976 <li><a href="#">Help</a></li>
1977 <li class="dropdown">
1978 <a class="dropdown-toggle" data-toggle="dropdown" href="#">
1979 Dropdown <span class="caret"></span>
1980 </a>
1981 <ul class="dropdown-menu" role="menu">
1982 <li><a href="#">Action</a></li>
1983 <li><a href="#">Another action</a></li>
1984 <li><a href="#">Something else here</a></li>
1985 <li class="divider"></li>
1986 <li><a href="#">Separated link</a></li>
1987 </ul>
1988 </li>
1989 </ul>
1990 </div><!-- /example -->
1991{% highlight html %}
1992<ul class="nav nav-pills">
1993 ...
1994 <li class="dropdown">
1995 <a class="dropdown-toggle" data-toggle="dropdown" href="#">
1996 Dropdown <span class="caret"></span>
1997 </a>
1998 <ul class="dropdown-menu">
1999 ...
2000 </ul>
2001 </li>
2002 ...
2003</ul>
2004{% endhighlight %}
2005
2006 </div>
2007
2008
2009
2010 <!-- Navbar
2011 ================================================== -->
2012 <div class="bs-docs-section">
2013 <div class="page-header">
2014 <h1 id="navbar">Navbar</h1>
2015 </div>
2016
2017 <h2 id="navbar-default">Default navbar</h2>
2018 <p>Navbars are responsive meta components that serve as navigation headers for your application or site. They begin collapsed (and are toggleable) in mobile views and become horizontal as the available viewport width increases.</p>
2019
2020 <div class="bs-callout bs-callout-info">
2021 <h4>Customize the collapsing point</h4>
2022 <p>Depending on the content in your navbar, you might need to change the point at which your navbar switches between collapsed and horizontal mode. Customize the <code>@grid-float-breakpoint</code> variable or add your own media query.</p>
2023 </div>
2024 <div class="bs-callout bs-callout-danger">
2025 <h4>Requires JavaScript</h4>
2026 <p>If JavaScript is disabled and the viewport is narrow enough that the navbar collapses, it will be impossible to expand the navbar and view the content within the <code>.navbar-collapse</code>.</p>
2027 </div>
2028
2029 <div class="bs-example">
2030 <nav class="navbar navbar-default" role="navigation">
2031 <!-- Brand and toggle get grouped for better mobile display -->
2032 <div class="navbar-header">
2033 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
2034 <span class="sr-only">Toggle navigation</span>
2035 <span class="icon-bar"></span>
2036 <span class="icon-bar"></span>
2037 <span class="icon-bar"></span>
2038 </button>
2039 <a class="navbar-brand" href="#">Brand</a>
2040 </div>
2041
2042 <!-- Collect the nav links, forms, and other content for toggling -->
2043 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
2044 <ul class="nav navbar-nav">
2045 <li class="active"><a href="#">Link</a></li>
2046 <li><a href="#">Link</a></li>
2047 <li class="dropdown">
2048 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
2049 <ul class="dropdown-menu" role="menu">
2050 <li><a href="#">Action</a></li>
2051 <li><a href="#">Another action</a></li>
2052 <li><a href="#">Something else here</a></li>
2053 <li class="divider"></li>
2054 <li><a href="#">Separated link</a></li>
2055 <li class="divider"></li>
2056 <li><a href="#">One more separated link</a></li>
2057 </ul>
2058 </li>
2059 </ul>
2060 <form class="navbar-form navbar-left" role="search">
2061 <div class="form-group">
2062 <input type="text" class="form-control" placeholder="Search">
2063 </div>
2064 <button type="submit" class="btn btn-default">Submit</button>
2065 </form>
2066 <ul class="nav navbar-nav navbar-right">
2067 <li><a href="#">Link</a></li>
2068 <li class="dropdown">
2069 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
2070 <ul class="dropdown-menu" role="menu">
2071 <li><a href="#">Action</a></li>
2072 <li><a href="#">Another action</a></li>
2073 <li><a href="#">Something else here</a></li>
2074 <li class="divider"></li>
2075 <li><a href="#">Separated link</a></li>
2076 </ul>
2077 </li>
2078 </ul>
2079 </div><!-- /.navbar-collapse -->
2080 </nav>
2081 </div>
2082{% highlight html %}
2083<nav class="navbar navbar-default" role="navigation">
2084 <!-- Brand and toggle get grouped for better mobile display -->
2085 <div class="navbar-header">
2086 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
2087 <span class="sr-only">Toggle navigation</span>
2088 <span class="icon-bar"></span>
2089 <span class="icon-bar"></span>
2090 <span class="icon-bar"></span>
2091 </button>
2092 <a class="navbar-brand" href="#">Brand</a>
2093 </div>
2094
2095 <!-- Collect the nav links, forms, and other content for toggling -->
2096 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
2097 <ul class="nav navbar-nav">
2098 <li class="active"><a href="#">Link</a></li>
2099 <li><a href="#">Link</a></li>
2100 <li class="dropdown">
2101 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
2102 <ul class="dropdown-menu">
2103 <li><a href="#">Action</a></li>
2104 <li><a href="#">Another action</a></li>
2105 <li><a href="#">Something else here</a></li>
2106 <li class="divider"></li>
2107 <li><a href="#">Separated link</a></li>
2108 <li class="divider"></li>
2109 <li><a href="#">One more separated link</a></li>
2110 </ul>
2111 </li>
2112 </ul>
2113 <form class="navbar-form navbar-left" role="search">
2114 <div class="form-group">
2115 <input type="text" class="form-control" placeholder="Search">
2116 </div>
2117 <button type="submit" class="btn btn-default">Submit</button>
2118 </form>
2119 <ul class="nav navbar-nav navbar-right">
2120 <li><a href="#">Link</a></li>
2121 <li class="dropdown">
2122 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
2123 <ul class="dropdown-menu">
2124 <li><a href="#">Action</a></li>
2125 <li><a href="#">Another action</a></li>
2126 <li><a href="#">Something else here</a></li>
2127 <li class="divider"></li>
2128 <li><a href="#">Separated link</a></li>
2129 </ul>
2130 </li>
2131 </ul>
2132 </div><!-- /.navbar-collapse -->
2133</nav>
2134{% endhighlight %}
2135
2136 <div class="bs-callout bs-callout-danger">
2137 <h4>Plugin dependency</h4>
2138 <p>The responsive navbar requires the <a href="../javascript/#collapse">collapse plugin</a> to be included in your version of Bootstrap.</p>
2139 </div>
2140
2141 <div class="bs-callout bs-callout-warning">
2142 <h4>Make navbars accessible</h4>
2143 <p>Be sure to add a <code>role="navigation"</code> to every navbar to help with accessibility.</p>
2144 </div>
2145
2146
2147 <h2 id="navbar-forms">Forms</h2>
2148 <p>Place form content within <code>.navbar-form</code> for proper vertical alignment and collapsed behavior in narrow viewports. Use the alignment options to decide where it resides within the navbar content.</p>
2149 <p>As a heads up, <code>.navbar-form</code> shares much of its code with <code>.form-inline</code> via mixin.</p>
2150 <div class="bs-example">
2151 <nav class="navbar navbar-default" role="navigation">
2152 <div class="navbar-header">
2153 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-2">
2154 <span class="sr-only">Toggle navigation</span>
2155 <span class="icon-bar"></span>
2156 <span class="icon-bar"></span>
2157 <span class="icon-bar"></span>
2158 </button>
2159 <a class="navbar-brand" href="#">Brand</a>
2160 </div>
2161 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2">
2162 <form class="navbar-form navbar-left" role="search">
2163 <div class="form-group">
2164 <input type="text" class="form-control" placeholder="Search">
2165 </div>
2166 <button type="submit" class="btn btn-default">Submit</button>
2167 </form>
2168 </div>
2169 </nav>
2170 </div>
2171{% highlight html %}
2172<form class="navbar-form navbar-left" role="search">
2173 <div class="form-group">
2174 <input type="text" class="form-control" placeholder="Search">
2175 </div>
2176 <button type="submit" class="btn btn-default">Submit</button>
2177</form>
2178{% endhighlight %}
2179
2180 <div class="bs-callout bs-callout-danger">
2181 <h4>Always add labels</h4>
2182 <p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the <code>.sr-only</code> class.</p>
2183 </div>
2184
2185
2186 <h2 id="navbar-buttons">Buttons</h2>
2187 <p>Add the <code>.navbar-btn</code> class to <code>&lt;button&gt;</code> elements not residing in a <code>&lt;form&gt;</code> to vertically center them in the navbar.</p>
2188 <div class="bs-example">
2189 <nav class="navbar navbar-default" role="navigation">
2190 <div class="navbar-header">
2191 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-3">
2192 <span class="sr-only">Toggle navigation</span>
2193 <span class="icon-bar"></span>
2194 <span class="icon-bar"></span>
2195 <span class="icon-bar"></span>
2196 </button>
2197 <a class="navbar-brand" href="#">Brand</a>
2198 </div>
2199 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-3">
2200 <button type="button" class="btn btn-default navbar-btn">Sign in</button>
2201 </div>
2202 </nav>
2203 </div>
2204{% highlight html %}
2205<button type="button" class="btn btn-default navbar-btn">Sign in</button>
2206{% endhighlight %}
2207
2208 <div class="bs-callout bs-callout-warning">
2209 <h4>Context-specific usage</h4>
2210 <p>Like the standard <a href="{{ page.base_url }}css#buttons">button classes</a>, <code>.navbar-btn</code> can be used on <code>&lt;a&gt;</code> and <code>&lt;input&gt;</code> elements. However, neither <code>.navbar-btn</code> nor the standard button classes should be used on <code>&lt;a&gt;</code> elements within <code>.navbar-nav</code>.</p>
2211 </div>
2212
2213 <h2 id="navbar-text">Text</h2>
2214 <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p>
2215 <div class="bs-example">
2216 <nav class="navbar navbar-default" role="navigation">
2217 <div class="navbar-header">
2218 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-4">
2219 <span class="sr-only">Toggle navigation</span>
2220 <span class="icon-bar"></span>
2221 <span class="icon-bar"></span>
2222 <span class="icon-bar"></span>
2223 </button>
2224 <a class="navbar-brand" href="#">Brand</a>
2225 </div>
2226 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-4">
2227 <p class="navbar-text">Signed in as Mark Otto</p>
2228 </div>
2229 </nav>
2230 </div>
2231{% highlight html %}
2232<p class="navbar-text">Signed in as Mark Otto</p>
2233{% endhighlight %}
2234
2235
2236 <h2 id="navbar-links">Non-nav links</h2>
2237 <p>For folks using standard links that are not within the regular navbar navigation component, use the <code>.navbar-link</code> class to add the proper colors for the default and inverse navbar options.</p>
2238 <div class="bs-example">
2239 <nav class="navbar navbar-default" role="navigation">
2240 <div class="navbar-header">
2241 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-5">
2242 <span class="sr-only">Toggle navigation</span>
2243 <span class="icon-bar"></span>
2244 <span class="icon-bar"></span>
2245 <span class="icon-bar"></span>
2246 </button>
2247 <a class="navbar-brand" href="#">Brand</a>
2248 </div>
2249 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-5">
2250 <p class="navbar-text pull-right">Signed in as <a href="#" class="navbar-link">Mark Otto</a></p>
2251 </div>
2252 </nav>
2253 </div>
2254{% highlight html %}
2255<p class="navbar-text pull-right">Signed in as <a href="#" class="navbar-link">Mark Otto</a></p>
2256{% endhighlight %}
2257
2258
2259 <h2 id="navbar-component-alignment">Component alignment</h2>
2260 <p>Align nav links, forms, buttons, or text, using the <code>.navbar-left</code> or <code>.navbar-right</code> utility classes. Both classes will add a CSS float in the specified direction. For example, to align nav links, put them in a separate <code>&lt;ul&gt;</code> with the respective utility class applied.</p>
2261 <p>These classes are mixin-ed versions of <code>.pull-left</code> and <code>.pull-right</code>, but they're scoped to media queries for easier handling of navbar components across device sizes.</p>
2262
2263
2264 <h2 id="navbar-fixed-top">Fixed to top</h2>
2265 <p>Add <code>.navbar-fixed-top</code>.</p>
2266 <div class="bs-example bs-navbar-top-example">
2267 <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
2268 <!-- Brand and toggle get grouped for better mobile display -->
2269 <div class="navbar-header">
2270 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-6">
2271 <span class="sr-only">Toggle navigation</span>
2272 <span class="icon-bar"></span>
2273 <span class="icon-bar"></span>
2274 <span class="icon-bar"></span>
2275 </button>
2276 <a class="navbar-brand" href="#">Brand</a>
2277 </div>
2278
2279 <!-- Collect the nav links, forms, and other content for toggling -->
2280 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-6">
2281 <ul class="nav navbar-nav">
2282 <li class="active"><a href="#">Home</a></li>
2283 <li><a href="#">Link</a></li>
2284 <li><a href="#">Link</a></li>
2285 </ul>
2286 </div><!-- /.navbar-collapse -->
2287 </nav>
2288 </div><!-- /example -->
2289{% highlight html %}
2290<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
2291 ...
2292</nav>
2293{% endhighlight %}
2294
2295 <div class="bs-callout bs-callout-danger">
2296 <h4>Body padding required</h4>
2297 <p>The fixed navbar will overlay your other content, unless you add <code>padding</code> to the top of the <code>&lt;body&gt;</code>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.</p>
2298{% highlight css %}
2299body { padding-top: 70px; }
2300{% endhighlight %}
2301 <p>Make sure to include this <strong>after</strong> the core Bootstrap CSS.</p>
2302 </div>
2303
2304
2305 <h2 id="navbar-fixed-bottom">Fixed to bottom</h2>
2306 <p>Add <code>.navbar-fixed-bottom</code> instead.</p>
2307 <div class="bs-example bs-navbar-bottom-example">
2308 <nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">
2309 <!-- Brand and toggle get grouped for better mobile display -->
2310 <div class="navbar-header">
2311 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-7">
2312 <span class="sr-only">Toggle navigation</span>
2313 <span class="icon-bar"></span>
2314 <span class="icon-bar"></span>
2315 <span class="icon-bar"></span>
2316 </button>
2317 <a class="navbar-brand" href="#">Brand</a>
2318 </div>
2319
2320 <!-- Collect the nav links, forms, and other content for toggling -->
2321 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-7">
2322 <ul class="nav navbar-nav">
2323 <li class="active"><a href="#">Home</a></li>
2324 <li><a href="#">Link</a></li>
2325 <li><a href="#">Link</a></li>
2326 </ul>
2327 </div><!-- /.navbar-collapse -->
2328 </nav>
2329 </div><!-- /example -->
2330{% highlight html %}
2331<nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">
2332 ...
2333</nav>
2334{% endhighlight %}
2335
2336 <div class="bs-callout bs-callout-danger">
2337 <h4>Body padding required</h4>
2338 <p>The fixed navbar will overlay your other content, unless you add <code>padding</code> to the bottom of the <code>&lt;body&gt;</code>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.</p>
2339{% highlight css %}
2340body { padding-bottom: 70px; }
2341{% endhighlight %}
2342 <p>Make sure to include this <strong>after</strong> the core Bootstrap CSS.</p>
2343 </div>
2344
2345
2346 <h2 id="navbar-static-top">Static top</h2>
2347 <p>Create a full-width navbar that scrolls away with the page by adding <code>.navbar-static-top</code>. Unlike the <code>.navbar-fixed-*</code> classes, you do not need to change any padding on the <code>body</code>.</p>
2348 <div class="bs-example bs-navbar-top-example">
2349 <nav class="navbar navbar-default navbar-static-top" role="navigation">
2350 <!-- Brand and toggle get grouped for better mobile display -->
2351 <div class="navbar-header">
2352 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-8">
2353 <span class="sr-only">Toggle navigation</span>
2354 <span class="icon-bar"></span>
2355 <span class="icon-bar"></span>
2356 <span class="icon-bar"></span>
2357 </button>
2358 <a class="navbar-brand" href="#">Brand</a>
2359 </div>
2360
2361 <!-- Collect the nav links, forms, and other content for toggling -->
2362 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-8">
2363 <ul class="nav navbar-nav">
2364 <li class="active"><a href="#">Home</a></li>
2365 <li><a href="#">Link</a></li>
2366 <li><a href="#">Link</a></li>
2367 </ul>
2368 </div><!-- /.navbar-collapse -->
2369 </nav>
2370 </div><!-- /example -->
2371{% highlight html %}
2372<nav class="navbar navbar-default navbar-static-top" role="navigation">
2373 ...
2374</nav>
2375{% endhighlight %}
2376
2377
2378 <h2 id="navbar-inverted">Inverted navbar</h2>
2379 <p>Modify the look of the navbar by adding <code>.navbar-inverse</code>.</p>
2380 <div class="bs-example">
2381 <nav class="navbar navbar-inverse" role="navigation">
2382 <!-- Brand and toggle get grouped for better mobile display -->
2383 <div class="navbar-header">
2384 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-9">
2385 <span class="sr-only">Toggle navigation</span>
2386 <span class="icon-bar"></span>
2387 <span class="icon-bar"></span>
2388 <span class="icon-bar"></span>
2389 </button>
2390 <a class="navbar-brand" href="#">Brand</a>
2391 </div>
2392
2393 <!-- Collect the nav links, forms, and other content for toggling -->
2394 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-9">
2395 <ul class="nav navbar-nav">
2396 <li class="active"><a href="#">Home</a></li>
2397 <li><a href="#">Link</a></li>
2398 <li><a href="#">Link</a></li>
2399 </ul>
2400 </div><!-- /.navbar-collapse -->
2401 </nav>
2402 </div><!-- /example -->
2403{% highlight html %}
2404<nav class="navbar navbar-inverse" role="navigation">
2405 ...
2406</nav>
2407{% endhighlight %}
2408
2409 </div>
2410
2411
2412
2413 <!-- Breadcrumbs
2414 ================================================== -->
2415 <div class="bs-docs-section">
2416 <div class="page-header">
2417 <h1 id="breadcrumbs">Breadcrumbs <small></small></h1>
2418 </div>
2419 <p class="lead">Indicate the current page's location within a navigational hierarchy.</p>
2420 <p>Separators are automatically added in CSS through <code>:before</code> and <code>content</code>.</p>
2421 <div class="bs-example">
2422 <ol class="breadcrumb">
2423 <li class="active">Home</li>
2424 </ol>
2425 <ol class="breadcrumb">
2426 <li><a href="#">Home</a></li>
2427 <li class="active">Library</li>
2428 </ol>
2429 <ol class="breadcrumb" style="margin-bottom: 5px;">
2430 <li><a href="#">Home</a></li>
2431 <li><a href="#">Library</a></li>
2432 <li class="active">Data</li>
2433 </ol>
2434 </div>
2435{% highlight html %}
2436<ol class="breadcrumb">
2437 <li><a href="#">Home</a></li>
2438 <li><a href="#">Library</a></li>
2439 <li class="active">Data</li>
2440</ol>
2441{% endhighlight %}
2442 </div>
2443
2444
2445
2446 <!-- Pagination
2447 ================================================== -->
2448 <div class="bs-docs-section">
2449 <div class="page-header">
2450 <h1 id="pagination">Pagination</h1>
2451 </div>
2452 <p class="lead">Provide pagination links for your site or app with the multi-page pagination component, or the simpler <a href="#pagination-pager">pager alternative</a>.</p>
2453
2454 <h2 id="pagination-default">Default pagination</h2>
2455 <p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p>
2456 <div class="bs-example">
2457 <ul class="pagination">
2458 <li><a href="#">&laquo;</a></li>
2459 <li><a href="#">1</a></li>
2460 <li><a href="#">2</a></li>
2461 <li><a href="#">3</a></li>
2462 <li><a href="#">4</a></li>
2463 <li><a href="#">5</a></li>
2464 <li><a href="#">&raquo;</a></li>
2465 </ul>
2466 </div>
2467{% highlight html %}
2468<ul class="pagination">
2469 <li><a href="#">&laquo;</a></li>
2470 <li><a href="#">1</a></li>
2471 <li><a href="#">2</a></li>
2472 <li><a href="#">3</a></li>
2473 <li><a href="#">4</a></li>
2474 <li><a href="#">5</a></li>
2475 <li><a href="#">&raquo;</a></li>
2476</ul>
2477{% endhighlight %}
2478
2479 <h3>Disabled and active states</h3>
2480 <p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p>
2481 <div class="bs-example">
2482 <ul class="pagination">
2483 <li class="disabled"><a href="#">&laquo;</a></li>
2484 <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li>
2485 <li><a href="#">2</a></li>
2486 <li><a href="#">3</a></li>
2487 <li><a href="#">4</a></li>
2488 <li><a href="#">5</a></li>
2489 <li><a href="#">&raquo;</a></li>
2490 </ul>
2491 </div>
2492{% highlight html %}
2493<ul class="pagination">
2494 <li class="disabled"><a href="#">&laquo;</a></li>
2495 <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li>
2496 ...
2497</ul>
2498{% endhighlight %}
2499 <p>You can optionally swap out active or disabled anchors for <code>&lt;span&gt;</code> to remove click functionality while retaining intended styles.</p>
2500{% highlight html %}
2501<ul class="pagination">
2502 <li class="disabled"><span>&laquo;</span></li>
2503 <li class="active"><span>1 <span class="sr-only">(current)</span></span></li>
2504 ...
2505</ul>
2506{% endhighlight %}
2507
2508
2509 <h3>Sizing</h3>
2510 <p>Fancy larger or smaller pagination? Add <code>.pagination-lg</code> or <code>.pagination-sm</code> for additional sizes.</p>
2511 <div class="bs-example">
2512 <div>
2513 <ul class="pagination pagination-lg">
2514 <li><a href="#">&laquo;</a></li>
2515 <li><a href="#">1</a></li>
2516 <li><a href="#">2</a></li>
2517 <li><a href="#">3</a></li>
2518 <li><a href="#">4</a></li>
2519 <li><a href="#">5</a></li>
2520 <li><a href="#">&raquo;</a></li>
2521 </ul>
2522 </div>
2523 <div>
2524 <ul class="pagination">
2525 <li><a href="#">&laquo;</a></li>
2526 <li><a href="#">1</a></li>
2527 <li><a href="#">2</a></li>
2528 <li><a href="#">3</a></li>
2529 <li><a href="#">4</a></li>
2530 <li><a href="#">5</a></li>
2531 <li><a href="#">&raquo;</a></li>
2532 </ul>
2533 </div>
2534 <div>
2535 <ul class="pagination pagination-sm">
2536 <li><a href="#">&laquo;</a></li>
2537 <li><a href="#">1</a></li>
2538 <li><a href="#">2</a></li>
2539 <li><a href="#">3</a></li>
2540 <li><a href="#">4</a></li>
2541 <li><a href="#">5</a></li>
2542 <li><a href="#">&raquo;</a></li>
2543 </ul>
2544 </div>
2545 </div>
2546{% highlight html %}
2547<ul class="pagination pagination-lg">...</ul>
2548<ul class="pagination">...</ul>
2549<ul class="pagination pagination-sm">...</ul>
2550{% endhighlight %}
2551
2552
2553 <h2 id="pagination-pager">Pager</h2>
2554 <p>Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.</p>
2555
2556 <h3>Default example</h3>
2557 <p>By default, the pager centers links.</p>
2558 <div class="bs-example">
2559 <ul class="pager">
2560 <li><a href="#">Previous</a></li>
2561 <li><a href="#">Next</a></li>
2562 </ul>
2563 </div>
2564{% highlight html %}
2565<ul class="pager">
2566 <li><a href="#">Previous</a></li>
2567 <li><a href="#">Next</a></li>
2568</ul>
2569{% endhighlight %}
2570
2571 <h3>Aligned links</h3>
2572 <p>Alternatively, you can align each link to the sides:</p>
2573 <div class="bs-example">
2574 <ul class="pager">
2575 <li class="previous"><a href="#">&larr; Older</a></li>
2576 <li class="next"><a href="#">Newer &rarr;</a></li>
2577 </ul>
2578 </div>
2579{% highlight html %}
2580<ul class="pager">
2581 <li class="previous"><a href="#">&larr; Older</a></li>
2582 <li class="next"><a href="#">Newer &rarr;</a></li>
2583</ul>
2584{% endhighlight %}
2585
2586
2587 <h3>Optional disabled state</h3>
2588 <p>Pager links also use the general <code>.disabled</code> utility class from the pagination.</p>
2589 <div class="bs-example">
2590 <ul class="pager">
2591 <li class="previous disabled"><a href="#">&larr; Older</a></li>
2592 <li class="next"><a href="#">Newer &rarr;</a></li>
2593 </ul>
2594 </div>
2595{% highlight html %}
2596<ul class="pager">
2597 <li class="previous disabled"><a href="#">&larr; Older</a></li>
2598 <li class="next"><a href="#">Newer &rarr;</a></li>
2599</ul>
2600{% endhighlight %}
2601 </div>
2602
2603
2604
2605 <!-- Labels
2606 ================================================== -->
2607 <div class="bs-docs-section">
2608 <div class="page-header">
2609 <h1 id="labels">Labels</h1>
2610 </div>
2611 <p class="lead"></p>
2612
2613 <h3>Example</h3>
2614 <div class="bs-example">
2615 <h1>Example heading <span class="label label-default">New</span></h1>
2616 <h2>Example heading <span class="label label-default">New</span></h2>
2617 <h3>Example heading <span class="label label-default">New</span></h3>
2618 <h4>Example heading <span class="label label-default">New</span></h4>
2619 <h5>Example heading <span class="label label-default">New</span></h5>
2620 <h6>Example heading <span class="label label-default">New</span></h6>
2621 </div>
2622{% highlight html %}
2623<h3>Example heading <span class="label label-default">New</span></h3>
2624{% endhighlight %}
2625
2626 <h3>Available variations</h3>
2627 <p>Add any of the below mentioned modifier classes to change the appearance of a label.</p>
2628 <div class="bs-example">
2629 <span class="label label-default">Default</span>
2630 <span class="label label-primary">Primary</span>
2631 <span class="label label-success">Success</span>
2632 <span class="label label-info">Info</span>
2633 <span class="label label-warning">Warning</span>
2634 <span class="label label-danger">Danger</span>
2635 </div>
2636{% highlight html %}
2637<span class="label label-default">Default</span>
2638<span class="label label-primary">Primary</span>
2639<span class="label label-success">Success</span>
2640<span class="label label-info">Info</span>
2641<span class="label label-warning">Warning</span>
2642<span class="label label-danger">Danger</span>
2643{% endhighlight %}
2644
2645 </div>
2646
2647
2648
2649 <!-- Badges
2650 ================================================== -->
2651 <div class="bs-docs-section">
2652 <div class="page-header">
2653 <h1 id="badges">Badges</h1>
2654 </div>
2655 <p class="lead">Easily highlight new or unread items by adding a <code>&lt;span class="badge"&gt;</code> to links, Bootstrap navs, and more.</p>
2656
2657 <div class="bs-example">
2658 <a href="#">Inbox <span class="badge">42</span></a>
2659 </div>
2660{% highlight html %}
2661<a href="#">Inbox <span class="badge">42</span></a>
2662{% endhighlight %}
2663
2664 <h4>Self collapsing</h4>
2665 <p>When there are no new or unread items, badges will simply collapse (via CSS's <code>:empty</code> selector) provided no content exists within.</p>
2666
2667 <div class="bs-callout bs-callout-danger">
2668 <h4>Cross-browser compatibility</h4>
2669 <p>Badges won't self collapse in Internet Explorer 8 because it lacks support for the <code>:empty</code> selector.</p>
2670 </div>
2671
2672 <h4>Adapts to active nav states</h4>
2673 <p>Built-in styles are included for placing badges in active states in pill and list navigations.</p>
2674 <div class="bs-example">
2675 <ul class="nav nav-pills">
2676 <li class="active"><a href="#">Home <span class="badge">42</span></a></li>
2677 <li><a href="#">Profile</a></li>
2678 <li><a href="#">Messages <span class="badge">3</span></a></li>
2679 </ul>
2680 <br>
2681 <ul class="nav nav-pills nav-stacked" style="max-width: 260px;">
2682 <li class="active">
2683 <a href="#">
2684 <span class="badge pull-right">42</span>
2685 Home
2686 </a>
2687 </li>
2688 <li><a href="#">Profile</a></li>
2689 <li>
2690 <a href="#">
2691 <span class="badge pull-right">3</span>
2692 Messages
2693 </a>
2694 </li>
2695 </ul>
2696 </div>
2697{% highlight html %}
2698<ul class="nav nav-pills nav-stacked">
2699 <li class="active">
2700 <a href="#">
2701 <span class="badge pull-right">42</span>
2702 Home
2703 </a>
2704 </li>
2705 ...
2706</ul>
2707{% endhighlight %}
2708 </div>
2709
2710
2711
2712 <!-- Jumbotron
2713 ================================================== -->
2714 <div class="bs-docs-section">
2715 <div class="page-header">
2716 <h1 id="jumbotron">Jumbotron</h1>
2717 </div>
2718 <p>A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.</p>
2719 <div class="bs-example">
2720 <div class="jumbotron">
2721 <h1>Hello, world!</h1>
2722 <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
2723 <p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
2724 </div>
2725 </div>
2726{% highlight html %}
2727<div class="jumbotron">
2728 <h1>Hello, world!</h1>
2729 <p>...</p>
2730 <p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
2731</div>
2732{% endhighlight %}
2733 <p>To make the jumbotron full width, and without rounded corners, place it outside all <code>.container</code>s and instead add a <code>.container</code> within.</p>
2734{% highlight html %}
2735<div class="jumbotron">
2736 <div class="container">
2737 ...
2738 </div>
2739</div>
2740{% endhighlight %}
2741
2742 </div>
2743
2744
2745
2746 <!-- Page header
2747 ================================================== -->
2748 <div class="bs-docs-section">
2749 <div class="page-header">
2750 <h1 id="page-header">Page header</h1>
2751 </div>
2752 <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code> element, as well as most other components (with additional styles).</p>
2753 <div class="bs-example">
2754 <div class="page-header">
2755 <h1>Example page header <small>Subtext for header</small></h1>
2756 </div>
2757 </div>
2758{% highlight html %}
2759<div class="page-header">
2760 <h1>Example page header <small>Subtext for header</small></h1>
2761</div>
2762{% endhighlight %}
2763 </div>
2764
2765
2766
2767 <!-- Thumbnails
2768 ================================================== -->
2769 <div class="bs-docs-section">
2770 <div class="page-header">
2771 <h1 id="thumbnails">Thumbnails</h1>
2772 </div>
2773 <p class="lead">Extend Bootstrap's <a href="../css/#grid">grid system</a> with the thumbnail component to easily display grids of images, videos, text, and more.</p>
2774
2775 <h3 id="thumbnails-default">Default example</h3>
2776 <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
2777 <div class="bs-example">
2778 <div class="row">
2779 <div class="col-sm-6 col-md-3">
2780 <a href="#" class="thumbnail">
2781 <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail">
2782 </a>
2783 </div>
2784 <div class="col-sm-6 col-md-3">
2785 <a href="#" class="thumbnail">
2786 <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail">
2787 </a>
2788 </div>
2789 <div class="col-sm-6 col-md-3">
2790 <a href="#" class="thumbnail">
2791 <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail">
2792 </a>
2793 </div>
2794 <div class="col-sm-6 col-md-3">
2795 <a href="#" class="thumbnail">
2796 <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail">
2797 </a>
2798 </div>
2799 </div>
2800 </div><!-- /.bs-example -->
2801{% highlight html %}
2802<div class="row">
2803 <div class="col-sm-6 col-md-3">
2804 <a href="#" class="thumbnail">
2805 <img data-src="holder.js/100%x180" alt="...">
2806 </a>
2807 </div>
2808 ...
2809</div>
2810{% endhighlight %}
2811
2812 <h3 id="thumbnails-custom-content">Custom content</h3>
2813 <p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>
2814 <div class="bs-example">
2815 <div class="row">
2816 <div class="col-sm-6 col-md-4">
2817 <div class="thumbnail">
2818 <img data-src="holder.js/300x200" alt="Generic placeholder thumbnail">
2819 <div class="caption">
2820 <h3>Thumbnail label</h3>
2821 <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
2822 <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
2823 </div>
2824 </div>
2825 </div>
2826 <div class="col-sm-6 col-md-4">
2827 <div class="thumbnail">
2828 <img data-src="holder.js/300x200" alt="Generic placeholder thumbnail">
2829 <div class="caption">
2830 <h3>Thumbnail label</h3>
2831 <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
2832 <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
2833 </div>
2834 </div>
2835 </div>
2836 <div class="col-sm-6 col-md-4">
2837 <div class="thumbnail">
2838 <img data-src="holder.js/300x200" alt="Generic placeholder thumbnail">
2839 <div class="caption">
2840 <h3>Thumbnail label</h3>
2841 <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
2842 <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
2843 </div>
2844 </div>
2845 </div>
2846 </div>
2847 </div><!-- /.bs-example -->
2848{% highlight html %}
2849<div class="row">
2850 <div class="col-sm-6 col-md-4">
2851 <div class="thumbnail">
2852 <img data-src="holder.js/300x200" alt="...">
2853 <div class="caption">
2854 <h3>Thumbnail label</h3>
2855 <p>...</p>
2856 <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
2857 </div>
2858 </div>
2859 </div>
2860</div>
2861{% endhighlight %}
2862 </div>
2863
2864
2865
2866
2867 <!-- Alerts
2868 ================================================== -->
2869 <div class="bs-docs-section">
2870 <div class="page-header">
2871 <h1 id="alerts">Alerts</h1>
2872 </div>
2873 <p class="lead">Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. For inline dismissal, use the <a href="../javascript/#alerts">alerts jQuery plugin</a>.</p>
2874
2875 <h2 id="alerts-examples">Examples</h2>
2876 <p>Wrap any text and an optional dismiss button in <code>.alert</code> and one of the four contextual classes (e.g., <code>.alert-success</code>) for basic alert messages.</p>
2877
2878 <div class="bs-callout bs-callout-info">
2879 <h4>No default class</h4>
2880 <p>Alerts don't have default classes, only base and modifier classes. A default gray alert doesn't make too much sense, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.</p>
2881 </div>
2882
2883 <div class="bs-example">
2884 <div class="alert alert-success">
2885 <strong>Well done!</strong> You successfully read this important alert message.
2886 </div>
2887 <div class="alert alert-info">
2888 <strong>Heads up!</strong> This alert needs your attention, but it's not super important.
2889 </div>
2890 <div class="alert alert-warning">
2891 <strong>Warning!</strong> Best check yo self, you're not looking too good.
2892 </div>
2893 <div class="alert alert-danger">
2894 <strong>Oh snap!</strong> Change a few things up and try submitting again.
2895 </div>
2896 </div>
2897{% highlight html %}
2898<div class="alert alert-success">...</div>
2899<div class="alert alert-info">...</div>
2900<div class="alert alert-warning">...</div>
2901<div class="alert alert-danger">...</div>
2902{% endhighlight %}
2903
2904 <h2 id="alerts-dismissable">Dismissable alerts</h2>
2905 <p>Build on any alert by adding an optional <code>.alert-dismissable</code> and close button.</p>
2906 <div class="bs-example">
2907 <div class="alert alert-warning alert-dismissable">
2908 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
2909 <strong>Warning!</strong> Best check yo self, you're not looking too good.
2910 </div>
2911 </div>
2912{% highlight html %}
2913<div class="alert alert-warning alert-dismissable">
2914 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
2915 <strong>Warning!</strong> Best check yo self, you're not looking too good.
2916</div>
2917{% endhighlight %}
2918
2919 <div class="bs-callout bs-callout-warning">
2920 <h4>Ensure proper behavior across all devices</h4>
2921 <p>Be sure to use the <code>&lt;button&gt;</code> element with the <code>data-dismiss="alert"</code> data attribute.</p>
2922 </div>
2923
2924 <h2 id="alerts-links">Links in alerts</h2>
2925 <p>Use the <code>.alert-link</code> utility class to quickly provide matching colored links within any alert.</p>
2926 <div class="bs-example">
2927 <div class="alert alert-success">
2928 <strong>Well done!</strong> You successfully read <a href="#" class="alert-link">this important alert message</a>.
2929 </div>
2930 <div class="alert alert-info">
2931 <strong>Heads up!</strong> This <a href="#" class="alert-link">alert needs your attention</a>, but it's not super important.
2932 </div>
2933 <div class="alert alert-warning">
2934 <strong>Warning!</strong> Best check yo self, you're <a href="#" class="alert-link">not looking too good</a>.
2935 </div>
2936 <div class="alert alert-danger">
2937 <strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
2938 </div>
2939 </div>
2940{% highlight html %}
2941<div class="alert alert-success">
2942 <a href="#" class="alert-link">...</a>
2943</div>
2944<div class="alert alert-info">
2945 <a href="#" class="alert-link">...</a>
2946</div>
2947<div class="alert alert-warning">
2948 <a href="#" class="alert-link">...</a>
2949</div>
2950<div class="alert alert-danger">
2951 <a href="#" class="alert-link">...</a>
2952</div>
2953{% endhighlight %}
2954 </div>
2955
2956
2957
2958
2959 <!-- Progress bars
2960 ================================================== -->
2961 <div class="bs-docs-section">
2962 <div class="page-header">
2963 <h1 id="progress">Progress bars</h1>
2964 </div>
2965 <p class="lead">Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.</p>
2966
2967 <div class="bs-callout bs-callout-danger">
2968 <h4>Cross-browser compatibility</h4>
2969 <p>Progress bars use CSS3 transitions and animations to achieve some of their effects. These features are not supported in Internet Explorer 9 and below or older versions of Firefox. Opera 12 does not support animations.</p>
2970 </div>
2971
2972 <h3 id="progress-basic">Basic example</h3>
2973 <p>Default progress bar.</p>
2974 <div class="bs-example">
2975 <div class="progress">
2976 <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
2977 <span class="sr-only">60% Complete</span>
2978 </div>
2979 </div>
2980 </div>
2981{% highlight html %}
2982<div class="progress">
2983 <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
2984 <span class="sr-only">60% Complete</span>
2985 </div>
2986</div>
2987{% endhighlight %}
2988
2989 <h3 id="progress-alternatives">Contextual alternatives</h3>
2990 <p>Progress bars use some of the same button and alert classes for consistent styles.</p>
2991 <div class="bs-example">
2992 <div class="progress">
2993 <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
2994 <span class="sr-only">40% Complete (success)</span>
2995 </div>
2996 </div>
2997 <div class="progress">
2998 <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
2999 <span class="sr-only">20% Complete</span>
3000 </div>
3001 </div>
3002 <div class="progress">
3003 <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
3004 <span class="sr-only">60% Complete (warning)</span>
3005 </div>
3006 </div>
3007 <div class="progress">
3008 <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
3009 <span class="sr-only">80% Complete (danger)</span>
3010 </div>
3011 </div>
3012 </div>
3013{% highlight html %}
3014<div class="progress">
3015 <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
3016 <span class="sr-only">40% Complete (success)</span>
3017 </div>
3018</div>
3019<div class="progress">
3020 <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
3021 <span class="sr-only">20% Complete</span>
3022 </div>
3023</div>
3024<div class="progress">
3025 <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
3026 <span class="sr-only">60% Complete (warning)</span>
3027 </div>
3028</div>
3029<div class="progress">
3030 <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
3031 <span class="sr-only">80% Complete</span>
3032 </div>
3033</div>
The diff has been truncated for viewing.