From 4642156cbc6da4a9e25dce2168f2fb9b726de042 Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Tue, 6 Aug 2013 15:19:12 -0400 Subject: unignore bower_components --- 2/bower_components/bootstrap/.bower.json | 20 + 2/bower_components/bootstrap/.gitignore | 37 + 2/bower_components/bootstrap/.travis.yml | 3 + 2/bower_components/bootstrap/CHANGELOG.md | 368 + 2/bower_components/bootstrap/CONTRIBUTING.md | 75 + 2/bower_components/bootstrap/LICENSE | 176 + 2/bower_components/bootstrap/Makefile | 126 + 2/bower_components/bootstrap/README.md | 113 + 2/bower_components/bootstrap/bower.json | 8 + 2/bower_components/bootstrap/composer.json | 9 + .../docs/assets/css/bootstrap-responsive.css | 1109 +++ .../bootstrap/docs/assets/css/bootstrap.css | 6167 ++++++++++++++ .../bootstrap/docs/assets/css/docs.css | 1067 +++ .../ico/apple-touch-icon-114-precomposed.png | Bin 0 -> 11392 bytes .../ico/apple-touch-icon-144-precomposed.png | Bin 0 -> 16780 bytes .../assets/ico/apple-touch-icon-57-precomposed.png | Bin 0 -> 4026 bytes .../assets/ico/apple-touch-icon-72-precomposed.png | Bin 0 -> 5681 bytes .../bootstrap/docs/assets/ico/favicon.ico | Bin 0 -> 1150 bytes .../bootstrap/docs/assets/ico/favicon.png | Bin 0 -> 2711 bytes .../docs/assets/img/bootstrap-docs-readme.png | Bin 0 -> 30612 bytes .../docs/assets/img/bootstrap-mdo-sfmoma-01.jpg | Bin 0 -> 125346 bytes .../docs/assets/img/bootstrap-mdo-sfmoma-02.jpg | Bin 0 -> 81284 bytes .../docs/assets/img/bootstrap-mdo-sfmoma-03.jpg | Bin 0 -> 49063 bytes .../docs/assets/img/bs-docs-bootstrap-features.png | Bin 0 -> 11244 bytes .../docs/assets/img/bs-docs-masthead-pattern.png | Bin 0 -> 6450 bytes .../img/bs-docs-responsive-illustrations.png | Bin 0 -> 10572 bytes .../docs/assets/img/bs-docs-twitter-github.png | Bin 0 -> 30968 bytes .../docs/assets/img/example-sites/8020select.png | Bin 0 -> 62853 bytes .../assets/img/example-sites/adoptahydrant.png | Bin 0 -> 136480 bytes .../docs/assets/img/example-sites/breakingnews.png | Bin 0 -> 72725 bytes .../docs/assets/img/example-sites/fleetio.png | Bin 0 -> 39837 bytes .../assets/img/example-sites/gathercontent.png | Bin 0 -> 76560 bytes .../docs/assets/img/example-sites/jshint.png | Bin 0 -> 7258 bytes .../docs/assets/img/example-sites/kippt.png | Bin 0 -> 48259 bytes .../docs/assets/img/example-sites/soundready.png | Bin 0 -> 50225 bytes .../img/examples/bootstrap-example-carousel.png | Bin 0 -> 339980 bytes .../img/examples/bootstrap-example-fluid.png | Bin 0 -> 209039 bytes .../examples/bootstrap-example-justified-nav.png | Bin 0 -> 136021 bytes .../bootstrap-example-marketing-narrow.png | Bin 0 -> 117303 bytes .../img/examples/bootstrap-example-marketing.png | Bin 0 -> 134269 bytes .../img/examples/bootstrap-example-signin.png | Bin 0 -> 22037 bytes .../img/examples/bootstrap-example-starter.png | Bin 0 -> 36099 bytes .../examples/bootstrap-example-sticky-footer.png | Bin 0 -> 30820 bytes .../assets/img/examples/browser-icon-chrome.png | Bin 0 -> 55522 bytes .../assets/img/examples/browser-icon-firefox.png | Bin 0 -> 175994 bytes .../assets/img/examples/browser-icon-safari.png | Bin 0 -> 209527 bytes .../docs/assets/img/examples/slide-01.jpg | Bin 0 -> 83303 bytes .../docs/assets/img/examples/slide-02.jpg | Bin 0 -> 137070 bytes .../docs/assets/img/examples/slide-03.jpg | Bin 0 -> 137378 bytes .../docs/assets/img/glyphicons-halflings-white.png | Bin 0 -> 8777 bytes .../docs/assets/img/glyphicons-halflings.png | Bin 0 -> 12799 bytes .../docs/assets/img/grid-baseline-20px.png | Bin 0 -> 84 bytes .../bootstrap/docs/assets/img/less-logo-large.png | Bin 0 -> 12824 bytes .../docs/assets/img/responsive-illustrations.png | Bin 0 -> 1008 bytes .../bootstrap/docs/assets/js/README.md | 106 + .../bootstrap/docs/assets/js/application.js | 156 + .../bootstrap/docs/assets/js/bootstrap-affix.js | 117 + .../bootstrap/docs/assets/js/bootstrap-alert.js | 99 + .../bootstrap/docs/assets/js/bootstrap-button.js | 105 + .../bootstrap/docs/assets/js/bootstrap-carousel.js | 207 + .../bootstrap/docs/assets/js/bootstrap-collapse.js | 167 + .../bootstrap/docs/assets/js/bootstrap-dropdown.js | 169 + .../bootstrap/docs/assets/js/bootstrap-modal.js | 247 + .../bootstrap/docs/assets/js/bootstrap-popover.js | 114 + .../docs/assets/js/bootstrap-scrollspy.js | 162 + .../bootstrap/docs/assets/js/bootstrap-tab.js | 144 + .../bootstrap/docs/assets/js/bootstrap-tooltip.js | 361 + .../docs/assets/js/bootstrap-transition.js | 60 + .../docs/assets/js/bootstrap-typeahead.js | 335 + .../bootstrap/docs/assets/js/bootstrap.js | 2280 +++++ .../bootstrap/docs/assets/js/bootstrap.min.js | 6 + .../assets/js/google-code-prettify/prettify.css | 30 + .../assets/js/google-code-prettify/prettify.js | 28 + .../bootstrap/docs/assets/js/holder/holder.js | 401 + .../bootstrap/docs/assets/js/html5shiv.js | 8 + .../bootstrap/docs/assets/js/jquery.js | 5 + 2/bower_components/bootstrap/docs/base-css.html | 2240 +++++ 2/bower_components/bootstrap/docs/components.html | 2651 ++++++ 2/bower_components/bootstrap/docs/customize.html | 539 ++ .../bootstrap/docs/examples/carousel.html | 454 + .../bootstrap/docs/examples/fluid.html | 163 + .../bootstrap/docs/examples/hero.html | 126 + .../bootstrap/docs/examples/justified-nav.html | 174 + .../bootstrap/docs/examples/marketing-narrow.html | 137 + .../bootstrap/docs/examples/signin.html | 94 + .../bootstrap/docs/examples/starter-template.html | 79 + .../docs/examples/sticky-footer-navbar.html | 161 + .../bootstrap/docs/examples/sticky-footer.html | 125 + 2/bower_components/bootstrap/docs/extend.html | 307 + .../bootstrap/docs/getting-started.html | 402 + 2/bower_components/bootstrap/docs/index.html | 246 + 2/bower_components/bootstrap/docs/javascript.html | 1805 ++++ 2/bower_components/bootstrap/docs/scaffolding.html | 627 ++ .../bootstrap/docs/templates/layout.mustache | 151 + .../docs/templates/pages/base-css.mustache | 2102 +++++ .../docs/templates/pages/components.mustache | 2505 ++++++ .../docs/templates/pages/customize.mustache | 393 + .../bootstrap/docs/templates/pages/extend.mustache | 161 + .../docs/templates/pages/getting-started.mustache | 256 + .../bootstrap/docs/templates/pages/index.mustache | 100 + .../docs/templates/pages/javascript.mustache | 1660 ++++ .../docs/templates/pages/scaffolding.mustache | 485 ++ .../bootstrap/img/glyphicons-halflings-white.png | Bin 0 -> 8777 bytes .../bootstrap/img/glyphicons-halflings.png | Bin 0 -> 12799 bytes 2/bower_components/bootstrap/js/.jshintrc | 12 + 2/bower_components/bootstrap/js/bootstrap-affix.js | 117 + 2/bower_components/bootstrap/js/bootstrap-alert.js | 99 + .../bootstrap/js/bootstrap-button.js | 105 + .../bootstrap/js/bootstrap-carousel.js | 207 + .../bootstrap/js/bootstrap-collapse.js | 167 + .../bootstrap/js/bootstrap-dropdown.js | 169 + 2/bower_components/bootstrap/js/bootstrap-modal.js | 247 + .../bootstrap/js/bootstrap-popover.js | 114 + .../bootstrap/js/bootstrap-scrollspy.js | 162 + 2/bower_components/bootstrap/js/bootstrap-tab.js | 144 + .../bootstrap/js/bootstrap-tooltip.js | 361 + .../bootstrap/js/bootstrap-transition.js | 60 + .../bootstrap/js/bootstrap-typeahead.js | 335 + 2/bower_components/bootstrap/js/tests/index.html | 56 + 2/bower_components/bootstrap/js/tests/phantom.js | 63 + 2/bower_components/bootstrap/js/tests/server.js | 14 + .../bootstrap/js/tests/unit/bootstrap-affix.js | 25 + .../bootstrap/js/tests/unit/bootstrap-alert.js | 62 + .../bootstrap/js/tests/unit/bootstrap-button.js | 102 + .../bootstrap/js/tests/unit/bootstrap-carousel.js | 81 + .../bootstrap/js/tests/unit/bootstrap-collapse.js | 94 + .../bootstrap/js/tests/unit/bootstrap-dropdown.js | 151 + .../bootstrap/js/tests/unit/bootstrap-modal.js | 137 + .../bootstrap/js/tests/unit/bootstrap-phantom.js | 21 + .../bootstrap/js/tests/unit/bootstrap-popover.js | 113 + .../bootstrap/js/tests/unit/bootstrap-scrollspy.js | 37 + .../bootstrap/js/tests/unit/bootstrap-tab.js | 86 + .../bootstrap/js/tests/unit/bootstrap-tooltip.js | 294 + .../js/tests/unit/bootstrap-transition.js | 13 + .../bootstrap/js/tests/unit/bootstrap-typeahead.js | 236 + .../bootstrap/js/tests/vendor/jquery.js | 5 + .../bootstrap/js/tests/vendor/qunit.css | 232 + .../bootstrap/js/tests/vendor/qunit.js | 1510 ++++ 2/bower_components/bootstrap/less/accordion.less | 34 + 2/bower_components/bootstrap/less/alerts.less | 79 + 2/bower_components/bootstrap/less/bootstrap.less | 63 + 2/bower_components/bootstrap/less/breadcrumbs.less | 24 + .../bootstrap/less/button-groups.less | 229 + 2/bower_components/bootstrap/less/buttons.less | 228 + 2/bower_components/bootstrap/less/carousel.less | 158 + 2/bower_components/bootstrap/less/close.less | 32 + 2/bower_components/bootstrap/less/code.less | 61 + .../bootstrap/less/component-animations.less | 22 + 2/bower_components/bootstrap/less/dropdowns.less | 248 + 2/bower_components/bootstrap/less/forms.less | 690 ++ 2/bower_components/bootstrap/less/grid.less | 21 + 2/bower_components/bootstrap/less/hero-unit.less | 25 + .../bootstrap/less/labels-badges.less | 84 + 2/bower_components/bootstrap/less/layouts.less | 16 + 2/bower_components/bootstrap/less/media.less | 55 + 2/bower_components/bootstrap/less/mixins.less | 702 ++ 2/bower_components/bootstrap/less/modals.less | 95 + 2/bower_components/bootstrap/less/navbar.less | 497 ++ 2/bower_components/bootstrap/less/navs.less | 409 + 2/bower_components/bootstrap/less/pager.less | 43 + 2/bower_components/bootstrap/less/pagination.less | 123 + 2/bower_components/bootstrap/less/popovers.less | 133 + .../bootstrap/less/progress-bars.less | 122 + 2/bower_components/bootstrap/less/reset.less | 216 + .../bootstrap/less/responsive-1200px-min.less | 28 + .../bootstrap/less/responsive-767px-max.less | 193 + .../bootstrap/less/responsive-768px-979px.less | 19 + .../bootstrap/less/responsive-navbar.less | 189 + .../bootstrap/less/responsive-utilities.less | 59 + 2/bower_components/bootstrap/less/responsive.less | 48 + 2/bower_components/bootstrap/less/scaffolding.less | 53 + 2/bower_components/bootstrap/less/sprites.less | 197 + 2/bower_components/bootstrap/less/tables.less | 244 + .../bootstrap/less/tests/buttons.html | 139 + .../bootstrap/less/tests/css-tests.css | 150 + .../bootstrap/less/tests/css-tests.html | 1399 ++++ .../bootstrap/less/tests/forms-responsive.html | 71 + 2/bower_components/bootstrap/less/tests/forms.html | 179 + .../bootstrap/less/tests/navbar-fixed-top.html | 104 + .../bootstrap/less/tests/navbar-static-top.html | 107 + .../bootstrap/less/tests/navbar.html | 107 + 2/bower_components/bootstrap/less/thumbnails.less | 53 + 2/bower_components/bootstrap/less/tooltip.less | 70 + 2/bower_components/bootstrap/less/type.less | 247 + 2/bower_components/bootstrap/less/utilities.less | 30 + 2/bower_components/bootstrap/less/variables.less | 301 + 2/bower_components/bootstrap/less/wells.less | 29 + 2/bower_components/bootstrap/package.json | 26 + 2/bower_components/jquery/.bower.json | 20 + 2/bower_components/jquery/.gitignore | 1 + 2/bower_components/jquery/README.md | 11 + 2/bower_components/jquery/bower.json | 11 + 2/bower_components/jquery/component.json | 15 + 2/bower_components/jquery/composer.json | 35 + 2/bower_components/jquery/jquery-migrate.js | 511 ++ 2/bower_components/jquery/jquery-migrate.min.js | 3 + 2/bower_components/jquery/jquery.js | 8829 ++++++++++++++++++++ 2/bower_components/jquery/jquery.min.js | 6 + 2/bower_components/jquery/jquery.min.map | 1 + 2/bower_components/jquery/package.json | 7 + 200 files changed, 56260 insertions(+) create mode 100644 2/bower_components/bootstrap/.bower.json create mode 100644 2/bower_components/bootstrap/.gitignore create mode 100644 2/bower_components/bootstrap/.travis.yml create mode 100644 2/bower_components/bootstrap/CHANGELOG.md create mode 100644 2/bower_components/bootstrap/CONTRIBUTING.md create mode 100644 2/bower_components/bootstrap/LICENSE create mode 100644 2/bower_components/bootstrap/Makefile create mode 100644 2/bower_components/bootstrap/README.md create mode 100644 2/bower_components/bootstrap/bower.json create mode 100644 2/bower_components/bootstrap/composer.json create mode 100644 2/bower_components/bootstrap/docs/assets/css/bootstrap-responsive.css create mode 100644 2/bower_components/bootstrap/docs/assets/css/bootstrap.css create mode 100644 2/bower_components/bootstrap/docs/assets/css/docs.css create mode 100644 2/bower_components/bootstrap/docs/assets/ico/apple-touch-icon-114-precomposed.png create mode 100644 2/bower_components/bootstrap/docs/assets/ico/apple-touch-icon-144-precomposed.png create mode 100644 2/bower_components/bootstrap/docs/assets/ico/apple-touch-icon-57-precomposed.png create mode 100644 2/bower_components/bootstrap/docs/assets/ico/apple-touch-icon-72-precomposed.png create mode 100644 2/bower_components/bootstrap/docs/assets/ico/favicon.ico create mode 100644 2/bower_components/bootstrap/docs/assets/ico/favicon.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/bootstrap-docs-readme.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg create mode 100644 2/bower_components/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg create mode 100644 2/bower_components/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg create mode 100644 2/bower_components/bootstrap/docs/assets/img/bs-docs-bootstrap-features.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/bs-docs-masthead-pattern.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/bs-docs-responsive-illustrations.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/bs-docs-twitter-github.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/8020select.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/adoptahydrant.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/breakingnews.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/fleetio.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/gathercontent.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/jshint.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/kippt.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/example-sites/soundready.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-carousel.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-fluid.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-justified-nav.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-marketing-narrow.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-marketing.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-signin.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-starter.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/bootstrap-example-sticky-footer.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/browser-icon-chrome.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/browser-icon-firefox.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/browser-icon-safari.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/slide-01.jpg create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/slide-02.jpg create mode 100644 2/bower_components/bootstrap/docs/assets/img/examples/slide-03.jpg create mode 100644 2/bower_components/bootstrap/docs/assets/img/glyphicons-halflings-white.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/glyphicons-halflings.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/grid-baseline-20px.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/less-logo-large.png create mode 100644 2/bower_components/bootstrap/docs/assets/img/responsive-illustrations.png create mode 100644 2/bower_components/bootstrap/docs/assets/js/README.md create mode 100644 2/bower_components/bootstrap/docs/assets/js/application.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-affix.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-alert.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-button.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-carousel.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-collapse.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-dropdown.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-modal.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-popover.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-scrollspy.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-tab.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-tooltip.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-transition.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap-typeahead.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/bootstrap.min.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/google-code-prettify/prettify.css create mode 100644 2/bower_components/bootstrap/docs/assets/js/google-code-prettify/prettify.js create mode 100755 2/bower_components/bootstrap/docs/assets/js/holder/holder.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/html5shiv.js create mode 100644 2/bower_components/bootstrap/docs/assets/js/jquery.js create mode 100644 2/bower_components/bootstrap/docs/base-css.html create mode 100644 2/bower_components/bootstrap/docs/components.html create mode 100644 2/bower_components/bootstrap/docs/customize.html create mode 100644 2/bower_components/bootstrap/docs/examples/carousel.html create mode 100644 2/bower_components/bootstrap/docs/examples/fluid.html create mode 100644 2/bower_components/bootstrap/docs/examples/hero.html create mode 100644 2/bower_components/bootstrap/docs/examples/justified-nav.html create mode 100644 2/bower_components/bootstrap/docs/examples/marketing-narrow.html create mode 100644 2/bower_components/bootstrap/docs/examples/signin.html create mode 100644 2/bower_components/bootstrap/docs/examples/starter-template.html create mode 100644 2/bower_components/bootstrap/docs/examples/sticky-footer-navbar.html create mode 100644 2/bower_components/bootstrap/docs/examples/sticky-footer.html create mode 100644 2/bower_components/bootstrap/docs/extend.html create mode 100644 2/bower_components/bootstrap/docs/getting-started.html create mode 100644 2/bower_components/bootstrap/docs/index.html create mode 100644 2/bower_components/bootstrap/docs/javascript.html create mode 100644 2/bower_components/bootstrap/docs/scaffolding.html create mode 100644 2/bower_components/bootstrap/docs/templates/layout.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/base-css.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/components.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/customize.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/extend.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/getting-started.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/index.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/javascript.mustache create mode 100644 2/bower_components/bootstrap/docs/templates/pages/scaffolding.mustache create mode 100644 2/bower_components/bootstrap/img/glyphicons-halflings-white.png create mode 100644 2/bower_components/bootstrap/img/glyphicons-halflings.png create mode 100644 2/bower_components/bootstrap/js/.jshintrc create mode 100644 2/bower_components/bootstrap/js/bootstrap-affix.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-alert.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-button.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-carousel.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-collapse.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-dropdown.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-modal.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-popover.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-scrollspy.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-tab.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-tooltip.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-transition.js create mode 100644 2/bower_components/bootstrap/js/bootstrap-typeahead.js create mode 100644 2/bower_components/bootstrap/js/tests/index.html create mode 100644 2/bower_components/bootstrap/js/tests/phantom.js create mode 100644 2/bower_components/bootstrap/js/tests/server.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-affix.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-alert.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-button.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-carousel.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-collapse.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-dropdown.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-modal.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-phantom.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-popover.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-scrollspy.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-tab.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-tooltip.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-transition.js create mode 100644 2/bower_components/bootstrap/js/tests/unit/bootstrap-typeahead.js create mode 100644 2/bower_components/bootstrap/js/tests/vendor/jquery.js create mode 100644 2/bower_components/bootstrap/js/tests/vendor/qunit.css create mode 100644 2/bower_components/bootstrap/js/tests/vendor/qunit.js create mode 100644 2/bower_components/bootstrap/less/accordion.less create mode 100644 2/bower_components/bootstrap/less/alerts.less create mode 100644 2/bower_components/bootstrap/less/bootstrap.less create mode 100644 2/bower_components/bootstrap/less/breadcrumbs.less create mode 100644 2/bower_components/bootstrap/less/button-groups.less create mode 100644 2/bower_components/bootstrap/less/buttons.less create mode 100644 2/bower_components/bootstrap/less/carousel.less create mode 100644 2/bower_components/bootstrap/less/close.less create mode 100644 2/bower_components/bootstrap/less/code.less create mode 100644 2/bower_components/bootstrap/less/component-animations.less create mode 100644 2/bower_components/bootstrap/less/dropdowns.less create mode 100644 2/bower_components/bootstrap/less/forms.less create mode 100644 2/bower_components/bootstrap/less/grid.less create mode 100644 2/bower_components/bootstrap/less/hero-unit.less create mode 100644 2/bower_components/bootstrap/less/labels-badges.less create mode 100644 2/bower_components/bootstrap/less/layouts.less create mode 100644 2/bower_components/bootstrap/less/media.less create mode 100644 2/bower_components/bootstrap/less/mixins.less create mode 100644 2/bower_components/bootstrap/less/modals.less create mode 100644 2/bower_components/bootstrap/less/navbar.less create mode 100644 2/bower_components/bootstrap/less/navs.less create mode 100644 2/bower_components/bootstrap/less/pager.less create mode 100644 2/bower_components/bootstrap/less/pagination.less create mode 100644 2/bower_components/bootstrap/less/popovers.less create mode 100644 2/bower_components/bootstrap/less/progress-bars.less create mode 100644 2/bower_components/bootstrap/less/reset.less create mode 100644 2/bower_components/bootstrap/less/responsive-1200px-min.less create mode 100644 2/bower_components/bootstrap/less/responsive-767px-max.less create mode 100644 2/bower_components/bootstrap/less/responsive-768px-979px.less create mode 100644 2/bower_components/bootstrap/less/responsive-navbar.less create mode 100644 2/bower_components/bootstrap/less/responsive-utilities.less create mode 100644 2/bower_components/bootstrap/less/responsive.less create mode 100644 2/bower_components/bootstrap/less/scaffolding.less create mode 100644 2/bower_components/bootstrap/less/sprites.less create mode 100644 2/bower_components/bootstrap/less/tables.less create mode 100644 2/bower_components/bootstrap/less/tests/buttons.html create mode 100644 2/bower_components/bootstrap/less/tests/css-tests.css create mode 100644 2/bower_components/bootstrap/less/tests/css-tests.html create mode 100644 2/bower_components/bootstrap/less/tests/forms-responsive.html create mode 100644 2/bower_components/bootstrap/less/tests/forms.html create mode 100644 2/bower_components/bootstrap/less/tests/navbar-fixed-top.html create mode 100644 2/bower_components/bootstrap/less/tests/navbar-static-top.html create mode 100644 2/bower_components/bootstrap/less/tests/navbar.html create mode 100644 2/bower_components/bootstrap/less/thumbnails.less create mode 100644 2/bower_components/bootstrap/less/tooltip.less create mode 100644 2/bower_components/bootstrap/less/type.less create mode 100644 2/bower_components/bootstrap/less/utilities.less create mode 100644 2/bower_components/bootstrap/less/variables.less create mode 100644 2/bower_components/bootstrap/less/wells.less create mode 100644 2/bower_components/bootstrap/package.json create mode 100644 2/bower_components/jquery/.bower.json create mode 100644 2/bower_components/jquery/.gitignore create mode 100644 2/bower_components/jquery/README.md create mode 100644 2/bower_components/jquery/bower.json create mode 100644 2/bower_components/jquery/component.json create mode 100644 2/bower_components/jquery/composer.json create mode 100644 2/bower_components/jquery/jquery-migrate.js create mode 100644 2/bower_components/jquery/jquery-migrate.min.js create mode 100644 2/bower_components/jquery/jquery.js create mode 100644 2/bower_components/jquery/jquery.min.js create mode 100644 2/bower_components/jquery/jquery.min.map create mode 100644 2/bower_components/jquery/package.json (limited to '2/bower_components') diff --git a/2/bower_components/bootstrap/.bower.json b/2/bower_components/bootstrap/.bower.json new file mode 100644 index 00000000..b9b554a2 --- /dev/null +++ b/2/bower_components/bootstrap/.bower.json @@ -0,0 +1,20 @@ +{ + "name": "bootstrap", + "version": "2.3.2", + "main": [ + "./docs/assets/js/bootstrap.js", + "./docs/assets/css/bootstrap.css" + ], + "dependencies": { + "jquery": ">=1.8.0 <2.1.0" + }, + "homepage": "https://github.com/twbs/bootstrap", + "_release": "2.3.2", + "_resolution": { + "type": "version", + "tag": "v2.3.2", + "commit": "b4c4072679943773a7582daa63f545ba818fa627" + }, + "_source": "git://github.com/twbs/bootstrap.git", + "_target": "~2.3.2" +} \ No newline at end of file diff --git a/2/bower_components/bootstrap/.gitignore b/2/bower_components/bootstrap/.gitignore new file mode 100644 index 00000000..3b10ffb3 --- /dev/null +++ b/2/bower_components/bootstrap/.gitignore @@ -0,0 +1,37 @@ +# Numerous always-ignore extensions +*.diff +*.err +*.orig +*.log +*.rej +*.swo +*.swp +*.zip +*.vi +*~ +*.sass-cache + +# OS or Editor folders +.DS_Store +._* +Thumbs.db +.cache +.project +.settings +.tmproj +*.esproj +nbproject +*.sublime-project +*.sublime-workspace + +# Komodo +*.komodoproject +.komodotools + +# Folders to ignore +.hg +.svn +.CVS +.idea +node_modules +dist diff --git a/2/bower_components/bootstrap/.travis.yml b/2/bower_components/bootstrap/.travis.yml new file mode 100644 index 00000000..b8e1f172 --- /dev/null +++ b/2/bower_components/bootstrap/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - 0.6 \ No newline at end of file diff --git a/2/bower_components/bootstrap/CHANGELOG.md b/2/bower_components/bootstrap/CHANGELOG.md new file mode 100644 index 00000000..9af95613 --- /dev/null +++ b/2/bower_components/bootstrap/CHANGELOG.md @@ -0,0 +1,368 @@ +## 2.3.2 re-release (July 26, 2013) + +Patch to update jQuery in Bower and bump Recess to 1.1.9. + +## 2.3.2 (May 17, 2013) + +Fix dropdown for firefox (middleclick) and mobile. + +## 2.3.1 (February 28, 2013) + +Patch release for @fat's n00bery + +- fix missing event type in dropdown +- fix delegated data-attrs for popover/tooltip +- make carousel actually pause when you click cycle +- fix jshint ref in makefile +- fix trying to remove backdrop when no backdrop + +## 2.3.0 (February 7, 2013) + +Minor release to add carousel indicators, improve tooltips, improve dev setup, and fix hella bugs. + +- **Repository changes:** + - **Local instead of global dependencies** for our makefile and install process. Now getting started is way easier—just run `npm install`. + - Upgraded to jQuery 1.9. No changes were needed, but we did upgrade the included jQuery file to the latest release. + - Moved changelog to be within the repo instead of as a wiki page. +- **New and improved features:** + - **Added carousel indicators!** Add the HTML and it automagically works. + - **Added `container` option to tooltips.** The default option is still `insertAfter`, but now you may specify where to insert tooltips (and by extension, popovers) with the optional container parameter. + - Improved popovers now utilize `max-width` instead of `width`, have been widened from 240px to 280px, and will automatically hide the title if one has not been set via CSS `:empty` selector. + - Improved tooltip alignment on edges with [#6713](https://github.com/twbs/bootstrap/pull/6713). + - **Improved accessibility for links in all components.** After merging [#6441](https://github.com/twbs/bootstrap/pull/6441), link hover states now apply to the `:focus` state as well. This goes for basic `` tags, as well as buttons, navs, dropdowns, and more. + - Added print utility classes to show and hide content between `screen` and `print` via CSS. + - Updated input groups to make them behave more like default form controls. Added `display: inline-block;`, increased `margin-bottom`, and added `vertical-align: middle;` to match `` styles. + - Added `.horizontal-three-colors()` gradient mixin (with example in the CSS tests file). + - Added `.text-left`, `.text-center`, and `.text-right` utility classes for easy typographic alignment. + - Added `@ms-viewport` so IE10 can use responsive CSS when in split-screen mode. +- **Docs changes:** + - Added [new justified navigation example](https://f.cloud.github.com/assets/98681/25869/5e2f812c-4afa-11e2-9293-501cd689232d.png). + - Added sticky footer with fixed navbar example. + +See more on the [2.3.0 pull request](https://github.com/twbs/bootstrap/pull/6346). + + +## 2.2.2 (December 8, 2012) + +Bugfix release addressing docs, CSS, and some JavaScript issues. Key changes include: + +- **Docs:** + - Assets (illustrations and examples) are now retina-ready. + - Replaced [Placehold.it](http://placehold.it) with [Holder.js](http://imsky.github.com/holder/), a client-side and retina-ready placeholder image tool. +- **Dropdowns:** Temporary fix added for dropdowns on mobile to prevent them from closing early. +- **Popovers:** + - No longer inherits `font-size: 0;` when placed in button groups. + - Arrows refactored to work in IE8, and use less code. + - Plugin no longer inserts popover content into a `

`, but rather directly into `.popover-content`. +- **Labels and badges:** Now [automatically collapse](https://github.com/twbs/bootstrap/commit/ead5dbeba5cd7acfa560bfb353f5e7c4f4a19256) if they have no content. +- **Tables:** Nesting support with `.table-bordered` and `.table-striped` greatly improved. +- **Typeahead:** + - Now [inserts dropdown menu after the input](https://github.com/twbs/bootstrap/commit/1747caf19d59cad7fdc90ae56a00e0e2849f95f4) instead of at the close of the document. + - Hitting escape will place focus back on the ``. +- Print styles, from HTML5 Boilerplate, have been added. + +See more on the [2.2.2 milestone](https://github.com/twbs/bootstrap/issues?milestone=17&state=closed). + + +## 2.2.1 (October 30, 2012) + +Hotfix release to address the carousel bug reports. + + +## 2.2.0 (October 29, 2012) + +### tl;dr + +2.1.2 is now 2.2.0: four new example templates, added media component, new typographic scale, fixed that box-shadow mixin bug, fixed z-index issues, and [more](https://github.com/twbs/bootstrap/issues?milestone=15&page=1&state=closed). + +### Highlights + +- **Added four new example templates** to the docs, including a narrow marketing page, sign in form, sticky footer, and a fancy carousel (created for an upcoming .net magazine article). +- **Added the media component**, to create larger common components like comments, Tweets, etc. +- **New variable-driven typographic scale** based on `@baseFontSize` and `@baseLineHeight`. +- Revamped mini, small, and large padding via new variables for inputs and buttons so everything is the same size. +- Reverted 2.1.1's `.box-shadow();` mixin change that caused compiler errors. +- Improved dropdown submenus to support dropups and left-aligned submenus. +- Fixed z-index issues with tooltips and popovers in modals. +- Hero unit now sets basic type styles for the entire component, rather than on `.hero-unit p { ... }`. +- Updated JavaScript plugins and docs to jQuery 1.8.1. +- Added Contributing.md file. +- Added support for installing Bootstrap via [Bower](http://twitter.github.com/bower). +- Miscellaneous variable improvements across the board. +- Miscellaneous documentation typos fixed. + +For the full list of issues included in this release, visit the [2.2.0 milestone on GitHub](https://github.com/twbs/bootstrap/issues?milestone=15&page=1&state=closed) + + + +## 2.1.1 (September 4, 2012) + +* New feature: alert text. We documented these new classes, like `.text-success`, at the bottom of the [Typography section](http://twbs.github.com/bootstrap/base-css.html#typography) along with the long undocumented `.muted`. +* Fixed a lot of typos in the docs. Spelling is hard. +* Made the `.box-shadow()` mixin more durable. It no longer requires escaping for multiple shadows, meaning you can easily use variables and functions in them once again. +* Widened `.dl-horizontal dt` and `.horizontal-form .control-group` to better handle the increased font-size. +* Dropdown submenus improved: now you only see the next level, not all levels, on hover of the submenu toggle. +* Clarified jQuery and Bootstrap template requirements in Getting Started section. +* `select` now utilizes `@inputBorder`. +* `.lead` now scales up from `@baseFontSize` instead of being a fixed font-size and line-height. +* Fixed the vertical three color gradient in latest Firefox. +* Reordered some variables that caused errors in certain Less compilers. + +View all closed issues on the [2.1.1 milestone](https://github.com/twbs/bootstrap/issues?milestone=14&state=closed). + + +## 2.1.0 (August 20, 2012) + +### Key changes + +* Submenu support on dropdowns +* Affix JavaScript plugin +* Block level buttons +* State classes on table rows +* Improved disabled states on navs and dropdowns +* The navbar component is now white by default, with an optional class to darken it +* Improved prepended and appended inputs +* New base font-size and line-height +* Added variable for navbar collapse trigger point +* Fluid grid offsets +* Fluid grid system variables are no longer fixed percentages +* Removed LESS docs page + +For full set of changes, see the completed milestone: https://github.com/twbs/bootstrap/issues?milestone=7&page=1&state=closed + +## 2.0.4 (June 1, 2012) + + +### Docs + +- Added `type="button"` to all dismiss buttons in alerts and modals to avoid a bug in which they prevent their parent's `form` from properly submitting. +- Added simple documentation to Base CSS for `.lead`. +- Added new CSS test to illustrate how the navbar, static and fixed, behaves. +- Clarified grid sizing copy to include mention of responsive variations. +- Reformatted the LESS docs page to prevent terrible table displays at smaller grid sizes. +- Miscellaneous typos and tweaks. + +### CSS + +- Refactored forms.less to make our selectors more specific for fewer overrides and less code. Instead of a generic `input` selector and various resets, we target each type of input like `input[type="text"]`, `input[type="password"]`, etc. +- Form field state (e.g., success or error) now applies to checkbox and radio labels. +- Removed redundant CSS on `

` for `font-family`, `font-size`, and `line-height`. +- Removed redundant `color` declaration from the `

  • + +
  • +
  • + +
  • +
  • + +
  • + + + + +
    + +
    + +

    Introducing Bootstrap.

    + + +
    +
    + +

    By nerds, for nerds.

    +

    Built at Twitter by @mdo and @fat, Bootstrap utilizes LESS CSS, is compiled via Node, and is managed through GitHub to help nerds do awesome stuff on the web.

    +
    +
    + +

    Made for everyone.

    +

    Bootstrap was made to not only look and behave great in the latest desktop browsers (as well as IE7!), but in tablet and smartphone browsers via responsive CSS as well.

    +
    +
    + +

    Packed with features.

    +

    A 12-column responsive grid, dozens of components, JavaScript plugins, typography, form controls, and even a web-based Customizer to make Bootstrap your own.

    +
    +
    + +
    + +

    Built with Bootstrap.

    + +
    + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/2/bower_components/bootstrap/docs/javascript.html b/2/bower_components/bootstrap/docs/javascript.html new file mode 100644 index 00000000..9166fe35 --- /dev/null +++ b/2/bower_components/bootstrap/docs/javascript.html @@ -0,0 +1,1805 @@ + + + + + Javascript · Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +

    JavaScript

    +

    Bring Bootstrap's components to life—now with 13 custom jQuery plugins. +

    +
    + +
    + + +
    + +
    + + + +
    + + +

    Individual or compiled

    +

    Plugins can be included individually (though some have required dependencies), or all at once. Both bootstrap.js and bootstrap.min.js contain all plugins in a single file.

    + +

    Data attributes

    +

    You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first class API and should be your first consideration when using a plugin.

    + +

    That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this: +

    $('body').off('.data-api')
    + +

    Alternatively, to target a specific plugin, just include the plugin's name as a namespace along with the data-api namespace like this:

    +
    $('body').off('.alert.data-api')
    + +

    Programmatic API

    +

    We also believe you should be able to use all Bootstrap plugins purely through the JavaScript API. All public APIs are single, chainable methods, and return the collection acted upon.

    +
    $(".btn.danger").button("toggle").addClass("fat")
    +

    All methods should accept an optional options object, a string which targets a particular method, or nothing (which initiates a plugin with default behavior):

    +
    +$("#myModal").modal()                       // initialized with defaults
    +$("#myModal").modal({ keyboard: false })   // initialized with no keyboard
    +$("#myModal").modal('show')                // initializes and invokes show immediately

    +
    +

    Each plugin also exposes its raw constructor on a `Constructor` property: $.fn.popover.Constructor. If you'd like to get a particular plugin instance, retrieve it directly from an element: $('[rel=popover]').data('popover').

    + +

    No Conflict

    +

    Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call .noConflict on the plugin you wish to revert the value of.

    + +
    +var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
    +$.fn.bootstrapBtn = bootstrapButton            // give $().bootstrapBtn the bootstrap functionality
    +
    + +

    Events

    +

    Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. show) is triggered at the start of an event, and its past participle form (ex. shown) is trigger on the completion of an action.

    +

    All infinitive events provide preventDefault functionality. This provides the ability to stop the execution of an action before it starts.

    +
    +$('#myModal').on('show', function (e) {
    +    if (!data) return e.preventDefault() // stops modal from being shown
    +})
    +
    +
    + + + + +
    + +

    About transitions

    +

    For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this—it's already there.

    +

    Use cases

    +

    A few examples of the transition plugin:

    +
      +
    • Sliding or fading in modals
    • +
    • Fading out tabs
    • +
    • Fading out alerts
    • +
    • Sliding carousel panes
    • +
    + +
    + + + + +
    + + + +

    Examples

    +

    Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.

    + +

    Static example

    +

    A rendered modal with header, body, and set of actions in the footer.

    +
    + +
    +
    +<div class="modal hide fade">
    +  <div class="modal-header">
    +    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    +    <h3>Modal header</h3>
    +  </div>
    +  <div class="modal-body">
    +    <p>One fine body…</p>
    +  </div>
    +  <div class="modal-footer">
    +    <a href="#" class="btn">Close</a>
    +    <a href="#" class="btn btn-primary">Save changes</a>
    +  </div>
    +</div>
    +
    + +

    Live demo

    +

    Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.

    + + + +
    +<!-- Button to trigger modal -->
    +<a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
    +
    +<!-- Modal -->
    +<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    +  <div class="modal-header">
    +    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    +    <h3 id="myModalLabel">Modal header</h3>
    +  </div>
    +  <div class="modal-body">
    +    <p>One fine body…</p>
    +  </div>
    +  <div class="modal-footer">
    +    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
    +    <button class="btn btn-primary">Save changes</button>
    +  </div>
    +</div>
    +
    + + +
    + + +

    Usage

    + +

    Via data attributes

    +

    Activate a modal without writing JavaScript. Set data-toggle="modal" on a controller element, like a button, along with a data-target="#foo" or href="#foo" to target a specific modal to toggle.

    +
    <button type="button" data-toggle="modal" data-target="#myModal">Launch modal</button>
    + +

    Via JavaScript

    +

    Call a modal with id myModal with a single line of JavaScript:

    +
    $('#myModal').modal(options)
    + +

    Options

    +

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-backdrop="".

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nametypedefaultdescription
    backdropbooleantrueIncludes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
    keyboardbooleantrueCloses the modal when escape key is pressed
    showbooleantrueShows the modal when initialized.
    remotepathfalse

    If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:

    +
    <a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
    + +

    Methods

    +

    .modal(options)

    +

    Activates your content as a modal. Accepts an optional options object.

    +
    +$('#myModal').modal({
    +  keyboard: false
    +})
    +
    +

    .modal('toggle')

    +

    Manually toggles a modal.

    +
    $('#myModal').modal('toggle')
    +

    .modal('show')

    +

    Manually opens a modal.

    +
    $('#myModal').modal('show')
    +

    .modal('hide')

    +

    Manually hides a modal.

    +
    $('#myModal').modal('hide')
    +

    Events

    +

    Bootstrap's modal class exposes a few events for hooking into modal functionality.

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    EventDescription
    showThis event fires immediately when the show instance method is called.
    shownThis event is fired when the modal has been made visible to the user (will wait for css transitions to complete).
    hideThis event is fired immediately when the hide instance method has been called.
    hiddenThis event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).
    +
    +$('#myModal').on('hidden', function () {
    +  // do something…
    +})
    +
    +
    + + + + + + + + + +
    + + + +

    Example in navbar

    +

    The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.

    +
    + +
    +

    @fat

    +

    Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.

    +

    @mdo

    +

    Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.

    +

    one

    +

    Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.

    +

    two

    +

    In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.

    +

    three

    +

    Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.

    +

    Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats. +

    +
    +
    + + +
    + + +

    Usage

    + +

    Via data attributes

    +

    To easily add scrollspy behavior to your topbar navigation, just add data-spy="scroll" to the element you want to spy on (most typically this would be the body) and data-target=".navbar" to select which nav to use. You'll want to use scrollspy with a .nav component.

    +
    <body data-spy="scroll" data-target=".navbar">...</body>
    + +

    Via JavaScript

    +

    Call the scrollspy via JavaScript:

    +
    $('#navbar').scrollspy()
    + +
    + Heads up! + Navbar links must have resolvable id targets. For example, a <a href="#home">home</a> must correspond to something in the dom like <div id="home"></div>. +
    + +

    Methods

    +

    .scrollspy('refresh')

    +

    When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:

    +
    +$('[data-spy="scroll"]').each(function () {
    +  var $spy = $(this).scrollspy('refresh')
    +});
    +
    + +

    Options

    +

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset="".

    + + + + + + + + + + + + + + + + + +
    Nametypedefaultdescription
    offsetnumber10Pixels to offset from top when calculating position of scroll.
    + +

    Events

    + + + + + + + + + + + + + +
    EventDescription
    activateThis event fires whenever a new item becomes activated by the scrollspy.
    +
    + + + + +
    + + + +

    Example tabs

    +

    Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.

    +
    + +
    +
    +

    Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.

    +
    +
    +

    Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.

    +
    + + +
    +
    + + +
    + + +

    Usage

    +

    Enable tabbable tabs via JavaScript (each tab needs to be activated individually):

    +
    +$('#myTab a').click(function (e) {
    +  e.preventDefault();
    +  $(this).tab('show');
    +})
    +

    You can activate individual tabs in several ways:

    +
    +$('#myTab a[href="#profile"]').tab('show'); // Select tab by name
    +$('#myTab a:first').tab('show'); // Select first tab
    +$('#myTab a:last').tab('show'); // Select last tab
    +$('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
    +
    + +

    Markup

    +

    You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling.

    +
    +<ul class="nav nav-tabs">
    +  <li><a href="#home" data-toggle="tab">Home</a></li>
    +  <li><a href="#profile" data-toggle="tab">Profile</a></li>
    +  <li><a href="#messages" data-toggle="tab">Messages</a></li>
    +  <li><a href="#settings" data-toggle="tab">Settings</a></li>
    +</ul>
    + +

    Methods

    +

    $().tab

    +

    + Activates a tab element and content container. Tab should have either a data-target or an href targeting a container node in the DOM. +

    +
    +<ul class="nav nav-tabs" id="myTab">
    +  <li class="active"><a href="#home">Home</a></li>
    +  <li><a href="#profile">Profile</a></li>
    +  <li><a href="#messages">Messages</a></li>
    +  <li><a href="#settings">Settings</a></li>
    +</ul>
    +
    +<div class="tab-content">
    +  <div class="tab-pane active" id="home">...</div>
    +  <div class="tab-pane" id="profile">...</div>
    +  <div class="tab-pane" id="messages">...</div>
    +  <div class="tab-pane" id="settings">...</div>
    +</div>
    +
    +<script>
    +  $(function () {
    +    $('#myTab a:last').tab('show');
    +  })
    +</script>
    +
    + +

    Events

    + + + + + + + + + + + + + + + + + +
    EventDescription
    showThis event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
    shownThis event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
    +
    +$('a[data-toggle="tab"]').on('shown', function (e) {
    +  e.target // activated tab
    +  e.relatedTarget // previous tab
    +})
    +
    +
    + + + +
    + + + +

    Examples

    +

    Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.

    +

    For performance reasons, the tooltip and popover data-apis are opt in, meaning you must initialize them yourself.

    +

    Hover over the links below to see tooltips:

    +
    +

    Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral. +

    +
    + +

    Four directions

    + + + +

    Tooltips in input groups

    +

    When using tooltips and popovers with the Bootstrap input groups, you'll have to set the container (documented below) option to avoid unwanted side effects.

    + +
    + + +

    Usage

    +

    Trigger the tooltip via JavaScript:

    +
    $('#example').tooltip(options)
    + +

    Options

    +

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nametypedefaultdescription
    animationbooleantrueapply a css fade transition to the tooltip
    htmlbooleanfalseInsert html into the tooltip. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.
    placementstring | function'top'how to position the tooltip - top | bottom | left | right
    selectorstringfalseIf a selector is provided, tooltip objects will be delegated to the specified targets.
    titlestring | function''default title value if `title` tag isn't present
    triggerstring'hover focus'how tooltip is triggered - click | hover | focus | manual. Note you case pass trigger mutliple, space seperated, trigger types.
    delaynumber | object0 +

    delay showing and hiding the tooltip (ms) - does not apply to manual trigger type

    +

    If a number is supplied, delay is applied to both hide/show

    +

    Object structure is: delay: { show: 500, hide: 100 }

    +
    containerstring | falsefalse +

    Appends the tooltip to a specific element container: 'body'

    +
    +
    + Heads up! + Options for individual tooltips can alternatively be specified through the use of data attributes. +
    + +

    Markup

    +
    <a href="#" data-toggle="tooltip" title="first tooltip">hover over me</a>
    + +

    Methods

    +

    $().tooltip(options)

    +

    Attaches a tooltip handler to an element collection.

    +

    .tooltip('show')

    +

    Reveals an element's tooltip.

    +
    $('#element').tooltip('show')
    +

    .tooltip('hide')

    +

    Hides an element's tooltip.

    +
    $('#element').tooltip('hide')
    +

    .tooltip('toggle')

    +

    Toggles an element's tooltip.

    +
    $('#element').tooltip('toggle')
    +

    .tooltip('destroy')

    +

    Hides and destroys an element's tooltip.

    +
    $('#element').tooltip('destroy')
    +
    + + + + +
    + + +

    Examples

    +

    Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. Requires Tooltip to be included.

    + +

    Static popover

    +

    Four options are available: top, right, bottom, and left aligned.

    +
    +
    +
    +

    Popover top

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    Popover right

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    Popover bottom

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    Popover left

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    No markup shown as popovers are generated from JavaScript and content within a data attribute.

    + +

    Live demo

    + + +

    Four directions

    + + + +
    + + +

    Usage

    +

    Enable popovers via JavaScript:

    +
    $('#example').popover(options)
    + +

    Options

    +

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nametypedefaultdescription
    animationbooleantrueapply a css fade transition to the tooltip
    htmlbooleanfalseInsert html into the popover. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.
    placementstring | function'right'how to position the popover - top | bottom | left | right
    selectorstringfalseif a selector is provided, tooltip objects will be delegated to the specified targets
    triggerstring'click'how popover is triggered - click | hover | focus | manual
    titlestring | function''default title value if `title` attribute isn't present
    contentstring | function''default content value if `data-content` attribute isn't present
    delaynumber | object0 +

    delay showing and hiding the popover (ms) - does not apply to manual trigger type

    +

    If a number is supplied, delay is applied to both hide/show

    +

    Object structure is: delay: { show: 500, hide: 100 }

    +
    containerstring | falsefalse +

    Appends the popover to a specific element container: 'body'

    +
    +
    + Heads up! + Options for individual popovers can alternatively be specified through the use of data attributes. +
    + +

    Markup

    +

    For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.

    + +

    Methods

    +

    $().popover(options)

    +

    Initializes popovers for an element collection.

    +

    .popover('show')

    +

    Reveals an elements popover.

    +
    $('#element').popover('show')
    +

    .popover('hide')

    +

    Hides an elements popover.

    +
    $('#element').popover('hide')
    +

    .popover('toggle')

    +

    Toggles an elements popover.

    +
    $('#element').popover('toggle')
    +

    .popover('destroy')

    +

    Hides and destroys an element's popover.

    +
    $('#element').popover('destroy')
    +
    + + + + +
    + + + +

    Example alerts

    +

    Add dismiss functionality to all alert messages with this plugin.

    +
    +
    + + Holy guacamole! Best check yo self, you're not looking too good. +
    +
    + +
    +
    + +

    Oh snap! You got an error!

    +

    Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.

    +

    + Take this action Or do this +

    +
    +
    + + +
    + + +

    Usage

    +

    Enable dismissal of an alert via JavaScript:

    +
    $(".alert").alert()
    + +

    Markup

    +

    Just add data-dismiss="alert" to your close button to automatically give an alert close functionality.

    +
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    + +

    Methods

    +

    $().alert()

    +

    Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade and .in class already applied to them.

    +

    .alert('close')

    +

    Closes an alert.

    +
    $(".alert").alert('close')
    + + +

    Events

    +

    Bootstrap's alert class exposes a few events for hooking into alert functionality.

    + + + + + + + + + + + + + + + + + +
    EventDescription
    closeThis event fires immediately when the close instance method is called.
    closedThis event is fired when the alert has been closed (will wait for css transitions to complete).
    +
    +$('#my-alert').bind('closed', function () {
    +  // do something…
    +})
    +
    +
    + + + + +
    + + +

    Example uses

    +

    Do more with buttons. Control button states or create groups of buttons for more components like toolbars.

    + +

    Stateful

    +

    Add data-loading-text="Loading..." to use a loading state on a button.

    +
    + +
    +
    <button type="button" class="btn btn-primary" data-loading-text="Loading...">Loading state</button>
    + +

    Single toggle

    +

    Add data-toggle="button" to activate toggling on a single button.

    +
    + +
    +
    <button type="button" class="btn btn-primary" data-toggle="button">Single Toggle</button>
    + +

    Checkbox

    +

    Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.

    +
    +
    + + + +
    +
    +
    +<div class="btn-group" data-toggle="buttons-checkbox">
    +  <button type="button" class="btn btn-primary">Left</button>
    +  <button type="button" class="btn btn-primary">Middle</button>
    +  <button type="button" class="btn btn-primary">Right</button>
    +</div>
    +
    + +

    Radio

    +

    Add data-toggle="buttons-radio" for radio style toggling on btn-group.

    +
    +
    + + + +
    +
    +
    +<div class="btn-group" data-toggle="buttons-radio">
    +  <button type="button" class="btn btn-primary">Left</button>
    +  <button type="button" class="btn btn-primary">Middle</button>
    +  <button type="button" class="btn btn-primary">Right</button>
    +</div>
    +
    + + +
    + + +

    Usage

    +

    Enable buttons via JavaScript:

    +
    $('.nav-tabs').button()
    + +

    Markup

    +

    Data attributes are integral to the button plugin. Check out the example code below for the various markup types.

    + +

    Options

    +

    None

    + +

    Methods

    +

    $().button('toggle')

    +

    Toggles push state. Gives the button the appearance that it has been activated.

    +
    + Heads up! + You can enable auto toggling of a button by using the data-toggle attribute. +
    +
    <button type="button" class="btn" data-toggle="button" >…</button>
    +

    $().button('loading')

    +

    Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute data-loading-text. +

    +
    <button type="button" class="btn" data-loading-text="loading stuff..." >...</button>
    +
    + Heads up! + Firefox persists the disabled state across page loads. A workaround for this is to use autocomplete="off". +
    +

    $().button('reset')

    +

    Resets button state - swaps text to original text.

    +

    $().button(string)

    +

    Resets button state - swaps text to any data defined text state.

    +
    <button type="button" class="btn" data-complete-text="finished!" >...</button>
    +<script>
    +  $('.btn').button('complete')
    +</script>
    +
    +
    + + + + +
    + + +

    About

    +

    Get base styles and flexible support for collapsible components like accordions and navigation.

    +

    * Requires the Transitions plugin to be included.

    + +

    Example accordion

    +

    Using the collapse plugin, we built a simple accordion style widget:

    + +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
    +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
    +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
    +
    +
    +
    +
    +
    +<div class="accordion" id="accordion2">
    +  <div class="accordion-group">
    +    <div class="accordion-heading">
    +      <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
    +        Collapsible Group Item #1
    +      </a>
    +    </div>
    +    <div id="collapseOne" class="accordion-body collapse in">
    +      <div class="accordion-inner">
    +        Anim pariatur cliche...
    +      </div>
    +    </div>
    +  </div>
    +  <div class="accordion-group">
    +    <div class="accordion-heading">
    +      <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
    +        Collapsible Group Item #2
    +      </a>
    +    </div>
    +    <div id="collapseTwo" class="accordion-body collapse">
    +      <div class="accordion-inner">
    +        Anim pariatur cliche...
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +...
    +
    +

    You can also use the plugin without the accordion markup. Make a button toggle the expanding and collapsing of another element.

    +
    +<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo">
    +  simple collapsible
    +</button>
    +
    +<div id="demo" class="collapse in"> … </div>
    +
    + + +
    + + +

    Usage

    + +

    Via data attributes

    +

    Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a css selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.

    +

    To add accordion-like group management to a collapsible control, add the data attribute data-parent="#selector". Refer to the demo to see this in action.

    + +

    Via JavaScript

    +

    Enable manually with:

    +
    $(".collapse").collapse()
    + +

    Options

    +

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-parent="".

    + + + + + + + + + + + + + + + + + + + + + + + +
    Nametypedefaultdescription
    parentselectorfalseIf selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior)
    togglebooleantrueToggles the collapsible element on invocation
    + + +

    Methods

    +

    .collapse(options)

    +

    Activates your content as a collapsible element. Accepts an optional options object. +

    +$('#myCollapsible').collapse({
    +  toggle: false
    +})
    +
    +

    .collapse('toggle')

    +

    Toggles a collapsible element to shown or hidden.

    +

    .collapse('show')

    +

    Shows a collapsible element.

    +

    .collapse('hide')

    +

    Hides a collapsible element.

    + +

    Events

    +

    Bootstrap's collapse class exposes a few events for hooking into collapse functionality.

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    EventDescription
    showThis event fires immediately when the show instance method is called.
    shownThis event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete).
    hide + This event is fired immediately when the hide method has been called. +
    hiddenThis event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete).
    +
    +$('#myCollapsible').on('hidden', function () {
    +  // do something…
    +})
    +
    + + + + + + + + + +
    + + + +

    Example

    +

    A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.

    +
    + +
    +
    <input type="text" data-provide="typeahead">
    +

    You'll want to set autocomplete="off" to prevent default browser menus from appearing over the Bootstrap typeahead dropdown.

    + +
    + + +

    Usage

    + +

    Via data attributes

    +

    Add data attributes to register an element with typeahead functionality as shown in the example above.

    + +

    Via JavaScript

    +

    Call the typeahead manually with:

    +
    $('.typeahead').typeahead()
    + +

    Options

    +

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-source="".

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nametypedefaultdescription
    sourcearray, function[ ]The data source to query against. May be an array of strings or a function. The function is passed two arguments, the query value in the input field and the process callback. The function may be used synchronously by returning the data source directly or asynchronously via the process callback's single argument.
    itemsnumber8The max number of items to display in the dropdown.
    minLengthnumber1The minimum character length needed before triggering autocomplete suggestions
    matcherfunctioncase insensitiveThe method used to determine if a query matches an item. Accepts a single argument, the item against which to test the query. Access the current query with this.query. Return a boolean true if query is a match.
    sorterfunctionexact match,
    case sensitive,
    case insensitive
    Method used to sort autocomplete results. Accepts a single argument items and has the scope of the typeahead instance. Reference the current query with this.query.
    updaterfunctionreturns selected itemThe method used to return selected item. Accepts a single argument, the item and has the scope of the typeahead instance.
    highlighterfunctionhighlights all default matchesMethod used to highlight autocomplete results. Accepts a single argument item and has the scope of the typeahead instance. Should return html.
    + +

    Methods

    +

    .typeahead(options)

    +

    Initializes an input with a typeahead.

    +
    + + + + +
    + + +

    Example

    +

    The subnavigation on the left is a live demo of the affix plugin.

    + +
    + +

    Usage

    + +

    Via data attributes

    +

    To easily add affix behavior to any element, just add data-spy="affix" to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.

    + +
    <div data-spy="affix" data-offset-top="200">...</div>
    + +
    + Heads up! + You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by affix, affix-top, and affix-bottom. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page. +
    + +

    Via JavaScript

    +

    Call the affix plugin via JavaScript:

    +
    $('#navbar').affix()
    + +

    Options

    +

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset-top="200".

    + + + + + + + + + + + + + + + + + +
    Nametypedefaultdescription
    offsetnumber | function | object10Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs).
    +
    + + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/2/bower_components/bootstrap/docs/scaffolding.html b/2/bower_components/bootstrap/docs/scaffolding.html new file mode 100644 index 00000000..8db4fa5e --- /dev/null +++ b/2/bower_components/bootstrap/docs/scaffolding.html @@ -0,0 +1,627 @@ + + + + + Scaffolding · Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +

    Scaffolding

    +

    Bootstrap is built on responsive 12-column grids, layouts, and components.

    +
    +
    + +
    + + +
    + +
    + + + + +
    + + +

    Requires HTML5 doctype

    +

    Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.

    +
    +<!DOCTYPE html>
    +<html lang="en">
    +  ...
    +</html>
    +
    + +

    Typography and links

    +

    Bootstrap sets basic global display, typography, and link styles. Specifically, we:

    +
      +
    • Remove margin on the body
    • +
    • Set background-color: white; on the body
    • +
    • Use the @baseFontFamily, @baseFontSize, and @baseLineHeight attributes as our typographic base
    • +
    • Set the global link color via @linkColor and apply link underlines only on :hover
    • +
    +

    These styles can be found within scaffolding.less.

    + +

    Reset via Normalize

    +

    With Bootstrap 2, the old reset block has been dropped in favor of Normalize.css, a project by Nicolas Gallagher and Jonathan Neal that also powers the HTML5 Boilerplate. While we use much of Normalize within our reset.less, we have removed some elements specifically for Bootstrap.

    + +
    + + + + + +
    + + +

    Live grid example

    +

    The default Bootstrap grid system utilizes 12 columns, making for a 940px wide container without responsive features enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.

    +
    +
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    +
    +
    2
    +
    3
    +
    4
    +
    +
    +
    4
    +
    5
    +
    +
    +
    9
    +
    +
    + +

    Basic grid HTML

    +

    For a simple two column layout, create a .row and add the appropriate number of .span* columns. As this is a 12-column grid, each .span* spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).

    +
    +<div class="row">
    +  <div class="span4">...</div>
    +  <div class="span8">...</div>
    +</div>
    +
    +

    Given this example, we have .span4 and .span8, making for 12 total columns and a complete row.

    + +

    Offsetting columns

    +

    Move columns to the right using .offset* classes. Each class increases the left margin of a column by a whole column. For example, .offset4 moves .span4 over four columns.

    +
    +
    +
    4
    +
    3 offset 2
    +
    +
    +
    3 offset 1
    +
    3 offset 2
    +
    +
    +
    6 offset 3
    +
    +
    +
    +<div class="row">
    +  <div class="span4">...</div>
    +  <div class="span3 offset2">...</div>
    +</div>
    +
    + +

    Nesting columns

    +

    To nest your content with the default grid, add a new .row and set of .span* columns within an existing .span* column. Nested rows should include a set of columns that add up to the number of columns of its parent.

    +
    +
    + Level 1 column +
    +
    + Level 2 +
    +
    + Level 2 +
    +
    +
    +
    +
    +<div class="row">
    +  <div class="span9">
    +    Level 1 column
    +    <div class="row">
    +      <div class="span6">Level 2</div>
    +      <div class="span3">Level 2</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + + + + +
    + + +

    Live fluid grid example

    +

    The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.

    +
    +
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    +
    +
    4
    +
    4
    +
    4
    +
    +
    +
    4
    +
    8
    +
    +
    +
    6
    +
    6
    +
    +
    +
    12
    +
    +
    + +

    Basic fluid grid HTML

    +

    Make any row "fluid" by changing .row to .row-fluid. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.

    +
    +<div class="row-fluid">
    +  <div class="span4">...</div>
    +  <div class="span8">...</div>
    +</div>
    +
    + +

    Fluid offsetting

    +

    Operates the same way as the fixed grid system offsetting: add .offset* to any column to offset by that many columns.

    +
    +
    +
    4
    +
    4 offset 4
    +
    +
    +
    3 offset 3
    +
    3 offset 3
    +
    +
    +
    6 offset 6
    +
    +
    +
    +<div class="row-fluid">
    +  <div class="span4">...</div>
    +  <div class="span4 offset2">...</div>
    +</div>
    +
    + +

    Fluid nesting

    +

    Fluid grids utilize nesting differently: each nested level of columns should add up to 12 columns. This is because the fluid grid uses percentages, not pixels, for setting widths.

    +
    +
    + Fluid 12 +
    +
    + Fluid 6 +
    +
    + Fluid 6 +
    +
    + Fluid 6 +
    +
    +
    +
    + Fluid 6 +
    +
    +
    +
    +
    +<div class="row-fluid">
    +  <div class="span12">
    +    Fluid 12
    +    <div class="row-fluid">
    +      <div class="span6">
    +        Fluid 6
    +        <div class="row-fluid">
    +          <div class="span6">Fluid 6</div>
    +          <div class="span6">Fluid 6</div>
    +        </div>
    +      </div>
    +      <div class="span6">Fluid 6</div>
    +    </div>
    +  </div>
    +</div>
    +
    + +
    + + + + + +
    + + +

    Fixed layout

    +

    Provides a common fixed-width (and optionally responsive) layout with only <div class="container"> required.

    +
    +
    +
    +
    +<body>
    +  <div class="container">
    +    ...
    +  </div>
    +</body>
    +
    + +

    Fluid layout

    +

    Create a fluid, two-column page with <div class="container-fluid">—great for applications and docs.

    +
    +
    +
    +
    +
    +<div class="container-fluid">
    +  <div class="row-fluid">
    +    <div class="span2">
    +      <!--Sidebar content-->
    +    </div>
    +    <div class="span10">
    +      <!--Body content-->
    +    </div>
    +  </div>
    +</div>
    +
    +
    + + + + + +
    + + +

    Enabling responsive features

    +

    Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the <head> of your document. If you've compiled Bootstrap from the Customize page, you need only include the meta tag.

    +
    +<meta name="viewport" content="width=device-width, initial-scale=1.0">
    +<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
    +
    +

    Heads up! Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.

    + +

    About responsive Bootstrap

    + Responsive devices +

    Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around min-width and max-width.

    +
      +
    • Modify the width of column in our grid
    • +
    • Stack elements instead of float wherever necessary
    • +
    • Resize headings and text to be more appropriate for devices
    • +
    +

    Use media queries responsibly and only as a start to your mobile audiences. For larger projects, do consider dedicated code bases and not layers of media queries.

    + +

    Supported devices

    +

    Bootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    LabelLayout widthColumn widthGutter width
    Large display1200px and up70px30px
    Default980px and up60px20px
    Portrait tablets768px and above42px20px
    Phones to tablets767px and belowFluid columns, no fixed widths
    Phones480px and belowFluid columns, no fixed widths
    +
    +/* Large desktop */
    +@media (min-width: 1200px) { ... }
    +
    +/* Portrait tablet to landscape and desktop */
    +@media (min-width: 768px) and (max-width: 979px) { ... }
    +
    +/* Landscape phone to portrait tablet */
    +@media (max-width: 767px) { ... }
    +
    +/* Landscape phones and down */
    +@media (max-width: 480px) { ... }
    +
    + + +

    Responsive utility classes

    +

    For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in responsive.less.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ClassPhones 767px and belowTablets 979px to 768pxDesktops Default
    .visible-phoneVisible
    .visible-tabletVisible
    .visible-desktopVisible
    .hidden-phoneVisibleVisible
    .hidden-tabletVisibleVisible
    .hidden-desktopVisibleVisible
    + +

    When to use

    +

    Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.

    + +

    Responsive utilities test case

    +

    Resize your browser or load on different devices to test the above classes.

    +

    Visible on...

    +

    Green checkmarks indicate that class is visible in your current viewport.

    +
      +
    • Phone✔ Phone
    • +
    • Tablet✔ Tablet
    • +
    • Desktop✔ Desktop
    • +
    +

    Hidden on...

    +

    Here, green checkmarks indicate that class is hidden in your current viewport.

    +
      +
    • Phone✔ Phone
    • +
    • Tablet✔ Tablet
    • +
    • Desktop✔ Desktop
    • +
    + +
    + + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/2/bower_components/bootstrap/docs/templates/layout.mustache b/2/bower_components/bootstrap/docs/templates/layout.mustache new file mode 100644 index 00000000..5254fc06 --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/layout.mustache @@ -0,0 +1,151 @@ + + + + + {{title}} + + + + + + + + + + + + + + + + + + + + + {{#production}} + + {{/production}} + + + + + + + +{{>body}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{#production}} + + + {{/production}} + + + diff --git a/2/bower_components/bootstrap/docs/templates/pages/base-css.mustache b/2/bower_components/bootstrap/docs/templates/pages/base-css.mustache new file mode 100644 index 00000000..1f40f371 --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/base-css.mustache @@ -0,0 +1,2102 @@ + +
    +
    +

    {{_i}}Base CSS{{/i}}

    +

    {{_i}}Fundamental HTML elements styled and enhanced with extensible classes.{{/i}}

    +
    +
    + + +
    + + +
    + +
    + + + + +
    + + + {{! Headings }} +

    {{_i}}Headings{{/i}}

    +

    {{_i}}All HTML headings, <h1> through <h6> are available.{{/i}}

    +
    +

    h1. {{_i}}Heading 1{{/i}}

    +

    h2. {{_i}}Heading 2{{/i}}

    +

    h3. {{_i}}Heading 3{{/i}}

    +

    h4. {{_i}}Heading 4{{/i}}

    +
    h5. {{_i}}Heading 5{{/i}}
    +
    h6. {{_i}}Heading 6{{/i}}
    +
    + + {{! Body copy }} +

    {{_i}}Body copy{{/i}}

    +

    {{_i}}Bootstrap's global default font-size is 14px, with a line-height of 20px. This is applied to the <body> and all paragraphs. In addition, <p> (paragraphs) receive a bottom margin of half their line-height (10px by default).{{/i}}

    +
    +

    Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

    +

    Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.

    +

    Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.

    +
    +
    <p>...</p>
    + + {{! Body copy .lead }} +

    {{_i}}Lead body copy{{/i}}

    +

    {{_i}}Make a paragraph stand out by adding .lead.{{/i}}

    +
    +

    Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.

    +
    +
    <p class="lead">...</p>
    + + {{! Using LESS }} +

    {{_i}}Built with Less{{/i}}

    +

    {{_i}}The typographic scale is based on two LESS variables in variables.less: @baseFontSize and @baseLineHeight. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.{{/i}}

    + + +
    + + + {{! Emphasis }} +

    {{_i}}Emphasis{{/i}}

    +

    {{_i}}Make use of HTML's default emphasis tags with lightweight styles.{{/i}}

    + +

    <small>

    +

    {{_i}}For de-emphasizing inline or blocks of text, use the small tag.{{/i}}

    +
    +

    This line of text is meant to be treated as fine print.

    +
    +
    +<p>
    +  <small>This line of text is meant to be treated as fine print.</small>
    +</p>
    +
    + +

    {{_i}}Bold{{/i}}

    +

    {{_i}}For emphasizing a snippet of text with a heavier font-weight.{{/i}}

    +
    +

    The following snippet of text is rendered as bold text.

    +
    +
    <strong>rendered as bold text</strong>
    + +

    {{_i}}Italics{{/i}}

    +

    {{_i}}For emphasizing a snippet of text with italics.{{/i}}

    +
    +

    The following snippet of text is rendered as italicized text.

    +
    +
    <em>rendered as italicized text</em>
    + +

    {{_i}}Heads up!{{/i}} {{_i}}Feel free to use <b> and <i> in HTML5. <b> is meant to highlight words or phrases without conveying additional importance while <i> is mostly for voice, technical terms, etc.{{/i}}

    + +

    {{_i}}Alignment classes{{/i}}

    +

    {{_i}}Easily realign text to components with text alignment classes.{{/i}}

    +
    +

    Left aligned text.

    +

    Center aligned text.

    +

    Right aligned text.

    +
    +
    +<p class="text-left">Left aligned text.</p>
    +<p class="text-center">Center aligned text.</p>
    +<p class="text-right">Right aligned text.</p>
    +
    + +

    {{_i}}Emphasis classes{{/i}}

    +

    {{_i}}Convey meaning through color with a handful of emphasis utility classes.{{/i}}

    +
    +

    Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.

    +

    Etiam porta sem malesuada magna mollis euismod.

    +

    Donec ullamcorper nulla non metus auctor fringilla.

    +

    Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.

    +

    Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

    +
    +
    +<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
    +<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
    +<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
    +<p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
    +<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
    +
    + + +
    + + + {{! Abbreviations }} +

    {{_i}}Abbreviations{{/i}}

    +

    {{_i}}Stylized implementation of HTML's <abbr> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.{{/i}}

    + +

    <abbr>

    +

    {{_i}}For expanded text on long hover of an abbreviation, include the title attribute.{{/i}}

    +
    +

    {{_i}}An abbreviation of the word attribute is attr.{{/i}}

    +
    +
    <abbr title="attribute">attr</abbr>
    + +

    <abbr class="initialism">

    +

    {{_i}}Add .initialism to an abbreviation for a slightly smaller font-size.{{/i}}

    +
    +

    {{_i}}HTML is the best thing since sliced bread.{{/i}}

    +
    +
    <abbr title="HyperText Markup Language" class="initialism">HTML</abbr>
    + + +
    + + + {{! Addresses }} +

    {{_i}}Addresses{{/i}}

    +

    {{_i}}Present contact information for the nearest ancestor or the entire body of work.{{/i}}

    + +

    <address>

    +

    {{_i}}Preserve formatting by ending all lines with <br>.{{/i}}

    +
    +
    + Twitter, Inc.
    + 795 Folsom Ave, Suite 600
    + San Francisco, CA 94107
    + P: (123) 456-7890 +
    +
    + {{_i}}Full Name{{/i}}
    + {{_i}}first.last@example.com{{/i}} +
    +
    +
    +<address>
    +  <strong>Twitter, Inc.</strong><br>
    +  795 Folsom Ave, Suite 600<br>
    +  San Francisco, CA 94107<br>
    +  <abbr title="Phone">P:</abbr> (123) 456-7890
    +</address>
    +
    +<address>
    +  <strong>{{_i}}Full Name{{/i}}</strong><br>
    +  <a href="mailto:#">{{_i}}first.last@example.com{{/i}}</a>
    +</address>
    +
    + + +
    + + + {{! Blockquotes }} +

    {{_i}}Blockquotes{{/i}}

    +

    {{_i}}For quoting blocks of content from another source within your document.{{/i}}

    + +

    {{_i}}Default blockquote{{/i}}

    +

    {{_i}}Wrap <blockquote> around any HTML as the quote. For straight quotes we recommend a <p>.{{/i}}

    +
    +
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    +
    +
    +
    +<blockquote>
    +  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
    +</blockquote>
    +
    + +

    {{_i}}Blockquote options{{/i}}

    +

    {{_i}}Style and content changes for simple variations on a standard blockquote.{{/i}}

    + +

    {{_i}}Naming a source{{/i}}

    +

    {{_i}}Add <small> tag for identifying the source. Wrap the name of the source work in <cite>.{{/i}}

    +
    +
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    + {{_i}}Someone famous in Source Title{{/i}} +
    +
    +
    +<blockquote>
    +  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
    +  <small>{{_i}}Someone famous <cite title="Source Title">Source Title</cite>{{/i}}</small>
    +</blockquote>
    +
    + +

    {{_i}}Alternate displays{{/i}}

    +

    {{_i}}Use .pull-right for a floated, right-aligned blockquote.{{/i}}

    +
    +
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    + {{_i}}Someone famous in Source Title{{/i}} +
    +
    +
    +<blockquote class="pull-right">
    +  ...
    +</blockquote>
    +
    + + +
    + + + +

    {{_i}}Lists{{/i}}

    + +

    {{_i}}Unordered{{/i}}

    +

    {{_i}}A list of items in which the order does not explicitly matter.{{/i}}

    +
    +
      +
    • Lorem ipsum dolor sit amet
    • +
    • Consectetur adipiscing elit
    • +
    • Integer molestie lorem at massa
    • +
    • Facilisis in pretium nisl aliquet
    • +
    • Nulla volutpat aliquam velit +
        +
      • Phasellus iaculis neque
      • +
      • Purus sodales ultricies
      • +
      • Vestibulum laoreet porttitor sem
      • +
      • Ac tristique libero volutpat at
      • +
      +
    • +
    • Faucibus porta lacus fringilla vel
    • +
    • Aenean sit amet erat nunc
    • +
    • Eget porttitor lorem
    • +
    +
    +
    +<ul>
    +  <li>...</li>
    +</ul>
    +
    + +

    {{_i}}Ordered{{/i}}

    +

    {{_i}}A list of items in which the order does explicitly matter.{{/i}}

    +
    +
      +
    1. Lorem ipsum dolor sit amet
    2. +
    3. Consectetur adipiscing elit
    4. +
    5. Integer molestie lorem at massa
    6. +
    7. Facilisis in pretium nisl aliquet
    8. +
    9. Nulla volutpat aliquam velit
    10. +
    11. Faucibus porta lacus fringilla vel
    12. +
    13. Aenean sit amet erat nunc
    14. +
    15. Eget porttitor lorem
    16. +
    +
    +
    +<ol>
    +  <li>...</li>
    +</ol>
    +
    + +

    {{_i}}Unstyled{{/i}}

    +

    {{_i}}Remove the default list-style and left padding on list items (immediate children only).{{/i}}

    +
    +
      +
    • Lorem ipsum dolor sit amet
    • +
    • Consectetur adipiscing elit
    • +
    • Integer molestie lorem at massa
    • +
    • Facilisis in pretium nisl aliquet
    • +
    • Nulla volutpat aliquam velit +
        +
      • Phasellus iaculis neque
      • +
      • Purus sodales ultricies
      • +
      • Vestibulum laoreet porttitor sem
      • +
      • Ac tristique libero volutpat at
      • +
      +
    • +
    • Faucibus porta lacus fringilla vel
    • +
    • Aenean sit amet erat nunc
    • +
    • Eget porttitor lorem
    • +
    +
    +
    +<ul class="unstyled">
    +  <li>...</li>
    +</ul>
    +
    + +

    {{_i}}Inline{{/i}}

    +

    {{_i}}Place all list items on a single line with inline-block and some light padding.{{/i}}

    +
    +
      +
    • Lorem ipsum
    • +
    • Phasellus iaculis
    • +
    • Nulla volutpat
    • +
    +
    +
    +<ul class="inline">
    +  <li>...</li>
    +</ul>
    +
    + +

    {{_i}}Description{{/i}}

    +

    {{_i}}A list of terms with their associated descriptions.{{/i}}

    +
    +
    +
    {{_i}}Description lists{{/i}}
    +
    {{_i}}A description list is perfect for defining terms.{{/i}}
    +
    Euismod
    +
    Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
    +
    Donec id elit non mi porta gravida at eget metus.
    +
    Malesuada porta
    +
    Etiam porta sem malesuada magna mollis euismod.
    +
    +
    +
    +<dl>
    +  <dt>...</dt>
    +  <dd>...</dd>
    +</dl>
    +
    + +

    {{_i}}Horizontal description{{/i}}

    +

    {{_i}}Make terms and descriptions in <dl> line up side-by-side.{{/i}}

    +
    +
    +
    {{_i}}Description lists{{/i}}
    +
    {{_i}}A description list is perfect for defining terms.{{/i}}
    +
    Euismod
    +
    Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
    +
    Donec id elit non mi porta gravida at eget metus.
    +
    Malesuada porta
    +
    Etiam porta sem malesuada magna mollis euismod.
    +
    Felis euismod semper eget lacinia
    +
    Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
    +
    +
    +
    +<dl class="dl-horizontal">
    +  <dt>...</dt>
    +  <dd>...</dd>
    +</dl>
    +
    +

    + {{_i}}Heads up!{{/i}} + {{_i}}Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow. In narrower viewports, they will change to the default stacked layout.{{/i}} +

    +
    + + + + +
    + + +

    Inline

    +

    Wrap inline snippets of code with <code>.

    +
    + For example, <section> should be wrapped as inline. +
    +
    +{{_i}}For example, <code>&lt;section&gt;</code> should be wrapped as inline.{{/i}}
    +
    + +

    Basic block

    +

    {{_i}}Use <pre> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.{{/i}}

    +
    +
    <p>{{_i}}Sample text here...{{/i}}</p>
    +
    +
    +<pre>
    +  &lt;p&gt;{{_i}}Sample text here...{{/i}}&lt;/p&gt;
    +</pre>
    +
    +

    {{_i}}Heads up!{{/i}} {{_i}}Be sure to keep code within <pre> tags as close to the left as possible; it will render all tabs.{{/i}}

    +

    {{_i}}You may optionally add the .pre-scrollable class which will set a max-height of 350px and provide a y-axis scrollbar.{{/i}}

    +
    + + + + +
    + + +

    {{_i}}Default styles{{/i}}

    +

    {{_i}}For basic styling—light padding and only horizontal dividers—add the base class .table to any <table>.{{/i}}

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{{_i}}First Name{{/i}}{{_i}}Last Name{{/i}}{{_i}}Username{{/i}}
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    +
    {{! /example }} +
    +<table class="table">
    +  …
    +</table>
    +
    + + +
    + + +

    {{_i}}Optional classes{{/i}}

    +

    {{_i}}Add any of the following classes to the .table base class.{{/i}}

    + +

    {{_i}}.table-striped{{/i}}

    +

    {{_i}}Adds zebra-striping to any table row within the <tbody> via the :nth-child CSS selector (not available in IE7-8).{{/i}}

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{{_i}}First Name{{/i}}{{_i}}Last Name{{/i}}{{_i}}Username{{/i}}
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    +
    {{! /example }} +
    +<table class="table table-striped">
    +  …
    +</table>
    +
    + +

    {{_i}}.table-bordered{{/i}}

    +

    {{_i}}Add borders and rounded corners to the table.{{/i}}

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{{_i}}First Name{{/i}}{{_i}}Last Name{{/i}}{{_i}}Username{{/i}}
    1MarkOtto@mdo
    MarkOtto@TwBootstrap
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    {{! /example }} +
    +<table class="table table-bordered">
    +  …
    +</table>
    +
    + +

    {{_i}}.table-hover{{/i}}

    +

    {{_i}}Enable a hover state on table rows within a <tbody>.{{/i}}

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{{_i}}First Name{{/i}}{{_i}}Last Name{{/i}}{{_i}}Username{{/i}}
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    {{! /example }} +
    +<table class="table table-hover">
    +  …
    +</table>
    +
    + +

    {{_i}}.table-condensed{{/i}}

    +

    {{_i}}Makes tables more compact by cutting cell padding in half.{{/i}}

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{{_i}}First Name{{/i}}{{_i}}Last Name{{/i}}{{_i}}Username{{/i}}
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    {{! /example }} +
    +<table class="table table-condensed">
    +  …
    +</table>
    +
    + + +
    + + +

    {{_i}}Optional row classes{{/i}}

    +

    {{_i}}Use contextual classes to color table rows.{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Class{{/i}}{{_i}}Description{{/i}}
    + .success + {{_i}}Indicates a successful or positive action.{{/i}}
    + .error + {{_i}}Indicates a dangerous or potentially negative action.{{/i}}
    + .warning + {{_i}}Indicates a warning that might need attention.{{/i}}
    + .info + {{_i}}Used as an alternative to the default styles.{{/i}}
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{{_i}}Product{{/i}}{{_i}}Payment Taken{{/i}}{{_i}}Status{{/i}}
    1TB - Monthly01/04/2012Approved
    2TB - Monthly02/04/2012Declined
    3TB - Monthly03/04/2012Pending
    4TB - Monthly04/04/2012Call in to confirm
    +
    {{! /example }} +
    +...
    +  <tr class="success">
    +    <td>1</td>
    +    <td>TB - Monthly</td>
    +    <td>01/04/2012</td>
    +    <td>Approved</td>
    +  </tr>
    +...
    +
    + + +
    + + +

    {{_i}}Supported table markup{{/i}}

    +

    {{_i}}List of supported table HTML elements and how they should be used.{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Tag{{/i}}{{_i}}Description{{/i}}
    + <table> + + {{_i}}Wrapping element for displaying data in a tabular format{{/i}} +
    + <thead> + + {{_i}}Container element for table header rows (<tr>) to label table columns{{/i}} +
    + <tbody> + + {{_i}}Container element for table rows (<tr>) in the body of the table{{/i}} +
    + <tr> + + {{_i}}Container element for a set of table cells (<td> or <th>) that appears on a single row{{/i}} +
    + <td> + + {{_i}}Default table cell{{/i}} +
    + <th> + + {{_i}}Special table cell for column (or row, depending on scope and placement) labels{{/i}} +
    + <caption> + + {{_i}}Description or summary of what the table holds, especially useful for screen readers{{/i}} +
    +
    +<table>
    +  <caption>...</caption>
    +  <thead>
    +    <tr>
    +      <th>...</th>
    +      <th>...</th>
    +    </tr>
    +  </thead>
    +  <tbody>
    +    <tr>
    +      <td>...</td>
    +      <td>...</td>
    +    </tr>
    +  </tbody>
    +</table>
    +
    + +
    + + + + +
    + + +

    {{_i}}Default styles{{/i}}

    +

    {{_i}}Individual form controls receive styling, but without any required base class on the <form> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.{{/i}}

    +
    +
    + Legend + + + {{_i}}Example block-level help text here.{{/i}} + + +
    +
    {{! /example }} +
    +<form>
    +  <fieldset>
    +    <legend>{{_i}}Legend{{/i}}</legend>
    +    <label>{{_i}}Label name{{/i}}</label>
    +    <input type="text" placeholder="{{_i}}Type something…{{/i}}">
    +    <span class="help-block">Example block-level help text here.</span>
    +    <label class="checkbox">
    +      <input type="checkbox"> {{_i}}Check me out{{/i}}
    +    </label>
    +    <button type="submit" class="btn">{{_i}}Submit{{/i}}</button>
    +  </fieldset>
    +</form>
    +
    + + +
    + + +

    {{_i}}Optional layouts{{/i}}

    +

    {{_i}}Included with Bootstrap are three optional form layouts for common use cases.{{/i}}

    + +

    {{_i}}Search form{{/i}}

    +

    {{_i}}Add .form-search to the form and .search-query to the <input> for an extra-rounded text input.{{/i}}

    + {{! /example }} +
    +<form class="form-search">
    +  <input type="text" class="input-medium search-query">
    +  <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
    +</form>
    +
    + +

    {{_i}}Inline form{{/i}}

    +

    {{_i}}Add .form-inline for left-aligned labels and inline-block controls for a compact layout.{{/i}}

    +
    + + + + +
    {{! /example }} +
    +<form class="form-inline">
    +  <input type="text" class="input-small" placeholder="{{_i}}Email{{/i}}">
    +  <input type="password" class="input-small" placeholder="{{_i}}Password{{/i}}">
    +  <label class="checkbox">
    +    <input type="checkbox"> {{_i}}Remember me{{/i}}
    +  </label>
    +  <button type="submit" class="btn">{{_i}}Sign in{{/i}}</button>
    +</form>
    +
    + +

    {{_i}}Horizontal form{{/i}}

    +

    {{_i}}Right align labels and float them to the left to make them appear on the same line as controls. Requires the most markup changes from a default form:{{/i}}

    +
      +
    • {{_i}}Add .form-horizontal to the form{{/i}}
    • +
    • {{_i}}Wrap labels and controls in .control-group{{/i}}
    • +
    • {{_i}}Add .control-label to the label{{/i}}
    • +
    • {{_i}}Wrap any associated controls in .controls for proper alignment{{/i}}
    • +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    +<form class="form-horizontal">
    +  <div class="control-group">
    +    <label class="control-label" for="inputEmail">{{_i}}Email{{/i}}</label>
    +    <div class="controls">
    +      <input type="text" id="inputEmail" placeholder="{{_i}}Email{{/i}}">
    +    </div>
    +  </div>
    +  <div class="control-group">
    +    <label class="control-label" for="inputPassword">{{_i}}Password{{/i}}</label>
    +    <div class="controls">
    +      <input type="password" id="inputPassword" placeholder="{{_i}}Password{{/i}}">
    +    </div>
    +  </div>
    +  <div class="control-group">
    +    <div class="controls">
    +      <label class="checkbox">
    +        <input type="checkbox"> {{_i}}Remember me{{/i}}
    +      </label>
    +      <button type="submit" class="btn">{{_i}}Sign in{{/i}}</button>
    +    </div>
    +  </div>
    +</form>
    +
    + + +
    + + +

    {{_i}}Supported form controls{{/i}}

    +

    {{_i}}Examples of standard form controls supported in an example form layout.{{/i}}

    + +

    {{_i}}Inputs{{/i}}

    +

    {{_i}}Most common form control, text-based input fields. Includes support for all HTML5 types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.{{/i}}

    +

    {{_i}}Requires the use of a specified type at all times.{{/i}}

    +
    + +
    +
    +<input type="text" placeholder="Text input">
    +
    + +

    {{_i}}Textarea{{/i}}

    +

    {{_i}}Form control which supports multiple lines of text. Change rows attribute as necessary.{{/i}}

    +
    + +
    +
    +<textarea rows="3"></textarea>
    +
    + +

    {{_i}}Checkboxes and radios{{/i}}

    +

    {{_i}}Checkboxes are for selecting one or several options in a list while radios are for selecting one option from many.{{/i}}

    +

    {{_i}}Default (stacked){{/i}}

    +
    + +
    + + +
    +
    +<label class="checkbox">
    +  <input type="checkbox" value="">
    +  {{_i}}Option one is this and that—be sure to include why it's great{{/i}}
    +</label>
    +
    +<label class="radio">
    +  <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
    +  {{_i}}Option one is this and that—be sure to include why it's great{{/i}}
    +</label>
    +<label class="radio">
    +  <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
    +  {{_i}}Option two can be something else and selecting it will deselect option one{{/i}}
    +</label>
    +
    + +

    {{_i}}Inline checkboxes{{/i}}

    +

    {{_i}}Add the .inline class to a series of checkboxes or radios for controls appear on the same line.{{/i}}

    +
    + + + +
    +
    +<label class="checkbox inline">
    +  <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
    +</label>
    +<label class="checkbox inline">
    +  <input type="checkbox" id="inlineCheckbox2" value="option2"> 2
    +</label>
    +<label class="checkbox inline">
    +  <input type="checkbox" id="inlineCheckbox3" value="option3"> 3
    +</label>
    +
    + +

    {{_i}}Selects{{/i}}

    +

    {{_i}}Use the default option or specify a multiple="multiple" to show multiple options at once.{{/i}}

    +
    + +
    + +
    +
    +<select>
    +  <option>1</option>
    +  <option>2</option>
    +  <option>3</option>
    +  <option>4</option>
    +  <option>5</option>
    +</select>
    +
    +<select multiple="multiple">
    +  <option>1</option>
    +  <option>2</option>
    +  <option>3</option>
    +  <option>4</option>
    +  <option>5</option>
    +</select>
    +
    + + +
    + + +

    {{_i}}Extending form controls{{/i}}

    +

    {{_i}}Adding on top of existing browser controls, Bootstrap includes other useful form components.{{/i}}

    + +

    {{_i}}Prepended and appended inputs{{/i}}

    +

    {{_i}}Add text or buttons before or after any text-based input. Do note that select elements are not supported here.{{/i}}

    + +

    {{_i}}Default options{{/i}}

    +

    {{_i}}Wrap an .add-on and an input with one of two classes to prepend or append text to an input.{{/i}}

    +
    +
    + @ + +
    +
    +
    + + .00 +
    +
    +
    +<div class="input-prepend">
    +  <span class="add-on">@</span>
    +  <input class="span2" id="prependedInput" type="text" placeholder="{{_i}}Username{{/i}}">
    +</div>
    +<div class="input-append">
    +  <input class="span2" id="appendedInput" type="text">
    +  <span class="add-on">.00</span>
    +</div>
    +
    + +

    {{_i}}Combined{{/i}}

    +

    {{_i}}Use both classes and two instances of .add-on to prepend and append an input.{{/i}}

    +
    +
    + $ + + .00 +
    +
    +
    +<div class="input-prepend input-append">
    +  <span class="add-on">$</span>
    +  <input class="span2" id="appendedPrependedInput" type="text">
    +  <span class="add-on">.00</span>
    +</div>
    +
    + +

    {{_i}}Buttons instead of text{{/i}}

    +

    {{_i}}Instead of a <span> with text, use a .btn to attach a button (or two) to an input.{{/i}}

    +
    +
    + + +
    +
    +
    +<div class="input-append">
    +  <input class="span2" id="appendedInputButton" type="text">
    +  <button class="btn" type="button">Go!</button>
    +</div>
    +
    +
    +
    + + + +
    +
    +
    +<div class="input-append">
    +  <input class="span2" id="appendedInputButtons" type="text">
    +  <button class="btn" type="button">Search</button>
    +  <button class="btn" type="button">Options</button>
    +</div>
    +
    + +

    {{_i}}Button dropdowns{{/i}}

    +

    {{_i}}{{/i}}

    +
    + +
    +
    +<div class="input-append">
    +  <input class="span2" id="appendedDropdownButton" type="text">
    +  <div class="btn-group">
    +    <button class="btn dropdown-toggle" data-toggle="dropdown">
    +      {{_i}}Action{{/i}}
    +      <span class="caret"></span>
    +    </button>
    +    <ul class="dropdown-menu">
    +      ...
    +    </ul>
    +  </div>
    +</div>
    +
    + +
    + +
    +
    +<div class="input-prepend">
    +  <div class="btn-group">
    +    <button class="btn dropdown-toggle" data-toggle="dropdown">
    +      {{_i}}Action{{/i}}
    +      <span class="caret"></span>
    +    </button>
    +    <ul class="dropdown-menu">
    +      ...
    +    </ul>
    +  </div>
    +  <input class="span2" id="prependedDropdownButton" type="text">
    +</div>
    +
    + +
    + +
    +
    +<div class="input-prepend input-append">
    +  <div class="btn-group">
    +    <button class="btn dropdown-toggle" data-toggle="dropdown">
    +      {{_i}}Action{{/i}}
    +      <span class="caret"></span>
    +    </button>
    +    <ul class="dropdown-menu">
    +      ...
    +    </ul>
    +  </div>
    +  <input class="span2" id="appendedPrependedDropdownButton" type="text">
    +  <div class="btn-group">
    +    <button class="btn dropdown-toggle" data-toggle="dropdown">
    +      {{_i}}Action{{/i}}
    +      <span class="caret"></span>
    +    </button>
    +    <ul class="dropdown-menu">
    +      ...
    +    </ul>
    +  </div>
    +</div>
    +
    + +

    {{_i}}Segmented dropdown groups{{/i}}

    +
    + + +
    +
    +<form>
    +  <div class="input-prepend">
    +    <div class="btn-group">...</div>
    +    <input type="text">
    +  </div>
    +  <div class="input-append">
    +    <input type="text">
    +    <div class="btn-group">...</div>
    +  </div>
    +</form>
    +
    + +

    {{_i}}Search form{{/i}}

    + {{! /example }} +
    +<form class="form-search">
    +  <div class="input-append">
    +    <input type="text" class="span2 search-query">
    +    <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
    +  </div>
    +  <div class="input-prepend">
    +    <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
    +    <input type="text" class="span2 search-query">
    +  </div>
    +</form>
    +
    + +

    {{_i}}Control sizing{{/i}}

    +

    {{_i}}Use relative sizing classes like .input-large or match your inputs to the grid column sizes using .span* classes.{{/i}}

    + +

    {{_i}}Block level inputs{{/i}}

    +

    {{_i}}Make any <input> or <textarea> element behave like a block level element.{{/i}}

    +
    +
    + +
    +
    +
    +<input class="input-block-level" type="text" placeholder=".input-block-level">
    +
    + +

    {{_i}}Relative sizing{{/i}}

    +
    +
    + + + + + + +
    +
    +
    +<input class="input-mini" type="text" placeholder=".input-mini">
    +<input class="input-small" type="text" placeholder=".input-small">
    +<input class="input-medium" type="text" placeholder=".input-medium">
    +<input class="input-large" type="text" placeholder=".input-large">
    +<input class="input-xlarge" type="text" placeholder=".input-xlarge">
    +<input class="input-xxlarge" type="text" placeholder=".input-xxlarge">
    +
    +

    + {{_i}}Heads up!{{/i}} In future versions, we'll be altering the use of these relative input classes to match our button sizes. For example, .input-large will increase the padding and font-size of an input. +

    + +

    {{_i}}Grid sizing{{/i}}

    +

    {{_i}}Use .span1 to .span12 for inputs that match the same sizes of the grid columns.{{/i}}

    +
    +
    + + + + + + +
    +
    +
    +<input class="span1" type="text" placeholder=".span1">
    +<input class="span2" type="text" placeholder=".span2">
    +<input class="span3" type="text" placeholder=".span3">
    +<select class="span1">
    +  ...
    +</select>
    +<select class="span2">
    +  ...
    +</select>
    +<select class="span3">
    +  ...
    +</select>
    +
    + +

    {{_i}}For multiple grid inputs per line, use the .controls-row modifier class for proper spacing. It floats the inputs to collapse white-space, sets the proper margins, and clears the float.{{/i}}

    +
    +
    + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    +<div class="controls">
    +  <input class="span5" type="text" placeholder=".span5">
    +</div>
    +<div class="controls controls-row">
    +  <input class="span4" type="text" placeholder=".span4">
    +  <input class="span1" type="text" placeholder=".span1">
    +</div>
    +...
    +
    + +

    {{_i}}Uneditable inputs{{/i}}

    +

    {{_i}}Present data in a form that's not editable without using actual form markup.{{/i}}

    +
    + Some value here +
    +
    +<span class="input-xlarge uneditable-input">Some value here</span>
    +
    + +

    {{_i}}Form actions{{/i}}

    +

    {{_i}}End a form with a group of actions (buttons). When placed within a .form-actions, the buttons will automatically indent to line up with the form controls.{{/i}}

    +
    +
    + + +
    +
    +
    +<div class="form-actions">
    +  <button type="submit" class="btn btn-primary">{{_i}}Save changes{{/i}}</button>
    +  <button type="button" class="btn">{{_i}}Cancel{{/i}}</button>
    +</div>
    +
    + +

    {{_i}}Help text{{/i}}

    +

    {{_i}}Inline and block level support for help text that appears around form controls.{{/i}}

    +

    {{_i}}Inline help{{/i}}

    +
    + Inline help text +
    +
    +<input type="text"><span class="help-inline">Inline help text</span>
    +
    + +

    {{_i}}Block help{{/i}}

    +
    + + A longer block of help text that breaks onto a new line and may extend beyond one line. +
    +
    +<input type="text"><span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
    +
    + + +
    + + +

    {{_i}}Form control states{{/i}}

    +

    {{_i}}Provide feedback to users or visitors with basic feedback states on form controls and labels.{{/i}}

    + +

    {{_i}}Input focus{{/i}}

    +

    {{_i}}We remove the default outline styles on some form controls and apply a box-shadow in its place for :focus.{{/i}}

    +
    + +
    +
    +<input class="input-xlarge" id="focusedInput" type="text" value="{{_i}}This is focused...{{/i}}">
    +
    + +

    {{_i}}Invalid inputs{{/i}}

    +

    {{_i}}Style inputs via default browser functionality with :invalid. Specify a type, add the required attribute if the field is not optional, and (if applicable) specify a pattern.{{/i}}

    +

    {{_i}}This is not available in versions of Internet Explorer 7-9 due to lack of support for CSS pseudo selectors.{{/i}}

    +
    + +
    +
    +<input class="span3" type="email" required>
    +
    + +

    {{_i}}Disabled inputs{{/i}}

    +

    {{_i}}Add the disabled attribute on an input to prevent user input and trigger a slightly different look.{{/i}}

    +
    + +
    +
    +<input class="input-xlarge" id="disabledInput" type="text" placeholder="{{_i}}Disabled input here...{{/i}}" disabled>
    +
    + +

    {{_i}}Validation states{{/i}}

    +

    {{_i}}Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding .control-group.{{/i}}

    + +
    +
    + +
    + + {{_i}}Something may have gone wrong{{/i}} +
    +
    +
    + +
    + + {{_i}}Please correct the error{{/i}} +
    +
    +
    + +
    + + {{_i}}Username is taken{{/i}} +
    +
    +
    + +
    + + {{_i}}Woohoo!{{/i}} +
    +
    +
    +
    +<div class="control-group warning">
    +  <label class="control-label" for="inputWarning">{{_i}}Input with warning{{/i}}</label>
    +  <div class="controls">
    +    <input type="text" id="inputWarning">
    +    <span class="help-inline">{{_i}}Something may have gone wrong{{/i}}</span>
    +  </div>
    +</div>
    +
    +<div class="control-group error">
    +  <label class="control-label" for="inputError">{{_i}}Input with error{{/i}}</label>
    +  <div class="controls">
    +    <input type="text" id="inputError">
    +    <span class="help-inline">{{_i}}Please correct the error{{/i}}</span>
    +  </div>
    +</div>
    +
    +<div class="control-group info">
    +  <label class="control-label" for="inputInfo">{{_i}}Input with info{{/i}}</label>
    +  <div class="controls">
    +    <input type="text" id="inputInfo">
    +    <span class="help-inline">{{_i}}Username is already taken{{/i}}</span>
    +  </div>
    +</div>
    +
    +<div class="control-group success">
    +  <label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
    +  <div class="controls">
    +    <input type="text" id="inputSuccess">
    +    <span class="help-inline">{{_i}}Woohoo!{{/i}}</span>
    +  </div>
    +</div>
    +
    + +
    + + + + +
    + + +

    Default buttons

    +

    {{_i}}Button styles can be applied to anything with the .btn class applied. However, typically you'll want to apply these to only <a> and <button> elements for the best rendering.{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Button{{/i}}{{_i}}class=""{{/i}}{{_i}}Description{{/i}}
    btn{{_i}}Standard gray button with gradient{{/i}}
    btn btn-primary{{_i}}Provides extra visual weight and identifies the primary action in a set of buttons{{/i}}
    btn btn-info{{_i}}Used as an alternative to the default styles{{/i}}
    btn btn-success{{_i}}Indicates a successful or positive action{{/i}}
    btn btn-warning{{_i}}Indicates caution should be taken with this action{{/i}}
    btn btn-danger{{_i}}Indicates a dangerous or potentially negative action{{/i}}
    btn btn-inverse{{_i}}Alternate dark gray button, not tied to a semantic action or use{{/i}}
    btn btn-link{{_i}}Deemphasize a button by making it look like a link while maintaining button behavior{{/i}}
    + +

    {{_i}}Cross browser compatibility{{/i}}

    +

    {{_i}}IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled button elements, rendering text gray with a nasty text-shadow that we cannot fix.{{/i}}

    + + +

    {{_i}}Button sizes{{/i}}

    +

    {{_i}}Fancy larger or smaller buttons? Add .btn-large, .btn-small, or .btn-mini for additional sizes.{{/i}}

    +
    +

    + + +

    +

    + + +

    +

    + + +

    +

    + + +

    +
    +
    +<p>
    +  <button class="btn btn-large btn-primary" type="button">{{_i}}Large button{{/i}}</button>
    +  <button class="btn btn-large" type="button">{{_i}}Large button{{/i}}</button>
    +</p>
    +<p>
    +  <button class="btn btn-primary" type="button">{{_i}}Default button{{/i}}</button>
    +  <button class="btn" type="button">{{_i}}Default button{{/i}}</button>
    +</p>
    +<p>
    +  <button class="btn btn-small btn-primary" type="button">{{_i}}Small button{{/i}}</button>
    +  <button class="btn btn-small" type="button">{{_i}}Small button{{/i}}</button>
    +</p>
    +<p>
    +  <button class="btn btn-mini btn-primary" type="button">{{_i}}Mini button{{/i}}</button>
    +  <button class="btn btn-mini" type="button">{{_i}}Mini button{{/i}}</button>
    +</p>
    +
    +

    {{_i}}Create block level buttons—those that span the full width of a parent— by adding .btn-block.{{/i}}

    +
    +
    + + +
    +
    +
    +<button class="btn btn-large btn-block btn-primary" type="button">{{_i}}Block level button{{/i}}</button>
    +<button class="btn btn-large btn-block" type="button">{{_i}}Block level button{{/i}}</button>
    +
    + + +

    {{_i}}Disabled state{{/i}}

    +

    {{_i}}Make buttons look unclickable by fading them back 50%.{{/i}}

    + +

    Anchor element

    +

    {{_i}}Add the .disabled class to <a> buttons.{{/i}}

    +

    + {{_i}}Primary link{{/i}} + {{_i}}Link{{/i}} +

    +
    +<a href="#" class="btn btn-large btn-primary disabled">{{_i}}Primary link{{/i}}</a>
    +<a href="#" class="btn btn-large disabled">{{_i}}Link{{/i}}</a>
    +
    +

    + {{_i}}Heads up!{{/i}} + {{_i}}We use .disabled as a utility class here, similar to the common .active class, so no prefix is required. Also, this class is only for aesthetic; you must use custom JavaScript to disable links here.{{/i}} +

    + +

    Button element

    +

    {{_i}}Add the disabled attribute to <button> buttons.{{/i}}

    +

    + + +

    +
    +<button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">{{_i}}Primary button{{/i}}</button>
    +<button type="button" class="btn btn-large" disabled>{{_i}}Button{{/i}}</button>
    +
    + + +

    {{_i}}One class, multiple tags{{/i}}

    +

    {{_i}}Use the .btn class on an <a>, <button>, or <input> element.{{/i}}

    +
    + {{_i}}Link{{/i}} + + + +
    +
    +<a class="btn" href="">{{_i}}Link{{/i}}</a>
    +<button class="btn" type="submit">{{_i}}Button{{/i}}</button>
    +<input class="btn" type="button" value="{{_i}}Input{{/i}}">
    +<input class="btn" type="submit" value="{{_i}}Submit{{/i}}">
    +
    +

    {{_i}}As a best practice, try to match the element for your context to ensure matching cross-browser rendering. If you have an input, use an <input type="submit"> for your button.{{/i}}

    + +
    + + + + +
    + + +

    {{_i}}Add classes to an <img> element to easily style images in any project.{{/i}}

    +
    + + + +
    +
    +<img src="..." class="img-rounded">
    +<img src="..." class="img-circle">
    +<img src="..." class="img-polaroid">
    +
    +

    {{_i}}Heads up!{{/i}} {{_i}}.img-rounded and .img-circle do not work in IE7-8 due to lack of border-radius support.{{/i}}

    + + +
    + + + + +
    + + +

    {{_i}}Icon glyphs{{/i}}

    +

    {{_i}}140 icons in sprite form, available in dark gray (default) and white, provided by Glyphicons.{{/i}}

    +
      +
    • icon-glass
    • +
    • icon-music
    • +
    • icon-search
    • +
    • icon-envelope
    • +
    • icon-heart
    • +
    • icon-star
    • +
    • icon-star-empty
    • +
    • icon-user
    • +
    • icon-film
    • +
    • icon-th-large
    • +
    • icon-th
    • +
    • icon-th-list
    • +
    • icon-ok
    • +
    • icon-remove
    • +
    • icon-zoom-in
    • +
    • icon-zoom-out
    • +
    • icon-off
    • +
    • icon-signal
    • +
    • icon-cog
    • +
    • icon-trash
    • +
    • icon-home
    • +
    • icon-file
    • +
    • icon-time
    • +
    • icon-road
    • +
    • icon-download-alt
    • +
    • icon-download
    • +
    • icon-upload
    • +
    • icon-inbox
    • + +
    • icon-play-circle
    • +
    • icon-repeat
    • +
    • icon-refresh
    • +
    • icon-list-alt
    • +
    • icon-lock
    • +
    • icon-flag
    • +
    • icon-headphones
    • +
    • icon-volume-off
    • +
    • icon-volume-down
    • +
    • icon-volume-up
    • +
    • icon-qrcode
    • +
    • icon-barcode
    • +
    • icon-tag
    • +
    • icon-tags
    • +
    • icon-book
    • +
    • icon-bookmark
    • +
    • icon-print
    • +
    • icon-camera
    • +
    • icon-font
    • +
    • icon-bold
    • +
    • icon-italic
    • +
    • icon-text-height
    • +
    • icon-text-width
    • +
    • icon-align-left
    • +
    • icon-align-center
    • +
    • icon-align-right
    • +
    • icon-align-justify
    • +
    • icon-list
    • + +
    • icon-indent-left
    • +
    • icon-indent-right
    • +
    • icon-facetime-video
    • +
    • icon-picture
    • +
    • icon-pencil
    • +
    • icon-map-marker
    • +
    • icon-adjust
    • +
    • icon-tint
    • +
    • icon-edit
    • +
    • icon-share
    • +
    • icon-check
    • +
    • icon-move
    • +
    • icon-step-backward
    • +
    • icon-fast-backward
    • +
    • icon-backward
    • +
    • icon-play
    • +
    • icon-pause
    • +
    • icon-stop
    • +
    • icon-forward
    • +
    • icon-fast-forward
    • +
    • icon-step-forward
    • +
    • icon-eject
    • +
    • icon-chevron-left
    • +
    • icon-chevron-right
    • +
    • icon-plus-sign
    • +
    • icon-minus-sign
    • +
    • icon-remove-sign
    • +
    • icon-ok-sign
    • + +
    • icon-question-sign
    • +
    • icon-info-sign
    • +
    • icon-screenshot
    • +
    • icon-remove-circle
    • +
    • icon-ok-circle
    • +
    • icon-ban-circle
    • +
    • icon-arrow-left
    • +
    • icon-arrow-right
    • +
    • icon-arrow-up
    • +
    • icon-arrow-down
    • +
    • icon-share-alt
    • +
    • icon-resize-full
    • +
    • icon-resize-small
    • +
    • icon-plus
    • +
    • icon-minus
    • +
    • icon-asterisk
    • +
    • icon-exclamation-sign
    • +
    • icon-gift
    • +
    • icon-leaf
    • +
    • icon-fire
    • +
    • icon-eye-open
    • +
    • icon-eye-close
    • +
    • icon-warning-sign
    • +
    • icon-plane
    • +
    • icon-calendar
    • +
    • icon-random
    • +
    • icon-comment
    • +
    • icon-magnet
    • + +
    • icon-chevron-up
    • +
    • icon-chevron-down
    • +
    • icon-retweet
    • +
    • icon-shopping-cart
    • +
    • icon-folder-close
    • +
    • icon-folder-open
    • +
    • icon-resize-vertical
    • +
    • icon-resize-horizontal
    • +
    • icon-hdd
    • +
    • icon-bullhorn
    • +
    • icon-bell
    • +
    • icon-certificate
    • +
    • icon-thumbs-up
    • +
    • icon-thumbs-down
    • +
    • icon-hand-right
    • +
    • icon-hand-left
    • +
    • icon-hand-up
    • +
    • icon-hand-down
    • +
    • icon-circle-arrow-right
    • +
    • icon-circle-arrow-left
    • +
    • icon-circle-arrow-up
    • +
    • icon-circle-arrow-down
    • +
    • icon-globe
    • +
    • icon-wrench
    • +
    • icon-tasks
    • +
    • icon-filter
    • +
    • icon-briefcase
    • +
    • icon-fullscreen
    • +
    + +

    Glyphicons attribution

    +

    {{_i}}Glyphicons Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at no cost to you as developers. As a thank you, we ask you to include an optional link back to Glyphicons whenever practical.{{/i}}

    + + +
    + + +

    {{_i}}How to use{{/i}}

    +

    {{_i}}All icons require an <i> tag with a unique class, prefixed with icon-. To use, place the following code just about anywhere:{{/i}}

    +
    +<i class="icon-search"></i>
    +
    +

    {{_i}}There are also styles available for inverted (white) icons, made ready with one extra class. We will specifically enforce this class on hover and active states for nav and dropdown links.{{/i}}

    +
    +<i class="icon-search icon-white"></i>
    +
    +

    + {{_i}}Heads up!{{/i}} + {{_i}}When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <i> tag for proper spacing.{{/i}} +

    + + +
    + + +

    {{_i}}Icon examples{{/i}}

    +

    {{_i}}Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.{{/i}}

    + +

    {{_i}}Buttons{{/i}}

    + +
    {{_i}}Button group in a button toolbar{{/i}}
    +
    +
    +
    + + + + +
    +
    +
    {{! /bs-docs-example }} +
    +<div class="btn-toolbar">
    +  <div class="btn-group">
    +    <a class="btn" href="#"><i class="icon-align-left"></i></a>
    +    <a class="btn" href="#"><i class="icon-align-center"></i></a>
    +    <a class="btn" href="#"><i class="icon-align-right"></i></a>
    +    <a class="btn" href="#"><i class="icon-align-justify"></i></a>
    +  </div>
    +</div>
    +
    + +
    {{_i}}Dropdown in a button group{{/i}}
    + {{! /bs-docs-example }} +
    +<div class="btn-group">
    +  <a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> {{_i}}User{{/i}}</a>
    +  <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
    +  <ul class="dropdown-menu">
    +    <li><a href="#"><i class="icon-pencil"></i> {{_i}}Edit{{/i}}</a></li>
    +    <li><a href="#"><i class="icon-trash"></i> {{_i}}Delete{{/i}}</a></li>
    +    <li><a href="#"><i class="icon-ban-circle"></i> {{_i}}Ban{{/i}}</a></li>
    +    <li class="divider"></li>
    +    <li><a href="#"><i class="i"></i> {{_i}}Make admin{{/i}}</a></li>
    +  </ul>
    +</div>
    +
    + +
    {{_i}}Button sizes{{/i}}
    + {{! /bs-docs-example }} +
    +<a class="btn btn-large" href="#"><i class="icon-star"></i> Star</a>
    +<a class="btn btn-small" href="#"><i class="icon-star"></i> Star</a>
    +<a class="btn btn-mini" href="#"><i class="icon-star"></i> Star</a>
    +
    + +

    {{_i}}Navigation{{/i}}

    + {{! /bs-docs-example }} +
    +<ul class="nav nav-list">
    +  <li class="active"><a href="#"><i class="icon-home icon-white"></i> {{_i}}Home{{/i}}</a></li>
    +  <li><a href="#"><i class="icon-book"></i> {{_i}}Library{{/i}}</a></li>
    +  <li><a href="#"><i class="icon-pencil"></i> {{_i}}Applications{{/i}}</a></li>
    +  <li><a href="#"><i class="i"></i> {{_i}}Misc{{/i}}</a></li>
    +</ul>
    +
    + +

    {{_i}}Form fields{{/i}}

    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +<div class="control-group">
    +  <label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
    +  <div class="controls">
    +    <div class="input-prepend">
    +      <span class="add-on"><i class="icon-envelope"></i></span>
    +      <input class="span2" id="inputIcon" type="text">
    +    </div>
    +  </div>
    +</div>
    +
    + +
    + + + +
    {{! /span9 }} +
    {{! row}} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/docs/templates/pages/components.mustache b/2/bower_components/bootstrap/docs/templates/pages/components.mustache new file mode 100644 index 00000000..6d3ff9be --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/components.mustache @@ -0,0 +1,2505 @@ + +
    +
    +

    {{_i}}Components{{/i}}

    +

    {{_i}}Dozens of reusable components built to provide navigation, alerts, popovers, and more.{{/i}}

    +
    +
    + + +
    + + +
    + +
    + + + + + + + + + + +
    + + +

    {{_i}}Examples{{/i}}

    +

    {{_i}}Two basic options, along with two more specific variations.{{/i}}

    + +

    {{_i}}Single button group{{/i}}

    +

    {{_i}}Wrap a series of buttons with .btn in .btn-group.{{/i}}

    +
    +
    + + + +
    +
    +
    +<div class="btn-group">
    +  <button class="btn">Left</button>
    +  <button class="btn">Middle</button>
    +  <button class="btn">Right</button>
    +</div>
    +
    + +

    {{_i}}Multiple button groups{{/i}}

    +

    {{_i}}Combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.{{/i}}

    +
    +
    +
    + + + + +
    +
    + + + +
    +
    + +
    +
    +
    +
    +<div class="btn-toolbar">
    +  <div class="btn-group">
    +    ...
    +  </div>
    +</div>
    +
    + +

    {{_i}}Vertical button groups{{/i}}

    +

    {{_i}}Make a set of buttons appear vertically stacked rather than horizontally.{{/i}}

    +
    +
    + + + + +
    +
    +
    +<div class="btn-group btn-group-vertical">
    +  ...
    +</div>
    +
    + + +
    + + +

    {{_i}}Checkbox and radio flavors{{/i}}

    +

    {{_i}}Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View the JavaScript docs for that.{{/i}}

    + +

    {{_i}}Dropdowns in button groups{{/i}}

    +

    {{_i}}Heads up!{{/i}} {{_i}}Buttons with dropdowns must be individually wrapped in their own .btn-group within a .btn-toolbar for proper rendering.{{/i}}

    +
    + + + + +
    + + + +

    {{_i}}Overview and examples{{/i}}

    +

    {{_i}}Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.{{/i}}

    + {{! /example }} +
    +<div class="btn-group">
    +  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
    +    {{_i}}Action{{/i}}
    +    <span class="caret"></span>
    +  </a>
    +  <ul class="dropdown-menu">
    +    <!-- {{_i}}dropdown menu links{{/i}} -->
    +  </ul>
    +</div>
    +
    + +

    {{_i}}Works with all button sizes{{/i}}

    +

    {{_i}}Button dropdowns work at any size: .btn-large, .btn-small, or .btn-mini.{{/i}}

    + {{! /example }} + +

    {{_i}}Requires JavaScript{{/i}}

    +

    {{_i}}Button dropdowns require the Bootstrap dropdown plugin to function.{{/i}}

    +

    {{_i}}In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom JavaScript.{{/i}}

    + + +
    + + +

    {{_i}}Split button dropdowns{{/i}}

    +

    {{_i}}Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.{{/i}}

    + {{! /example }} +
    +<div class="btn-group">
    +  <button class="btn">{{_i}}Action{{/i}}</button>
    +  <button class="btn dropdown-toggle" data-toggle="dropdown">
    +    <span class="caret"></span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- {{_i}}dropdown menu links{{/i}} -->
    +  </ul>
    +</div>
    +
    + +

    {{_i}}Sizes{{/i}}

    +

    {{_i}}Utilize the extra button classes .btn-mini, .btn-small, or .btn-large for sizing.{{/i}}

    + {{! /example }} +
    +<div class="btn-group">
    +  <button class="btn btn-mini">{{_i}}Action{{/i}}</button>
    +  <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">
    +    <span class="caret"></span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- {{_i}}dropdown menu links{{/i}} -->
    +  </ul>
    +</div>
    +
    + +

    {{_i}}Dropup menus{{/i}}

    +

    {{_i}}Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu. It will flip the direction of the .caret and reposition the menu itself to move from the bottom up instead of top down.{{/i}}

    + {{! /example }} +
    +<div class="btn-group dropup">
    +  <button class="btn">{{_i}}Dropup{{/i}}</button>
    +  <button class="btn dropdown-toggle" data-toggle="dropdown">
    +    <span class="caret"></span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- {{_i}}dropdown menu links{{/i}} -->
    +  </ul>
    +</div>
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    + + +

    {{_i}}Standard pagination{{/i}}

    +

    {{_i}}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.{{/i}}

    +
    + +
    +
    +<div class="pagination">
    +  <ul>
    +    <li><a href="#">Prev</a></li>
    +    <li><a href="#">1</a></li>
    +    <li><a href="#">2</a></li>
    +    <li><a href="#">3</a></li>
    +    <li><a href="#">4</a></li>
    +    <li><a href="#">5</a></li>
    +    <li><a href="#">Next</a></li>
    +  </ul>
    +</div>
    +
    + + +
    + + +

    {{_i}}Options{{/i}}

    + +

    {{_i}}Disabled and active states{{/i}}

    +

    {{_i}}Links are customizable for different circumstances. Use .disabled for unclickable links and .active to indicate the current page.{{/i}}

    +
    + +
    +
    +<div class="pagination">
    +  <ul>
    +    <li class="disabled"><a href="#">&laquo;</a></li>
    +    <li class="active"><a href="#">1</a></li>
    +    ...
    +  </ul>
    +</div>
    +
    +

    {{_i}}You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.{{/i}}

    +
    +<div class="pagination">
    +  <ul>
    +    <li class="disabled"><span>&laquo;</span></li>
    +    <li class="active"><span>1</span></li>
    +    ...
    +  </ul>
    +</div>
    +
    + +

    {{_i}}Sizes{{/i}}

    +

    {{_i}}Fancy larger or smaller pagination? Add .pagination-large, .pagination-small, or .pagination-mini for additional sizes.{{/i}}

    +
    + + + + +
    +
    +<div class="pagination pagination-large">
    +  <ul>
    +    ...
    +  </ul>
    +</div>
    +<div class="pagination">
    +  <ul>
    +    ...
    +  </ul>
    +</div>
    +<div class="pagination pagination-small">
    +  <ul>
    +    ...
    +  </ul>
    +</div>
    +<div class="pagination pagination-mini">
    +  <ul>
    +    ...
    +  </ul>
    +</div>
    +
    + +

    {{_i}}Alignment{{/i}}

    +

    {{_i}}Add one of two optional classes to change the alignment of pagination links: .pagination-centered and .pagination-right.{{/i}}

    +
    + +
    +
    +<div class="pagination pagination-centered">
    +  ...
    +</div>
    +
    +
    + +
    +
    +<div class="pagination pagination-right">
    +  ...
    +</div>
    +
    + + +
    + + +

    {{_i}}Pager{{/i}}

    +

    {{_i}}Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.{{/i}}

    + +

    {{_i}}Default example{{/i}}

    +

    {{_i}}By default, the pager centers links.{{/i}}

    + +
    +<ul class="pager">
    +  <li><a href="#">{{_i}}Previous{{/i}}</a></li>
    +  <li><a href="#">{{_i}}Next{{/i}}</a></li>
    +</ul>
    +
    + +

    {{_i}}Aligned links{{/i}}

    +

    {{_i}}Alternatively, you can align each link to the sides:{{/i}}

    + +
    +<ul class="pager">
    +  <li class="previous">
    +    <a href="#">{{_i}}&larr; Older{{/i}}</a>
    +  </li>
    +  <li class="next">
    +    <a href="#">{{_i}}Newer &rarr;{{/i}}</a>
    +  </li>
    +</ul>
    +
    + +

    {{_i}}Optional disabled state{{/i}}

    +

    {{_i}}Pager links also use the general .disabled utility class from the pagination.{{/i}}

    + +
    +<ul class="pager">
    +  <li class="previous disabled">
    +    <a href="#">{{_i}}&larr; Older{{/i}}</a>
    +  </li>
    +  ...
    +</ul>
    +
    + +
    + + + + +
    + +

    {{_i}}Labels{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Labels{{/i}}{{_i}}Markup{{/i}}
    + {{_i}}Default{{/i}} + + <span class="label">{{_i}}Default{{/i}}</span> +
    + {{_i}}Success{{/i}} + + <span class="label label-success">{{_i}}Success{{/i}}</span> +
    + {{_i}}Warning{{/i}} + + <span class="label label-warning">{{_i}}Warning{{/i}}</span> +
    + {{_i}}Important{{/i}} + + <span class="label label-important">{{_i}}Important{{/i}}</span> +
    + {{_i}}Info{{/i}} + + <span class="label label-info">{{_i}}Info{{/i}}</span> +
    + {{_i}}Inverse{{/i}} + + <span class="label label-inverse">{{_i}}Inverse{{/i}}</span> +
    + +

    {{_i}}Badges{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}Example{{/i}}{{_i}}Markup{{/i}}
    + {{_i}}Default{{/i}} + + 1 + + <span class="badge">1</span> +
    + {{_i}}Success{{/i}} + + 2 + + <span class="badge badge-success">2</span> +
    + {{_i}}Warning{{/i}} + + 4 + + <span class="badge badge-warning">4</span> +
    + {{_i}}Important{{/i}} + + 6 + + <span class="badge badge-important">6</span> +
    + {{_i}}Info{{/i}} + + 8 + + <span class="badge badge-info">8</span> +
    + {{_i}}Inverse{{/i}} + + 10 + + <span class="badge badge-inverse">10</span> +
    + +

    {{_i}}Easily collapsible{{/i}}

    +

    {{_i}}For easy implementation, labels and badges will simply collapse (via CSS's :empty selector) when no content exists within.{{/i}}

    + +
    + + + + +
    + + +

    {{_i}}Hero unit{{/i}}

    +

    {{_i}}A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.{{/i}}

    +
    +
    +

    {{_i}}Hello, world!{{/i}}

    +

    {{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}

    +

    {{_i}}Learn more{{/i}}

    +
    +
    +
    +<div class="hero-unit">
    +  <h1>{{_i}}Heading{{/i}}</h1>
    +  <p>{{_i}}Tagline{{/i}}</p>
    +  <p>
    +    <a class="btn btn-primary btn-large">
    +      {{_i}}Learn more{{/i}}
    +    </a>
    +  </p>
    +</div>
    +
    + +

    {{_i}}Page header{{/i}}

    +

    {{_i}}A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).{{/i}}

    +
    + +
    +
    +<div class="page-header">
    +  <h1>{{_i}}Example page header{{/i}} <small>{{_i}}Subtext for header{{/i}}</small></h1>
    +</div>
    +
    + +
    + + + + +
    + + +

    {{_i}}Default thumbnails{{/i}}

    +

    {{_i}}By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.{{/i}}

    +
    + +
    + +

    {{_i}}Highly customizable{{/i}}

    +

    {{_i}}With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.{{/i}}

    +
    +
      +
    • +
      + +
      +

      {{_i}}Thumbnail label{{/i}}

      +

      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.

      +

      {{_i}}Action{{/i}} {{_i}}Action{{/i}}

      +
      +
      +
    • +
    • +
      + +
      +

      {{_i}}Thumbnail label{{/i}}

      +

      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.

      +

      {{_i}}Action{{/i}} {{_i}}Action{{/i}}

      +
      +
      +
    • +
    • +
      + +
      +

      {{_i}}Thumbnail label{{/i}}

      +

      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.

      +

      {{_i}}Action{{/i}} {{_i}}Action{{/i}}

      +
      +
      +
    • +
    +
    + +

    {{_i}}Why use thumbnails{{/i}}

    +

    {{_i}}Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.{{/i}}

    + +

    {{_i}}Simple, flexible markup{{/i}}

    +

    {{_i}}Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.{{/i}}

    + +

    {{_i}}Uses grid column sizes{{/i}}

    +

    {{_i}}Lastly, the thumbnails component uses existing grid system classes—like .span2 or .span3—for control of thumbnail dimensions.{{/i}}

    + +

    {{_i}}Markup{{/i}}

    +

    {{_i}}As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup for linked images:{{/i}}

    +
    +<ul class="thumbnails">
    +  <li class="span4">
    +    <a href="#" class="thumbnail">
    +      <img data-src="holder.js/300x200" alt="">
    +    </a>
    +  </li>
    +  ...
    +</ul>
    +
    +

    {{_i}}For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <a> for a <div> like so:{{/i}}

    +
    +<ul class="thumbnails">
    +  <li class="span4">
    +    <div class="thumbnail">
    +      <img data-src="holder.js/300x200" alt="">
    +      <h3>{{_i}}Thumbnail label{{/i}}</h3>
    +      <p>{{_i}}Thumbnail caption...{{/i}}</p>
    +    </div>
    +  </li>
    +  ...
    +</ul>
    +
    + +

    {{_i}}More examples{{/i}}

    +

    {{_i}}Explore all your options with the various grid classes available to you. You can also mix and match different sizes.{{/i}}

    + + +
    + + + + + +
    + + +

    {{_i}}Default alert{{/i}}

    +

    {{_i}}Wrap any text and an optional dismiss button in .alert for a basic warning alert message.{{/i}}

    +
    +
    + + {{_i}}Warning!{{/i}} {{_i}}Best check yo self, you're not looking too good.{{/i}} +
    +
    +
    +<div class="alert">
    +  <button type="button" class="close" data-dismiss="alert">&times;</button>
    +  <strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
    +</div>
    +
    + +

    {{_i}}Dismiss buttons{{/i}}

    +

    {{_i}}Mobile Safari and Mobile Opera browsers, in addition to the data-dismiss="alert" attribute, require an href="#" for the dismissal of alerts when using an <a> tag.{{/i}}

    +
    <a href="#" class="close" data-dismiss="alert">&times;</a>
    +

    {{_i}}Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.{{/i}}

    +
    <button type="button" class="close" data-dismiss="alert">&times;</button>
    + +

    {{_i}}Dismiss alerts via JavaScript{{/i}}

    +

    {{_i}}Use the alerts jQuery plugin for quick and easy dismissal of alerts.{{/i}}

    + + +
    + + +

    {{_i}}Options{{/i}}

    +

    {{_i}}For longer messages, increase the padding on the top and bottom of the alert wrapper by adding .alert-block.{{/i}}

    +
    +
    + +

    {{_i}}Warning!{{/i}}

    +

    {{_i}}Best check yo self, you're not looking too good.{{/i}} Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

    +
    +
    +
    +<div class="alert alert-block">
    +  <button type="button" class="close" data-dismiss="alert">&times;</button>
    +  <h4>{{_i}}Warning!{{/i}}</h4>
    +  {{_i}}Best check yo self, you're not...{{/i}}
    +</div>
    +
    + + +
    + + +

    {{_i}}Contextual alternatives{{/i}}

    +

    {{_i}}Add optional classes to change an alert's connotation.{{/i}}

    + +

    {{_i}}Error or danger{{/i}}

    +
    +
    + + {{_i}}Oh snap!{{/i}} {{_i}}Change a few things up and try submitting again.{{/i}} +
    +
    +
    +<div class="alert alert-error">
    +  ...
    +</div>
    +
    + +

    {{_i}}Success{{/i}}

    +
    +
    + + {{_i}}Well done!{{/i}} {{_i}}You successfully read this important alert message.{{/i}} +
    +
    +
    +<div class="alert alert-success">
    +  ...
    +</div>
    +
    + +

    {{_i}}Information{{/i}}

    +
    +
    + + {{_i}}Heads up!{{/i}} {{_i}}This alert needs your attention, but it's not super important.{{/i}} +
    +
    +
    +<div class="alert alert-info">
    +  ...
    +</div>
    +
    + +
    + + + + + +
    + + +

    {{_i}}Examples and markup{{/i}}

    + +

    {{_i}}Basic{{/i}}

    +

    {{_i}}Default progress bar with a vertical gradient.{{/i}}

    +
    +
    +
    +
    +
    +
    +<div class="progress">
    +  <div class="bar" style="width: 60%;"></div>
    +</div>
    +
    + +

    {{_i}}Striped{{/i}}

    +

    {{_i}}Uses a gradient to create a striped effect. Not available in IE7-8.{{/i}}

    +
    +
    +
    +
    +
    +
    +<div class="progress progress-striped">
    +  <div class="bar" style="width: 20%;"></div>
    +</div>
    +
    + +

    {{_i}}Animated{{/i}}

    +

    {{_i}}Add .active to .progress-striped to animate the stripes right to left. Not available in all versions of IE.{{/i}}

    +
    +
    +
    +
    +
    +
    +<div class="progress progress-striped active">
    +  <div class="bar" style="width: 40%;"></div>
    +</div>
    +
    + +

    Stacked

    +

    Place multiple bars into the same .progress to stack them.

    +
    +
    +
    +
    +
    +
    +
    +
    +<div class="progress">
    +  <div class="bar bar-success" style="width: 35%;"></div>
    +  <div class="bar bar-warning" style="width: 20%;"></div>
    +  <div class="bar bar-danger" style="width: 10%;"></div>
    +</div>
    +
    + + +
    + + +

    {{_i}}Options{{/i}}

    + +

    {{_i}}Additional colors{{/i}}

    +

    {{_i}}Progress bars use some of the same button and alert classes for consistent styles.{{/i}}

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +<div class="progress progress-info">
    +  <div class="bar" style="width: 20%"></div>
    +</div>
    +<div class="progress progress-success">
    +  <div class="bar" style="width: 40%"></div>
    +</div>
    +<div class="progress progress-warning">
    +  <div class="bar" style="width: 60%"></div>
    +</div>
    +<div class="progress progress-danger">
    +  <div class="bar" style="width: 80%"></div>
    +</div>
    +
    + +

    {{_i}}Striped bars{{/i}}

    +

    {{_i}}Similar to the solid colors, we have varied striped progress bars.{{/i}}

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +<div class="progress progress-info progress-striped">
    +  <div class="bar" style="width: 20%"></div>
    +</div>
    +<div class="progress progress-success progress-striped">
    +  <div class="bar" style="width: 40%"></div>
    +</div>
    +<div class="progress progress-warning progress-striped">
    +  <div class="bar" style="width: 60%"></div>
    +</div>
    +<div class="progress progress-danger progress-striped">
    +  <div class="bar" style="width: 80%"></div>
    +</div>
    +
    + + +
    + + +

    {{_i}}Browser support{{/i}}

    +

    {{_i}}Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.{{/i}}

    +

    {{_i}}Versions earlier than Internet Explorer 10 and Opera 12 do not support animations.{{/i}}

    + +
    + + + + + +
    + +

    {{_i}}Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.{{/i}}

    + +

    {{_i}}Default example{{/i}}

    +

    {{_i}}The default media allow to float a media object (images, video, audio) to the left or right of a content block.{{/i}}

    +
    +
    + + + +
    +

    {{_i}}Media heading{{/i}}

    + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. +
    +
    +
    + + + +
    +

    {{_i}}Media heading{{/i}}

    + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. +
    + + + +
    +

    {{_i}}Media heading{{/i}}

    + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. +
    +
    +
    +
    +
    {{! /.bs-docs-example }} +
    +<div class="media">
    +  <a class="pull-left" href="#">
    +    <img class="media-object" data-src="holder.js/64x64">
    +  </a>
    +  <div class="media-body">
    +    <h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
    +    ...
    +
    +    <!-- Nested media object -->
    +    <div class="media">
    +      ...
    +    </div>
    +  </div>
    +</div>
    +
    + + +
    + + +

    {{_i}}Media list{{/i}}

    +

    {{_i}}With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).{{/i}}

    +
    +
      +
    • + + + +
      +

      {{_i}}Media heading{{/i}}

      +

      Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.

      + +
      + + + +
      +

      {{_i}}Nested media heading{{/i}}

      + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. + +
      + + + +
      +

      {{_i}}Nested media heading{{/i}}

      + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. +
      +
      +
      +
      + +
      + + + +
      +

      {{_i}}Nested media heading{{/i}}

      + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. +
      +
      +
      +
    • +
    • + + + +
      +

      {{_i}}Media heading{{/i}}

      + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. +
      +
    • +
    +
    +
    +<ul class="media-list">
    +  <li class="media">
    +    <a class="pull-left" href="#">
    +      <img class="media-object" data-src="holder.js/64x64">
    +    </a>
    +    <div class="media-body">
    +      <h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
    +      ...
    +
    +      <!-- Nested media object -->
    +      <div class="media">
    +        ...
    +     </div>
    +    </div>
    +  </li>
    +</ul>
    +
    + +
    + + + + + + +
    + + +

    {{_i}}Wells{{/i}}

    +

    {{_i}}Use the well as a simple effect on an element to give it an inset effect.{{/i}}

    +
    +
    + {{_i}}Look, I'm in a well!{{/i}} +
    +
    +
    +<div class="well">
    +  ...
    +</div>
    +
    +

    {{_i}}Optional classes{{/i}}

    +

    {{_i}}Control padding and rounded corners with two optional modifier classes.{{/i}}

    +
    +
    + {{_i}}Look, I'm in a well!{{/i}} +
    +
    +
    +<div class="well well-large">
    +  ...
    +</div>
    +
    +
    +
    + {{_i}}Look, I'm in a well!{{/i}} +
    +
    +
    +<div class="well well-small">
    +  ...
    +</div>
    +
    + +

    {{_i}}Close icon{{/i}}

    +

    {{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}

    +
    +

    +
    +
    <button class="close">&times;</button>
    +

    {{_i}}iOS devices require an href="#" for click events if you would rather use an anchor.{{/i}}

    +
    <a class="close" href="#">&times;</a>
    + +

    {{_i}}Helper classes{{/i}}

    +

    {{_i}}Simple, focused classes for small display or behavior tweaks.{{/i}}

    + +

    {{_i}}.pull-left{{/i}}

    +

    {{_i}}Float an element left{{/i}}

    +
    +class="pull-left"
    +
    +
    +.pull-left {
    +  float: left;
    +}
    +
    + +

    {{_i}}.pull-right{{/i}}

    +

    {{_i}}Float an element right{{/i}}

    +
    +class="pull-right"
    +
    +
    +.pull-right {
    +  float: right;
    +}
    +
    + +

    {{_i}}.muted{{/i}}

    +

    {{_i}}Change an element's color to #999{{/i}}

    +
    +class="muted"
    +
    +
    +.muted {
    +  color: #999;
    +}
    +
    + +

    {{_i}}.clearfix{{/i}}

    +

    {{_i}}Clear the float on any element{{/i}}

    +
    +class="clearfix"
    +
    +
    +.clearfix {
    +  *zoom: 1;
    +  &:before,
    +  &:after {
    +    display: table;
    +    content: "";
    +  }
    +  &:after {
    +    clear: both;
    +  }
    +}
    +
    + +
    + + + +
    {{! /span9 }} +
    {{! row}} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/docs/templates/pages/customize.mustache b/2/bower_components/bootstrap/docs/templates/pages/customize.mustache new file mode 100644 index 00000000..213b5dbc --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/customize.mustache @@ -0,0 +1,393 @@ + +
    +
    +

    {{_i}}Customize and download{{/i}}

    +

    {{_i}}Download Bootstrap or customize variables, components, JavaScript plugins, and more.{{/i}}

    +
    +
    + + +
    + + +
    + +
    + + + +
    +
    + +
    +
    +

    {{_i}}Scaffolding{{/i}}

    + + + + +

    {{_i}}Base CSS{{/i}}

    + + + + + + + +
    +
    +

    {{_i}}Components{{/i}}

    + + + + + + + + + + + +

    {{_i}}JS Components{{/i}}

    + + + + + + +
    +
    +

    {{_i}}Miscellaneous{{/i}}

    + + + + +

    {{_i}}Responsive{{/i}}

    + + + + + +
    +
    +
    + +
    + +
    +
    + + + + + + + +
    +
    + + + + + + +
    +
    +

    {{_i}}Heads up!{{/i}}

    +

    {{_i}}All checked plugins will be compiled into a single file, bootstrap.js. All plugins require the latest version of jQuery to be included.{{/i}}

    +
    +
    +
    + + +
    + +
    +
    +

    {{_i}}Scaffolding{{/i}}

    + + + + + +

    {{_i}}Links{{/i}}

    + + + + +

    {{_i}}Colors{{/i}}

    + + + + + + + + + + + + + + + +

    {{_i}}Sprites{{/i}}

    + + + + + +

    {{_i}}Grid system{{/i}}

    + + + + + + + + + + + + + + + +
    +
    + +

    {{_i}}Typography{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {{_i}}Tables{{/i}}

    + + + + + + + + + +

    {{_i}}Forms{{/i}}

    + + + + + + + + + + + + + + + + + +
    +
    + +

    {{_i}}Form states & alerts{{/i}}

    + + + + + + + + + + + + + + + + + +

    {{_i}}Navbar{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    {{_i}}Dropdowns{{/i}}

    + + + + + + + + + + +
    +
    +
    + +
    + +
    + {{_i}}Customize and Download{{/i}} +

    {{_i}}What's included?{{/i}}

    +

    {{_i}}Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.{{/i}}

    +
    +
    +
    + + + +
    {{! /span9 }} +
    {{! row}} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/docs/templates/pages/extend.mustache b/2/bower_components/bootstrap/docs/templates/pages/extend.mustache new file mode 100644 index 00000000..5f7dc8c5 --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/extend.mustache @@ -0,0 +1,161 @@ + +
    +
    +

    {{_i}}Extending Bootstrap{{/i}}

    +

    {{_i}}Extend Bootstrap to take advantage of included styles and components, as well as LESS variables and mixins.{{/i}}

    +
    +
    + +
    + + +
    + +
    + + + + +
    + + + LESS CSS +

    {{_i}}Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, Alexis Sellier. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}

    + +

    {{_i}}Why LESS?{{/i}}

    +

    {{_i}}One of Bootstrap's creators wrote a quick blog post about this, summarized here:{{/i}}

    +
      +
    • {{_i}}Bootstrap compiles faster ~6x faster with Less compared to Sass{{/i}}
    • +
    • {{_i}}Less is written in JavaScript, making it easier to us to dive in and patch compared to Ruby with Sass.{{/i}}
    • +
    • {{_i}}Less is more; we want to feel like we're writing CSS and making Bootstrap approachable to all.{{/i}}
    • +
    + +

    {{_i}}What's included?{{/i}}

    +

    {{_i}}As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.{{/i}}

    + +

    {{_i}}Learn more{{/i}}

    +

    {{_i}}Visit the official website at http://lesscss.org to learn more.{{/i}}

    +
    + + + + +
    + + +

    {{_i}}Since our CSS is written with Less and utilizes variables and mixins, it needs to be compiled for final production implementation. Here's how.{{/i}}

    + +
    + {{_i}}Note: If you're submitting a pull request to GitHub with modified CSS, you must recompile the CSS via any of these methods.{{/i}} +
    + +

    {{_i}}Tools for compiling{{/i}}

    + +

    {{_i}}Command line{{/i}}

    +

    {{_i}}Follow the instructions in the project readme on GitHub for compiling via command line.{{/i}}

    + +

    {{_i}}JavaScript{{/i}}

    +

    {{_i}}Download the latest Less.js and include the path to it (and Bootstrap) in the <head>.{{/i}}

    +
    +<link rel="stylesheet/less" href="/path/to/bootstrap.less">
    +<script src="/path/to/less.js"></script>
    +
    +

    {{_i}}To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.{{/i}}

    + +

    {{_i}}Unofficial Mac app{{/i}}

    +

    {{_i}}The unofficial Mac app watches directories of .less files and compiles the code to local files after every save of a watched .less file. If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}

    + +

    {{_i}}More apps{{/i}}

    +

    Crunch

    +

    {{_i}}Crunch is a great looking LESS editor and compiler built on Adobe Air.{{/i}}

    +

    CodeKit

    +

    {{_i}}Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.{{/i}}

    +

    Simpless

    +

    {{_i}}Mac, Linux, and Windows app for drag and drop compiling of LESS files. Plus, the source code is on GitHub.{{/i}}

    + +
    + + + + +
    + +

    {{_i}}Quickly start any web project by dropping in the compiled or minified CSS and JS. Layer on custom styles separately for easy upgrades and maintenance moving forward.{{/i}}

    + +

    {{_i}}Setup file structure{{/i}}

    +

    {{_i}}Download the latest compiled Bootstrap and place into your project. For example, you might have something like this:{{/i}}

    +
    +   app/
    +       layouts/
    +       templates/
    +   public/
    +       css/
    +           bootstrap.min.css
    +       js/
    +           bootstrap.min.js
    +       img/
    +           glyphicons-halflings.png
    +           glyphicons-halflings-white.png
    +
    + +

    {{_i}}Utilize starter template{{/i}}

    +

    {{_i}}Copy the following base HTML to get started.{{/i}}

    +
    +<html>
    +  <head>
    +    <title>Bootstrap 101 Template</title>
    +    <!-- Bootstrap -->
    +    <link href="public/css/bootstrap.min.css" rel="stylesheet">
    +  </head>
    +  <body>
    +    <h1>Hello, world!</h1>
    +    <!-- Bootstrap -->
    +    <script src="public/js/bootstrap.min.js"></script>
    +  </body>
    +</html>
    +
    + +

    {{_i}}Layer on custom code{{/i}}

    +

    {{_i}}Work in your custom CSS, JS, and more as necessary to make Bootstrap your own with your own separate CSS and JS files.{{/i}}

    +
    +<html>
    +  <head>
    +    <title>Bootstrap 101 Template</title>
    +    <!-- Bootstrap -->
    +    <link href="public/css/bootstrap.min.css" rel="stylesheet">
    +    <!-- Project -->
    +    <link href="public/css/application.css" rel="stylesheet">
    +  </head>
    +  <body>
    +    <h1>Hello, world!</h1>
    +    <!-- Bootstrap -->
    +    <script src="public/js/bootstrap.min.js"></script>
    +    <!-- Project -->
    +    <script src="public/js/application.js"></script>
    +  </body>
    +</html>
    +
    + +
    + +
    {{! /span9 }} +
    {{! row}} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/docs/templates/pages/getting-started.mustache b/2/bower_components/bootstrap/docs/templates/pages/getting-started.mustache new file mode 100644 index 00000000..32d61f74 --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/getting-started.mustache @@ -0,0 +1,256 @@ + +
    +
    +

    {{_i}}Getting started{{/i}}

    +

    {{_i}}Overview of the project, its contents, and how to get started with a simple template.{{/i}}

    +
    +
    + + +
    + + +
    + +
    + + + + +
    + +

    {{_i}}Before downloading, be sure to have a code editor (we recommend Sublime Text 2) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled Bootstrap files.{{/i}}

    + +
    +
    +

    {{_i}}Download compiled{{/i}}

    +

    {{_i}}Fastest way to get started: get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.{{/i}}

    +

    {{_i}}Download Bootstrap{{/i}}

    +
    +
    +

    Download source

    +

    Get the original files for all CSS and JavaScript, along with a local copy of the docs by downloading the latest version directly from GitHub.

    +

    {{_i}}Download Bootstrap source{{/i}}

    +
    +
    +
    + + + + +
    + +

    {{_i}}Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations.{{/i}}

    +

    {{_i}}Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:{{/i}}

    +
    +  bootstrap/
    +  ├── css/
    +  │   ├── bootstrap.css
    +  │   ├── bootstrap.min.css
    +  ├── js/
    +  │   ├── bootstrap.js
    +  │   ├── bootstrap.min.js
    +  └── img/
    +      ├── glyphicons-halflings.png
    +      └── glyphicons-halflings-white.png
    +
    +

    {{_i}}This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.{{/i}}

    +

    {{_i}}Please note that all JavaScript plugins require jQuery to be included.{{/i}}

    +
    + + + + +
    + +

    {{_i}}Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation.{{/i}}

    + +

    {{_i}}Docs sections{{/i}}

    +

    {{_i}}Scaffolding{{/i}}

    +

    {{_i}}Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.{{/i}}

    +

    {{_i}}Base CSS{{/i}}

    +

    {{_i}}Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.{{/i}}

    +

    {{_i}}Components{{/i}}

    +

    {{_i}}Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.{{/i}}

    +

    {{_i}}JavaScript plugins{{/i}}

    +

    {{_i}}Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.{{/i}}

    + +

    {{_i}}List of components{{/i}}

    +

    {{_i}}Together, the Components and JavaScript plugins sections provide the following interface elements:{{/i}}

    +
      +
    • {{_i}}Button groups{{/i}}
    • +
    • {{_i}}Button dropdowns{{/i}}
    • +
    • {{_i}}Navigational tabs, pills, and lists{{/i}}
    • +
    • {{_i}}Navbar{{/i}}
    • +
    • {{_i}}Labels{{/i}}
    • +
    • {{_i}}Badges{{/i}}
    • +
    • {{_i}}Page headers and hero unit{{/i}}
    • +
    • {{_i}}Thumbnails{{/i}}
    • +
    • {{_i}}Alerts{{/i}}
    • +
    • {{_i}}Progress bars{{/i}}
    • +
    • {{_i}}Modals{{/i}}
    • +
    • {{_i}}Dropdowns{{/i}}
    • +
    • {{_i}}Tooltips{{/i}}
    • +
    • {{_i}}Popovers{{/i}}
    • +
    • {{_i}}Accordion{{/i}}
    • +
    • {{_i}}Carousel{{/i}}
    • +
    • {{_i}}Typeahead{{/i}}
    • +
    +

    {{_i}}In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.{{/i}}

    +
    + + + + +
    + +

    {{_i}}With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the File structure.{{/i}}

    +

    {{_i}}Now, here's a look at a typical HTML file:{{/i}}

    +
    +<!DOCTYPE html>
    +<html>
    +  <head>
    +    <title>Bootstrap 101 Template</title>
    +    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    +  </head>
    +  <body>
    +    <h1>Hello, world!</h1>
    +    <script src="http://code.jquery.com/jquery.js"></script>
    +  </body>
    +</html>
    +
    +

    {{_i}}To make this a Bootstrapped template, just include the appropriate CSS and JS files:{{/i}}

    +
    +<!DOCTYPE html>
    +<html>
    +  <head>
    +    <title>Bootstrap 101 Template</title>
    +    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    +    <!-- Bootstrap -->
    +    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    +  </head>
    +  <body>
    +    <h1>Hello, world!</h1>
    +    <script src="http://code.jquery.com/jquery.js"></script>
    +    <script src="js/bootstrap.min.js"></script>
    +  </body>
    +</html>
    +
    +

    {{_i}}And you're set! With those two files added, you can begin to develop any site or application with Bootstrap.{{/i}}

    +
    + + + + +
    + +

    {{_i}}Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.{{/i}}

    +
      +
    • + + + +

      {{_i}}Starter template{{/i}}

      +

      {{_i}}A barebones HTML document with all the Bootstrap CSS and JavaScript included.{{/i}}

      +
    • +
    • + + + +

      {{_i}}Basic marketing site{{/i}}

      +

      {{_i}}Featuring a hero unit for a primary message and three supporting elements.{{/i}}

      +
    • +
    • + + + +

      {{_i}}Fluid layout{{/i}}

      +

      {{_i}}Uses our new responsive, fluid grid system to create a seamless liquid layout.{{/i}}

      +
    • + +
    • + + + +

      {{_i}}Narrow marketing{{/i}}

      +

      {{_i}}Slim, lightweight marketing template for small projects or teams.{{/i}}

      +
    • +
    • + + + +

      {{_i}}Justified nav{{/i}}

      +

      {{_i}}Marketing page with equal-width navigation links in a modified navbar.{{/i}}

      +
    • +
    • + + + +

      {{_i}}Sign in{{/i}}

      +

      {{_i}}Barebones sign in form with custom, larger form controls and a flexible layout.{{/i}}

      +
    • + +
    • + + + +

      {{_i}}Sticky footer{{/i}}

      +

      {{_i}}Pin a fixed-height footer to the bottom of the user's viewport.{{/i}}

      +
    • +
    • + + + +

      {{_i}}Carousel jumbotron{{/i}}

      +

      {{_i}}A more interactive riff on the basic marketing site featuring a prominent carousel.{{/i}}

      +
    • +
    +
    + + + + + +
    + +

    {{_i}}Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.{{/i}}

    + {{_i}}Visit the Bootstrap docs{{/i}} + {{_i}}Customize Bootstrap{{/i}} +
    + + + + +
    {{! /span9 }} +
    {{! row}} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/docs/templates/pages/index.mustache b/2/bower_components/bootstrap/docs/templates/pages/index.mustache new file mode 100644 index 00000000..4fb7f1cb --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/index.mustache @@ -0,0 +1,100 @@ +
    +
    +

    {{_i}}Bootstrap{{/i}}

    +

    {{_i}}Sleek, intuitive, and powerful front-end framework for faster and easier web development.{{/i}}

    +

    + {{_i}}Download Bootstrap{{/i}} +

    + +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +

    {{_i}}Introducing Bootstrap.{{/i}}

    + + +
    +
    + +

    {{_i}}By nerds, for nerds.{{/i}}

    +

    {{_i}}Built at Twitter by @mdo and @fat, Bootstrap utilizes LESS CSS, is compiled via Node, and is managed through GitHub to help nerds do awesome stuff on the web.{{/i}}

    +
    +
    + +

    {{_i}}Made for everyone.{{/i}}

    +

    {{_i}}Bootstrap was made to not only look and behave great in the latest desktop browsers (as well as IE7!), but in tablet and smartphone browsers via responsive CSS as well.{{/i}}

    +
    +
    + +

    {{_i}}Packed with features.{{/i}}

    +

    {{_i}}A 12-column responsive grid, dozens of components, JavaScript plugins, typography, form controls, and even a web-based Customizer to make Bootstrap your own.{{/i}}

    +
    +
    + +
    + +

    {{_i}}Built with Bootstrap.{{/i}}

    + +
    + +
    + +
    {{! /.marketing }} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/docs/templates/pages/javascript.mustache b/2/bower_components/bootstrap/docs/templates/pages/javascript.mustache new file mode 100644 index 00000000..2b16c940 --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/javascript.mustache @@ -0,0 +1,1660 @@ + +
    +
    +

    {{_i}}JavaScript{{/i}}

    +

    {{_i}}Bring Bootstrap's components to life—now with 13 custom jQuery plugins.{{/i}} +

    +
    + +
    + + +
    + +
    + + + +
    + + +

    {{_i}}Individual or compiled{{/i}}

    +

    {{_i}}Plugins can be included individually (though some have required dependencies), or all at once. Both bootstrap.js and bootstrap.min.js contain all plugins in a single file.{{/i}}

    + +

    {{_i}}Data attributes{{/i}}

    +

    {{_i}}You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first class API and should be your first consideration when using a plugin.{{/i}}

    + +

    {{_i}}That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:{{/i}} +

    $('body').off('.data-api')
    + +

    {{_i}}Alternatively, to target a specific plugin, just include the plugin's name as a namespace along with the data-api namespace like this:{{/i}}

    +
    $('body').off('.alert.data-api')
    + +

    {{_i}}Programmatic API{{/i}}

    +

    {{_i}}We also believe you should be able to use all Bootstrap plugins purely through the JavaScript API. All public APIs are single, chainable methods, and return the collection acted upon.{{/i}}

    +
    $(".btn.danger").button("toggle").addClass("fat")
    +

    {{_i}}All methods should accept an optional options object, a string which targets a particular method, or nothing (which initiates a plugin with default behavior):{{/i}}

    +
    +$("#myModal").modal()                       // initialized with defaults
    +$("#myModal").modal({ keyboard: false })   // initialized with no keyboard
    +$("#myModal").modal('show')                // initializes and invokes show immediately

    +
    +

    {{_i}}Each plugin also exposes its raw constructor on a `Constructor` property: $.fn.popover.Constructor. If you'd like to get a particular plugin instance, retrieve it directly from an element: $('[rel=popover]').data('popover').{{/i}}

    + +

    {{_i}}No Conflict{{/i}}

    +

    {{_i}}Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call .noConflict on the plugin you wish to revert the value of.{{/i}}

    + +
    +var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
    +$.fn.bootstrapBtn = bootstrapButton            // give $().bootstrapBtn the bootstrap functionality
    +
    + +

    {{_i}}Events{{/i}}

    +

    {{_i}}Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. show) is triggered at the start of an event, and its past participle form (ex. shown) is trigger on the completion of an action.{{/i}}

    +

    {{_i}}All infinitive events provide preventDefault functionality. This provides the ability to stop the execution of an action before it starts.{{/i}}

    +
    +$('#myModal').on('show', function (e) {
    +    if (!data) return e.preventDefault() // stops modal from being shown
    +})
    +
    +
    + + + + +
    + +

    {{_i}}About transitions{{/i}}

    +

    {{_i}}For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this—it's already there.{{/i}}

    +

    {{_i}}Use cases{{/i}}

    +

    {{_i}}A few examples of the transition plugin:{{/i}}

    +
      +
    • {{_i}}Sliding or fading in modals{{/i}}
    • +
    • {{_i}}Fading out tabs{{/i}}
    • +
    • {{_i}}Fading out alerts{{/i}}
    • +
    • {{_i}}Sliding carousel panes{{/i}}
    • +
    + + {{! Ideas: include docs for .fade.in, .slide.in, etc }} +
    + + + + +
    + + + +

    {{_i}}Examples{{/i}}

    +

    {{_i}}Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.{{/i}}

    + +

    {{_i}}Static example{{/i}}

    +

    {{_i}}A rendered modal with header, body, and set of actions in the footer.{{/i}}

    +
    + +
    {{! /example }} +
    +<div class="modal hide fade">
    +  <div class="modal-header">
    +    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    +    <h3>{{_i}}Modal header{{/i}}</h3>
    +  </div>
    +  <div class="modal-body">
    +    <p>{{_i}}One fine body…{{/i}}</p>
    +  </div>
    +  <div class="modal-footer">
    +    <a href="#" class="btn">{{_i}}Close{{/i}}</a>
    +    <a href="#" class="btn btn-primary">{{_i}}Save changes{{/i}}</a>
    +  </div>
    +</div>
    +
    + +

    {{_i}}Live demo{{/i}}

    +

    {{_i}}Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.{{/i}}

    + + + {{! /example }} +
    +<!-- Button to trigger modal -->
    +<a href="#myModal" role="button" class="btn" data-toggle="modal">{{_i}}Launch demo modal{{/i}}</a>
    +
    +<!-- Modal -->
    +<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    +  <div class="modal-header">
    +    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    +    <h3 id="myModalLabel">Modal header</h3>
    +  </div>
    +  <div class="modal-body">
    +    <p>{{_i}}One fine body…{{/i}}</p>
    +  </div>
    +  <div class="modal-footer">
    +    <button class="btn" data-dismiss="modal" aria-hidden="true">{{_i}}Close{{/i}}</button>
    +    <button class="btn btn-primary">{{_i}}Save changes{{/i}}</button>
    +  </div>
    +</div>
    +
    + + +
    + + +

    {{_i}}Usage{{/i}}

    + +

    {{_i}}Via data attributes{{/i}}

    +

    {{_i}}Activate a modal without writing JavaScript. Set data-toggle="modal" on a controller element, like a button, along with a data-target="#foo" or href="#foo" to target a specific modal to toggle.{{/i}}

    +
    <button type="button" data-toggle="modal" data-target="#myModal">Launch modal</button>
    + +

    {{_i}}Via JavaScript{{/i}}

    +

    {{_i}}Call a modal with id myModal with a single line of JavaScript:{{/i}}

    +
    $('#myModal').modal(options)
    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-backdrop="".{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}type{{/i}}{{_i}}default{{/i}}{{_i}}description{{/i}}
    {{_i}}backdrop{{/i}}{{_i}}boolean{{/i}}{{_i}}true{{/i}}{{_i}}Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.{{/i}}
    {{_i}}keyboard{{/i}}{{_i}}boolean{{/i}}{{_i}}true{{/i}}{{_i}}Closes the modal when escape key is pressed{{/i}}
    {{_i}}show{{/i}}{{_i}}boolean{{/i}}{{_i}}true{{/i}}{{_i}}Shows the modal when initialized.{{/i}}
    {{_i}}remote{{/i}}{{_i}}path{{/i}}{{_i}}false{{/i}}

    {{_i}}If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:{{/i}}

    +
    <a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
    + + Methods{{/i}} +

    .modal({{_i}}options{{/i}})

    +

    {{_i}}Activates your content as a modal. Accepts an optional options object.{{/i}}

    +
    +$('#myModal').modal({
    +  keyboard: false
    +})
    +
    +

    .modal('toggle')

    +

    {{_i}}Manually toggles a modal.{{/i}}

    +
    $('#myModal').modal('toggle')
    +

    .modal('show')

    +

    {{_i}}Manually opens a modal.{{/i}}

    +
    $('#myModal').modal('show')
    +

    .modal('hide')

    +

    {{_i}}Manually hides a modal.{{/i}}

    +
    $('#myModal').modal('hide')
    +

    {{_i}}Events{{/i}}

    +

    {{_i}}Bootstrap's modal class exposes a few events for hooking into modal functionality.{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Event{{/i}}{{_i}}Description{{/i}}
    {{_i}}show{{/i}}{{_i}}This event fires immediately when the show instance method is called.{{/i}}
    {{_i}}shown{{/i}}{{_i}}This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).{{/i}}
    {{_i}}hide{{/i}}{{_i}}This event is fired immediately when the hide instance method has been called.{{/i}}
    {{_i}}hidden{{/i}}{{_i}}This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).{{/i}}
    +
    +$('#myModal').on('hidden', function () {
    +  // {{_i}}do something…{{/i}}
    +})
    +
    +
    + + + + + + + + + +
    + + + +

    {{_i}}Example in navbar{{/i}}

    +

    {{_i}}The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.{{/i}}

    +
    + +
    +

    @fat

    +

    Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.

    +

    @mdo

    +

    Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.

    +

    one

    +

    Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.

    +

    two

    +

    In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.

    +

    three

    +

    Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.

    +

    Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats. +

    +
    +
    {{! /example }} + + +
    + + +

    {{_i}}Usage{{/i}}

    + +

    {{_i}}Via data attributes{{/i}}

    +

    {{_i}}To easily add scrollspy behavior to your topbar navigation, just add data-spy="scroll" to the element you want to spy on (most typically this would be the body) and data-target=".navbar" to select which nav to use. You'll want to use scrollspy with a .nav component.{{/i}}

    +
    <body data-spy="scroll" data-target=".navbar">...</body>
    + +

    {{_i}}Via JavaScript{{/i}}

    +

    {{_i}}Call the scrollspy via JavaScript:{{/i}}

    +
    $('#navbar').scrollspy()
    + +
    + {{_i}}Heads up!{{/i}} + {{_i}}Navbar links must have resolvable id targets. For example, a <a href="#home">home</a> must correspond to something in the dom like <div id="home"></div>.{{/i}} +
    + +

    {{_i}}Methods{{/i}}

    +

    .scrollspy('refresh')

    +

    {{_i}}When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:{{/i}}

    +
    +$('[data-spy="scroll"]').each(function () {
    +  var $spy = $(this).scrollspy('refresh')
    +});
    +
    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset="".{{/i}}

    + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}type{{/i}}{{_i}}default{{/i}}{{_i}}description{{/i}}
    {{_i}}offset{{/i}}{{_i}}number{{/i}}{{_i}}10{{/i}}{{_i}}Pixels to offset from top when calculating position of scroll.{{/i}}
    + +

    {{_i}}Events{{/i}}

    + + + + + + + + + + + + + +
    {{_i}}Event{{/i}}{{_i}}Description{{/i}}
    {{_i}}activate{{/i}}{{_i}}This event fires whenever a new item becomes activated by the scrollspy.{{/i}}
    +
    + + + + +
    + + + +

    {{_i}}Example tabs{{/i}}

    +

    {{_i}}Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.{{/i}}

    +
    + +
    +
    +

    Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.

    +
    +
    +

    Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.

    +
    + + +
    +
    {{! /example }} + + +
    + + +

    {{_i}}Usage{{/i}}

    +

    {{_i}}Enable tabbable tabs via JavaScript (each tab needs to be activated individually):{{/i}}

    +
    +$('#myTab a').click(function (e) {
    +  e.preventDefault();
    +  $(this).tab('show');
    +})
    +

    {{_i}}You can activate individual tabs in several ways:{{/i}}

    +
    +$('#myTab a[href="#profile"]').tab('show'); // Select tab by name
    +$('#myTab a:first').tab('show'); // Select first tab
    +$('#myTab a:last').tab('show'); // Select last tab
    +$('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
    +
    + +

    {{_i}}Markup{{/i}}

    +

    {{_i}}You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling.{{/i}}

    +
    +<ul class="nav nav-tabs">
    +  <li><a href="#home" data-toggle="tab">{{_i}}Home{{/i}}</a></li>
    +  <li><a href="#profile" data-toggle="tab">{{_i}}Profile{{/i}}</a></li>
    +  <li><a href="#messages" data-toggle="tab">{{_i}}Messages{{/i}}</a></li>
    +  <li><a href="#settings" data-toggle="tab">{{_i}}Settings{{/i}}</a></li>
    +</ul>
    + +

    {{_i}}Methods{{/i}}

    +

    $().tab

    +

    + {{_i}}Activates a tab element and content container. Tab should have either a data-target or an href targeting a container node in the DOM.{{/i}} +

    +
    +<ul class="nav nav-tabs" id="myTab">
    +  <li class="active"><a href="#home">{{_i}}Home{{/i}}</a></li>
    +  <li><a href="#profile">{{_i}}Profile{{/i}}</a></li>
    +  <li><a href="#messages">{{_i}}Messages{{/i}}</a></li>
    +  <li><a href="#settings">{{_i}}Settings{{/i}}</a></li>
    +</ul>
    +
    +<div class="tab-content">
    +  <div class="tab-pane active" id="home">...</div>
    +  <div class="tab-pane" id="profile">...</div>
    +  <div class="tab-pane" id="messages">...</div>
    +  <div class="tab-pane" id="settings">...</div>
    +</div>
    +
    +<script>
    +  $(function () {
    +    $('#myTab a:last').tab('show');
    +  })
    +</script>
    +
    + +

    {{_i}}Events{{/i}}

    + + + + + + + + + + + + + + + + + +
    {{_i}}Event{{/i}}{{_i}}Description{{/i}}
    {{_i}}show{{/i}}{{_i}}This event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.{{/i}}
    {{_i}}shown{{/i}}{{_i}}This event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.{{/i}}
    +
    +$('a[data-toggle="tab"]').on('shown', function (e) {
    +  e.target // activated tab
    +  e.relatedTarget // previous tab
    +})
    +
    +
    + + + +
    + + + +

    {{_i}}Examples{{/i}}

    +

    {{_i}}Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.{{/i}}

    +

    {{_i}}For performance reasons, the tooltip and popover data-apis are opt in, meaning you must initialize them yourself.{{/i}}

    +

    {{_i}}Hover over the links below to see tooltips:{{/i}}

    +
    +

    {{_i}}Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral.{{/i}} +

    +
    {{! /example }} + +

    {{_i}}Four directions{{/i}}

    + {{! /example }} + + +

    {{_i}}Tooltips in input groups{{/i}}

    +

    {{_i}}When using tooltips and popovers with the Bootstrap input groups, you'll have to set the container (documented below) option to avoid unwanted side effects.{{/i}}

    + +
    + + +

    {{_i}}Usage{{/i}}

    +

    {{_i}}Trigger the tooltip via JavaScript:{{/i}}

    +
    $('#example').tooltip({{_i}}options{{/i}})
    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}type{{/i}}{{_i}}default{{/i}}{{_i}}description{{/i}}
    {{_i}}animation{{/i}}{{_i}}boolean{{/i}}true{{_i}}apply a css fade transition to the tooltip{{/i}}
    {{_i}}html{{/i}}{{_i}}boolean{{/i}}false{{_i}}Insert html into the tooltip. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}
    {{_i}}placement{{/i}}{{_i}}string | function{{/i}}'top'{{_i}}how to position the tooltip{{/i}} - top | bottom | left | right
    {{_i}}selector{{/i}}{{_i}}string{{/i}}false{{_i}}If a selector is provided, tooltip objects will be delegated to the specified targets.{{/i}}
    {{_i}}title{{/i}}{{_i}}string | function{{/i}}''{{_i}}default title value if `title` tag isn't present{{/i}}
    {{_i}}trigger{{/i}}{{_i}}string{{/i}}'hover focus'{{_i}}how tooltip is triggered{{/i}} - click | hover | focus | manual. {{_i}}Note you case pass trigger mutliple, space seperated, trigger types.{{/i}}
    {{_i}}delay{{/i}}{{_i}}number | object{{/i}}0 +

    {{_i}}delay showing and hiding the tooltip (ms) - does not apply to manual trigger type{{/i}}

    +

    {{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}

    +

    {{_i}}Object structure is: delay: { show: 500, hide: 100 }{{/i}}

    +
    {{_i}}container{{/i}}{{_i}}string | false{{/i}}{{_i}}false{{/i}} +

    {{_i}}Appends the tooltip to a specific element container: 'body'{{/i}}

    +
    +
    + {{_i}}Heads up!{{/i}} + {{_i}}Options for individual tooltips can alternatively be specified through the use of data attributes.{{/i}} +
    + +

    {{_i}}Markup{{/i}}

    +
    <a href="#" data-toggle="tooltip" title="{{_i}}first tooltip{{/i}}">{{_i}}hover over me{{/i}}</a>
    + +

    {{_i}}Methods{{/i}}

    +

    $().tooltip({{_i}}options{{/i}})

    +

    {{_i}}Attaches a tooltip handler to an element collection.{{/i}}

    +

    .tooltip('show')

    +

    {{_i}}Reveals an element's tooltip.{{/i}}

    +
    $('#element').tooltip('show')
    +

    .tooltip('hide')

    +

    {{_i}}Hides an element's tooltip.{{/i}}

    +
    $('#element').tooltip('hide')
    +

    .tooltip('toggle')

    +

    {{_i}}Toggles an element's tooltip.{{/i}}

    +
    $('#element').tooltip('toggle')
    +

    .tooltip('destroy')

    +

    {{_i}}Hides and destroys an element's tooltip.{{/i}}

    +
    $('#element').tooltip('destroy')
    +
    + + + + +
    + + +

    {{_i}}Examples{{/i}}

    +

    {{_i}}Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. Requires Tooltip to be included.{{/i}}

    + +

    {{_i}}Static popover{{/i}}

    +

    {{_i}}Four options are available: top, right, bottom, and left aligned.{{/i}}

    +
    +
    +
    +

    Popover top

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    Popover right

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    Popover bottom

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    Popover left

    +
    +

    Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

    +
    +
    + +
    +
    +

    {{_i}}No markup shown as popovers are generated from JavaScript and content within a data attribute.{{/i}}

    + +

    Live demo

    + + +

    {{_i}}Four directions{{/i}}

    + {{! /example }} + + +
    + + +

    {{_i}}Usage{{/i}}

    +

    {{_i}}Enable popovers via JavaScript:{{/i}}

    +
    $('#example').popover({{_i}}options{{/i}})
    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}type{{/i}}{{_i}}default{{/i}}{{_i}}description{{/i}}
    {{_i}}animation{{/i}}{{_i}}boolean{{/i}}true{{_i}}apply a css fade transition to the tooltip{{/i}}
    {{_i}}html{{/i}}{{_i}}boolean{{/i}}false{{_i}}Insert html into the popover. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}
    {{_i}}placement{{/i}}{{_i}}string | function{{/i}}'right'{{_i}}how to position the popover{{/i}} - top | bottom | left | right
    {{_i}}selector{{/i}}{{_i}}string{{/i}}false{{_i}}if a selector is provided, tooltip objects will be delegated to the specified targets{{/i}}
    {{_i}}trigger{{/i}}{{_i}}string{{/i}}'click'{{_i}}how popover is triggered{{/i}} - click | hover | focus | manual
    {{_i}}title{{/i}}{{_i}}string | function{{/i}}''{{_i}}default title value if `title` attribute isn't present{{/i}}
    {{_i}}content{{/i}}{{_i}}string | function{{/i}}''{{_i}}default content value if `data-content` attribute isn't present{{/i}}
    {{_i}}delay{{/i}}{{_i}}number | object{{/i}}0 +

    {{_i}}delay showing and hiding the popover (ms) - does not apply to manual trigger type{{/i}}

    +

    {{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}

    +

    {{_i}}Object structure is: delay: { show: 500, hide: 100 }{{/i}}

    +
    {{_i}}container{{/i}}{{_i}}string | false{{/i}}{{_i}}false{{/i}} +

    {{_i}}Appends the popover to a specific element container: 'body'{{/i}}

    +
    +
    + {{_i}}Heads up!{{/i}} + {{_i}}Options for individual popovers can alternatively be specified through the use of data attributes.{{/i}} +
    + +

    {{_i}}Markup{{/i}}

    +

    {{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.{{/i}}

    + +

    {{_i}}Methods{{/i}}

    +

    $().popover({{_i}}options{{/i}})

    +

    {{_i}}Initializes popovers for an element collection.{{/i}}

    +

    .popover('show')

    +

    {{_i}}Reveals an elements popover.{{/i}}

    +
    $('#element').popover('show')
    +

    .popover('hide')

    +

    {{_i}}Hides an elements popover.{{/i}}

    +
    $('#element').popover('hide')
    +

    .popover('toggle')

    +

    {{_i}}Toggles an elements popover.{{/i}}

    +
    $('#element').popover('toggle')
    +

    .popover('destroy')

    +

    {{_i}}Hides and destroys an element's popover.{{/i}}

    +
    $('#element').popover('destroy')
    +
    + + + + +
    + + + +

    {{_i}}Example alerts{{/i}}

    +

    {{_i}}Add dismiss functionality to all alert messages with this plugin.{{/i}}

    +
    +
    + + {{_i}}Holy guacamole!{{/i}} {{_i}}Best check yo self, you're not looking too good.{{/i}} +
    +
    {{! /example }} + +
    +
    + +

    {{_i}}Oh snap! You got an error!{{/i}}

    +

    {{_i}}Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.{{/i}}

    +

    + {{_i}}Take this action{{/i}} {{_i}}Or do this{{/i}} +

    +
    +
    {{! /example }} + + +
    + + +

    {{_i}}Usage{{/i}}

    +

    {{_i}}Enable dismissal of an alert via JavaScript:{{/i}}

    +
    $(".alert").alert()
    + +

    {{_i}}Markup{{/i}}

    +

    {{_i}}Just add data-dismiss="alert" to your close button to automatically give an alert close functionality.{{/i}}

    +
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    + +

    {{_i}}Methods{{/i}}

    +

    $().alert()

    +

    {{_i}}Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade and .in class already applied to them.{{/i}}

    +

    .alert('close')

    +

    {{_i}}Closes an alert.{{/i}}

    +
    $(".alert").alert('close')
    + + +

    {{_i}}Events{{/i}}

    +

    {{_i}}Bootstrap's alert class exposes a few events for hooking into alert functionality.{{/i}}

    + + + + + + + + + + + + + + + + + +
    {{_i}}Event{{/i}}{{_i}}Description{{/i}}
    {{_i}}close{{/i}}{{_i}}This event fires immediately when the close instance method is called.{{/i}}
    {{_i}}closed{{/i}}{{_i}}This event is fired when the alert has been closed (will wait for css transitions to complete).{{/i}}
    +
    +$('#my-alert').bind('closed', function () {
    +  // {{_i}}do something…{{/i}}
    +})
    +
    +
    + + + + +
    + + +

    {{_i}}Example uses{{/i}}

    +

    {{_i}}Do more with buttons. Control button states or create groups of buttons for more components like toolbars.{{/i}}

    + +

    {{_i}}Stateful{{/i}}

    +

    {{_i}}Add data-loading-text="Loading..." to use a loading state on a button.{{/i}}

    +
    + +
    {{! /example }} +
    <button type="button" class="btn btn-primary" data-loading-text="Loading...">Loading state</button>
    + +

    {{_i}}Single toggle{{/i}}

    +

    {{_i}}Add data-toggle="button" to activate toggling on a single button.{{/i}}

    +
    + +
    {{! /example }} +
    <button type="button" class="btn btn-primary" data-toggle="button">Single Toggle</button>
    + +

    {{_i}}Checkbox{{/i}}

    +

    {{_i}}Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.{{/i}}

    +
    +
    + + + +
    +
    {{! /example }} +
    +<div class="btn-group" data-toggle="buttons-checkbox">
    +  <button type="button" class="btn btn-primary">Left</button>
    +  <button type="button" class="btn btn-primary">Middle</button>
    +  <button type="button" class="btn btn-primary">Right</button>
    +</div>
    +
    + +

    {{_i}}Radio{{/i}}

    +

    {{_i}}Add data-toggle="buttons-radio" for radio style toggling on btn-group.{{/i}}

    +
    +
    + + + +
    +
    {{! /example }} +
    +<div class="btn-group" data-toggle="buttons-radio">
    +  <button type="button" class="btn btn-primary">Left</button>
    +  <button type="button" class="btn btn-primary">Middle</button>
    +  <button type="button" class="btn btn-primary">Right</button>
    +</div>
    +
    + + +
    + + +

    {{_i}}Usage{{/i}}

    +

    {{_i}}Enable buttons via JavaScript:{{/i}}

    +
    $('.nav-tabs').button()
    + +

    {{_i}}Markup{{/i}}

    +

    {{_i}}Data attributes are integral to the button plugin. Check out the example code below for the various markup types.{{/i}}

    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}None{{/i}}

    + +

    {{_i}}Methods{{/i}}

    +

    $().button('toggle')

    +

    {{_i}}Toggles push state. Gives the button the appearance that it has been activated.{{/i}}

    +
    + {{_i}}Heads up!{{/i}} + {{_i}}You can enable auto toggling of a button by using the data-toggle attribute.{{/i}} +
    +
    <button type="button" class="btn" data-toggle="button" >…</button>
    +

    $().button('loading')

    +

    {{_i}}Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute data-loading-text.{{/i}} +

    +
    <button type="button" class="btn" data-loading-text="loading stuff..." >...</button>
    +
    + {{_i}}Heads up!{{/i}} + {{_i}}Firefox persists the disabled state across page loads. A workaround for this is to use autocomplete="off".{{/i}} +
    +

    $().button('reset')

    +

    {{_i}}Resets button state - swaps text to original text.{{/i}}

    +

    $().button(string)

    +

    {{_i}}Resets button state - swaps text to any data defined text state.{{/i}}

    +
    <button type="button" class="btn" data-complete-text="finished!" >...</button>
    +<script>
    +  $('.btn').button('complete')
    +</script>
    +
    +
    + + + + +
    + + +

    {{_i}}About{{/i}}

    +

    {{_i}}Get base styles and flexible support for collapsible components like accordions and navigation.{{/i}}

    +

    * {{_i}}Requires the Transitions plugin to be included.{{/i}}

    + +

    {{_i}}Example accordion{{/i}}

    +

    {{_i}}Using the collapse plugin, we built a simple accordion style widget:{{/i}}

    + +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
    +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
    +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
    +
    +
    +
    +
    {{! /example }} +
    +<div class="accordion" id="accordion2">
    +  <div class="accordion-group">
    +    <div class="accordion-heading">
    +      <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
    +        {{_i}}Collapsible Group Item #1{{/i}}
    +      </a>
    +    </div>
    +    <div id="collapseOne" class="accordion-body collapse in">
    +      <div class="accordion-inner">
    +        Anim pariatur cliche...
    +      </div>
    +    </div>
    +  </div>
    +  <div class="accordion-group">
    +    <div class="accordion-heading">
    +      <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
    +        {{_i}}Collapsible Group Item #2{{/i}}
    +      </a>
    +    </div>
    +    <div id="collapseTwo" class="accordion-body collapse">
    +      <div class="accordion-inner">
    +        Anim pariatur cliche...
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +...
    +
    +

    {{_i}}You can also use the plugin without the accordion markup. Make a button toggle the expanding and collapsing of another element.{{/i}}

    +
    +<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo">
    +  {{_i}}simple collapsible{{/i}}
    +</button>
    +
    +<div id="demo" class="collapse in"> … </div>
    +
    + + +
    + + +

    {{_i}}Usage{{/i}}

    + +

    {{_i}}Via data attributes{{/i}}

    +

    {{_i}}Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a css selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.{{/i}}

    +

    {{_i}}To add accordion-like group management to a collapsible control, add the data attribute data-parent="#selector". Refer to the demo to see this in action.{{/i}}

    + +

    {{_i}}Via JavaScript{{/i}}

    +

    {{_i}}Enable manually with:{{/i}}

    +
    $(".collapse").collapse()
    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-parent="".{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}type{{/i}}{{_i}}default{{/i}}{{_i}}description{{/i}}
    {{_i}}parent{{/i}}{{_i}}selector{{/i}}false{{_i}}If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior){{/i}}
    {{_i}}toggle{{/i}}{{_i}}boolean{{/i}}true{{_i}}Toggles the collapsible element on invocation{{/i}}
    + + +

    {{_i}}Methods{{/i}}

    +

    .collapse({{_i}}options{{/i}})

    +

    {{_i}}Activates your content as a collapsible element. Accepts an optional options object.{{/i}} +

    +$('#myCollapsible').collapse({
    +  toggle: false
    +})
    +
    +

    .collapse('toggle')

    +

    {{_i}}Toggles a collapsible element to shown or hidden.{{/i}}

    +

    .collapse('show')

    +

    {{_i}}Shows a collapsible element.{{/i}}

    +

    .collapse('hide')

    +

    {{_i}}Hides a collapsible element.{{/i}}

    + +

    {{_i}}Events{{/i}}

    +

    {{_i}}Bootstrap's collapse class exposes a few events for hooking into collapse functionality.{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Event{{/i}}{{_i}}Description{{/i}}
    {{_i}}show{{/i}}{{_i}}This event fires immediately when the show instance method is called.{{/i}}
    {{_i}}shown{{/i}}{{_i}}This event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete).{{/i}}
    {{_i}}hide{{/i}} + {{_i}}This event is fired immediately when the hide method has been called.{{/i}} +
    {{_i}}hidden{{/i}}{{_i}}This event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete).{{/i}}
    +
    +$('#myCollapsible').on('hidden', function () {
    +  // {{_i}}do something…{{/i}}
    +})
    +
    + + + + + + + + + +
    + + + +

    {{_i}}Example{{/i}}

    +

    {{_i}}A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.{{/i}}

    +
    + +
    {{! /example }} +
    <input type="text" data-provide="typeahead">
    +

    You'll want to set autocomplete="off" to prevent default browser menus from appearing over the Bootstrap typeahead dropdown.

    + +
    + + +

    {{_i}}Usage{{/i}}

    + +

    {{_i}}Via data attributes{{/i}}

    +

    {{_i}}Add data attributes to register an element with typeahead functionality as shown in the example above.{{/i}}

    + +

    {{_i}}Via JavaScript{{/i}}

    +

    {{_i}}Call the typeahead manually with:{{/i}}

    +
    $('.typeahead').typeahead()
    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-source="".{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}type{{/i}}{{_i}}default{{/i}}{{_i}}description{{/i}}
    {{_i}}source{{/i}}{{_i}}array, function{{/i}}[ ]{{_i}}The data source to query against. May be an array of strings or a function. The function is passed two arguments, the query value in the input field and the process callback. The function may be used synchronously by returning the data source directly or asynchronously via the process callback's single argument.{{/i}}
    {{_i}}items{{/i}}{{_i}}number{{/i}}8{{_i}}The max number of items to display in the dropdown.{{/i}}
    {{_i}}minLength{{/i}}{{_i}}number{{/i}}{{_i}}1{{/i}}{{_i}}The minimum character length needed before triggering autocomplete suggestions{{/i}}
    {{_i}}matcher{{/i}}{{_i}}function{{/i}}{{_i}}case insensitive{{/i}}{{_i}}The method used to determine if a query matches an item. Accepts a single argument, the item against which to test the query. Access the current query with this.query. Return a boolean true if query is a match.{{/i}}
    {{_i}}sorter{{/i}}{{_i}}function{{/i}}{{_i}}exact match,
    case sensitive,
    case insensitive{{/i}}
    {{_i}}Method used to sort autocomplete results. Accepts a single argument items and has the scope of the typeahead instance. Reference the current query with this.query.{{/i}}
    {{_i}}updater{{/i}}{{_i}}function{{/i}}{{_i}}returns selected item{{/i}}{{_i}}The method used to return selected item. Accepts a single argument, the item and has the scope of the typeahead instance.{{/i}}
    {{_i}}highlighter{{/i}}{{_i}}function{{/i}}{{_i}}highlights all default matches{{/i}}{{_i}}Method used to highlight autocomplete results. Accepts a single argument item and has the scope of the typeahead instance. Should return html.{{/i}}
    + +

    {{_i}}Methods{{/i}}

    +

    .typeahead({{_i}}options{{/i}})

    +

    {{_i}}Initializes an input with a typeahead.{{/i}}

    +
    + + + + +
    + + +

    {{_i}}Example{{/i}}

    +

    {{_i}}The subnavigation on the left is a live demo of the affix plugin.{{/i}}

    + +
    + +

    {{_i}}Usage{{/i}}

    + +

    {{_i}}Via data attributes{{/i}}

    +

    {{_i}}To easily add affix behavior to any element, just add data-spy="affix" to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.{{/i}}

    + +
    <div data-spy="affix" data-offset-top="200">...</div>
    + +
    + {{_i}}Heads up!{{/i}} + {{_i}}You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by affix, affix-top, and affix-bottom. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.{{/i}} +
    + +

    {{_i}}Via JavaScript{{/i}}

    +

    {{_i}}Call the affix plugin via JavaScript:{{/i}}

    +
    $('#navbar').affix()
    + +

    {{_i}}Options{{/i}}

    +

    {{_i}}Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset-top="200".{{/i}}

    + + + + + + + + + + + + + + + + + +
    {{_i}}Name{{/i}}{{_i}}type{{/i}}{{_i}}default{{/i}}{{_i}}description{{/i}}
    {{_i}}offset{{/i}}{{_i}}number | function | object{{/i}}{{_i}}10{{/i}}{{_i}}Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs).{{/i}}
    +
    + + + +
    {{! /span9 }} +
    {{! row}} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/docs/templates/pages/scaffolding.mustache b/2/bower_components/bootstrap/docs/templates/pages/scaffolding.mustache new file mode 100644 index 00000000..a6f2f9da --- /dev/null +++ b/2/bower_components/bootstrap/docs/templates/pages/scaffolding.mustache @@ -0,0 +1,485 @@ + +
    +
    +

    {{_i}}Scaffolding{{/i}}

    +

    {{_i}}Bootstrap is built on responsive 12-column grids, layouts, and components.{{/i}}

    +
    +
    + +
    + + +
    + +
    + + + + +
    + + +

    {{_i}}Requires HTML5 doctype{{/i}}

    +

    {{_i}}Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.{{/i}}

    +
    +<!DOCTYPE html>
    +<html lang="en">
    +  ...
    +</html>
    +
    + +

    {{_i}}Typography and links{{/i}}

    +

    {{_i}}Bootstrap sets basic global display, typography, and link styles. Specifically, we:{{/i}}

    +
      +
    • {{_i}}Remove margin on the body{{/i}}
    • +
    • {{_i}}Set background-color: white; on the body{{/i}}
    • +
    • {{_i}}Use the @baseFontFamily, @baseFontSize, and @baseLineHeight attributes as our typographic base{{/i}}
    • +
    • {{_i}}Set the global link color via @linkColor and apply link underlines only on :hover{{/i}}
    • +
    +

    {{_i}}These styles can be found within scaffolding.less.{{/i}}

    + +

    {{_i}}Reset via Normalize{{/i}}

    +

    {{_i}}With Bootstrap 2, the old reset block has been dropped in favor of Normalize.css, a project by Nicolas Gallagher and Jonathan Neal that also powers the HTML5 Boilerplate. While we use much of Normalize within our reset.less, we have removed some elements specifically for Bootstrap.{{/i}}

    + +
    + + + + + +
    + + +

    {{_i}}Live grid example{{/i}}

    +

    {{_i}}The default Bootstrap grid system utilizes 12 columns, making for a 940px wide container without responsive features enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.{{/i}}

    +
    +
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    +
    +
    2
    +
    3
    +
    4
    +
    +
    +
    4
    +
    5
    +
    +
    +
    9
    +
    +
    + +

    {{_i}}Basic grid HTML{{/i}}

    +

    {{_i}}For a simple two column layout, create a .row and add the appropriate number of .span* columns. As this is a 12-column grid, each .span* spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).{{/i}}

    +
    +<div class="row">
    +  <div class="span4">...</div>
    +  <div class="span8">...</div>
    +</div>
    +
    +

    {{_i}}Given this example, we have .span4 and .span8, making for 12 total columns and a complete row.{{/i}}

    + +

    {{_i}}Offsetting columns{{/i}}

    +

    {{_i}}Move columns to the right using .offset* classes. Each class increases the left margin of a column by a whole column. For example, .offset4 moves .span4 over four columns.{{/i}}

    +
    +
    +
    4
    +
    3 offset 2
    +
    +
    +
    3 offset 1
    +
    3 offset 2
    +
    +
    +
    6 offset 3
    +
    +
    +
    +<div class="row">
    +  <div class="span4">...</div>
    +  <div class="span3 offset2">...</div>
    +</div>
    +
    + +

    {{_i}}Nesting columns{{/i}}

    +

    {{_i}}To nest your content with the default grid, add a new .row and set of .span* columns within an existing .span* column. Nested rows should include a set of columns that add up to the number of columns of its parent.{{/i}}

    +
    +
    + {{_i}}Level 1 column{{/i}} +
    +
    + {{_i}}Level 2{{/i}} +
    +
    + {{_i}}Level 2{{/i}} +
    +
    +
    +
    +
    +<div class="row">
    +  <div class="span9">
    +    {{_i}}Level 1 column{{/i}}
    +    <div class="row">
    +      <div class="span6">{{_i}}Level 2{{/i}}</div>
    +      <div class="span3">{{_i}}Level 2{{/i}}</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + + + + +
    + + +

    {{_i}}Live fluid grid example{{/i}}

    +

    {{_i}}The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.{{/i}}

    +
    +
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    1
    +
    +
    +
    4
    +
    4
    +
    4
    +
    +
    +
    4
    +
    8
    +
    +
    +
    6
    +
    6
    +
    +
    +
    12
    +
    +
    + +

    {{_i}}Basic fluid grid HTML{{/i}}

    +

    {{_i}}Make any row "fluid" by changing .row to .row-fluid. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.{{/i}}

    +
    +<div class="row-fluid">
    +  <div class="span4">...</div>
    +  <div class="span8">...</div>
    +</div>
    +
    + +

    {{_i}}Fluid offsetting{{/i}}

    +

    {{_i}}Operates the same way as the fixed grid system offsetting: add .offset* to any column to offset by that many columns.{{/i}}

    +
    +
    +
    4
    +
    4 offset 4
    +
    +
    +
    3 offset 3
    +
    3 offset 3
    +
    +
    +
    6 offset 6
    +
    +
    +
    +<div class="row-fluid">
    +  <div class="span4">...</div>
    +  <div class="span4 offset2">...</div>
    +</div>
    +
    + +

    {{_i}}Fluid nesting{{/i}}

    +

    {{_i}}Fluid grids utilize nesting differently: each nested level of columns should add up to 12 columns. This is because the fluid grid uses percentages, not pixels, for setting widths.{{/i}}

    +
    +
    + {{_i}}Fluid 12{{/i}} +
    +
    + {{_i}}Fluid 6{{/i}} +
    +
    + {{_i}}Fluid 6{{/i}} +
    +
    + {{_i}}Fluid 6{{/i}} +
    +
    +
    +
    + {{_i}}Fluid 6{{/i}} +
    +
    +
    +
    +
    +<div class="row-fluid">
    +  <div class="span12">
    +    {{_i}}Fluid 12{{/i}}
    +    <div class="row-fluid">
    +      <div class="span6">
    +        {{_i}}Fluid 6{{/i}}
    +        <div class="row-fluid">
    +          <div class="span6">{{_i}}Fluid 6{{/i}}</div>
    +          <div class="span6">{{_i}}Fluid 6{{/i}}</div>
    +        </div>
    +      </div>
    +      <div class="span6">{{_i}}Fluid 6{{/i}}</div>
    +    </div>
    +  </div>
    +</div>
    +
    + +
    + + + + + +
    + + +

    {{_i}}Fixed layout{{/i}}

    +

    {{_i}}Provides a common fixed-width (and optionally responsive) layout with only <div class="container"> required.{{/i}}

    +
    +
    +
    +
    +<body>
    +  <div class="container">
    +    ...
    +  </div>
    +</body>
    +
    + +

    {{_i}}Fluid layout{{/i}}

    +

    {{_i}}Create a fluid, two-column page with <div class="container-fluid">—great for applications and docs.{{/i}}

    +
    +
    +
    +
    +
    +<div class="container-fluid">
    +  <div class="row-fluid">
    +    <div class="span2">
    +      <!--{{_i}}Sidebar content{{/i}}-->
    +    </div>
    +    <div class="span10">
    +      <!--{{_i}}Body content{{/i}}-->
    +    </div>
    +  </div>
    +</div>
    +
    +
    + + + + + +
    + + + {{! Enabling }} +

    {{_i}}Enabling responsive features{{/i}}

    +

    {{_i}}Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the <head> of your document. If you've compiled Bootstrap from the Customize page, you need only include the meta tag.{{/i}}

    +
    +<meta name="viewport" content="width=device-width, initial-scale=1.0">
    +<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
    +
    +

    {{_i}}Heads up!{{/i}} {{_i}} Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.{{/i}}

    + + {{! About }} +

    {{_i}}About responsive Bootstrap{{/i}}

    + Responsive devices +

    {{_i}}Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around min-width and max-width.{{/i}}

    +
      +
    • {{_i}}Modify the width of column in our grid{{/i}}
    • +
    • {{_i}}Stack elements instead of float wherever necessary{{/i}}
    • +
    • {{_i}}Resize headings and text to be more appropriate for devices{{/i}}
    • +
    +

    {{_i}}Use media queries responsibly and only as a start to your mobile audiences. For larger projects, do consider dedicated code bases and not layers of media queries.{{/i}}

    + + {{! Supported }} +

    {{_i}}Supported devices{{/i}}

    +

    {{_i}}Bootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Label{{/i}}{{_i}}Layout width{{/i}}{{_i}}Column width{{/i}}{{_i}}Gutter width{{/i}}
    {{_i}}Large display{{/i}}1200px and up70px30px
    {{_i}}Default{{/i}}980px and up60px20px
    {{_i}}Portrait tablets{{/i}}768px and above42px20px
    {{_i}}Phones to tablets{{/i}}767px and below{{_i}}Fluid columns, no fixed widths{{/i}}
    {{_i}}Phones{{/i}}480px and below{{_i}}Fluid columns, no fixed widths{{/i}}
    +
    +/* {{_i}}Large desktop{{/i}} */
    +@media (min-width: 1200px) { ... }
    +
    +/* {{_i}}Portrait tablet to landscape and desktop{{/i}} */
    +@media (min-width: 768px) and (max-width: 979px) { ... }
    +
    +/* {{_i}}Landscape phone to portrait tablet{{/i}} */
    +@media (max-width: 767px) { ... }
    +
    +/* {{_i}}Landscape phones and down{{/i}} */
    +@media (max-width: 480px) { ... }
    +
    + + + {{! Responsive utility classes }} +

    {{_i}}Responsive utility classes{{/i}}

    +

    {{_i}}For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in responsive.less.{{/i}}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {{_i}}Class{{/i}}{{_i}}Phones 767px and below{{/i}}{{_i}}Tablets 979px to 768px{{/i}}{{_i}}Desktops Default{{/i}}
    .visible-phone{{_i}}Visible{{/i}}
    .visible-tablet{{_i}}Visible{{/i}}
    .visible-desktop{{_i}}Visible{{/i}}
    .hidden-phone{{_i}}Visible{{/i}}{{_i}}Visible{{/i}}
    .hidden-tablet{{_i}}Visible{{/i}}{{_i}}Visible{{/i}}
    .hidden-desktop{{_i}}Visible{{/i}}{{_i}}Visible{{/i}}
    + +

    {{_i}}When to use{{/i}}

    +

    {{_i}}Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.{{/i}}

    + +

    {{_i}}Responsive utilities test case{{/i}}

    +

    {{_i}}Resize your browser or load on different devices to test the above classes.{{/i}}

    +

    {{_i}}Visible on...{{/i}}

    +

    {{_i}}Green checkmarks indicate that class is visible in your current viewport.{{/i}}

    +
      +
    • {{_i}}Phone{{/i}}✔ {{_i}}Phone{{/i}}
    • +
    • {{_i}}Tablet{{/i}}✔ {{_i}}Tablet{{/i}}
    • +
    • {{_i}}Desktop{{/i}}✔ {{_i}}Desktop{{/i}}
    • +
    +

    {{_i}}Hidden on...{{/i}}

    +

    {{_i}}Here, green checkmarks indicate that class is hidden in your current viewport.{{/i}}

    +
      +
    • {{_i}}Phone{{/i}}✔ {{_i}}Phone{{/i}}
    • +
    • {{_i}}Tablet{{/i}}✔ {{_i}}Tablet{{/i}}
    • +
    • {{_i}}Desktop{{/i}}✔ {{_i}}Desktop{{/i}}
    • +
    + +
    + + + +
    {{! /span9 }} +
    {{! row}} + +
    {{! /.container }} diff --git a/2/bower_components/bootstrap/img/glyphicons-halflings-white.png b/2/bower_components/bootstrap/img/glyphicons-halflings-white.png new file mode 100644 index 00000000..3bf6484a Binary files /dev/null and b/2/bower_components/bootstrap/img/glyphicons-halflings-white.png differ diff --git a/2/bower_components/bootstrap/img/glyphicons-halflings.png b/2/bower_components/bootstrap/img/glyphicons-halflings.png new file mode 100644 index 00000000..a9969993 Binary files /dev/null and b/2/bower_components/bootstrap/img/glyphicons-halflings.png differ diff --git a/2/bower_components/bootstrap/js/.jshintrc b/2/bower_components/bootstrap/js/.jshintrc new file mode 100644 index 00000000..e0722690 --- /dev/null +++ b/2/bower_components/bootstrap/js/.jshintrc @@ -0,0 +1,12 @@ +{ + "validthis": true, + "laxcomma" : true, + "laxbreak" : true, + "browser" : true, + "eqnull" : true, + "debug" : true, + "devel" : true, + "boss" : true, + "expr" : true, + "asi" : true +} \ No newline at end of file diff --git a/2/bower_components/bootstrap/js/bootstrap-affix.js b/2/bower_components/bootstrap/js/bootstrap-affix.js new file mode 100644 index 00000000..c1059a83 --- /dev/null +++ b/2/bower_components/bootstrap/js/bootstrap-affix.js @@ -0,0 +1,117 @@ +/* ========================================================== + * bootstrap-affix.js v2.3.2 + * http://getbootstrap.com/2.3.2/javascript.html#affix + * ========================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* AFFIX CLASS DEFINITION + * ====================== */ + + var Affix = function (element, options) { + this.options = $.extend({}, $.fn.affix.defaults, options) + this.$window = $(window) + .on('scroll.affix.data-api', $.proxy(this.checkPosition, this)) + .on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this)) + this.$element = $(element) + this.checkPosition() + } + + Affix.prototype.checkPosition = function () { + if (!this.$element.is(':visible')) return + + var scrollHeight = $(document).height() + , scrollTop = this.$window.scrollTop() + , position = this.$element.offset() + , offset = this.options.offset + , offsetBottom = offset.bottom + , offsetTop = offset.top + , reset = 'affix affix-top affix-bottom' + , affix + + if (typeof offset != 'object') offsetBottom = offsetTop = offset + if (typeof offsetTop == 'function') offsetTop = offset.top() + if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() + + affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? + false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? + 'bottom' : offsetTop != null && scrollTop <= offsetTop ? + 'top' : false + + if (this.affixed === affix) return + + this.affixed = affix + this.unpin = affix == 'bottom' ? position.top - scrollTop : null + + this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : '')) + } + + + /* AFFIX PLUGIN DEFINITION + * ======================= */ + + var old = $.fn.affix + + $.fn.affix = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('affix') + , options = typeof option == 'object' && option + if (!data) $this.data('affix', (data = new Affix(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.affix.Constructor = Affix + + $.fn.affix.defaults = { + offset: 0 + } + + + /* AFFIX NO CONFLICT + * ================= */ + + $.fn.affix.noConflict = function () { + $.fn.affix = old + return this + } + + + /* AFFIX DATA-API + * ============== */ + + $(window).on('load', function () { + $('[data-spy="affix"]').each(function () { + var $spy = $(this) + , data = $spy.data() + + data.offset = data.offset || {} + + data.offsetBottom && (data.offset.bottom = data.offsetBottom) + data.offsetTop && (data.offset.top = data.offsetTop) + + $spy.affix(data) + }) + }) + + +}(window.jQuery); \ No newline at end of file diff --git a/2/bower_components/bootstrap/js/bootstrap-alert.js b/2/bower_components/bootstrap/js/bootstrap-alert.js new file mode 100644 index 00000000..9577e62d --- /dev/null +++ b/2/bower_components/bootstrap/js/bootstrap-alert.js @@ -0,0 +1,99 @@ +/* ========================================================== + * bootstrap-alert.js v2.3.2 + * http://getbootstrap.com/2.3.2/javascript.html#alerts + * ========================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* ALERT CLASS DEFINITION + * ====================== */ + + var dismiss = '[data-dismiss="alert"]' + , Alert = function (el) { + $(el).on('click', dismiss, this.close) + } + + Alert.prototype.close = function (e) { + var $this = $(this) + , selector = $this.attr('data-target') + , $parent + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + $parent = $(selector) + + e && e.preventDefault() + + $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent()) + + $parent.trigger(e = $.Event('close')) + + if (e.isDefaultPrevented()) return + + $parent.removeClass('in') + + function removeElement() { + $parent + .trigger('closed') + .remove() + } + + $.support.transition && $parent.hasClass('fade') ? + $parent.on($.support.transition.end, removeElement) : + removeElement() + } + + + /* ALERT PLUGIN DEFINITION + * ======================= */ + + var old = $.fn.alert + + $.fn.alert = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('alert') + if (!data) $this.data('alert', (data = new Alert(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + $.fn.alert.Constructor = Alert + + + /* ALERT NO CONFLICT + * ================= */ + + $.fn.alert.noConflict = function () { + $.fn.alert = old + return this + } + + + /* ALERT DATA-API + * ============== */ + + $(document).on('click.alert.data-api', dismiss, Alert.prototype.close) + +}(window.jQuery); \ No newline at end of file diff --git a/2/bower_components/bootstrap/js/bootstrap-button.js b/2/bower_components/bootstrap/js/bootstrap-button.js new file mode 100644 index 00000000..4b2a90ab --- /dev/null +++ b/2/bower_components/bootstrap/js/bootstrap-button.js @@ -0,0 +1,105 @@ +/* ============================================================ + * bootstrap-button.js v2.3.2 + * http://getbootstrap.com/2.3.2/javascript.html#buttons + * ============================================================ + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============================================================ */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* BUTTON PUBLIC CLASS DEFINITION + * ============================== */ + + var Button = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, $.fn.button.defaults, options) + } + + Button.prototype.setState = function (state) { + var d = 'disabled' + , $el = this.$element + , data = $el.data() + , val = $el.is('input') ? 'val' : 'html' + + state = state + 'Text' + data.resetText || $el.data('resetText', $el[val]()) + + $el[val](data[state] || this.options[state]) + + // push to event loop to allow forms to submit + setTimeout(function () { + state == 'loadingText' ? + $el.addClass(d).attr(d, d) : + $el.removeClass(d).removeAttr(d) + }, 0) + } + + Button.prototype.toggle = function () { + var $parent = this.$element.closest('[data-toggle="buttons-radio"]') + + $parent && $parent + .find('.active') + .removeClass('active') + + this.$element.toggleClass('active') + } + + + /* BUTTON PLUGIN DEFINITION + * ======================== */ + + var old = $.fn.button + + $.fn.button = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('button') + , options = typeof option == 'object' && option + if (!data) $this.data('button', (data = new Button(this, options))) + if (option == 'toggle') data.toggle() + else if (option) data.setState(option) + }) + } + + $.fn.button.defaults = { + loadingText: 'loading...' + } + + $.fn.button.Constructor = Button + + + /* BUTTON NO CONFLICT + * ================== */ + + $.fn.button.noConflict = function () { + $.fn.button = old + return this + } + + + /* BUTTON DATA-API + * =============== */ + + $(document).on('click.button.data-api', '[data-toggle^=button]', function (e) { + var $btn = $(e.target) + if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') + $btn.button('toggle') + }) + +}(window.jQuery); \ No newline at end of file diff --git a/2/bower_components/bootstrap/js/bootstrap-carousel.js b/2/bower_components/bootstrap/js/bootstrap-carousel.js new file mode 100644 index 00000000..c1e8ade8 --- /dev/null +++ b/2/bower_components/bootstrap/js/bootstrap-carousel.js @@ -0,0 +1,207 @@ +/* ========================================================== + * bootstrap-carousel.js v2.3.2 + * http://getbootstrap.com/2.3.2/javascript.html#carousel + * ========================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* CAROUSEL CLASS DEFINITION + * ========================= */ + + var Carousel = function (element, options) { + this.$element = $(element) + this.$indicators = this.$element.find('.carousel-indicators') + this.options = options + this.options.pause == 'hover' && this.$element + .on('mouseenter', $.proxy(this.pause, this)) + .on('mouseleave', $.proxy(this.cycle, this)) + } + + Carousel.prototype = { + + cycle: function (e) { + if (!e) this.paused = false + if (this.interval) clearInterval(this.interval); + this.options.interval + && !this.paused + && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) + return this + } + + , getActiveIndex: function () { + this.$active = this.$element.find('.item.active') + this.$items = this.$active.parent().children() + return this.$items.index(this.$active) + } + + , to: function (pos) { + var activeIndex = this.getActiveIndex() + , that = this + + if (pos > (this.$items.length - 1) || pos < 0) return + + if (this.sliding) { + return this.$element.one('slid', function () { + that.to(pos) + }) + } + + if (activeIndex == pos) { + return this.pause().cycle() + } + + return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos])) + } + + , pause: function (e) { + if (!e) this.paused = true + if (this.$element.find('.next, .prev').length && $.support.transition.end) { + this.$element.trigger($.support.transition.end) + this.cycle(true) + } + clearInterval(this.interval) + this.interval = null + return this + } + + , next: function () { + if (this.sliding) return + return this.slide('next') + } + + , prev: function () { + if (this.sliding) return + return this.slide('prev') + } + + , slide: function (type, next) { + var $active = this.$element.find('.item.active') + , $next = next || $active[type]() + , isCycling = this.interval + , direction = type == 'next' ? 'left' : 'right' + , fallback = type == 'next' ? 'first' : 'last' + , that = this + , e + + this.sliding = true + + isCycling && this.pause() + + $next = $next.length ? $next : this.$element.find('.item')[fallback]() + + e = $.Event('slide', { + relatedTarget: $next[0] + , direction: direction + }) + + if ($next.hasClass('active')) return + + if (this.$indicators.length) { + this.$indicators.find('.active').removeClass('active') + this.$element.one('slid', function () { + var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()]) + $nextIndicator && $nextIndicator.addClass('active') + }) + } + + if ($.support.transition && this.$element.hasClass('slide')) { + this.$element.trigger(e) + if (e.isDefaultPrevented()) return + $next.addClass(type) + $next[0].offsetWidth // force reflow + $active.addClass(direction) + $next.addClass(direction) + this.$element.one($.support.transition.end, function () { + $next.removeClass([type, direction].join(' ')).addClass('active') + $active.removeClass(['active', direction].join(' ')) + that.sliding = false + setTimeout(function () { that.$element.trigger('slid') }, 0) + }) + } else { + this.$element.trigger(e) + if (e.isDefaultPrevented()) return + $active.removeClass('active') + $next.addClass('active') + this.sliding = false + this.$element.trigger('slid') + } + + isCycling && this.cycle() + + return this + } + + } + + + /* CAROUSEL PLUGIN DEFINITION + * ========================== */ + + var old = $.fn.carousel + + $.fn.carousel = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('carousel') + , options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option) + , action = typeof option == 'string' ? option : options.slide + if (!data) $this.data('carousel', (data = new Carousel(this, options))) + if (typeof option == 'number') data.to(option) + else if (action) data[action]() + else if (options.interval) data.pause().cycle() + }) + } + + $.fn.carousel.defaults = { + interval: 5000 + , pause: 'hover' + } + + $.fn.carousel.Constructor = Carousel + + + /* CAROUSEL NO CONFLICT + * ==================== */ + + $.fn.carousel.noConflict = function () { + $.fn.carousel = old + return this + } + + /* CAROUSEL DATA-API + * ================= */ + + $(document).on('click.carousel.data-api', '[data-slide], [data-slide-to]', function (e) { + var $this = $(this), href + , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 + , options = $.extend({}, $target.data(), $this.data()) + , slideIndex + + $target.carousel(options) + + if (slideIndex = $this.attr('data-slide-to')) { + $target.data('carousel').pause().to(slideIndex).cycle() + } + + e.preventDefault() + }) + +}(window.jQuery); \ No newline at end of file diff --git a/2/bower_components/bootstrap/js/bootstrap-collapse.js b/2/bower_components/bootstrap/js/bootstrap-collapse.js new file mode 100644 index 00000000..ae3e4c63 --- /dev/null +++ b/2/bower_components/bootstrap/js/bootstrap-collapse.js @@ -0,0 +1,167 @@ +/* ============================================================= + * bootstrap-collapse.js v2.3.2 + * http://getbootstrap.com/2.3.2/javascript.html#collapse + * ============================================================= + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============================================================ */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* COLLAPSE PUBLIC CLASS DEFINITION + * ================================ */ + + var Collapse = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, $.fn.collapse.defaults, options) + + if (this.options.parent) { + this.$parent = $(this.options.parent) + } + + this.options.toggle && this.toggle() + } + + Collapse.prototype = { + + constructor: Collapse + + , dimension: function () { + var hasWidth = this.$element.hasClass('width') + return hasWidth ? 'width' : 'height' + } + + , show: function () { + var dimension + , scroll + , actives + , hasData + + if (this.transitioning || this.$element.hasClass('in')) return + + dimension = this.dimension() + scroll = $.camelCase(['scroll', dimension].join('-')) + actives = this.$parent && this.$parent.find('> .accordion-group > .in') + + if (actives && actives.length) { + hasData = actives.data('collapse') + if (hasData && hasData.transitioning) return + actives.collapse('hide') + hasData || actives.data('collapse', null) + } + + this.$element[dimension](0) + this.transition('addClass', $.Event('show'), 'shown') + $.support.transition && this.$element[dimension](this.$element[0][scroll]) + } + + , hide: function () { + var dimension + if (this.transitioning || !this.$element.hasClass('in')) return + dimension = this.dimension() + this.reset(this.$element[dimension]()) + this.transition('removeClass', $.Event('hide'), 'hidden') + this.$element[dimension](0) + } + + , reset: function (size) { + var dimension = this.dimension() + + this.$element + .removeClass('collapse') + [dimension](size || 'auto') + [0].offsetWidth + + this.$element[size !== null ? 'addClass' : 'removeClass']('collapse') + + return this + } + + , transition: function (method, startEvent, completeEvent) { + var that = this + , complete = function () { + if (startEvent.type == 'show') that.reset() + that.transitioning = 0 + that.$element.trigger(completeEvent) + } + + this.$element.trigger(startEvent) + + if (startEvent.isDefaultPrevented()) return + + this.transitioning = 1 + + this.$element[method]('in') + + $.support.transition && this.$element.hasClass('collapse') ? + this.$element.one($.support.transition.end, complete) : + complete() + } + + , toggle: function () { + this[this.$element.hasClass('in') ? 'hide' : 'show']() + } + + } + + + /* COLLAPSE PLUGIN DEFINITION + * ========================== */ + + var old = $.fn.collapse + + $.fn.collapse = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('collapse') + , options = $.extend({}, $.fn.collapse.defaults, $this.data(), typeof option == 'object' && option) + if (!data) $this.data('collapse', (data = new Collapse(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.collapse.defaults = { + toggle: true + } + + $.fn.collapse.Constructor = Collapse + + + /* COLLAPSE NO CONFLICT + * ==================== */ + + $.fn.collapse.noConflict = function () { + $.fn.collapse = old + return this + } + + + /* COLLAPSE DATA-API + * ================= */ + + $(document).on('click.collapse.data-api', '[data-toggle=collapse]', function (e) { + var $this = $(this), href + , target = $this.attr('data-target') + || e.preventDefault() + || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 + , option = $(target).data('collapse') ? 'toggle' : $this.data() + $this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed') + $(target).collapse(option) + }) + +}(window.jQuery); \ No newline at end of file diff --git a/2/bower_components/bootstrap/js/bootstrap-dropdown.js b/2/bower_components/bootstrap/js/bootstrap-dropdown.js new file mode 100644 index 00000000..d04da5d7 --- /dev/null +++ b/2/bower_components/bootstrap/js/bootstrap-dropdown.js @@ -0,0 +1,169 @@ +/* ============================================================ + * bootstrap-dropdown.js v2.3.2 + * http://getbootstrap.com/2.3.2/javascript.html#dropdowns + * ============================================================ + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============================================================ */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* DROPDOWN CLASS DEFINITION + * ========================= */ + + var toggle = '[data-toggle=dropdown]' + , Dropdown = function (element) { + var $el = $(element).on('click.dropdown.data-api', this.toggle) + $('html').on('click.dropdown.data-api', function () { + $el.parent().removeClass('open') + }) + } + + Dropdown.prototype = { + + constructor: Dropdown + + , toggle: function (e) { + var $this = $(this) + , $parent + , isActive + + if ($this.is('.disabled, :disabled')) return + + $parent = getParent($this) + + isActive = $parent.hasClass('open') + + clearMenus() + + if (!isActive) { + if ('ontouchstart' in document.documentElement) { + // if mobile we we use a backdrop because click events don't delegate + $('