test_server 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/README.md +14 -0
  4. data/Rakefile +38 -11
  5. data/app/assets/javascripts/application.js +1 -1
  6. data/app/assets/stylesheets/application.scss +1 -4
  7. data/app/views/layouts/application.html.haml +0 -1
  8. data/bower.json +2 -2
  9. data/config/application.rb +2 -0
  10. data/lib/test_server/version.rb +1 -1
  11. data/public/assets/{ajax-loader-8deebb46e9598adab64ca18a097090f2.gif → ajax-loader-8e1e1d0c3edf6e2e1b715d1eee17be72.gif} +0 -0
  12. data/public/assets/application-153f195592d51b0a23a4e410f973ff44.css +1 -0
  13. data/public/assets/application-153f195592d51b0a23a4e410f973ff44.css.gz +0 -0
  14. data/public/assets/application-d42809560de348f0e46d020e73371e19.js +5 -0
  15. data/public/assets/application-d42809560de348f0e46d020e73371e19.js.gz +0 -0
  16. data/{vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.svg → public/assets/bootstrap/glyphicons-halflings-regular-0dad23eb93dac1723b033c0965c1522f.svg} +47 -47
  17. data/public/assets/bootstrap/glyphicons-halflings-regular-8921a93349df81eec3d107b946cadc11.woff +0 -0
  18. data/public/assets/bootstrap/glyphicons-halflings-regular-dabd247fcf6131fac2d5fb49ef946032.eot +0 -0
  19. data/{vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.ttf → public/assets/bootstrap/glyphicons-halflings-regular-f7c7c8f3c0d76e8572c38e5d8ee21a62.ttf} +0 -0
  20. data/public/assets/manifest-f0867e7349713768e73e03ea49632c3d.json +1 -0
  21. data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-e7a6debf8f091e4503e044cfd5be0c41.ttf → opensans-bold-webfont-515a4c1f3ce7319f3655bbced4b37567.ttf} +0 -0
  22. data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-d245c81584bc209186b92046a460e46a.woff → opensans-bold-webfont-6448bf67894341807a28bb6ba7d92e9e.woff} +0 -0
  23. data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-5ab08b90fbb2b65c7fa85b6257ab7c75.eot → opensans-bold-webfont-705fa3b6e7603831070d8c7d90b59e39.eot} +0 -0
  24. data/public/assets/open-sans/fonts/bold/{opensans-bold-webfont-750a875c4f25392d79776eb913ce7a2a.svg → opensans-bold-webfont-ce2db17dc480533ab5a54e991409c178.svg} +0 -0
  25. data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-90994dcc0d06a4e813fe6789ec46409d.eot → opensans-bold-italic-webfont-1fd4caae8a90824c18dab91d876abd96.eot} +0 -0
  26. data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-3343098c02ad5c9255acc597f6d0865a.woff → opensans-bold-italic-webfont-57323909f6eb12958ceb3d71a31124a5.woff} +0 -0
  27. data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-d125b28836bb8f399ae1a996b933792f.svg → opensans-bold-italic-webfont-610aeecbe53403e7731391febf814c62.svg} +0 -0
  28. data/public/assets/open-sans/fonts/bold-italic/{opensans-bold-italic-webfont-4de1e5ddb76bb4bc65ecd0bf26d18052.ttf → opensans-bold-italic-webfont-c89791907aa446716486422f5eaadbfd.ttf} +0 -0
  29. data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-97541ae028af017f8c73e5c193001d42.svg → opensans-extrabold-webfont-661a6746dac8778c16c6091ab77f49ea.svg} +0 -0
  30. data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-5afffe461cab895cdb1b2915173f9c40.ttf → opensans-extrabold-webfont-89fc234e90e4ed6be5c860fdb3a0356a.ttf} +0 -0
  31. data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-4390d91f0b15889beaad27555d1a73ed.eot → opensans-extrabold-webfont-8b552c0ad65aacd18cff6395da5f9194.eot} +0 -0
  32. data/public/assets/open-sans/fonts/extrabold/{opensans-extrabold-webfont-b41639c02d95cce9a3afabec40966e87.woff → opensans-extrabold-webfont-f1aaed0a94c1686134f1a78fcdcef050.woff} +0 -0
  33. data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-da60ccbb572a495f477b2175c04d1960.svg → opensans-extrabold-italic-webfont-050061745a67814eb7a7b5a439eac1b9.svg} +0 -0
  34. data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-6124b23773362839bbb9fe59c5c42669.eot → opensans-extrabold-italic-webfont-095e905be201efbdb7768816d9107ccb.eot} +0 -0
  35. data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-b288b8bb2c0456f513c66e5f3d1a8e86.woff → opensans-extrabold-italic-webfont-c83a2ba9b6525c96eeedf34a73957a94.woff} +0 -0
  36. data/public/assets/open-sans/fonts/extrabold-italic/{opensans-extrabold-italic-webfont-4688d243519b0043c628699427e33d08.ttf → opensans-extrabold-italic-webfont-d30aeee3a5b23d3b403f1e05f7eec160.ttf} +0 -0
  37. data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-ef65d5a7ec248309b3d39185eab4de46.eot → opensans-italic-webfont-1e20bbc4d89354b5c9450cf52788aa81.eot} +0 -0
  38. data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-a3e912390ca29982acbe95e8bf31c679.ttf → opensans-italic-webfont-4fa42e02c081a15ff15eafcf5b77e136.ttf} +0 -0
  39. data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-b4669a561cdae44f45b60a0ee2e7e8cd.woff → opensans-italic-webfont-87e33ea9c569ef51d5bebf951f43118e.woff} +0 -0
  40. data/public/assets/open-sans/fonts/italic/{opensans-italic-webfont-d8a07c962e6a9bebab24506c7b0e53a5.svg → opensans-italic-webfont-d070eafd9a891be3a502cfca97c132b8.svg} +0 -0
  41. data/public/assets/open-sans/fonts/light/{opensans-light-webfont-1337f63e97d6102f2a3a241fac129c7a.woff → opensans-light-webfont-26a6cf49ae01b42e079c3944d75b2ed6.woff} +0 -0
  42. data/public/assets/open-sans/fonts/light/{opensans-light-webfont-8273be5ff945da30906b8fd7fac767aa.svg → opensans-light-webfont-2f4a0b6dc8fc9a2d6fa652bfc8ba8978.svg} +0 -0
  43. data/public/assets/open-sans/fonts/light/{opensans-light-webfont-0f32077bd4cbff507ff8ffc7e9f207f0.ttf → opensans-light-webfont-52c0426189c826c63a4a058a75d80fe7.ttf} +0 -0
  44. data/public/assets/open-sans/fonts/light/{opensans-light-webfont-6d641cac3cbf66342fe91dfc29723d34.eot → opensans-light-webfont-fc05bdfd9a47e354d11ecbdd8dca80ed.eot} +0 -0
  45. data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-a5ef1006892c0a391e29f7c839982463.woff → opensans-light-italic-webfont-0df794e2dd024cc9006ab535d4df69fc.woff} +0 -0
  46. data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-31f3f5d1f66d7ebbdd3d6f462707bee6.ttf → opensans-light-italic-webfont-2b137da15e9577fc1f73409df7a94a81.ttf} +0 -0
  47. data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-b8b819ed29a82b0be6c0de1e8246b1dd.eot → opensans-light-italic-webfont-351903f192c3431ce2670a0682b65cbf.eot} +0 -0
  48. data/public/assets/open-sans/fonts/light-italic/{opensans-light-italic-webfont-f239c2432833ae460c2294be532f9ea7.svg → opensans-light-italic-webfont-f71ef4b0ad89544b655f636423e17e3b.svg} +0 -0
  49. data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-c89373b333fa6e878d2e54da360d60d1.svg → opensans-regular-webfont-0147dddc2c21ab17ef0606dfcd37920c.svg} +0 -0
  50. data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-356deed95e2b29ee22d793842fe14c14.eot → opensans-regular-webfont-0909ffa90c14cc7f43eb80ba12a73f39.eot} +0 -0
  51. data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-001b7e40367093d95c1d5e47f32c0830.ttf → opensans-regular-webfont-bcc217ef7d1d58a6fcb22171df8b9b42.ttf} +0 -0
  52. data/public/assets/open-sans/fonts/regular/{opensans-regular-webfont-8d971e991a2e1b8c6bfb18e879c8a024.woff → opensans-regular-webfont-d48302deb418745f1b95ec4ff541d6e3.woff} +0 -0
  53. data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-92eb41279d9e4bb36db7d798f4a3ce53.woff → opensans-semibold-webfont-0f3d7381a2b348ba614e5da909e3dcef.woff} +0 -0
  54. data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-3e3ce2430855173bdb61b444afd27798.svg → opensans-semibold-webfont-a8d6661dd6606333a78a258a49e5564f.svg} +0 -0
  55. data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-66d0e5df946a12d08438dd7c935ae3c1.eot → opensans-semibold-webfont-c35505add5a952576f3b5f12d6778c6a.eot} +0 -0
  56. data/public/assets/open-sans/fonts/semibold/{opensans-semibold-webfont-a351567fbcf31a8a7ff8cf20b88da14f.ttf → opensans-semibold-webfont-d9aebf298570bbe2726a7a60b04dac4f.ttf} +0 -0
  57. data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-450906046944eae72690caf27a30bec1.woff → opensans-semibold-italic-webfont-41b9119ad7637da3a34556b5d2603b6d.woff} +0 -0
  58. data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-096e5044aeb4a52cd9e943054c0d1916.svg → opensans-semibold-italic-webfont-53530915d03d64c2a997be6f1b67ea55.svg} +0 -0
  59. data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-175ec3bae342e25dd251f86e8f5584b2.eot → opensans-semibold-italic-webfont-9176e68563de6fe231481a42bbef190a.eot} +0 -0
  60. data/public/assets/open-sans/fonts/semibold-italic/{opensans-semibold-italic-webfont-f9131100953e2ee6bb7ea636bef99935.ttf → opensans-semibold-italic-webfont-cb780adaa8192e415407f66c2ed3e62e.ttf} +0 -0
  61. data/script/precompile +1 -2
  62. data/test_server.gemspec +1 -0
  63. data/vendor/assets/components/open-sans/scss/_base.scss +0 -1
  64. metadata +65 -341
  65. data/public/assets/application-b8f8c1a2dda0ed76ca05e01be6fef6be.js +0 -13451
  66. data/public/assets/application-b8f8c1a2dda0ed76ca05e01be6fef6be.js.gz +0 -0
  67. data/public/assets/application-c2d56ef291192c32403d07556c36de26.css +0 -8222
  68. data/public/assets/application-c2d56ef291192c32403d07556c36de26.css.gz +0 -0
  69. data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-3e35c7e527383fc6fc479c17111469de.ttf +0 -0
  70. data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-483c8aa83c1cae07664b1c959523d062.woff +0 -0
  71. data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-f61f75238afd91ceeef4a5e4c639ead4.svg +0 -229
  72. data/public/assets/bootstrap-sass/dist/fonts/glyphicons-halflings-regular-fe255aca45c0f6e7c8b2a1ed7c7a5274.eot +0 -0
  73. data/public/assets/bootstrap-sass/docs-assets/ico/apple-touch-icon-144-precomposed-dc1944e21bfdedf37f0626c17fe4761b.png +0 -0
  74. data/public/assets/bootstrap-sass/docs-assets/ico/favicon-5ee6a35987b7feae485871297a51e474.png +0 -0
  75. data/public/assets/bootstrap-sass/docs-assets/js/application-0981da122477809b03e6316775fba8ce.js +0 -105
  76. data/public/assets/bootstrap-sass/docs-assets/js/application-0981da122477809b03e6316775fba8ce.js.gz +0 -0
  77. data/public/assets/bootstrap-sass/examples/screenshots/carousel-4fc912866ec1da66bf3ca268dedf2fd0.jpg +0 -0
  78. data/public/assets/bootstrap-sass/examples/screenshots/grid-65fc56df081af8c364a3e43baa48a7f9.jpg +0 -0
  79. data/public/assets/bootstrap-sass/examples/screenshots/jumbotron-05e53fe8b84407cac9996bb8a7617d1f.jpg +0 -0
  80. data/public/assets/bootstrap-sass/examples/screenshots/jumbotron-narrow-c1456e53d5471cb59fd56efa0630407a.jpg +0 -0
  81. data/public/assets/bootstrap-sass/examples/screenshots/justified-nav-28adff9e12d21bc716cb8b4b45a5170a.jpg +0 -0
  82. data/public/assets/bootstrap-sass/examples/screenshots/navbar-9e619f72d4430e54820d5cf959899782.jpg +0 -0
  83. data/public/assets/bootstrap-sass/examples/screenshots/navbar-fixed-58ee4e4e189f9d59408c5be13638eae6.jpg +0 -0
  84. data/public/assets/bootstrap-sass/examples/screenshots/navbar-static-2be1617daecba84fc924b05da62ab618.jpg +0 -0
  85. data/public/assets/bootstrap-sass/examples/screenshots/non-responsive-4dbd6b23b283fc02cba682873bd715f4.jpg +0 -0
  86. data/public/assets/bootstrap-sass/examples/screenshots/offcanvas-bc3fe2949cd853c2a8900307956c8a97.jpg +0 -0
  87. data/public/assets/bootstrap-sass/examples/screenshots/sign-in-f70aa602b9439d930e0153262e70c935.jpg +0 -0
  88. data/public/assets/bootstrap-sass/examples/screenshots/starter-template-244e96ea0834aaf68ac2d51b4779ea02.jpg +0 -0
  89. data/public/assets/bootstrap-sass/examples/screenshots/sticky-footer-3709ae2872cf73ad6eadb9cf1e471ee3.jpg +0 -0
  90. data/public/assets/bootstrap-sass/examples/screenshots/sticky-footer-navbar-5587044c445c613c499c94987c3655b4.jpg +0 -0
  91. data/public/assets/bootstrap-sass/examples/screenshots/theme-21ab06bfc9b7f21b4fc8e803da11f13d.jpg +0 -0
  92. data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-3e35c7e527383fc6fc479c17111469de.ttf +0 -0
  93. data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-483c8aa83c1cae07664b1c959523d062.woff +0 -0
  94. data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-f61f75238afd91ceeef4a5e4c639ead4.svg +0 -229
  95. data/public/assets/bootstrap-sass/fonts/glyphicons-halflings-regular-fe255aca45c0f6e7c8b2a1ed7c7a5274.eot +0 -0
  96. data/public/assets/manifest-399d632024eeab469766a0adcd038b49.json +0 -1
  97. data/vendor/assets/components/bootstrap-sass/.bower.json +0 -25
  98. data/vendor/assets/components/bootstrap-sass/CNAME +0 -1
  99. data/vendor/assets/components/bootstrap-sass/CONTRIBUTING.md +0 -61
  100. data/vendor/assets/components/bootstrap-sass/DOCS-LICENSE +0 -319
  101. data/vendor/assets/components/bootstrap-sass/Gemfile +0 -5
  102. data/vendor/assets/components/bootstrap-sass/Gruntfile.js +0 -244
  103. data/vendor/assets/components/bootstrap-sass/LICENSE +0 -176
  104. data/vendor/assets/components/bootstrap-sass/LICENSE-MIT +0 -21
  105. data/vendor/assets/components/bootstrap-sass/README.md +0 -277
  106. data/vendor/assets/components/bootstrap-sass/Rakefile +0 -44
  107. data/vendor/assets/components/bootstrap-sass/_config.yml +0 -25
  108. data/vendor/assets/components/bootstrap-sass/_includes/ads.html +0 -1
  109. data/vendor/assets/components/bootstrap-sass/_includes/footer.html +0 -34
  110. data/vendor/assets/components/bootstrap-sass/_includes/header.html +0 -42
  111. data/vendor/assets/components/bootstrap-sass/_includes/nav-about.html +0 -12
  112. data/vendor/assets/components/bootstrap-sass/_includes/nav-components.html +0 -137
  113. data/vendor/assets/components/bootstrap-sass/_includes/nav-css.html +0 -99
  114. data/vendor/assets/components/bootstrap-sass/_includes/nav-customize.html +0 -40
  115. data/vendor/assets/components/bootstrap-sass/_includes/nav-getting-started.html +0 -44
  116. data/vendor/assets/components/bootstrap-sass/_includes/nav-javascript.html +0 -88
  117. data/vendor/assets/components/bootstrap-sass/_includes/nav-main.html +0 -37
  118. data/vendor/assets/components/bootstrap-sass/_includes/old-bs-docs.html +0 -8
  119. data/vendor/assets/components/bootstrap-sass/_includes/social-buttons.html +0 -16
  120. data/vendor/assets/components/bootstrap-sass/_layouts/default.html +0 -79
  121. data/vendor/assets/components/bootstrap-sass/_layouts/home.html +0 -47
  122. data/vendor/assets/components/bootstrap-sass/about.html +0 -93
  123. data/vendor/assets/components/bootstrap-sass/bower.json +0 -11
  124. data/vendor/assets/components/bootstrap-sass/browserstack.json +0 -37
  125. data/vendor/assets/components/bootstrap-sass/components.html +0 -3689
  126. data/vendor/assets/components/bootstrap-sass/composer.json +0 -28
  127. data/vendor/assets/components/bootstrap-sass/css.html +0 -2674
  128. data/vendor/assets/components/bootstrap-sass/customize.html +0 -1715
  129. data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap-theme.css +0 -427
  130. data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap-theme.min.css +0 -1
  131. data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap.css +0 -6350
  132. data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap.min.css +0 -1
  133. data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.eot +0 -0
  134. data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  135. data/vendor/assets/components/bootstrap-sass/dist/js/bootstrap.js +0 -2002
  136. data/vendor/assets/components/bootstrap-sass/dist/js/bootstrap.min.js +0 -9
  137. data/vendor/assets/components/bootstrap-sass/docs-assets/css/docs.css +0 -1195
  138. data/vendor/assets/components/bootstrap-sass/docs-assets/css/pygments-manni.css +0 -66
  139. data/vendor/assets/components/bootstrap-sass/docs-assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  140. data/vendor/assets/components/bootstrap-sass/docs-assets/ico/favicon.png +0 -0
  141. data/vendor/assets/components/bootstrap-sass/docs-assets/js/application.js +0 -103
  142. data/vendor/assets/components/bootstrap-sass/docs-assets/js/customizer.js +0 -332
  143. data/vendor/assets/components/bootstrap-sass/docs-assets/js/filesaver.js +0 -169
  144. data/vendor/assets/components/bootstrap-sass/docs-assets/js/holder.js +0 -404
  145. data/vendor/assets/components/bootstrap-sass/docs-assets/js/ie8-responsive-file-warning.js +0 -12
  146. data/vendor/assets/components/bootstrap-sass/docs-assets/js/jszip.js +0 -1467
  147. data/vendor/assets/components/bootstrap-sass/docs-assets/js/less.js +0 -9
  148. data/vendor/assets/components/bootstrap-sass/docs-assets/js/raw-files.js +0 -3
  149. data/vendor/assets/components/bootstrap-sass/docs-assets/js/uglify.js +0 -14
  150. data/vendor/assets/components/bootstrap-sass/examples/carousel/carousel.css +0 -148
  151. data/vendor/assets/components/bootstrap-sass/examples/carousel/index.html +0 -206
  152. data/vendor/assets/components/bootstrap-sass/examples/grid/grid.css +0 -28
  153. data/vendor/assets/components/bootstrap-sass/examples/grid/index.html +0 -148
  154. data/vendor/assets/components/bootstrap-sass/examples/jumbotron/index.html +0 -99
  155. data/vendor/assets/components/bootstrap-sass/examples/jumbotron/jumbotron.css +0 -5
  156. data/vendor/assets/components/bootstrap-sass/examples/jumbotron-narrow/index.html +0 -82
  157. data/vendor/assets/components/bootstrap-sass/examples/jumbotron-narrow/jumbotron-narrow.css +0 -79
  158. data/vendor/assets/components/bootstrap-sass/examples/justified-nav/index.html +0 -83
  159. data/vendor/assets/components/bootstrap-sass/examples/justified-nav/justified-nav.css +0 -88
  160. data/vendor/assets/components/bootstrap-sass/examples/navbar/index.html +0 -88
  161. data/vendor/assets/components/bootstrap-sass/examples/navbar/navbar.css +0 -8
  162. data/vendor/assets/components/bootstrap-sass/examples/navbar-fixed-top/index.html +0 -91
  163. data/vendor/assets/components/bootstrap-sass/examples/navbar-fixed-top/navbar-fixed-top.css +0 -4
  164. data/vendor/assets/components/bootstrap-sass/examples/navbar-static-top/index.html +0 -92
  165. data/vendor/assets/components/bootstrap-sass/examples/navbar-static-top/navbar-static-top.css +0 -7
  166. data/vendor/assets/components/bootstrap-sass/examples/non-responsive/index.html +0 -101
  167. data/vendor/assets/components/bootstrap-sass/examples/non-responsive/non-responsive.css +0 -116
  168. data/vendor/assets/components/bootstrap-sass/examples/offcanvas/index.html +0 -130
  169. data/vendor/assets/components/bootstrap-sass/examples/offcanvas/offcanvas.css +0 -50
  170. data/vendor/assets/components/bootstrap-sass/examples/offcanvas/offcanvas.js +0 -5
  171. data/vendor/assets/components/bootstrap-sass/examples/screenshots/carousel.jpg +0 -0
  172. data/vendor/assets/components/bootstrap-sass/examples/screenshots/grid.jpg +0 -0
  173. data/vendor/assets/components/bootstrap-sass/examples/screenshots/jumbotron-narrow.jpg +0 -0
  174. data/vendor/assets/components/bootstrap-sass/examples/screenshots/jumbotron.jpg +0 -0
  175. data/vendor/assets/components/bootstrap-sass/examples/screenshots/justified-nav.jpg +0 -0
  176. data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar-fixed.jpg +0 -0
  177. data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar-static.jpg +0 -0
  178. data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar.jpg +0 -0
  179. data/vendor/assets/components/bootstrap-sass/examples/screenshots/non-responsive.jpg +0 -0
  180. data/vendor/assets/components/bootstrap-sass/examples/screenshots/offcanvas.jpg +0 -0
  181. data/vendor/assets/components/bootstrap-sass/examples/screenshots/sign-in.jpg +0 -0
  182. data/vendor/assets/components/bootstrap-sass/examples/screenshots/starter-template.jpg +0 -0
  183. data/vendor/assets/components/bootstrap-sass/examples/screenshots/sticky-footer-navbar.jpg +0 -0
  184. data/vendor/assets/components/bootstrap-sass/examples/screenshots/sticky-footer.jpg +0 -0
  185. data/vendor/assets/components/bootstrap-sass/examples/screenshots/theme.jpg +0 -0
  186. data/vendor/assets/components/bootstrap-sass/examples/signin/index.html +0 -50
  187. data/vendor/assets/components/bootstrap-sass/examples/signin/signin.css +0 -40
  188. data/vendor/assets/components/bootstrap-sass/examples/starter-template/index.html +0 -68
  189. data/vendor/assets/components/bootstrap-sass/examples/starter-template/starter-template.css +0 -7
  190. data/vendor/assets/components/bootstrap-sass/examples/sticky-footer/index.html +0 -55
  191. data/vendor/assets/components/bootstrap-sass/examples/sticky-footer/sticky-footer.css +0 -38
  192. data/vendor/assets/components/bootstrap-sass/examples/sticky-footer-navbar/index.html +0 -91
  193. data/vendor/assets/components/bootstrap-sass/examples/sticky-footer-navbar/sticky-footer-navbar.css +0 -45
  194. data/vendor/assets/components/bootstrap-sass/examples/theme/index.html +0 -384
  195. data/vendor/assets/components/bootstrap-sass/examples/theme/theme.css +0 -14
  196. data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.eot +0 -0
  197. data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.svg +0 -229
  198. data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.ttf +0 -0
  199. data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.woff +0 -0
  200. data/vendor/assets/components/bootstrap-sass/getting-started.html +0 -1021
  201. data/vendor/assets/components/bootstrap-sass/index.html +0 -16
  202. data/vendor/assets/components/bootstrap-sass/javascript.html +0 -1983
  203. data/vendor/assets/components/bootstrap-sass/js/affix.js +0 -126
  204. data/vendor/assets/components/bootstrap-sass/js/alert.js +0 -98
  205. data/vendor/assets/components/bootstrap-sass/js/button.js +0 -109
  206. data/vendor/assets/components/bootstrap-sass/js/carousel.js +0 -217
  207. data/vendor/assets/components/bootstrap-sass/js/collapse.js +0 -179
  208. data/vendor/assets/components/bootstrap-sass/js/dropdown.js +0 -154
  209. data/vendor/assets/components/bootstrap-sass/js/modal.js +0 -246
  210. data/vendor/assets/components/bootstrap-sass/js/popover.js +0 -117
  211. data/vendor/assets/components/bootstrap-sass/js/scrollspy.js +0 -158
  212. data/vendor/assets/components/bootstrap-sass/js/tab.js +0 -135
  213. data/vendor/assets/components/bootstrap-sass/js/tests/index.html +0 -52
  214. data/vendor/assets/components/bootstrap-sass/js/tests/unit/affix.js +0 -25
  215. data/vendor/assets/components/bootstrap-sass/js/tests/unit/alert.js +0 -62
  216. data/vendor/assets/components/bootstrap-sass/js/tests/unit/button.js +0 -116
  217. data/vendor/assets/components/bootstrap-sass/js/tests/unit/carousel.js +0 -87
  218. data/vendor/assets/components/bootstrap-sass/js/tests/unit/collapse.js +0 -164
  219. data/vendor/assets/components/bootstrap-sass/js/tests/unit/dropdown.js +0 -219
  220. data/vendor/assets/components/bootstrap-sass/js/tests/unit/modal.js +0 -196
  221. data/vendor/assets/components/bootstrap-sass/js/tests/unit/phantom.js +0 -69
  222. data/vendor/assets/components/bootstrap-sass/js/tests/unit/popover.js +0 -133
  223. data/vendor/assets/components/bootstrap-sass/js/tests/unit/scrollspy.js +0 -37
  224. data/vendor/assets/components/bootstrap-sass/js/tests/unit/tab.js +0 -86
  225. data/vendor/assets/components/bootstrap-sass/js/tests/unit/tooltip.js +0 -437
  226. data/vendor/assets/components/bootstrap-sass/js/tests/unit/transition.js +0 -13
  227. data/vendor/assets/components/bootstrap-sass/js/tests/vendor/jquery.js +0 -6
  228. data/vendor/assets/components/bootstrap-sass/js/tests/vendor/qunit.css +0 -232
  229. data/vendor/assets/components/bootstrap-sass/js/tests/vendor/qunit.js +0 -1510
  230. data/vendor/assets/components/bootstrap-sass/js/tooltip.js +0 -386
  231. data/vendor/assets/components/bootstrap-sass/js/transition.js +0 -56
  232. data/vendor/assets/components/bootstrap-sass/lib/_alerts.scss +0 -67
  233. data/vendor/assets/components/bootstrap-sass/lib/_badges.scss +0 -51
  234. data/vendor/assets/components/bootstrap-sass/lib/_breadcrumbs.scss +0 -23
  235. data/vendor/assets/components/bootstrap-sass/lib/_button-groups.scss +0 -253
  236. data/vendor/assets/components/bootstrap-sass/lib/_buttons.scss +0 -158
  237. data/vendor/assets/components/bootstrap-sass/lib/_carousel.scss +0 -231
  238. data/vendor/assets/components/bootstrap-sass/lib/_close.scss +0 -35
  239. data/vendor/assets/components/bootstrap-sass/lib/_code.scss +0 -53
  240. data/vendor/assets/components/bootstrap-sass/lib/_component-animations.scss +0 -29
  241. data/vendor/assets/components/bootstrap-sass/lib/_dropdowns.scss +0 -193
  242. data/vendor/assets/components/bootstrap-sass/lib/_forms.scss +0 -363
  243. data/vendor/assets/components/bootstrap-sass/lib/_glyphicons.scss +0 -237
  244. data/vendor/assets/components/bootstrap-sass/lib/_grid.scss +0 -93
  245. data/vendor/assets/components/bootstrap-sass/lib/_input-groups.scss +0 -136
  246. data/vendor/assets/components/bootstrap-sass/lib/_jumbotron.scss +0 -40
  247. data/vendor/assets/components/bootstrap-sass/lib/_labels.scss +0 -58
  248. data/vendor/assets/components/bootstrap-sass/lib/_list-group.scss +0 -88
  249. data/vendor/assets/components/bootstrap-sass/lib/_media.scss +0 -56
  250. data/vendor/assets/components/bootstrap-sass/lib/_mixins.scss +0 -861
  251. data/vendor/assets/components/bootstrap-sass/lib/_modals.scss +0 -132
  252. data/vendor/assets/components/bootstrap-sass/lib/_navbar.scss +0 -628
  253. data/vendor/assets/components/bootstrap-sass/lib/_navs.scss +0 -262
  254. data/vendor/assets/components/bootstrap-sass/lib/_normalize.scss +0 -406
  255. data/vendor/assets/components/bootstrap-sass/lib/_pager.scss +0 -55
  256. data/vendor/assets/components/bootstrap-sass/lib/_pagination.scss +0 -85
  257. data/vendor/assets/components/bootstrap-sass/lib/_panels.scss +0 -172
  258. data/vendor/assets/components/bootstrap-sass/lib/_popovers.scss +0 -133
  259. data/vendor/assets/components/bootstrap-sass/lib/_print.scss +0 -105
  260. data/vendor/assets/components/bootstrap-sass/lib/_progress-bars.scss +0 -92
  261. data/vendor/assets/components/bootstrap-sass/lib/_responsive-utilities.scss +0 -198
  262. data/vendor/assets/components/bootstrap-sass/lib/_scaffolding.scss +0 -119
  263. data/vendor/assets/components/bootstrap-sass/lib/_tables.scss +0 -244
  264. data/vendor/assets/components/bootstrap-sass/lib/_theme.scss +0 -247
  265. data/vendor/assets/components/bootstrap-sass/lib/_thumbnails.scss +0 -32
  266. data/vendor/assets/components/bootstrap-sass/lib/_tooltip.scss +0 -95
  267. data/vendor/assets/components/bootstrap-sass/lib/_type.scss +0 -279
  268. data/vendor/assets/components/bootstrap-sass/lib/_utilities.scss +0 -56
  269. data/vendor/assets/components/bootstrap-sass/lib/_variables.scss +0 -637
  270. data/vendor/assets/components/bootstrap-sass/lib/_wells.scss +0 -29
  271. data/vendor/assets/components/bootstrap-sass/lib/bootstrap.scss +0 -49
  272. data/vendor/assets/components/bootstrap-sass/package.json +0 -40
  273. data/vendor/assets/components/jquery/.bower.json +0 -37
  274. data/vendor/assets/components/jquery/MIT-LICENSE.txt +0 -21
  275. data/vendor/assets/components/jquery/bower.json +0 -27
  276. data/vendor/assets/components/jquery/dist/jquery.js +0 -9174
  277. data/vendor/assets/components/jquery/dist/jquery.min.js +0 -5
  278. data/vendor/assets/components/jquery/dist/jquery.min.map +0 -1
  279. data/vendor/assets/components/jquery/src/ajax/jsonp.js +0 -89
  280. data/vendor/assets/components/jquery/src/ajax/load.js +0 -75
  281. data/vendor/assets/components/jquery/src/ajax/parseJSON.js +0 -13
  282. data/vendor/assets/components/jquery/src/ajax/parseXML.js +0 -28
  283. data/vendor/assets/components/jquery/src/ajax/script.js +0 -64
  284. data/vendor/assets/components/jquery/src/ajax/var/nonce.js +0 -5
  285. data/vendor/assets/components/jquery/src/ajax/var/rquery.js +0 -3
  286. data/vendor/assets/components/jquery/src/ajax/xhr.js +0 -135
  287. data/vendor/assets/components/jquery/src/ajax.js +0 -806
  288. data/vendor/assets/components/jquery/src/attributes/attr.js +0 -143
  289. data/vendor/assets/components/jquery/src/attributes/classes.js +0 -158
  290. data/vendor/assets/components/jquery/src/attributes/prop.js +0 -96
  291. data/vendor/assets/components/jquery/src/attributes/support.js +0 -35
  292. data/vendor/assets/components/jquery/src/attributes/val.js +0 -163
  293. data/vendor/assets/components/jquery/src/attributes.js +0 -11
  294. data/vendor/assets/components/jquery/src/callbacks.js +0 -205
  295. data/vendor/assets/components/jquery/src/core/access.js +0 -60
  296. data/vendor/assets/components/jquery/src/core/init.js +0 -123
  297. data/vendor/assets/components/jquery/src/core/parseHTML.js +0 -39
  298. data/vendor/assets/components/jquery/src/core/ready.js +0 -97
  299. data/vendor/assets/components/jquery/src/core/var/rsingleTag.js +0 -4
  300. data/vendor/assets/components/jquery/src/core.js +0 -498
  301. data/vendor/assets/components/jquery/src/css/addGetHookIf.js +0 -24
  302. data/vendor/assets/components/jquery/src/css/curCSS.js +0 -57
  303. data/vendor/assets/components/jquery/src/css/defaultDisplay.js +0 -70
  304. data/vendor/assets/components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  305. data/vendor/assets/components/jquery/src/css/support.js +0 -91
  306. data/vendor/assets/components/jquery/src/css/swap.js +0 -28
  307. data/vendor/assets/components/jquery/src/css/var/cssExpand.js +0 -3
  308. data/vendor/assets/components/jquery/src/css/var/getStyles.js +0 -5
  309. data/vendor/assets/components/jquery/src/css/var/isHidden.js +0 -13
  310. data/vendor/assets/components/jquery/src/css/var/rmargin.js +0 -3
  311. data/vendor/assets/components/jquery/src/css/var/rnumnonpx.js +0 -5
  312. data/vendor/assets/components/jquery/src/css.js +0 -451
  313. data/vendor/assets/components/jquery/src/data/Data.js +0 -181
  314. data/vendor/assets/components/jquery/src/data/accepts.js +0 -20
  315. data/vendor/assets/components/jquery/src/data/var/data_priv.js +0 -5
  316. data/vendor/assets/components/jquery/src/data/var/data_user.js +0 -5
  317. data/vendor/assets/components/jquery/src/data.js +0 -175
  318. data/vendor/assets/components/jquery/src/deferred.js +0 -149
  319. data/vendor/assets/components/jquery/src/deprecated.js +0 -13
  320. data/vendor/assets/components/jquery/src/dimensions.js +0 -50
  321. data/vendor/assets/components/jquery/src/effects/Tween.js +0 -114
  322. data/vendor/assets/components/jquery/src/effects/animatedSelector.js +0 -13
  323. data/vendor/assets/components/jquery/src/effects.js +0 -647
  324. data/vendor/assets/components/jquery/src/event/alias.js +0 -39
  325. data/vendor/assets/components/jquery/src/event/support.js +0 -9
  326. data/vendor/assets/components/jquery/src/event.js +0 -868
  327. data/vendor/assets/components/jquery/src/exports/amd.js +0 -24
  328. data/vendor/assets/components/jquery/src/exports/global.js +0 -32
  329. data/vendor/assets/components/jquery/src/intro.js +0 -44
  330. data/vendor/assets/components/jquery/src/jquery.js +0 -36
  331. data/vendor/assets/components/jquery/src/manipulation/_evalUrl.js +0 -18
  332. data/vendor/assets/components/jquery/src/manipulation/support.js +0 -31
  333. data/vendor/assets/components/jquery/src/manipulation/var/rcheckableType.js +0 -3
  334. data/vendor/assets/components/jquery/src/manipulation.js +0 -582
  335. data/vendor/assets/components/jquery/src/offset.js +0 -204
  336. data/vendor/assets/components/jquery/src/outro.js +0 -1
  337. data/vendor/assets/components/jquery/src/queue/delay.js +0 -22
  338. data/vendor/assets/components/jquery/src/queue.js +0 -142
  339. data/vendor/assets/components/jquery/src/selector-native.js +0 -172
  340. data/vendor/assets/components/jquery/src/selector-sizzle.js +0 -14
  341. data/vendor/assets/components/jquery/src/selector.js +0 -1
  342. data/vendor/assets/components/jquery/src/serialize.js +0 -111
  343. data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.js +0 -2034
  344. data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
  345. data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
  346. data/vendor/assets/components/jquery/src/traversing/findFilter.js +0 -100
  347. data/vendor/assets/components/jquery/src/traversing/var/rneedsContext.js +0 -6
  348. data/vendor/assets/components/jquery/src/traversing.js +0 -200
  349. data/vendor/assets/components/jquery/src/var/arr.js +0 -3
  350. data/vendor/assets/components/jquery/src/var/class2type.js +0 -4
  351. data/vendor/assets/components/jquery/src/var/concat.js +0 -5
  352. data/vendor/assets/components/jquery/src/var/hasOwn.js +0 -5
  353. data/vendor/assets/components/jquery/src/var/indexOf.js +0 -5
  354. data/vendor/assets/components/jquery/src/var/pnum.js +0 -3
  355. data/vendor/assets/components/jquery/src/var/push.js +0 -5
  356. data/vendor/assets/components/jquery/src/var/rnotwhite.js +0 -3
  357. data/vendor/assets/components/jquery/src/var/slice.js +0 -5
  358. data/vendor/assets/components/jquery/src/var/strundefined.js +0 -3
  359. data/vendor/assets/components/jquery/src/var/support.js +0 -4
  360. data/vendor/assets/components/jquery/src/var/toString.js +0 -5
  361. 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);