test_server 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +14 -0
- data/Rakefile +38 -11
- data/app/assets/javascripts/application.js +1 -1
- data/app/assets/stylesheets/application.scss +1 -4
- data/app/views/layouts/application.html.haml +0 -1
- data/bower.json +2 -2
- data/config/application.rb +2 -0
- data/lib/test_server/version.rb +1 -1
- data/public/assets/{ajax-loader-8deebb46e9598adab64ca18a097090f2.gif → ajax-loader-8e1e1d0c3edf6e2e1b715d1eee17be72.gif} +0 -0
- data/public/assets/application-153f195592d51b0a23a4e410f973ff44.css +1 -0
- data/public/assets/application-153f195592d51b0a23a4e410f973ff44.css.gz +0 -0
- data/public/assets/application-d42809560de348f0e46d020e73371e19.js +5 -0
- data/public/assets/application-d42809560de348f0e46d020e73371e19.js.gz +0 -0
- data/{vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.svg → public/assets/bootstrap/glyphicons-halflings-regular-0dad23eb93dac1723b033c0965c1522f.svg} +47 -47
- data/public/assets/bootstrap/glyphicons-halflings-regular-8921a93349df81eec3d107b946cadc11.woff +0 -0
- data/public/assets/bootstrap/glyphicons-halflings-regular-dabd247fcf6131fac2d5fb49ef946032.eot +0 -0
- data/{vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.ttf → public/assets/bootstrap/glyphicons-halflings-regular-f7c7c8f3c0d76e8572c38e5d8ee21a62.ttf} +0 -0
- data/public/assets/manifest-f0867e7349713768e73e03ea49632c3d.json +1 -0
- data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-e7a6debf8f091e4503e044cfd5be0c41.ttf → opensans-bold-webfont-515a4c1f3ce7319f3655bbced4b37567.ttf} +0 -0
- data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-d245c81584bc209186b92046a460e46a.woff → opensans-bold-webfont-6448bf67894341807a28bb6ba7d92e9e.woff} +0 -0
- data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-5ab08b90fbb2b65c7fa85b6257ab7c75.eot → opensans-bold-webfont-705fa3b6e7603831070d8c7d90b59e39.eot} +0 -0
- data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-750a875c4f25392d79776eb913ce7a2a.svg → opensans-bold-webfont-ce2db17dc480533ab5a54e991409c178.svg} +0 -0
- data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-90994dcc0d06a4e813fe6789ec46409d.eot → opensans-bold-italic-webfont-1fd4caae8a90824c18dab91d876abd96.eot} +0 -0
- data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-3343098c02ad5c9255acc597f6d0865a.woff → opensans-bold-italic-webfont-57323909f6eb12958ceb3d71a31124a5.woff} +0 -0
- data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-d125b28836bb8f399ae1a996b933792f.svg → opensans-bold-italic-webfont-610aeecbe53403e7731391febf814c62.svg} +0 -0
- data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-4de1e5ddb76bb4bc65ecd0bf26d18052.ttf → opensans-bold-italic-webfont-c89791907aa446716486422f5eaadbfd.ttf} +0 -0
- data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-97541ae028af017f8c73e5c193001d42.svg → opensans-extrabold-webfont-661a6746dac8778c16c6091ab77f49ea.svg} +0 -0
- data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-5afffe461cab895cdb1b2915173f9c40.ttf → opensans-extrabold-webfont-89fc234e90e4ed6be5c860fdb3a0356a.ttf} +0 -0
- data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-4390d91f0b15889beaad27555d1a73ed.eot → opensans-extrabold-webfont-8b552c0ad65aacd18cff6395da5f9194.eot} +0 -0
- data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-b41639c02d95cce9a3afabec40966e87.woff → opensans-extrabold-webfont-f1aaed0a94c1686134f1a78fcdcef050.woff} +0 -0
- data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-da60ccbb572a495f477b2175c04d1960.svg → opensans-extrabold-italic-webfont-050061745a67814eb7a7b5a439eac1b9.svg} +0 -0
- data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-6124b23773362839bbb9fe59c5c42669.eot → opensans-extrabold-italic-webfont-095e905be201efbdb7768816d9107ccb.eot} +0 -0
- data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-b288b8bb2c0456f513c66e5f3d1a8e86.woff → opensans-extrabold-italic-webfont-c83a2ba9b6525c96eeedf34a73957a94.woff} +0 -0
- data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-4688d243519b0043c628699427e33d08.ttf → opensans-extrabold-italic-webfont-d30aeee3a5b23d3b403f1e05f7eec160.ttf} +0 -0
- data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-ef65d5a7ec248309b3d39185eab4de46.eot → opensans-italic-webfont-1e20bbc4d89354b5c9450cf52788aa81.eot} +0 -0
- data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-a3e912390ca29982acbe95e8bf31c679.ttf → opensans-italic-webfont-4fa42e02c081a15ff15eafcf5b77e136.ttf} +0 -0
- data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-b4669a561cdae44f45b60a0ee2e7e8cd.woff → opensans-italic-webfont-87e33ea9c569ef51d5bebf951f43118e.woff} +0 -0
- data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-d8a07c962e6a9bebab24506c7b0e53a5.svg → opensans-italic-webfont-d070eafd9a891be3a502cfca97c132b8.svg} +0 -0
- data/public/assets/open-sans/fonts/light/{opensans-light-webfont-1337f63e97d6102f2a3a241fac129c7a.woff → opensans-light-webfont-26a6cf49ae01b42e079c3944d75b2ed6.woff} +0 -0
- data/public/assets/open-sans/fonts/light/{opensans-light-webfont-8273be5ff945da30906b8fd7fac767aa.svg → opensans-light-webfont-2f4a0b6dc8fc9a2d6fa652bfc8ba8978.svg} +0 -0
- data/public/assets/open-sans/fonts/light/{opensans-light-webfont-0f32077bd4cbff507ff8ffc7e9f207f0.ttf → opensans-light-webfont-52c0426189c826c63a4a058a75d80fe7.ttf} +0 -0
- data/public/assets/open-sans/fonts/light/{opensans-light-webfont-6d641cac3cbf66342fe91dfc29723d34.eot → opensans-light-webfont-fc05bdfd9a47e354d11ecbdd8dca80ed.eot} +0 -0
- data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-a5ef1006892c0a391e29f7c839982463.woff → opensans-light-italic-webfont-0df794e2dd024cc9006ab535d4df69fc.woff} +0 -0
- data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-31f3f5d1f66d7ebbdd3d6f462707bee6.ttf → opensans-light-italic-webfont-2b137da15e9577fc1f73409df7a94a81.ttf} +0 -0
- data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-b8b819ed29a82b0be6c0de1e8246b1dd.eot → opensans-light-italic-webfont-351903f192c3431ce2670a0682b65cbf.eot} +0 -0
- data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-f239c2432833ae460c2294be532f9ea7.svg → opensans-light-italic-webfont-f71ef4b0ad89544b655f636423e17e3b.svg} +0 -0
- data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-c89373b333fa6e878d2e54da360d60d1.svg → opensans-regular-webfont-0147dddc2c21ab17ef0606dfcd37920c.svg} +0 -0
- data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-356deed95e2b29ee22d793842fe14c14.eot → opensans-regular-webfont-0909ffa90c14cc7f43eb80ba12a73f39.eot} +0 -0
- data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-001b7e40367093d95c1d5e47f32c0830.ttf → opensans-regular-webfont-bcc217ef7d1d58a6fcb22171df8b9b42.ttf} +0 -0
- data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-8d971e991a2e1b8c6bfb18e879c8a024.woff → opensans-regular-webfont-d48302deb418745f1b95ec4ff541d6e3.woff} +0 -0
- data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-92eb41279d9e4bb36db7d798f4a3ce53.woff → opensans-semibold-webfont-0f3d7381a2b348ba614e5da909e3dcef.woff} +0 -0
- data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-3e3ce2430855173bdb61b444afd27798.svg → opensans-semibold-webfont-a8d6661dd6606333a78a258a49e5564f.svg} +0 -0
- data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-66d0e5df946a12d08438dd7c935ae3c1.eot → opensans-semibold-webfont-c35505add5a952576f3b5f12d6778c6a.eot} +0 -0
- data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-a351567fbcf31a8a7ff8cf20b88da14f.ttf → opensans-semibold-webfont-d9aebf298570bbe2726a7a60b04dac4f.ttf} +0 -0
- data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-450906046944eae72690caf27a30bec1.woff → opensans-semibold-italic-webfont-41b9119ad7637da3a34556b5d2603b6d.woff} +0 -0
- data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-096e5044aeb4a52cd9e943054c0d1916.svg → opensans-semibold-italic-webfont-53530915d03d64c2a997be6f1b67ea55.svg} +0 -0
- data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-175ec3bae342e25dd251f86e8f5584b2.eot → opensans-semibold-italic-webfont-9176e68563de6fe231481a42bbef190a.eot} +0 -0
- data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-f9131100953e2ee6bb7ea636bef99935.ttf → opensans-semibold-italic-webfont-cb780adaa8192e415407f66c2ed3e62e.ttf} +0 -0
- data/script/precompile +1 -2
- data/test_server.gemspec +1 -0
- data/vendor/assets/components/open-sans/scss/_base.scss +0 -1
- metadata +65 -341
- data/public/assets/application-b8f8c1a2dda0ed76ca05e01be6fef6be.js +0 -13451
- data/public/assets/application-b8f8c1a2dda0ed76ca05e01be6fef6be.js.gz +0 -0
- data/public/assets/application-c2d56ef291192c32403d07556c36de26.css +0 -8222
- data/public/assets/application-c2d56ef291192c32403d07556c36de26.css.gz +0 -0
- data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-3e35c7e527383fc6fc479c17111469de.ttf +0 -0
- data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-483c8aa83c1cae07664b1c959523d062.woff +0 -0
- data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-f61f75238afd91ceeef4a5e4c639ead4.svg +0 -229
- data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-fe255aca45c0f6e7c8b2a1ed7c7a5274.eot +0 -0
- data/public/assets/bootstrap-sass/docs-assets/ico/apple-touch-icon-144-precomposed-dc1944e21bfdedf37f0626c17fe4761b.png +0 -0
- data/public/assets/bootstrap-sass/docs-assets/ico/favicon-5ee6a35987b7feae485871297a51e474.png +0 -0
- data/public/assets/bootstrap-sass/docs-assets/js/application-0981da122477809b03e6316775fba8ce.js +0 -105
- data/public/assets/bootstrap-sass/docs-assets/js/application-0981da122477809b03e6316775fba8ce.js.gz +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/carousel-4fc912866ec1da66bf3ca268dedf2fd0.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/grid-65fc56df081af8c364a3e43baa48a7f9.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/jumbotron-05e53fe8b84407cac9996bb8a7617d1f.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/jumbotron-narrow-c1456e53d5471cb59fd56efa0630407a.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/justified-nav-28adff9e12d21bc716cb8b4b45a5170a.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/navbar-9e619f72d4430e54820d5cf959899782.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/navbar-fixed-58ee4e4e189f9d59408c5be13638eae6.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/navbar-static-2be1617daecba84fc924b05da62ab618.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/non-responsive-4dbd6b23b283fc02cba682873bd715f4.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/offcanvas-bc3fe2949cd853c2a8900307956c8a97.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/sign-in-f70aa602b9439d930e0153262e70c935.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/starter-template-244e96ea0834aaf68ac2d51b4779ea02.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/sticky-footer-3709ae2872cf73ad6eadb9cf1e471ee3.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/sticky-footer-navbar-5587044c445c613c499c94987c3655b4.jpg +0 -0
- data/public/assets/bootstrap-sass/examples/screenshots/theme-21ab06bfc9b7f21b4fc8e803da11f13d.jpg +0 -0
- data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-3e35c7e527383fc6fc479c17111469de.ttf +0 -0
- data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-483c8aa83c1cae07664b1c959523d062.woff +0 -0
- data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-f61f75238afd91ceeef4a5e4c639ead4.svg +0 -229
- data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-fe255aca45c0f6e7c8b2a1ed7c7a5274.eot +0 -0
- data/public/assets/manifest-399d632024eeab469766a0adcd038b49.json +0 -1
- data/vendor/assets/components/bootstrap-sass/.bower.json +0 -25
- data/vendor/assets/components/bootstrap-sass/CNAME +0 -1
- data/vendor/assets/components/bootstrap-sass/CONTRIBUTING.md +0 -61
- data/vendor/assets/components/bootstrap-sass/DOCS-LICENSE +0 -319
- data/vendor/assets/components/bootstrap-sass/Gemfile +0 -5
- data/vendor/assets/components/bootstrap-sass/Gruntfile.js +0 -244
- data/vendor/assets/components/bootstrap-sass/LICENSE +0 -176
- data/vendor/assets/components/bootstrap-sass/LICENSE-MIT +0 -21
- data/vendor/assets/components/bootstrap-sass/README.md +0 -277
- data/vendor/assets/components/bootstrap-sass/Rakefile +0 -44
- data/vendor/assets/components/bootstrap-sass/_config.yml +0 -25
- data/vendor/assets/components/bootstrap-sass/_includes/ads.html +0 -1
- data/vendor/assets/components/bootstrap-sass/_includes/footer.html +0 -34
- data/vendor/assets/components/bootstrap-sass/_includes/header.html +0 -42
- data/vendor/assets/components/bootstrap-sass/_includes/nav-about.html +0 -12
- data/vendor/assets/components/bootstrap-sass/_includes/nav-components.html +0 -137
- data/vendor/assets/components/bootstrap-sass/_includes/nav-css.html +0 -99
- data/vendor/assets/components/bootstrap-sass/_includes/nav-customize.html +0 -40
- data/vendor/assets/components/bootstrap-sass/_includes/nav-getting-started.html +0 -44
- data/vendor/assets/components/bootstrap-sass/_includes/nav-javascript.html +0 -88
- data/vendor/assets/components/bootstrap-sass/_includes/nav-main.html +0 -37
- data/vendor/assets/components/bootstrap-sass/_includes/old-bs-docs.html +0 -8
- data/vendor/assets/components/bootstrap-sass/_includes/social-buttons.html +0 -16
- data/vendor/assets/components/bootstrap-sass/_layouts/default.html +0 -79
- data/vendor/assets/components/bootstrap-sass/_layouts/home.html +0 -47
- data/vendor/assets/components/bootstrap-sass/about.html +0 -93
- data/vendor/assets/components/bootstrap-sass/bower.json +0 -11
- data/vendor/assets/components/bootstrap-sass/browserstack.json +0 -37
- data/vendor/assets/components/bootstrap-sass/components.html +0 -3689
- data/vendor/assets/components/bootstrap-sass/composer.json +0 -28
- data/vendor/assets/components/bootstrap-sass/css.html +0 -2674
- data/vendor/assets/components/bootstrap-sass/customize.html +0 -1715
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap-theme.css +0 -427
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap-theme.min.css +0 -1
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap.css +0 -6350
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap.min.css +0 -1
- data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/bootstrap-sass/dist/js/bootstrap.js +0 -2002
- data/vendor/assets/components/bootstrap-sass/dist/js/bootstrap.min.js +0 -9
- data/vendor/assets/components/bootstrap-sass/docs-assets/css/docs.css +0 -1195
- data/vendor/assets/components/bootstrap-sass/docs-assets/css/pygments-manni.css +0 -66
- data/vendor/assets/components/bootstrap-sass/docs-assets/ico/apple-touch-icon-144-precomposed.png +0 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/ico/favicon.png +0 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/application.js +0 -103
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/customizer.js +0 -332
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/filesaver.js +0 -169
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/holder.js +0 -404
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/ie8-responsive-file-warning.js +0 -12
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/jszip.js +0 -1467
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/less.js +0 -9
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/raw-files.js +0 -3
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/uglify.js +0 -14
- data/vendor/assets/components/bootstrap-sass/examples/carousel/carousel.css +0 -148
- data/vendor/assets/components/bootstrap-sass/examples/carousel/index.html +0 -206
- data/vendor/assets/components/bootstrap-sass/examples/grid/grid.css +0 -28
- data/vendor/assets/components/bootstrap-sass/examples/grid/index.html +0 -148
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron/index.html +0 -99
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron/jumbotron.css +0 -5
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron-narrow/index.html +0 -82
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron-narrow/jumbotron-narrow.css +0 -79
- data/vendor/assets/components/bootstrap-sass/examples/justified-nav/index.html +0 -83
- data/vendor/assets/components/bootstrap-sass/examples/justified-nav/justified-nav.css +0 -88
- data/vendor/assets/components/bootstrap-sass/examples/navbar/index.html +0 -88
- data/vendor/assets/components/bootstrap-sass/examples/navbar/navbar.css +0 -8
- data/vendor/assets/components/bootstrap-sass/examples/navbar-fixed-top/index.html +0 -91
- data/vendor/assets/components/bootstrap-sass/examples/navbar-fixed-top/navbar-fixed-top.css +0 -4
- data/vendor/assets/components/bootstrap-sass/examples/navbar-static-top/index.html +0 -92
- data/vendor/assets/components/bootstrap-sass/examples/navbar-static-top/navbar-static-top.css +0 -7
- data/vendor/assets/components/bootstrap-sass/examples/non-responsive/index.html +0 -101
- data/vendor/assets/components/bootstrap-sass/examples/non-responsive/non-responsive.css +0 -116
- data/vendor/assets/components/bootstrap-sass/examples/offcanvas/index.html +0 -130
- data/vendor/assets/components/bootstrap-sass/examples/offcanvas/offcanvas.css +0 -50
- data/vendor/assets/components/bootstrap-sass/examples/offcanvas/offcanvas.js +0 -5
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/carousel.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/grid.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/jumbotron-narrow.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/jumbotron.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/justified-nav.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar-fixed.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar-static.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/non-responsive.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/offcanvas.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/sign-in.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/starter-template.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/sticky-footer-navbar.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/sticky-footer.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/theme.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/signin/index.html +0 -50
- data/vendor/assets/components/bootstrap-sass/examples/signin/signin.css +0 -40
- data/vendor/assets/components/bootstrap-sass/examples/starter-template/index.html +0 -68
- data/vendor/assets/components/bootstrap-sass/examples/starter-template/starter-template.css +0 -7
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer/index.html +0 -55
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer/sticky-footer.css +0 -38
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer-navbar/index.html +0 -91
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer-navbar/sticky-footer-navbar.css +0 -45
- data/vendor/assets/components/bootstrap-sass/examples/theme/index.html +0 -384
- data/vendor/assets/components/bootstrap-sass/examples/theme/theme.css +0 -14
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.svg +0 -229
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/bootstrap-sass/getting-started.html +0 -1021
- data/vendor/assets/components/bootstrap-sass/index.html +0 -16
- data/vendor/assets/components/bootstrap-sass/javascript.html +0 -1983
- data/vendor/assets/components/bootstrap-sass/js/affix.js +0 -126
- data/vendor/assets/components/bootstrap-sass/js/alert.js +0 -98
- data/vendor/assets/components/bootstrap-sass/js/button.js +0 -109
- data/vendor/assets/components/bootstrap-sass/js/carousel.js +0 -217
- data/vendor/assets/components/bootstrap-sass/js/collapse.js +0 -179
- data/vendor/assets/components/bootstrap-sass/js/dropdown.js +0 -154
- data/vendor/assets/components/bootstrap-sass/js/modal.js +0 -246
- data/vendor/assets/components/bootstrap-sass/js/popover.js +0 -117
- data/vendor/assets/components/bootstrap-sass/js/scrollspy.js +0 -158
- data/vendor/assets/components/bootstrap-sass/js/tab.js +0 -135
- data/vendor/assets/components/bootstrap-sass/js/tests/index.html +0 -52
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/affix.js +0 -25
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/alert.js +0 -62
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/button.js +0 -116
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/carousel.js +0 -87
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/collapse.js +0 -164
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/dropdown.js +0 -219
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/modal.js +0 -196
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/phantom.js +0 -69
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/popover.js +0 -133
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/scrollspy.js +0 -37
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/tab.js +0 -86
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/tooltip.js +0 -437
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/transition.js +0 -13
- data/vendor/assets/components/bootstrap-sass/js/tests/vendor/jquery.js +0 -6
- data/vendor/assets/components/bootstrap-sass/js/tests/vendor/qunit.css +0 -232
- data/vendor/assets/components/bootstrap-sass/js/tests/vendor/qunit.js +0 -1510
- data/vendor/assets/components/bootstrap-sass/js/tooltip.js +0 -386
- data/vendor/assets/components/bootstrap-sass/js/transition.js +0 -56
- data/vendor/assets/components/bootstrap-sass/lib/_alerts.scss +0 -67
- data/vendor/assets/components/bootstrap-sass/lib/_badges.scss +0 -51
- data/vendor/assets/components/bootstrap-sass/lib/_breadcrumbs.scss +0 -23
- data/vendor/assets/components/bootstrap-sass/lib/_button-groups.scss +0 -253
- data/vendor/assets/components/bootstrap-sass/lib/_buttons.scss +0 -158
- data/vendor/assets/components/bootstrap-sass/lib/_carousel.scss +0 -231
- data/vendor/assets/components/bootstrap-sass/lib/_close.scss +0 -35
- data/vendor/assets/components/bootstrap-sass/lib/_code.scss +0 -53
- data/vendor/assets/components/bootstrap-sass/lib/_component-animations.scss +0 -29
- data/vendor/assets/components/bootstrap-sass/lib/_dropdowns.scss +0 -193
- data/vendor/assets/components/bootstrap-sass/lib/_forms.scss +0 -363
- data/vendor/assets/components/bootstrap-sass/lib/_glyphicons.scss +0 -237
- data/vendor/assets/components/bootstrap-sass/lib/_grid.scss +0 -93
- data/vendor/assets/components/bootstrap-sass/lib/_input-groups.scss +0 -136
- data/vendor/assets/components/bootstrap-sass/lib/_jumbotron.scss +0 -40
- data/vendor/assets/components/bootstrap-sass/lib/_labels.scss +0 -58
- data/vendor/assets/components/bootstrap-sass/lib/_list-group.scss +0 -88
- data/vendor/assets/components/bootstrap-sass/lib/_media.scss +0 -56
- data/vendor/assets/components/bootstrap-sass/lib/_mixins.scss +0 -861
- data/vendor/assets/components/bootstrap-sass/lib/_modals.scss +0 -132
- data/vendor/assets/components/bootstrap-sass/lib/_navbar.scss +0 -628
- data/vendor/assets/components/bootstrap-sass/lib/_navs.scss +0 -262
- data/vendor/assets/components/bootstrap-sass/lib/_normalize.scss +0 -406
- data/vendor/assets/components/bootstrap-sass/lib/_pager.scss +0 -55
- data/vendor/assets/components/bootstrap-sass/lib/_pagination.scss +0 -85
- data/vendor/assets/components/bootstrap-sass/lib/_panels.scss +0 -172
- data/vendor/assets/components/bootstrap-sass/lib/_popovers.scss +0 -133
- data/vendor/assets/components/bootstrap-sass/lib/_print.scss +0 -105
- data/vendor/assets/components/bootstrap-sass/lib/_progress-bars.scss +0 -92
- data/vendor/assets/components/bootstrap-sass/lib/_responsive-utilities.scss +0 -198
- data/vendor/assets/components/bootstrap-sass/lib/_scaffolding.scss +0 -119
- data/vendor/assets/components/bootstrap-sass/lib/_tables.scss +0 -244
- data/vendor/assets/components/bootstrap-sass/lib/_theme.scss +0 -247
- data/vendor/assets/components/bootstrap-sass/lib/_thumbnails.scss +0 -32
- data/vendor/assets/components/bootstrap-sass/lib/_tooltip.scss +0 -95
- data/vendor/assets/components/bootstrap-sass/lib/_type.scss +0 -279
- data/vendor/assets/components/bootstrap-sass/lib/_utilities.scss +0 -56
- data/vendor/assets/components/bootstrap-sass/lib/_variables.scss +0 -637
- data/vendor/assets/components/bootstrap-sass/lib/_wells.scss +0 -29
- data/vendor/assets/components/bootstrap-sass/lib/bootstrap.scss +0 -49
- data/vendor/assets/components/bootstrap-sass/package.json +0 -40
- data/vendor/assets/components/jquery/.bower.json +0 -37
- data/vendor/assets/components/jquery/MIT-LICENSE.txt +0 -21
- data/vendor/assets/components/jquery/bower.json +0 -27
- data/vendor/assets/components/jquery/dist/jquery.js +0 -9174
- data/vendor/assets/components/jquery/dist/jquery.min.js +0 -5
- data/vendor/assets/components/jquery/dist/jquery.min.map +0 -1
- data/vendor/assets/components/jquery/src/ajax/jsonp.js +0 -89
- data/vendor/assets/components/jquery/src/ajax/load.js +0 -75
- data/vendor/assets/components/jquery/src/ajax/parseJSON.js +0 -13
- data/vendor/assets/components/jquery/src/ajax/parseXML.js +0 -28
- data/vendor/assets/components/jquery/src/ajax/script.js +0 -64
- data/vendor/assets/components/jquery/src/ajax/var/nonce.js +0 -5
- data/vendor/assets/components/jquery/src/ajax/var/rquery.js +0 -3
- data/vendor/assets/components/jquery/src/ajax/xhr.js +0 -135
- data/vendor/assets/components/jquery/src/ajax.js +0 -806
- data/vendor/assets/components/jquery/src/attributes/attr.js +0 -143
- data/vendor/assets/components/jquery/src/attributes/classes.js +0 -158
- data/vendor/assets/components/jquery/src/attributes/prop.js +0 -96
- data/vendor/assets/components/jquery/src/attributes/support.js +0 -35
- data/vendor/assets/components/jquery/src/attributes/val.js +0 -163
- data/vendor/assets/components/jquery/src/attributes.js +0 -11
- data/vendor/assets/components/jquery/src/callbacks.js +0 -205
- data/vendor/assets/components/jquery/src/core/access.js +0 -60
- data/vendor/assets/components/jquery/src/core/init.js +0 -123
- data/vendor/assets/components/jquery/src/core/parseHTML.js +0 -39
- data/vendor/assets/components/jquery/src/core/ready.js +0 -97
- data/vendor/assets/components/jquery/src/core/var/rsingleTag.js +0 -4
- data/vendor/assets/components/jquery/src/core.js +0 -498
- data/vendor/assets/components/jquery/src/css/addGetHookIf.js +0 -24
- data/vendor/assets/components/jquery/src/css/curCSS.js +0 -57
- data/vendor/assets/components/jquery/src/css/defaultDisplay.js +0 -70
- data/vendor/assets/components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/vendor/assets/components/jquery/src/css/support.js +0 -91
- data/vendor/assets/components/jquery/src/css/swap.js +0 -28
- data/vendor/assets/components/jquery/src/css/var/cssExpand.js +0 -3
- data/vendor/assets/components/jquery/src/css/var/getStyles.js +0 -5
- data/vendor/assets/components/jquery/src/css/var/isHidden.js +0 -13
- data/vendor/assets/components/jquery/src/css/var/rmargin.js +0 -3
- data/vendor/assets/components/jquery/src/css/var/rnumnonpx.js +0 -5
- data/vendor/assets/components/jquery/src/css.js +0 -451
- data/vendor/assets/components/jquery/src/data/Data.js +0 -181
- data/vendor/assets/components/jquery/src/data/accepts.js +0 -20
- data/vendor/assets/components/jquery/src/data/var/data_priv.js +0 -5
- data/vendor/assets/components/jquery/src/data/var/data_user.js +0 -5
- data/vendor/assets/components/jquery/src/data.js +0 -175
- data/vendor/assets/components/jquery/src/deferred.js +0 -149
- data/vendor/assets/components/jquery/src/deprecated.js +0 -13
- data/vendor/assets/components/jquery/src/dimensions.js +0 -50
- data/vendor/assets/components/jquery/src/effects/Tween.js +0 -114
- data/vendor/assets/components/jquery/src/effects/animatedSelector.js +0 -13
- data/vendor/assets/components/jquery/src/effects.js +0 -647
- data/vendor/assets/components/jquery/src/event/alias.js +0 -39
- data/vendor/assets/components/jquery/src/event/support.js +0 -9
- data/vendor/assets/components/jquery/src/event.js +0 -868
- data/vendor/assets/components/jquery/src/exports/amd.js +0 -24
- data/vendor/assets/components/jquery/src/exports/global.js +0 -32
- data/vendor/assets/components/jquery/src/intro.js +0 -44
- data/vendor/assets/components/jquery/src/jquery.js +0 -36
- data/vendor/assets/components/jquery/src/manipulation/_evalUrl.js +0 -18
- data/vendor/assets/components/jquery/src/manipulation/support.js +0 -31
- data/vendor/assets/components/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/vendor/assets/components/jquery/src/manipulation.js +0 -582
- data/vendor/assets/components/jquery/src/offset.js +0 -204
- data/vendor/assets/components/jquery/src/outro.js +0 -1
- data/vendor/assets/components/jquery/src/queue/delay.js +0 -22
- data/vendor/assets/components/jquery/src/queue.js +0 -142
- data/vendor/assets/components/jquery/src/selector-native.js +0 -172
- data/vendor/assets/components/jquery/src/selector-sizzle.js +0 -14
- data/vendor/assets/components/jquery/src/selector.js +0 -1
- data/vendor/assets/components/jquery/src/serialize.js +0 -111
- data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.js +0 -2034
- data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/vendor/assets/components/jquery/src/traversing/findFilter.js +0 -100
- data/vendor/assets/components/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/vendor/assets/components/jquery/src/traversing.js +0 -200
- data/vendor/assets/components/jquery/src/var/arr.js +0 -3
- data/vendor/assets/components/jquery/src/var/class2type.js +0 -4
- data/vendor/assets/components/jquery/src/var/concat.js +0 -5
- data/vendor/assets/components/jquery/src/var/hasOwn.js +0 -5
- data/vendor/assets/components/jquery/src/var/indexOf.js +0 -5
- data/vendor/assets/components/jquery/src/var/pnum.js +0 -3
- data/vendor/assets/components/jquery/src/var/push.js +0 -5
- data/vendor/assets/components/jquery/src/var/rnotwhite.js +0 -3
- data/vendor/assets/components/jquery/src/var/slice.js +0 -5
- data/vendor/assets/components/jquery/src/var/strundefined.js +0 -3
- data/vendor/assets/components/jquery/src/var/support.js +0 -4
- data/vendor/assets/components/jquery/src/var/toString.js +0 -5
- data/vendor/assets/components/jquery/src/wrap.js +0 -78
@@ -1,179 +0,0 @@
|
|
1
|
-
/* ========================================================================
|
2
|
-
* Bootstrap: collapse.js v3.0.2
|
3
|
-
* http://getbootstrap.com/javascript/#collapse
|
4
|
-
* ========================================================================
|
5
|
-
* Copyright 2013 Twitter, Inc.
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
* ======================================================================== */
|
19
|
-
|
20
|
-
|
21
|
-
+function ($) { "use strict";
|
22
|
-
|
23
|
-
// COLLAPSE PUBLIC CLASS DEFINITION
|
24
|
-
// ================================
|
25
|
-
|
26
|
-
var Collapse = function (element, options) {
|
27
|
-
this.$element = $(element)
|
28
|
-
this.options = $.extend({}, Collapse.DEFAULTS, options)
|
29
|
-
this.transitioning = null
|
30
|
-
|
31
|
-
if (this.options.parent) this.$parent = $(this.options.parent)
|
32
|
-
if (this.options.toggle) this.toggle()
|
33
|
-
}
|
34
|
-
|
35
|
-
Collapse.DEFAULTS = {
|
36
|
-
toggle: true
|
37
|
-
}
|
38
|
-
|
39
|
-
Collapse.prototype.dimension = function () {
|
40
|
-
var hasWidth = this.$element.hasClass('width')
|
41
|
-
return hasWidth ? 'width' : 'height'
|
42
|
-
}
|
43
|
-
|
44
|
-
Collapse.prototype.show = function () {
|
45
|
-
if (this.transitioning || this.$element.hasClass('in')) return
|
46
|
-
|
47
|
-
var startEvent = $.Event('show.bs.collapse')
|
48
|
-
this.$element.trigger(startEvent)
|
49
|
-
if (startEvent.isDefaultPrevented()) return
|
50
|
-
|
51
|
-
var actives = this.$parent && this.$parent.find('> .panel > .in')
|
52
|
-
|
53
|
-
if (actives && actives.length) {
|
54
|
-
var hasData = actives.data('bs.collapse')
|
55
|
-
if (hasData && hasData.transitioning) return
|
56
|
-
actives.collapse('hide')
|
57
|
-
hasData || actives.data('bs.collapse', null)
|
58
|
-
}
|
59
|
-
|
60
|
-
var dimension = this.dimension()
|
61
|
-
|
62
|
-
this.$element
|
63
|
-
.removeClass('collapse')
|
64
|
-
.addClass('collapsing')
|
65
|
-
[dimension](0)
|
66
|
-
|
67
|
-
this.transitioning = 1
|
68
|
-
|
69
|
-
var complete = function () {
|
70
|
-
this.$element
|
71
|
-
.removeClass('collapsing')
|
72
|
-
.addClass('in')
|
73
|
-
[dimension]('auto')
|
74
|
-
this.transitioning = 0
|
75
|
-
this.$element.trigger('shown.bs.collapse')
|
76
|
-
}
|
77
|
-
|
78
|
-
if (!$.support.transition) return complete.call(this)
|
79
|
-
|
80
|
-
var scrollSize = $.camelCase(['scroll', dimension].join('-'))
|
81
|
-
|
82
|
-
this.$element
|
83
|
-
.one($.support.transition.end, $.proxy(complete, this))
|
84
|
-
.emulateTransitionEnd(350)
|
85
|
-
[dimension](this.$element[0][scrollSize])
|
86
|
-
}
|
87
|
-
|
88
|
-
Collapse.prototype.hide = function () {
|
89
|
-
if (this.transitioning || !this.$element.hasClass('in')) return
|
90
|
-
|
91
|
-
var startEvent = $.Event('hide.bs.collapse')
|
92
|
-
this.$element.trigger(startEvent)
|
93
|
-
if (startEvent.isDefaultPrevented()) return
|
94
|
-
|
95
|
-
var dimension = this.dimension()
|
96
|
-
|
97
|
-
this.$element
|
98
|
-
[dimension](this.$element[dimension]())
|
99
|
-
[0].offsetHeight
|
100
|
-
|
101
|
-
this.$element
|
102
|
-
.addClass('collapsing')
|
103
|
-
.removeClass('collapse')
|
104
|
-
.removeClass('in')
|
105
|
-
|
106
|
-
this.transitioning = 1
|
107
|
-
|
108
|
-
var complete = function () {
|
109
|
-
this.transitioning = 0
|
110
|
-
this.$element
|
111
|
-
.trigger('hidden.bs.collapse')
|
112
|
-
.removeClass('collapsing')
|
113
|
-
.addClass('collapse')
|
114
|
-
}
|
115
|
-
|
116
|
-
if (!$.support.transition) return complete.call(this)
|
117
|
-
|
118
|
-
this.$element
|
119
|
-
[dimension](0)
|
120
|
-
.one($.support.transition.end, $.proxy(complete, this))
|
121
|
-
.emulateTransitionEnd(350)
|
122
|
-
}
|
123
|
-
|
124
|
-
Collapse.prototype.toggle = function () {
|
125
|
-
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
126
|
-
}
|
127
|
-
|
128
|
-
|
129
|
-
// COLLAPSE PLUGIN DEFINITION
|
130
|
-
// ==========================
|
131
|
-
|
132
|
-
var old = $.fn.collapse
|
133
|
-
|
134
|
-
$.fn.collapse = function (option) {
|
135
|
-
return this.each(function () {
|
136
|
-
var $this = $(this)
|
137
|
-
var data = $this.data('bs.collapse')
|
138
|
-
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
139
|
-
|
140
|
-
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
|
141
|
-
if (typeof option == 'string') data[option]()
|
142
|
-
})
|
143
|
-
}
|
144
|
-
|
145
|
-
$.fn.collapse.Constructor = Collapse
|
146
|
-
|
147
|
-
|
148
|
-
// COLLAPSE NO CONFLICT
|
149
|
-
// ====================
|
150
|
-
|
151
|
-
$.fn.collapse.noConflict = function () {
|
152
|
-
$.fn.collapse = old
|
153
|
-
return this
|
154
|
-
}
|
155
|
-
|
156
|
-
|
157
|
-
// COLLAPSE DATA-API
|
158
|
-
// =================
|
159
|
-
|
160
|
-
$(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
|
161
|
-
var $this = $(this), href
|
162
|
-
var target = $this.attr('data-target')
|
163
|
-
|| e.preventDefault()
|
164
|
-
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
|
165
|
-
var $target = $(target)
|
166
|
-
var data = $target.data('bs.collapse')
|
167
|
-
var option = data ? 'toggle' : $this.data()
|
168
|
-
var parent = $this.attr('data-parent')
|
169
|
-
var $parent = parent && $(parent)
|
170
|
-
|
171
|
-
if (!data || !data.transitioning) {
|
172
|
-
if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
|
173
|
-
$this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
|
174
|
-
}
|
175
|
-
|
176
|
-
$target.collapse(option)
|
177
|
-
})
|
178
|
-
|
179
|
-
}(jQuery);
|
@@ -1,154 +0,0 @@
|
|
1
|
-
/* ========================================================================
|
2
|
-
* Bootstrap: dropdown.js v3.0.2
|
3
|
-
* http://getbootstrap.com/javascript/#dropdowns
|
4
|
-
* ========================================================================
|
5
|
-
* Copyright 2013 Twitter, Inc.
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
* ======================================================================== */
|
19
|
-
|
20
|
-
|
21
|
-
+function ($) { "use strict";
|
22
|
-
|
23
|
-
// DROPDOWN CLASS DEFINITION
|
24
|
-
// =========================
|
25
|
-
|
26
|
-
var backdrop = '.dropdown-backdrop'
|
27
|
-
var toggle = '[data-toggle=dropdown]'
|
28
|
-
var Dropdown = function (element) {
|
29
|
-
var $el = $(element).on('click.bs.dropdown', this.toggle)
|
30
|
-
}
|
31
|
-
|
32
|
-
Dropdown.prototype.toggle = function (e) {
|
33
|
-
var $this = $(this)
|
34
|
-
|
35
|
-
if ($this.is('.disabled, :disabled')) return
|
36
|
-
|
37
|
-
var $parent = getParent($this)
|
38
|
-
var isActive = $parent.hasClass('open')
|
39
|
-
|
40
|
-
clearMenus()
|
41
|
-
|
42
|
-
if (!isActive) {
|
43
|
-
if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
|
44
|
-
// if mobile we we use a backdrop because click events don't delegate
|
45
|
-
$('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
|
46
|
-
}
|
47
|
-
|
48
|
-
$parent.trigger(e = $.Event('show.bs.dropdown'))
|
49
|
-
|
50
|
-
if (e.isDefaultPrevented()) return
|
51
|
-
|
52
|
-
$parent
|
53
|
-
.toggleClass('open')
|
54
|
-
.trigger('shown.bs.dropdown')
|
55
|
-
|
56
|
-
$this.focus()
|
57
|
-
}
|
58
|
-
|
59
|
-
return false
|
60
|
-
}
|
61
|
-
|
62
|
-
Dropdown.prototype.keydown = function (e) {
|
63
|
-
if (!/(38|40|27)/.test(e.keyCode)) return
|
64
|
-
|
65
|
-
var $this = $(this)
|
66
|
-
|
67
|
-
e.preventDefault()
|
68
|
-
e.stopPropagation()
|
69
|
-
|
70
|
-
if ($this.is('.disabled, :disabled')) return
|
71
|
-
|
72
|
-
var $parent = getParent($this)
|
73
|
-
var isActive = $parent.hasClass('open')
|
74
|
-
|
75
|
-
if (!isActive || (isActive && e.keyCode == 27)) {
|
76
|
-
if (e.which == 27) $parent.find(toggle).focus()
|
77
|
-
return $this.click()
|
78
|
-
}
|
79
|
-
|
80
|
-
var $items = $('[role=menu] li:not(.divider):visible a', $parent)
|
81
|
-
|
82
|
-
if (!$items.length) return
|
83
|
-
|
84
|
-
var index = $items.index($items.filter(':focus'))
|
85
|
-
|
86
|
-
if (e.keyCode == 38 && index > 0) index-- // up
|
87
|
-
if (e.keyCode == 40 && index < $items.length - 1) index++ // down
|
88
|
-
if (!~index) index=0
|
89
|
-
|
90
|
-
$items.eq(index).focus()
|
91
|
-
}
|
92
|
-
|
93
|
-
function clearMenus() {
|
94
|
-
$(backdrop).remove()
|
95
|
-
$(toggle).each(function (e) {
|
96
|
-
var $parent = getParent($(this))
|
97
|
-
if (!$parent.hasClass('open')) return
|
98
|
-
$parent.trigger(e = $.Event('hide.bs.dropdown'))
|
99
|
-
if (e.isDefaultPrevented()) return
|
100
|
-
$parent.removeClass('open').trigger('hidden.bs.dropdown')
|
101
|
-
})
|
102
|
-
}
|
103
|
-
|
104
|
-
function getParent($this) {
|
105
|
-
var selector = $this.attr('data-target')
|
106
|
-
|
107
|
-
if (!selector) {
|
108
|
-
selector = $this.attr('href')
|
109
|
-
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
110
|
-
}
|
111
|
-
|
112
|
-
var $parent = selector && $(selector)
|
113
|
-
|
114
|
-
return $parent && $parent.length ? $parent : $this.parent()
|
115
|
-
}
|
116
|
-
|
117
|
-
|
118
|
-
// DROPDOWN PLUGIN DEFINITION
|
119
|
-
// ==========================
|
120
|
-
|
121
|
-
var old = $.fn.dropdown
|
122
|
-
|
123
|
-
$.fn.dropdown = function (option) {
|
124
|
-
return this.each(function () {
|
125
|
-
var $this = $(this)
|
126
|
-
var data = $this.data('dropdown')
|
127
|
-
|
128
|
-
if (!data) $this.data('dropdown', (data = new Dropdown(this)))
|
129
|
-
if (typeof option == 'string') data[option].call($this)
|
130
|
-
})
|
131
|
-
}
|
132
|
-
|
133
|
-
$.fn.dropdown.Constructor = Dropdown
|
134
|
-
|
135
|
-
|
136
|
-
// DROPDOWN NO CONFLICT
|
137
|
-
// ====================
|
138
|
-
|
139
|
-
$.fn.dropdown.noConflict = function () {
|
140
|
-
$.fn.dropdown = old
|
141
|
-
return this
|
142
|
-
}
|
143
|
-
|
144
|
-
|
145
|
-
// APPLY TO STANDARD DROPDOWN ELEMENTS
|
146
|
-
// ===================================
|
147
|
-
|
148
|
-
$(document)
|
149
|
-
.on('click.bs.dropdown.data-api', clearMenus)
|
150
|
-
.on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
151
|
-
.on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
152
|
-
.on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
153
|
-
|
154
|
-
}(jQuery);
|
@@ -1,246 +0,0 @@
|
|
1
|
-
/* ========================================================================
|
2
|
-
* Bootstrap: modal.js v3.0.2
|
3
|
-
* http://getbootstrap.com/javascript/#modals
|
4
|
-
* ========================================================================
|
5
|
-
* Copyright 2013 Twitter, Inc.
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
* ======================================================================== */
|
19
|
-
|
20
|
-
|
21
|
-
+function ($) { "use strict";
|
22
|
-
|
23
|
-
// MODAL CLASS DEFINITION
|
24
|
-
// ======================
|
25
|
-
|
26
|
-
var Modal = function (element, options) {
|
27
|
-
this.options = options
|
28
|
-
this.$element = $(element)
|
29
|
-
this.$backdrop =
|
30
|
-
this.isShown = null
|
31
|
-
|
32
|
-
if (this.options.remote) this.$element.load(this.options.remote)
|
33
|
-
}
|
34
|
-
|
35
|
-
Modal.DEFAULTS = {
|
36
|
-
backdrop: true
|
37
|
-
, keyboard: true
|
38
|
-
, show: true
|
39
|
-
}
|
40
|
-
|
41
|
-
Modal.prototype.toggle = function (_relatedTarget) {
|
42
|
-
return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
|
43
|
-
}
|
44
|
-
|
45
|
-
Modal.prototype.show = function (_relatedTarget) {
|
46
|
-
var that = this
|
47
|
-
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
48
|
-
|
49
|
-
this.$element.trigger(e)
|
50
|
-
|
51
|
-
if (this.isShown || e.isDefaultPrevented()) return
|
52
|
-
|
53
|
-
this.isShown = true
|
54
|
-
|
55
|
-
this.escape()
|
56
|
-
|
57
|
-
this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
58
|
-
|
59
|
-
this.backdrop(function () {
|
60
|
-
var transition = $.support.transition && that.$element.hasClass('fade')
|
61
|
-
|
62
|
-
if (!that.$element.parent().length) {
|
63
|
-
that.$element.appendTo(document.body) // don't move modals dom position
|
64
|
-
}
|
65
|
-
|
66
|
-
that.$element.show()
|
67
|
-
|
68
|
-
if (transition) {
|
69
|
-
that.$element[0].offsetWidth // force reflow
|
70
|
-
}
|
71
|
-
|
72
|
-
that.$element
|
73
|
-
.addClass('in')
|
74
|
-
.attr('aria-hidden', false)
|
75
|
-
|
76
|
-
that.enforceFocus()
|
77
|
-
|
78
|
-
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
|
79
|
-
|
80
|
-
transition ?
|
81
|
-
that.$element.find('.modal-dialog') // wait for modal to slide in
|
82
|
-
.one($.support.transition.end, function () {
|
83
|
-
that.$element.focus().trigger(e)
|
84
|
-
})
|
85
|
-
.emulateTransitionEnd(300) :
|
86
|
-
that.$element.focus().trigger(e)
|
87
|
-
})
|
88
|
-
}
|
89
|
-
|
90
|
-
Modal.prototype.hide = function (e) {
|
91
|
-
if (e) e.preventDefault()
|
92
|
-
|
93
|
-
e = $.Event('hide.bs.modal')
|
94
|
-
|
95
|
-
this.$element.trigger(e)
|
96
|
-
|
97
|
-
if (!this.isShown || e.isDefaultPrevented()) return
|
98
|
-
|
99
|
-
this.isShown = false
|
100
|
-
|
101
|
-
this.escape()
|
102
|
-
|
103
|
-
$(document).off('focusin.bs.modal')
|
104
|
-
|
105
|
-
this.$element
|
106
|
-
.removeClass('in')
|
107
|
-
.attr('aria-hidden', true)
|
108
|
-
.off('click.dismiss.modal')
|
109
|
-
|
110
|
-
$.support.transition && this.$element.hasClass('fade') ?
|
111
|
-
this.$element
|
112
|
-
.one($.support.transition.end, $.proxy(this.hideModal, this))
|
113
|
-
.emulateTransitionEnd(300) :
|
114
|
-
this.hideModal()
|
115
|
-
}
|
116
|
-
|
117
|
-
Modal.prototype.enforceFocus = function () {
|
118
|
-
$(document)
|
119
|
-
.off('focusin.bs.modal') // guard against infinite focus loop
|
120
|
-
.on('focusin.bs.modal', $.proxy(function (e) {
|
121
|
-
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
|
122
|
-
this.$element.focus()
|
123
|
-
}
|
124
|
-
}, this))
|
125
|
-
}
|
126
|
-
|
127
|
-
Modal.prototype.escape = function () {
|
128
|
-
if (this.isShown && this.options.keyboard) {
|
129
|
-
this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
|
130
|
-
e.which == 27 && this.hide()
|
131
|
-
}, this))
|
132
|
-
} else if (!this.isShown) {
|
133
|
-
this.$element.off('keyup.dismiss.bs.modal')
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
Modal.prototype.hideModal = function () {
|
138
|
-
var that = this
|
139
|
-
this.$element.hide()
|
140
|
-
this.backdrop(function () {
|
141
|
-
that.removeBackdrop()
|
142
|
-
that.$element.trigger('hidden.bs.modal')
|
143
|
-
})
|
144
|
-
}
|
145
|
-
|
146
|
-
Modal.prototype.removeBackdrop = function () {
|
147
|
-
this.$backdrop && this.$backdrop.remove()
|
148
|
-
this.$backdrop = null
|
149
|
-
}
|
150
|
-
|
151
|
-
Modal.prototype.backdrop = function (callback) {
|
152
|
-
var that = this
|
153
|
-
var animate = this.$element.hasClass('fade') ? 'fade' : ''
|
154
|
-
|
155
|
-
if (this.isShown && this.options.backdrop) {
|
156
|
-
var doAnimate = $.support.transition && animate
|
157
|
-
|
158
|
-
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
|
159
|
-
.appendTo(document.body)
|
160
|
-
|
161
|
-
this.$element.on('click.dismiss.modal', $.proxy(function (e) {
|
162
|
-
if (e.target !== e.currentTarget) return
|
163
|
-
this.options.backdrop == 'static'
|
164
|
-
? this.$element[0].focus.call(this.$element[0])
|
165
|
-
: this.hide.call(this)
|
166
|
-
}, this))
|
167
|
-
|
168
|
-
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
|
169
|
-
|
170
|
-
this.$backdrop.addClass('in')
|
171
|
-
|
172
|
-
if (!callback) return
|
173
|
-
|
174
|
-
doAnimate ?
|
175
|
-
this.$backdrop
|
176
|
-
.one($.support.transition.end, callback)
|
177
|
-
.emulateTransitionEnd(150) :
|
178
|
-
callback()
|
179
|
-
|
180
|
-
} else if (!this.isShown && this.$backdrop) {
|
181
|
-
this.$backdrop.removeClass('in')
|
182
|
-
|
183
|
-
$.support.transition && this.$element.hasClass('fade')?
|
184
|
-
this.$backdrop
|
185
|
-
.one($.support.transition.end, callback)
|
186
|
-
.emulateTransitionEnd(150) :
|
187
|
-
callback()
|
188
|
-
|
189
|
-
} else if (callback) {
|
190
|
-
callback()
|
191
|
-
}
|
192
|
-
}
|
193
|
-
|
194
|
-
|
195
|
-
// MODAL PLUGIN DEFINITION
|
196
|
-
// =======================
|
197
|
-
|
198
|
-
var old = $.fn.modal
|
199
|
-
|
200
|
-
$.fn.modal = function (option, _relatedTarget) {
|
201
|
-
return this.each(function () {
|
202
|
-
var $this = $(this)
|
203
|
-
var data = $this.data('bs.modal')
|
204
|
-
var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
205
|
-
|
206
|
-
if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
|
207
|
-
if (typeof option == 'string') data[option](_relatedTarget)
|
208
|
-
else if (options.show) data.show(_relatedTarget)
|
209
|
-
})
|
210
|
-
}
|
211
|
-
|
212
|
-
$.fn.modal.Constructor = Modal
|
213
|
-
|
214
|
-
|
215
|
-
// MODAL NO CONFLICT
|
216
|
-
// =================
|
217
|
-
|
218
|
-
$.fn.modal.noConflict = function () {
|
219
|
-
$.fn.modal = old
|
220
|
-
return this
|
221
|
-
}
|
222
|
-
|
223
|
-
|
224
|
-
// MODAL DATA-API
|
225
|
-
// ==============
|
226
|
-
|
227
|
-
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
|
228
|
-
var $this = $(this)
|
229
|
-
var href = $this.attr('href')
|
230
|
-
var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
|
231
|
-
var option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
232
|
-
|
233
|
-
e.preventDefault()
|
234
|
-
|
235
|
-
$target
|
236
|
-
.modal(option, this)
|
237
|
-
.one('hide', function () {
|
238
|
-
$this.is(':visible') && $this.focus()
|
239
|
-
})
|
240
|
-
})
|
241
|
-
|
242
|
-
$(document)
|
243
|
-
.on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
|
244
|
-
.on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
|
245
|
-
|
246
|
-
}(jQuery);
|
@@ -1,117 +0,0 @@
|
|
1
|
-
/* ========================================================================
|
2
|
-
* Bootstrap: popover.js v3.0.2
|
3
|
-
* http://getbootstrap.com/javascript/#popovers
|
4
|
-
* ========================================================================
|
5
|
-
* Copyright 2013 Twitter, Inc.
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
* ======================================================================== */
|
19
|
-
|
20
|
-
|
21
|
-
+function ($) { "use strict";
|
22
|
-
|
23
|
-
// POPOVER PUBLIC CLASS DEFINITION
|
24
|
-
// ===============================
|
25
|
-
|
26
|
-
var Popover = function (element, options) {
|
27
|
-
this.init('popover', element, options)
|
28
|
-
}
|
29
|
-
|
30
|
-
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
|
31
|
-
|
32
|
-
Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {
|
33
|
-
placement: 'right'
|
34
|
-
, trigger: 'click'
|
35
|
-
, content: ''
|
36
|
-
, template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
|
37
|
-
})
|
38
|
-
|
39
|
-
|
40
|
-
// NOTE: POPOVER EXTENDS tooltip.js
|
41
|
-
// ================================
|
42
|
-
|
43
|
-
Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
|
44
|
-
|
45
|
-
Popover.prototype.constructor = Popover
|
46
|
-
|
47
|
-
Popover.prototype.getDefaults = function () {
|
48
|
-
return Popover.DEFAULTS
|
49
|
-
}
|
50
|
-
|
51
|
-
Popover.prototype.setContent = function () {
|
52
|
-
var $tip = this.tip()
|
53
|
-
var title = this.getTitle()
|
54
|
-
var content = this.getContent()
|
55
|
-
|
56
|
-
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
|
57
|
-
$tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
|
58
|
-
|
59
|
-
$tip.removeClass('fade top bottom left right in')
|
60
|
-
|
61
|
-
// IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
|
62
|
-
// this manually by checking the contents.
|
63
|
-
if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
|
64
|
-
}
|
65
|
-
|
66
|
-
Popover.prototype.hasContent = function () {
|
67
|
-
return this.getTitle() || this.getContent()
|
68
|
-
}
|
69
|
-
|
70
|
-
Popover.prototype.getContent = function () {
|
71
|
-
var $e = this.$element
|
72
|
-
var o = this.options
|
73
|
-
|
74
|
-
return $e.attr('data-content')
|
75
|
-
|| (typeof o.content == 'function' ?
|
76
|
-
o.content.call($e[0]) :
|
77
|
-
o.content)
|
78
|
-
}
|
79
|
-
|
80
|
-
Popover.prototype.arrow = function () {
|
81
|
-
return this.$arrow = this.$arrow || this.tip().find('.arrow')
|
82
|
-
}
|
83
|
-
|
84
|
-
Popover.prototype.tip = function () {
|
85
|
-
if (!this.$tip) this.$tip = $(this.options.template)
|
86
|
-
return this.$tip
|
87
|
-
}
|
88
|
-
|
89
|
-
|
90
|
-
// POPOVER PLUGIN DEFINITION
|
91
|
-
// =========================
|
92
|
-
|
93
|
-
var old = $.fn.popover
|
94
|
-
|
95
|
-
$.fn.popover = function (option) {
|
96
|
-
return this.each(function () {
|
97
|
-
var $this = $(this)
|
98
|
-
var data = $this.data('bs.popover')
|
99
|
-
var options = typeof option == 'object' && option
|
100
|
-
|
101
|
-
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
|
102
|
-
if (typeof option == 'string') data[option]()
|
103
|
-
})
|
104
|
-
}
|
105
|
-
|
106
|
-
$.fn.popover.Constructor = Popover
|
107
|
-
|
108
|
-
|
109
|
-
// POPOVER NO CONFLICT
|
110
|
-
// ===================
|
111
|
-
|
112
|
-
$.fn.popover.noConflict = function () {
|
113
|
-
$.fn.popover = old
|
114
|
-
return this
|
115
|
-
}
|
116
|
-
|
117
|
-
}(jQuery);
|