bs-helper 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +46 -0
- data/Rakefile +14 -0
- data/app/assets/javascripts/bs-modal/bootstrap-modal.js +379 -0
- data/app/assets/javascripts/bs-modal/bootstrap-modalmanager.js +422 -0
- data/app/assets/javascripts/init-bootbox.js +254 -0
- data/app/assets/javascripts/init-bshelper.js +11 -0
- data/app/assets/stylesheets/bs-modal/bootstrap-modal-bs3patch.css +35 -0
- data/app/assets/stylesheets/bs-modal/bootstrap-modal.css +214 -0
- data/app/helpers/bootstrap_base_helper.rb +145 -0
- data/app/helpers/bootstrap_button_helper.rb +135 -0
- data/app/helpers/bootstrap_component_helper.rb +358 -0
- data/app/helpers/bootstrap_helper.rb +24 -0
- data/app/helpers/bootstrap_notify_helper.rb +49 -0
- data/app/helpers/bootstrap_post_paginate_helper.rb +62 -0
- data/app/helpers/bootstrap_tab_helper.rb +124 -0
- data/app/helpers/bootstrap_table_helper.rb +341 -0
- data/lib/bs-helper.rb +8 -0
- data/lib/bs-helper/engine.rb +21 -0
- data/lib/bs-helper/version.rb +5 -0
- data/lib/generators/bshelper/install/install_generator.rb +46 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/images/favicon.ico +0 -0
- data/test/dummy/app/assets/images/rar_gold.png +0 -0
- data/test/dummy/app/assets/images/text_page.png +0 -0
- data/test/dummy/app/assets/javascripts/application.js +22 -0
- data/test/dummy/app/assets/javascripts/components.js +2 -0
- data/test/dummy/app/assets/javascripts/paginations.js +2 -0
- data/test/dummy/app/assets/javascripts/prettify.js +376 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +163 -0
- data/test/dummy/app/assets/stylesheets/components.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/paginations.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/prettify.css +55 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/components_controller.rb +9 -0
- data/test/dummy/app/controllers/home_controller.rb +4 -0
- data/test/dummy/app/controllers/paginations_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/components_helper.rb +2 -0
- data/test/dummy/app/helpers/paginations_helper.rb +2 -0
- data/test/dummy/app/models/order.rb +2 -0
- data/test/dummy/app/views/components/_bootbox.html.erb +30 -0
- data/test/dummy/app/views/components/_button.html.erb +145 -0
- data/test/dummy/app/views/components/_flash.html.erb +44 -0
- data/test/dummy/app/views/components/_image.html.erb +66 -0
- data/test/dummy/app/views/components/_list.html.erb +162 -0
- data/test/dummy/app/views/components/_modal.html.erb +263 -0
- data/test/dummy/app/views/components/_navbar.html.erb +36 -0
- data/test/dummy/app/views/components/_notify.html.erb +30 -0
- data/test/dummy/app/views/components/_progressbar.html.erb +42 -0
- data/test/dummy/app/views/components/_tab.html.erb +134 -0
- data/test/dummy/app/views/components/_table.html.erb +244 -0
- data/test/dummy/app/views/components/_thumbnails.html.erb +71 -0
- data/test/dummy/app/views/components/_typographic.html.erb +133 -0
- data/test/dummy/app/views/components/index.html.erb +128 -0
- data/test/dummy/app/views/components/update.html.erb +2 -0
- data/test/dummy/app/views/home/index.html.erb +12 -0
- data/test/dummy/app/views/layouts/application.html.erb +79 -0
- data/test/dummy/app/views/paginations/index.html.erb +45 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +17 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +27 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +28 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.bootstrap.yml +18 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +8 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20131006012048_create_orders.rb +12 -0
- data/test/dummy/db/schema.rb +25 -0
- data/test/dummy/db/seeds.rb +3 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +6445 -0
- data/test/dummy/log/test.log +3020 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/BB7/B00/sprockets%2F255015c35d7237c7582051420593d535 +0 -0
- data/test/dummy/tmp/cache/assets/BFE/E90/sprockets%2F46051149c05424080ec21b4b160b2156 +0 -0
- data/test/dummy/tmp/cache/assets/C00/C70/sprockets%2F2042815e30a1a59041392a5ca5440290 +0 -0
- data/test/dummy/tmp/cache/assets/C14/150/sprockets%2Fb119a0eb512432ef7314727958150651 +0 -0
- data/test/dummy/tmp/cache/assets/C1B/A20/sprockets%2F418d652b582b3203c7654d337047c338 +0 -0
- data/test/dummy/tmp/cache/assets/C29/8A0/sprockets%2Fa899e19256a0845205636938010c6fe5 +0 -0
- data/test/dummy/tmp/cache/assets/C2A/C00/sprockets%2F3506a8282568971d3248601e5e5425ff +0 -0
- data/test/dummy/tmp/cache/assets/C4B/EF0/sprockets%2F131d29c56765d2433266063045fba4f8 +0 -0
- data/test/dummy/tmp/cache/assets/C52/380/sprockets%2Fc39dc5164502475828be3d207521847e +0 -0
- data/test/dummy/tmp/cache/assets/C5D/BA0/sprockets%2F3012b77e6950a5219d79e44061789fc7 +0 -0
- data/test/dummy/tmp/cache/assets/C66/980/sprockets%2F08834498e0872d20578ff783e2f406b7 +0 -0
- data/test/dummy/tmp/cache/assets/C6F/FE0/sprockets%2F5cce6081788d09120c598c7279f82888 +0 -0
- data/test/dummy/tmp/cache/assets/C70/2B0/sprockets%2F5463710e10c56c02c6b5755029280bfc +0 -0
- data/test/dummy/tmp/cache/assets/C73/E40/sprockets%2F5b82d31405900db244371901fc76e0f6 +0 -0
- data/test/dummy/tmp/cache/assets/C75/980/sprockets%2F2404708d3ebd336e5416726433b29c3a +0 -0
- data/test/dummy/tmp/cache/assets/C7A/A60/sprockets%2F8ed6a1437c208c22d819801375df2270 +0 -0
- data/test/dummy/tmp/cache/assets/C7F/250/sprockets%2F0d48d83101ec82689352144842cde29a +0 -0
- data/test/dummy/tmp/cache/assets/C80/840/sprockets%2F562c2d168da585f80579347d10790a0a +0 -0
- data/test/dummy/tmp/cache/assets/CA4/D30/sprockets%2F755264e416b5a070875ee90af0242cc0 +0 -0
- data/test/dummy/tmp/cache/assets/CA5/8D0/sprockets%2F2555a348ba314a08c0f6d85b066129a9 +0 -0
- data/test/dummy/tmp/cache/assets/CA8/330/sprockets%2F46c9ed7b190224e086e20ca6382465a1 +0 -0
- data/test/dummy/tmp/cache/assets/CAA/430/sprockets%2F54687e09b19575b8930eb3887e698ee8 +0 -0
- data/test/dummy/tmp/cache/assets/CAF/640/sprockets%2F2803327062d607ade5813f79bb61df74 +0 -0
- data/test/dummy/tmp/cache/assets/CB4/8E0/sprockets%2F00d59d696cc7efe4234258e306b83333 +0 -0
- data/test/dummy/tmp/cache/assets/CBF/370/sprockets%2F49ceca075582477f96382fa1c26b4846 +0 -0
- data/test/dummy/tmp/cache/assets/CC5/160/sprockets%2F74b7c3a59a0e88f9502866d0f9b49059 +0 -0
- data/test/dummy/tmp/cache/assets/CCF/730/sprockets%2F884d37d65980884f89898cbb009ba60d +0 -0
- data/test/dummy/tmp/cache/assets/CD2/320/sprockets%2F06f36e5565a415bc3f15b9a0438b204e +0 -0
- data/test/dummy/tmp/cache/assets/CD5/2C0/sprockets%2F166c056119ebdfb8b7104c97b424b423 +0 -0
- data/test/dummy/tmp/cache/assets/CD5/740/sprockets%2Fbb5277f1364450372ea69e473b0cb0e3 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/810/sprockets%2Ffd61035950d2b33670fb8d3f4271fc15 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/D90/sprockets%2Fc1f515271621dfef6c3941c1e210e587 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/BD0/sprockets%2F549431bf0eb194b790b4060759fb1b8a +0 -0
- data/test/dummy/tmp/cache/assets/CDB/1D0/sprockets%2Fe0be664785a1118d4bf4b7110f6f0846 +0 -0
- data/test/dummy/tmp/cache/assets/CDB/970/sprockets%2F08f5b4a540db21d6b735be28047e3569 +0 -0
- data/test/dummy/tmp/cache/assets/CE1/310/sprockets%2F5a5d222a2e5345211e7969d3e860cd9e +0 -0
- data/test/dummy/tmp/cache/assets/CE1/3C0/sprockets%2Fcdd01087f3928656a4dd8c33d82641c3 +0 -0
- data/test/dummy/tmp/cache/assets/CE1/B90/sprockets%2F72230396f68b08a199d9a24ba9d2c9a0 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/820/sprockets%2Fb760f2c7efb9312b9571a9a576854a30 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/CC0/sprockets%2Ff9608666245b5b6f3de33b212d4e509d +0 -0
- data/test/dummy/tmp/cache/assets/CE7/310/sprockets%2F8b0357db2336e0598cb9e5810e199a7b +0 -0
- data/test/dummy/tmp/cache/assets/CE7/FD0/sprockets%2Fbb3a33894c855494dfe294248325a0ef +0 -0
- data/test/dummy/tmp/cache/assets/CE8/5F0/sprockets%2Fe313d803410c99bf15d6344fb77f578d +0 -0
- data/test/dummy/tmp/cache/assets/CEF/DA0/sprockets%2F5a60769c6b6e9d2926c7c558d98001bd +0 -0
- data/test/dummy/tmp/cache/assets/CF2/0A0/sprockets%2F2f5152f528c4f0586e490cbe978e26c8 +0 -0
- data/test/dummy/tmp/cache/assets/CF2/CB0/sprockets%2F47142f1e39d3ed8004649bc2968eee79 +0 -0
- data/test/dummy/tmp/cache/assets/CF3/640/sprockets%2F48de748d4590940ac2981d18ff216cf9 +0 -0
- data/test/dummy/tmp/cache/assets/CF4/1C0/sprockets%2Ff708449e989289d9d02b35ada290e18d +0 -0
- data/test/dummy/tmp/cache/assets/CF6/100/sprockets%2F53efd93222c0011cae70c56d34251df1 +0 -0
- data/test/dummy/tmp/cache/assets/CF6/BA0/sprockets%2F2999139a7870f72c257f820bc9f62cee +0 -0
- data/test/dummy/tmp/cache/assets/CF7/670/sprockets%2F86bb8f349783ee1007567e607c89dbc6 +0 -0
- data/test/dummy/tmp/cache/assets/CFB/C30/sprockets%2F0d44a6a2a55f865ac64b1ce4620b5036 +0 -0
- data/test/dummy/tmp/cache/assets/CFC/FD0/sprockets%2F5ea4bbab196a7829893dd7769374894c +0 -0
- data/test/dummy/tmp/cache/assets/CFD/010/sprockets%2Fd12aa1062f6c713a9efe86ab12263291 +0 -0
- data/test/dummy/tmp/cache/assets/D05/5F0/sprockets%2Fb44400c4299cbe671ffc09b1f1570d24 +0 -0
- data/test/dummy/tmp/cache/assets/D0B/760/sprockets%2F9e9498b160e9fb55d0ee0202a06d74a1 +0 -0
- data/test/dummy/tmp/cache/assets/D0C/DB0/sprockets%2Fcf235e0d96662a1376d2dda257d6f422 +0 -0
- data/test/dummy/tmp/cache/assets/D0E/F80/sprockets%2F8c2b061e379a23e7c4d207adcf992462 +0 -0
- data/test/dummy/tmp/cache/assets/D0F/220/sprockets%2F763a8623c9f9ca1da82ce1d3065195b4 +0 -0
- data/test/dummy/tmp/cache/assets/D10/220/sprockets%2F726f6657c33b6aa3c0d94af63411cc98 +0 -0
- data/test/dummy/tmp/cache/assets/D10/5A0/sprockets%2Fd2231fd71dfa3e6303aefa6662449597 +0 -0
- data/test/dummy/tmp/cache/assets/D10/BD0/sprockets%2F651f97e9f10e46d0b60870a29da1dd45 +0 -0
- data/test/dummy/tmp/cache/assets/D11/790/sprockets%2Fe9dd4830f03e40a2d643677026c7f8bd +0 -0
- data/test/dummy/tmp/cache/assets/D12/920/sprockets%2Ffcb404030b30e1a73c604ef0a41a721a +0 -0
- data/test/dummy/tmp/cache/assets/D17/4C0/sprockets%2F700827acd727b6fc8361f454c68a5cd7 +0 -0
- data/test/dummy/tmp/cache/assets/D17/AA0/sprockets%2Fb207b91eda797ba69e6e407427c9810d +0 -0
- data/test/dummy/tmp/cache/assets/D1A/C80/sprockets%2Fd05d17ace6d56d848f78eab067509821 +0 -0
- data/test/dummy/tmp/cache/assets/D1C/9D0/sprockets%2F73ff5a1b61c01067bb59f6fd89b54894 +0 -0
- data/test/dummy/tmp/cache/assets/D1D/A80/sprockets%2F587d710a85a815aa3d67a7496f59dcb6 +0 -0
- data/test/dummy/tmp/cache/assets/D1D/B00/sprockets%2Fc658105ac7b6fe7b9cc4656176259a9b +0 -0
- data/test/dummy/tmp/cache/assets/D23/CA0/sprockets%2F10af5eba24474e2fa3c15510681a60eb +0 -0
- data/test/dummy/tmp/cache/assets/D28/7A0/sprockets%2Fc0016b98f89c7f17cdd78b81fc194893 +0 -0
- data/test/dummy/tmp/cache/assets/D29/700/sprockets%2Fe6f667affe510637b6289bf664d73c94 +0 -0
- data/test/dummy/tmp/cache/assets/D29/7F0/sprockets%2F1814abebb27ea13dd682b39514d4221c +0 -0
- data/test/dummy/tmp/cache/assets/D2A/4D0/sprockets%2F93b2a67747d68990b77f7e2f4bb186ed +0 -0
- data/test/dummy/tmp/cache/assets/D2A/5F0/sprockets%2F444f8aab7211e90259e2a1e21afd050f +0 -0
- data/test/dummy/tmp/cache/assets/D2A/6D0/sprockets%2F56b0fec7ef32b116b33f6279131ac0c0 +0 -0
- data/test/dummy/tmp/cache/assets/D2B/0A0/sprockets%2Fcf0f777766ec93937f4950fb7eb450c7 +0 -0
- data/test/dummy/tmp/cache/assets/D2D/D50/sprockets%2Fd585a06e2ee6203ccb04c8b84150d14d +0 -0
- data/test/dummy/tmp/cache/assets/D30/050/sprockets%2F010cfbc0fe93ced742452b382b2f6137 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D34/AF0/sprockets%2Ff9c3010efc1c070a7b965d5cf2e28440 +0 -0
- data/test/dummy/tmp/cache/assets/D37/910/sprockets%2F6d03353931352e58ead27bafa2b7e18d +0 -0
- data/test/dummy/tmp/cache/assets/D38/1F0/sprockets%2F3e51a308496425c44eddbd4831bd4a6e +0 -0
- data/test/dummy/tmp/cache/assets/D39/AC0/sprockets%2F374af92b8212b4bcb11df742483af93f +0 -0
- data/test/dummy/tmp/cache/assets/D3A/8F0/sprockets%2F286081105fc0bce1bb5e58d9437df6d1 +0 -0
- data/test/dummy/tmp/cache/assets/D3B/BA0/sprockets%2Fe6806877af3cba66407e110c72b4ddf2 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/9A0/sprockets%2F0bfd8955817f68630d3c10eb1ca26d7b +0 -0
- data/test/dummy/tmp/cache/assets/D3D/210/sprockets%2F89af64f22b01d10b7759a29d4303ffcf +0 -0
- data/test/dummy/tmp/cache/assets/D3E/3F0/sprockets%2Fca760aeeff18c1f769100174c5f337d5 +0 -0
- data/test/dummy/tmp/cache/assets/D40/C40/sprockets%2Fe1e3f7030b8f90aa626ec8e640717d6e +0 -0
- data/test/dummy/tmp/cache/assets/D41/2F0/sprockets%2F95dccfb2296b7ba175585f06ea212e29 +0 -0
- data/test/dummy/tmp/cache/assets/D43/200/sprockets%2Faffca5ff9de508520551e380a948d136 +0 -0
- data/test/dummy/tmp/cache/assets/D46/1E0/sprockets%2F578ca1351d466b2a7f7681b90cfa9ee4 +0 -0
- data/test/dummy/tmp/cache/assets/D47/840/sprockets%2F619da8dda7f51281494c293bdd19e44d +0 -0
- data/test/dummy/tmp/cache/assets/D4B/110/sprockets%2Fbff37793c148d27d084ccc25c7e6d095 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/120/sprockets%2F9851478267eda328424a664becdeaec8 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/A40/sprockets%2Fea319dc44a8e75d8b4090ea37e35d977 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D50/870/sprockets%2Fd2bb3bfae89cf939627795942a30ef44 +0 -0
- data/test/dummy/tmp/cache/assets/D50/A50/sprockets%2F584ed79d21d49036c19ef6aa39ef39e1 +0 -0
- data/test/dummy/tmp/cache/assets/D50/DF0/sprockets%2F99e091c7908d7fca33de747cb53c535e +0 -0
- data/test/dummy/tmp/cache/assets/D53/080/sprockets%2F610ad73170cc39dc8d69a9e7f814fe89 +0 -0
- data/test/dummy/tmp/cache/assets/D55/A60/sprockets%2F7d2d3f238b17eb6b6a0149c230a2d0da +0 -0
- data/test/dummy/tmp/cache/assets/D58/630/sprockets%2F6e31211feb3b021ab13d59d6afa5e393 +0 -0
- data/test/dummy/tmp/cache/assets/D59/BD0/sprockets%2F8a2b501d930665d6c10ce2d52c5bccc3 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/5A0/sprockets%2Ffb68b1e33aca410ae15c1e4a69b60087 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D5D/B60/sprockets%2F1d2b9d33eeac89cbaf405770a309203a +0 -0
- data/test/dummy/tmp/cache/assets/D62/FD0/sprockets%2F4e33cbf3c3ee86c3103de60d1534ce63 +0 -0
- data/test/dummy/tmp/cache/assets/D64/5C0/sprockets%2F7fdd0381b23dbf9ad6fed5532b044161 +0 -0
- data/test/dummy/tmp/cache/assets/D66/A50/sprockets%2Fa19d3c63b5c8d302b27d40bff9ac0694 +0 -0
- data/test/dummy/tmp/cache/assets/D67/4C0/sprockets%2F2acdba0f2819e272fd2775c1e2e135f6 +0 -0
- data/test/dummy/tmp/cache/assets/D69/8B0/sprockets%2F6165e3199da62d88d3cda04e9f0bab03 +0 -0
- data/test/dummy/tmp/cache/assets/D69/BC0/sprockets%2Fb4b3aa35e039b27b8e060c45f9775cbd +0 -0
- data/test/dummy/tmp/cache/assets/D6E/430/sprockets%2F4f91b073b921ebf764afe6b65e9c400b +0 -0
- data/test/dummy/tmp/cache/assets/D70/B20/sprockets%2Fe1b78bcabcbb629a3b7491f646e47444 +0 -0
- data/test/dummy/tmp/cache/assets/D71/610/sprockets%2F7f5938c3933df260b3c1d3ca966aba7d +0 -0
- data/test/dummy/tmp/cache/assets/D72/890/sprockets%2F1964d5b7e91e4bd75eaaa90372179abe +0 -0
- data/test/dummy/tmp/cache/assets/D72/F70/sprockets%2Ffc8249455de6cf6c7ee332c3da50b651 +0 -0
- data/test/dummy/tmp/cache/assets/D75/2E0/sprockets%2F8b14921da19c834965bfceae1f7653eb +0 -0
- data/test/dummy/tmp/cache/assets/D75/7C0/sprockets%2Fa6bd7e7accd75862c41df7761f20484c +0 -0
- data/test/dummy/tmp/cache/assets/D78/420/sprockets%2F1d8aadb52328eb71c38f6f6789541aef +0 -0
- data/test/dummy/tmp/cache/assets/D78/E40/sprockets%2Faedc95237ba36c670c945f38c90eff06 +0 -0
- data/test/dummy/tmp/cache/assets/D7B/0D0/sprockets%2F551a784b818d6b4b49c0c8f8b4fdf7a4 +0 -0
- data/test/dummy/tmp/cache/assets/D7B/BC0/sprockets%2F60689caf6e6b35ddfef5020e38cd6682 +0 -0
- data/test/dummy/tmp/cache/assets/D8B/080/sprockets%2F9acde0d230391c71d10e44b0bbfab788 +0 -0
- data/test/dummy/tmp/cache/assets/D91/1F0/sprockets%2F9d59f6d0a4e6c39d5df4967d495dae77 +0 -0
- data/test/dummy/tmp/cache/assets/D93/710/sprockets%2F4b23ca13b12ffd5b869d852dbd4517ab +0 -0
- data/test/dummy/tmp/cache/assets/D98/820/sprockets%2F9e134dbd90cdb62020573b5efa598cbc +0 -0
- data/test/dummy/tmp/cache/assets/D99/2B0/sprockets%2F6f461bec4036b94e05def91bcef2f212 +0 -0
- data/test/dummy/tmp/cache/assets/D9B/6D0/sprockets%2F233d91946fb5eec30dfb91d13645acbf +0 -0
- data/test/dummy/tmp/cache/assets/D9B/BC0/sprockets%2F972cc0f426f8a9a1502aac8008df9dbf +0 -0
- data/test/dummy/tmp/cache/assets/D9F/240/sprockets%2Fcbcc9415e68ada75302721596fff2beb +0 -0
- data/test/dummy/tmp/cache/assets/DA0/300/sprockets%2Fb0662d0bd4d1de35ee5275c9eb777f4a +0 -0
- data/test/dummy/tmp/cache/assets/DA0/A00/sprockets%2F470e7e6e53ac8e2d8b8cc67cc0ed4150 +0 -0
- data/test/dummy/tmp/cache/assets/DA2/9F0/sprockets%2F32e07f1e2ace5083e8d82fe128c9ce7b +0 -0
- data/test/dummy/tmp/cache/assets/DA3/130/sprockets%2F564d6aad8eed946ff1c02e46374ce61a +0 -0
- data/test/dummy/tmp/cache/assets/DA4/560/sprockets%2F2088bf8c4ce3fc99f1ca81b5daa30588 +0 -0
- data/test/dummy/tmp/cache/assets/DA6/C80/sprockets%2Ffb3fbf878626cb0b193398e604efdda1 +0 -0
- data/test/dummy/tmp/cache/assets/DAE/2F0/sprockets%2Fd1af60de6575897dbc5f714ecc8bc781 +0 -0
- data/test/dummy/tmp/cache/assets/DB0/8E0/sprockets%2Fa7e3c53c5e6be4829feaf8593d0cc739 +0 -0
- data/test/dummy/tmp/cache/assets/DB2/8C0/sprockets%2Fee6f626db3884fac4f4f534c594d58cb +0 -0
- data/test/dummy/tmp/cache/assets/DB3/FE0/sprockets%2Ff44f9fa62c88d3d8e1df6a9c770d5a73 +0 -0
- data/test/dummy/tmp/cache/assets/DB7/6A0/sprockets%2Fe62279cb658efbd4ee59afa72a4967f5 +0 -0
- data/test/dummy/tmp/cache/assets/DBD/170/sprockets%2Fd17e4102f6f24fcacccd2e3be411f670 +0 -0
- data/test/dummy/tmp/cache/assets/DC1/350/sprockets%2F462d90cc0af07b51cf4d9280bc96bdaa +0 -0
- data/test/dummy/tmp/cache/assets/DC2/1E0/sprockets%2Ffaebe1250f51bbc6ed1cd059807ea653 +0 -0
- data/test/dummy/tmp/cache/assets/DC5/510/sprockets%2F4a670eb7532fb1e85bb9f00de445bfba +0 -0
- data/test/dummy/tmp/cache/assets/DCA/3F0/sprockets%2F0413c8f1d459a08ebcfc047fa3d59dbe +0 -0
- data/test/dummy/tmp/cache/assets/DD4/BF0/sprockets%2F74d6a551a492207cbe7ef9a8b4d6fdea +0 -0
- data/test/dummy/tmp/cache/assets/DDB/A80/sprockets%2F1b4568e9df68ba3beab8a093e6c487ed +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DEA/6E0/sprockets%2Fea1fee1a4d51c17c3ca11ba896d8d20d +0 -0
- data/test/dummy/tmp/cache/assets/DEB/5C0/sprockets%2Fb5511bfe77b3e107e3fdcb20e6ba3f3a +0 -0
- data/test/dummy/tmp/cache/assets/DEE/2F0/sprockets%2F84a9fb3ac3f8c95f1bdc9e58ff79b648 +0 -0
- data/test/dummy/tmp/cache/assets/DF2/1C0/sprockets%2F3d3c6b606ac3f25bd883a15cc50dcfde +0 -0
- data/test/dummy/tmp/cache/assets/DF6/C30/sprockets%2F094cbbee3c8ae3a10a6351b3f879edbe +0 -0
- data/test/dummy/tmp/cache/assets/DF9/680/sprockets%2Feb943eab7c94dbb2ff5d4baf180a2825 +0 -0
- data/test/dummy/tmp/cache/assets/DF9/BF0/sprockets%2Facce48e27f31adf4ce5d7261eb0d634e +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E30/F30/sprockets%2F2de6682f4a2f69a08c6bbafef6beb13f +0 -0
- data/test/dummy/tmp/cache/assets/E34/4E0/sprockets%2Fdfeb62c5bdee854323f83d507eca9ddc +0 -0
- data/test/dummy/tmp/cache/assets/E36/600/sprockets%2Fd3efa814e1719cd5ccd9e3f295deba9a +0 -0
- data/test/dummy/tmp/cache/assets/E37/AD0/sprockets%2Fffa65557afebb980751c8fed3cccc91a +0 -0
- data/test/dummy/tmp/cache/assets/E3A/330/sprockets%2F738a1f7a1b37d9a4edcdb685a9cdfe9c +0 -0
- data/test/dummy/tmp/cache/assets/E58/410/sprockets%2F1ffe555dcee543ffc25dc45c0fca2fc0 +0 -0
- data/test/dummy/tmp/cache/assets/E5D/A40/sprockets%2F6cfde019cc3feaf0a90cefaa6b39e494 +0 -0
- data/test/dummy/tmp/cache/assets/E79/EE0/sprockets%2Fba0bcc8fbaea1603d9e2e98cdab20af4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/28736f96a991e275b6732cb50220e8c11ba4494b/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/28736f96a991e275b6732cb50220e8c11ba4494b/components.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/28736f96a991e275b6732cb50220e8c11ba4494b/paginations.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/95877ca3fb97306427e6a8c3200a77fa726c2979/bootstrap-responsive.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/95877ca3fb97306427e6a8c3200a77fa726c2979/bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_close.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_code.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_hero-unit.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_labels-badges.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_layouts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_media.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_reset.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_responsive-1200px-min.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_responsive-767px-max.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_responsive-768px-979px.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_responsive-navbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_responsive-utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_sprites.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/_wells.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c75ed21fe4fe5a931216dc17f876dea4e6c936a7/responsive.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/00171108bd75279e653c1ffb5b4650b8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/02a5e97b270aecc19e04af22f1f1cd30 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/04184a8816ea3777ee27b854203f6019 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/048bae76f95c4ffc9b7af4e6c2785962 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/05029f2e1c68338ac88af8005acab3ca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/08318fdb5f5b783c22442a6aeb73730e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/08f00d4a1bac197d382c2269a184f9e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0b6c06f6bcf535567c19f70f7aa5144d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0b9076b70e22dd7976e589018cdf65ca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0e8461b429e0249b8dc74d457fcc17d3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0f074c0ea10680a3ba979bbd1d2ff756 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0f246c1ee41a544d79fbfe7e4c55395a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0f5877c1fb159c1a5f1602569a0cdde2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/114347d906f6bbc62846207e29d557ea +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/15963a31c483fd420068248735916590 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/16039dc737e753516f4399dcd38d6de7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/17343be9bd7b90029b2d0ba85cc272a6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/22110de5943f742c8678358b15f96778 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2475b7ccd67f97ce69957334b916f93e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/264e074302048cb000f909f2919a0c9a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/272f5096d49f011351e9f4780c313741 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/27a29069244dbf376d0988a1d36240ee +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/29c2f0fd8e3c5f4dcd1332efa4a0371d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2a2a275912bc287c9d7a3a311488e28c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2a61f06ae5cf5f6f1d43645b9b219453 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/32ef1c9e94a83350bad5e887c416c5b6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/367865b241c60ef0e9a85c9f9910f7d4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/37984c7de5e7d22002a378234035e51c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/40f725c6fe77af21a3d7c750a30b4d72 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4201264f7710f91dc1c389a2497eda7d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4632953f64dffdb8589b67c260f76a80 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/46a877b33fea5e34d8af620fa68516f6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4783fc0456df015fe93e64130dd123c9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4790af1cc9b3545ffd8c1ad8615c8461 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4e81b6b6eb1e1462b1eea2caee6bfcc6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/518c73ecd762cbf6d85a3ae693e08d01 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/536039d2b9042f61449290e282854f4d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/54cc1257b927751b13f0369969e17440 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/563bd386568f5c565af0f5e77d1465b6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/56401bbafd08927b55572c8ef7e88883 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/58548b7df7a227fd1bf04f0c6dfccf36 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5865993e4fa54b7f6f0186ebaffff12b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5f206472cf6bcde2e61740cb5386efe6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5f4079f15430a7602518336faeccf957 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5f62321f43b55988b6cb95367556d822 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/653178c2e0c5d134069e58196f7bf28e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/661c74f15a009d482fdad85f811e6f8e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6645261a77362094829edc9269130cf4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6668d3ee30c1513097c95bcc0a27696a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/698c4f478493aa93e94a2c32cdd5f1cc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/69c3968e244ecbe63dba17e07301aa68 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6a859ca0860b6b2173eaea6c1abd630a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6a98434027a1ee08391a7294b1aa7a67 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6ba848548341f31a12f3af01e5bcb01e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/700827acd727b6fc8361f454c68a5cd7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/715840f8887bc1e70ef3cc18b429cbc8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/754b02ea2ed1c85b7756de6452f4aeb7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/779fd39741d5f4364f4453e6d9db3a8c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/789ee96fc4d6c86c29c7859b5a5fb64e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/78fdc1d9add39ed3fdcbf7cae3df4190 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7b2d3e5e25b0901f78fbf8c9cb9570c4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7d3e001df1afe33a8b5380b294997051 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7ee9049cecde358160bb72854ce9981e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/805a755d6887dd3f251ee8d671113a55 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/833fa0f8ca6eda2934d5875796ac0ddb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/84eb79ed8e43cf9414e6ecfd38c5a19f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/87a55c890eedab0cc5d1e3f2c2b2da4b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/87efe66475e2e502b42c392ff8273442 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8ab512c9b33ac90e699b73469d71f061 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8bd5ee2e9abbe312a72a1cec2ea714a7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8cc360b254f1bff91753f954e7591a9b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8cef39f720d3603419826280adad9372 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8d55d8baa9ba44e3a712be2608138977 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8ec990d84f5dedd35001397078415137 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/94e46c0e76c8f392586af76b0f6c6e93 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/959e668443f5574a25645a9cb54649f5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/968566581a35be861fa4f8fed757dcae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/98f1b84ebd547f6cd07a548569b3e1ae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9b51a99e821d1802733dceac6764d18f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9e6dd98de3da516019c66e5cea7aaa7f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a0a671e624f03533a82b1ec899bf3b21 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a0f669003bef02490064a16cfdb916fe +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a5b779be5a68643653ca723bce23c62c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a71be32ef78d975a6d1d5e32143d05ee +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a899e19256a0845205636938010c6fe5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a927b1e06ff9451df692de08dca0e08f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a97cd428904e5968d05f7d3a5fd50f85 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/aa87366fe7cd02f1be035665580cf066 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ad1e6aa474266554a6dd880d462f633e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/af5ab48d2f371513fb609f8bdec3ac42 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b0f49e3da03027c5e6d62ed7a5f49a43 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b51a3679ccee92d6e374deac3359cc69 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b58136bb390cf7c8bb94be5d819a0480 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b7f56c6511e2ad0e7534e6f578b9070d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ba8d058dd931d04837d9f0cf2a0ad5aa +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/baed877d386dc374496dcd62af36bc5b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bcca522c6302f184f12fe0e8a7d7e71a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c09bd2cb81885f4b03d7c53a3d85fdb1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c13fc73ceafa45876a901b3e775b83ae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c3ca63a68d9a17cf1beb8e708ffbd3ca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c61c40e35c6ac853de21fd169c1c82b9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d4c36568a5145e04bfbbefd37fecdde7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d75dd624db3682fd4fed243c5f6f2e69 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d9fa58e1385bfb03f2ede65c90f36d70 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/db6179f67e9b6827b5870d2c1b6ccd3d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/de77caafdd411db4363036050ebbcbc9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e00413c4a11f1d7ee89901fd0cde57ec +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e0b0b28cfa788f3dd5e1608b17d49d40 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e1eaf02d2c8b06a52fc43dd67875cf47 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e256294192259b5603b8dc971d9d6a11 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e6df0f40358bfc2568038d9cf71859a5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e7e85a25f51035ffdd3f6a0aa5ae9365 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e9526b43370458899ac7c192f651ec8b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/edefa48dfc6b66b08d68e6438d1344b4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f54e09def1ebda9d30f2c9e507c4cfed +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f55c8dc7137551c5fff69d2c179ea900 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fde3d3c8658f07dd5aef16cc104c05c9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/feb5e7071e30ce243a861932e21945b1 +0 -0
- data/test/dummy/tmp/cache/sass/027d3fbe01791eb6107c6a3ad3a9a18ef7806de0/fcbklistselection.scssc +0 -0
- data/test/dummy/tmp/cache/sass/476f0290d8684ee445559257946d9bfbba0a7490/bootstrap-base.scssc +0 -0
- data/test/dummy/tmp/cache/sass/476f0290d8684ee445559257946d9bfbba0a7490/bootstrap-comp.scssc +0 -0
- data/test/dummy/tmp/cache/sass/476f0290d8684ee445559257946d9bfbba0a7490/bootstrap-form.scssc +0 -0
- data/test/dummy/tmp/cache/sass/476f0290d8684ee445559257946d9bfbba0a7490/bootstrap-media.scssc +0 -0
- data/test/dummy/tmp/cache/sass/476f0290d8684ee445559257946d9bfbba0a7490/bootstrap-mixin.scssc +0 -0
- data/test/dummy/tmp/cache/sass/476f0290d8684ee445559257946d9bfbba0a7490/bootstrap-table.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7962b5625c147f225692330aa36a6e4a877e2e52/fcbklistselection.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e4850d758e9663c32ffb065821c1e8a49db1e755/bootstrap-base.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e4850d758e9663c32ffb065821c1e8a49db1e755/bootstrap-comp.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e4850d758e9663c32ffb065821c1e8a49db1e755/bootstrap-form.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e4850d758e9663c32ffb065821c1e8a49db1e755/bootstrap-media.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e4850d758e9663c32ffb065821c1e8a49db1e755/bootstrap-mixin.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e4850d758e9663c32ffb065821c1e8a49db1e755/bootstrap-table.scssc +0 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/helpers/bootstrap_base_helper_test.rb +47 -0
- data/test/unit/helpers/bootstrap_button_helper_test.rb +56 -0
- data/test/unit/helpers/bootstrap_component_helper_test.rb +130 -0
- data/test/unit/helpers/bootstrap_notify_helper_test.rb +10 -0
- data/test/unit/helpers/bootstrap_tab_helper_test.rb +27 -0
- metadata +1021 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b5a10c3adcf6b6561630e0fc5e12acee300b6162
|
4
|
+
data.tar.gz: a9b595638cfbdd0f7110a4cb9774af8b0254b859
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cd589c3c22a7be9a47b16e20f6248997b86bda17bd1c98ac7bb8f33a549dfd8c6eed37fca50aa713bc825053970ad8fd8a420ef070747f189dea403adaa5507c
|
7
|
+
data.tar.gz: 437350bdee66ddacc7cf594dfb35d01ab20265a70e8d75a1f76c7779e81a045dbe249db015db81093a5bb263ec1795e3669ed5e6687a23a19d72ae8bb2d5a8d3
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 bigxiang
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Bootstrap Helper (bs-helper)
|
2
|
+
|
3
|
+
This is a gem that wraps some components of bootstrap, pnotify and bootbox. It aims to provide using these components in more rails way.
|
4
|
+
It's compatible with bootstrap 2.3.2.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
gem 'bs-helper'
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle
|
15
|
+
|
16
|
+
Execute the installation generator:
|
17
|
+
|
18
|
+
rails g bshelper:install
|
19
|
+
|
20
|
+
If you want to use replace default alert and confirm when using data-confirm of jquery_ujs with bootbox.alert and bootbox.confirm, you can use:
|
21
|
+
|
22
|
+
rails g bshelper:install with-bootbox
|
23
|
+
|
24
|
+
## Usage
|
25
|
+
|
26
|
+
Visit [Examples](http://bigxiang.github.io/bs-helper) and read the comments of app/helpers/*.rb
|
27
|
+
Read the comments of app/helpers/*.rb
|
28
|
+
I'm sorry that I haven't enough time to write documents.
|
29
|
+
|
30
|
+
You also can run the live demo on your machine by doing below:
|
31
|
+
1. git clone https://github.com/bigxiang/bs-helper.git
|
32
|
+
2. cd bs-helper/test/dummy
|
33
|
+
3. bundle install
|
34
|
+
4. rake db:migrate
|
35
|
+
5. rake db:seed
|
36
|
+
6. rails s
|
37
|
+
|
38
|
+
Make sure you are using Rails 4.0
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
1. Fork it
|
43
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
44
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
45
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
46
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,379 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* bootstrap-modal.js v2.2.0
|
3
|
+
* ===========================================================
|
4
|
+
* Copyright 2012 Jordan Schroter
|
5
|
+
*
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
* you may not use this file except in compliance with the License.
|
8
|
+
* You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
* See the License for the specific language governing permissions and
|
16
|
+
* limitations under the License.
|
17
|
+
* ========================================================== */
|
18
|
+
|
19
|
+
|
20
|
+
!function ($) {
|
21
|
+
|
22
|
+
"use strict"; // jshint ;_;
|
23
|
+
|
24
|
+
/* MODAL CLASS DEFINITION
|
25
|
+
* ====================== */
|
26
|
+
|
27
|
+
var Modal = function (element, options) {
|
28
|
+
this.init(element, options);
|
29
|
+
};
|
30
|
+
|
31
|
+
Modal.prototype = {
|
32
|
+
|
33
|
+
constructor: Modal,
|
34
|
+
|
35
|
+
init: function (element, options) {
|
36
|
+
var that = this;
|
37
|
+
|
38
|
+
this.options = options;
|
39
|
+
|
40
|
+
this.$element = $(element)
|
41
|
+
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this));
|
42
|
+
|
43
|
+
this.options.remote && this.$element.find('.modal-body').load(this.options.remote, function () {
|
44
|
+
var e = $.Event('loaded');
|
45
|
+
that.$element.trigger(e);
|
46
|
+
});
|
47
|
+
|
48
|
+
var manager = typeof this.options.manager === 'function' ?
|
49
|
+
this.options.manager.call(this) : this.options.manager;
|
50
|
+
|
51
|
+
manager = manager.appendModal ?
|
52
|
+
manager : $(manager).modalmanager().data('modalmanager');
|
53
|
+
|
54
|
+
manager.appendModal(this);
|
55
|
+
},
|
56
|
+
|
57
|
+
toggle: function () {
|
58
|
+
return this[!this.isShown ? 'show' : 'hide']();
|
59
|
+
},
|
60
|
+
|
61
|
+
show: function () {
|
62
|
+
var e = $.Event('show');
|
63
|
+
|
64
|
+
if (this.isShown) return;
|
65
|
+
|
66
|
+
this.$element.trigger(e);
|
67
|
+
|
68
|
+
if (e.isDefaultPrevented()) return;
|
69
|
+
|
70
|
+
this.escape();
|
71
|
+
|
72
|
+
this.tab();
|
73
|
+
|
74
|
+
this.options.loading && this.loading();
|
75
|
+
},
|
76
|
+
|
77
|
+
hide: function (e) {
|
78
|
+
e && e.preventDefault();
|
79
|
+
|
80
|
+
e = $.Event('hide');
|
81
|
+
|
82
|
+
this.$element.trigger(e);
|
83
|
+
|
84
|
+
if (!this.isShown || e.isDefaultPrevented()) return (this.isShown = false);
|
85
|
+
|
86
|
+
this.isShown = false;
|
87
|
+
|
88
|
+
this.escape();
|
89
|
+
|
90
|
+
this.tab();
|
91
|
+
|
92
|
+
this.isLoading && this.loading();
|
93
|
+
|
94
|
+
$(document).off('focusin.modal');
|
95
|
+
|
96
|
+
this.$element
|
97
|
+
.removeClass('in')
|
98
|
+
.removeClass('animated')
|
99
|
+
.removeClass(this.options.attentionAnimation)
|
100
|
+
.removeClass('modal-overflow')
|
101
|
+
.attr('aria-hidden', true);
|
102
|
+
|
103
|
+
$.support.transition && this.$element.hasClass('fade') ?
|
104
|
+
this.hideWithTransition() :
|
105
|
+
this.hideModal();
|
106
|
+
},
|
107
|
+
|
108
|
+
layout: function () {
|
109
|
+
var prop = this.options.height ? 'height' : 'max-height',
|
110
|
+
value = this.options.height || this.options.maxHeight;
|
111
|
+
|
112
|
+
if (this.options.width){
|
113
|
+
this.$element.css('width', this.options.width);
|
114
|
+
|
115
|
+
var that = this;
|
116
|
+
this.$element.css('margin-left', function () {
|
117
|
+
if (/%/ig.test(that.options.width)){
|
118
|
+
return -(parseInt(that.options.width) / 2) + '%';
|
119
|
+
} else {
|
120
|
+
return -($(this).width() / 2) + 'px';
|
121
|
+
}
|
122
|
+
});
|
123
|
+
} else {
|
124
|
+
this.$element.css('width', '');
|
125
|
+
this.$element.css('margin-left', '');
|
126
|
+
}
|
127
|
+
|
128
|
+
this.$element.find('.modal-body')
|
129
|
+
.css('overflow', '')
|
130
|
+
.css(prop, '');
|
131
|
+
|
132
|
+
if (value){
|
133
|
+
this.$element.find('.modal-body')
|
134
|
+
.css('overflow', 'auto')
|
135
|
+
.css(prop, value);
|
136
|
+
}
|
137
|
+
|
138
|
+
var modalOverflow = $(window).height() - 10 < this.$element.height();
|
139
|
+
|
140
|
+
if (modalOverflow || this.options.modalOverflow) {
|
141
|
+
this.$element
|
142
|
+
.css('margin-top', 0)
|
143
|
+
.addClass('modal-overflow');
|
144
|
+
} else {
|
145
|
+
this.$element
|
146
|
+
.css('margin-top', 0 - this.$element.height() / 2)
|
147
|
+
.removeClass('modal-overflow');
|
148
|
+
}
|
149
|
+
},
|
150
|
+
|
151
|
+
tab: function () {
|
152
|
+
var that = this;
|
153
|
+
|
154
|
+
if (this.isShown && this.options.consumeTab) {
|
155
|
+
this.$element.on('keydown.tabindex.modal', '[data-tabindex]', function (e) {
|
156
|
+
if (e.keyCode && e.keyCode == 9){
|
157
|
+
var $next = $(this),
|
158
|
+
$rollover = $(this);
|
159
|
+
|
160
|
+
that.$element.find('[data-tabindex]:enabled:not([readonly])').each(function (e) {
|
161
|
+
if (!e.shiftKey){
|
162
|
+
$next = $next.data('tabindex') < $(this).data('tabindex') ?
|
163
|
+
$next = $(this) :
|
164
|
+
$rollover = $(this);
|
165
|
+
} else {
|
166
|
+
$next = $next.data('tabindex') > $(this).data('tabindex') ?
|
167
|
+
$next = $(this) :
|
168
|
+
$rollover = $(this);
|
169
|
+
}
|
170
|
+
});
|
171
|
+
|
172
|
+
$next[0] !== $(this)[0] ?
|
173
|
+
$next.focus() : $rollover.focus();
|
174
|
+
|
175
|
+
e.preventDefault();
|
176
|
+
}
|
177
|
+
});
|
178
|
+
} else if (!this.isShown) {
|
179
|
+
this.$element.off('keydown.tabindex.modal');
|
180
|
+
}
|
181
|
+
},
|
182
|
+
|
183
|
+
escape: function () {
|
184
|
+
var that = this;
|
185
|
+
if (this.isShown && this.options.keyboard) {
|
186
|
+
if (!this.$element.attr('tabindex')) this.$element.attr('tabindex', -1);
|
187
|
+
|
188
|
+
this.$element.on('keyup.dismiss.modal', function (e) {
|
189
|
+
e.which == 27 && that.hide();
|
190
|
+
});
|
191
|
+
} else if (!this.isShown) {
|
192
|
+
this.$element.off('keyup.dismiss.modal')
|
193
|
+
}
|
194
|
+
},
|
195
|
+
|
196
|
+
hideWithTransition: function () {
|
197
|
+
var that = this
|
198
|
+
, timeout = setTimeout(function () {
|
199
|
+
that.$element.off($.support.transition.end);
|
200
|
+
that.hideModal();
|
201
|
+
}, 500);
|
202
|
+
|
203
|
+
this.$element.one($.support.transition.end, function () {
|
204
|
+
clearTimeout(timeout);
|
205
|
+
that.hideModal();
|
206
|
+
});
|
207
|
+
},
|
208
|
+
|
209
|
+
hideModal: function () {
|
210
|
+
var prop = this.options.height ? 'height' : 'max-height';
|
211
|
+
var value = this.options.height || this.options.maxHeight;
|
212
|
+
|
213
|
+
if (value){
|
214
|
+
this.$element.find('.modal-body')
|
215
|
+
.css('overflow', '')
|
216
|
+
.css(prop, '');
|
217
|
+
}
|
218
|
+
|
219
|
+
this.$element
|
220
|
+
.hide()
|
221
|
+
.trigger('hidden');
|
222
|
+
},
|
223
|
+
|
224
|
+
removeLoading: function () {
|
225
|
+
this.$loading.remove();
|
226
|
+
this.$loading = null;
|
227
|
+
this.isLoading = false;
|
228
|
+
},
|
229
|
+
|
230
|
+
loading: function (callback) {
|
231
|
+
callback = callback || function () {};
|
232
|
+
|
233
|
+
var animate = this.$element.hasClass('fade') ? 'fade' : '';
|
234
|
+
|
235
|
+
if (!this.isLoading) {
|
236
|
+
var doAnimate = $.support.transition && animate;
|
237
|
+
|
238
|
+
this.$loading = $('<div class="loading-mask ' + animate + '">')
|
239
|
+
.append(this.options.spinner)
|
240
|
+
.appendTo(this.$element);
|
241
|
+
|
242
|
+
if (doAnimate) this.$loading[0].offsetWidth; // force reflow
|
243
|
+
|
244
|
+
this.$loading.addClass('in');
|
245
|
+
|
246
|
+
this.isLoading = true;
|
247
|
+
|
248
|
+
doAnimate ?
|
249
|
+
this.$loading.one($.support.transition.end, callback) :
|
250
|
+
callback();
|
251
|
+
|
252
|
+
} else if (this.isLoading && this.$loading) {
|
253
|
+
this.$loading.removeClass('in');
|
254
|
+
|
255
|
+
var that = this;
|
256
|
+
$.support.transition && this.$element.hasClass('fade')?
|
257
|
+
this.$loading.one($.support.transition.end, function () { that.removeLoading() }) :
|
258
|
+
that.removeLoading();
|
259
|
+
|
260
|
+
} else if (callback) {
|
261
|
+
callback(this.isLoading);
|
262
|
+
}
|
263
|
+
},
|
264
|
+
|
265
|
+
focus: function () {
|
266
|
+
var $focusElem = this.$element.find(this.options.focusOn);
|
267
|
+
|
268
|
+
$focusElem = $focusElem.length ? $focusElem : this.$element;
|
269
|
+
|
270
|
+
$focusElem.focus();
|
271
|
+
},
|
272
|
+
|
273
|
+
attention: function (){
|
274
|
+
// NOTE: transitionEnd with keyframes causes odd behaviour
|
275
|
+
|
276
|
+
if (this.options.attentionAnimation){
|
277
|
+
this.$element
|
278
|
+
.removeClass('animated')
|
279
|
+
.removeClass(this.options.attentionAnimation);
|
280
|
+
|
281
|
+
var that = this;
|
282
|
+
|
283
|
+
setTimeout(function () {
|
284
|
+
that.$element
|
285
|
+
.addClass('animated')
|
286
|
+
.addClass(that.options.attentionAnimation);
|
287
|
+
}, 0);
|
288
|
+
}
|
289
|
+
|
290
|
+
|
291
|
+
this.focus();
|
292
|
+
},
|
293
|
+
|
294
|
+
|
295
|
+
destroy: function () {
|
296
|
+
var e = $.Event('destroy');
|
297
|
+
this.$element.trigger(e);
|
298
|
+
if (e.isDefaultPrevented()) return;
|
299
|
+
|
300
|
+
this.teardown();
|
301
|
+
},
|
302
|
+
|
303
|
+
teardown: function () {
|
304
|
+
if (!this.$parent.length){
|
305
|
+
this.$element.remove();
|
306
|
+
this.$element = null;
|
307
|
+
return;
|
308
|
+
}
|
309
|
+
|
310
|
+
if (this.$parent !== this.$element.parent()){
|
311
|
+
this.$element.appendTo(this.$parent);
|
312
|
+
}
|
313
|
+
|
314
|
+
this.$element.off('.modal');
|
315
|
+
this.$element.removeData('modal');
|
316
|
+
this.$element
|
317
|
+
.removeClass('in')
|
318
|
+
.attr('aria-hidden', true);
|
319
|
+
}
|
320
|
+
};
|
321
|
+
|
322
|
+
|
323
|
+
/* MODAL PLUGIN DEFINITION
|
324
|
+
* ======================= */
|
325
|
+
|
326
|
+
$.fn.modal = function (option, args) {
|
327
|
+
return this.each(function () {
|
328
|
+
var $this = $(this),
|
329
|
+
data = $this.data('modal'),
|
330
|
+
options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option);
|
331
|
+
|
332
|
+
if (!data) $this.data('modal', (data = new Modal(this, options)));
|
333
|
+
if (typeof option == 'string') data[option].apply(data, [].concat(args));
|
334
|
+
else if (options.show) data.show()
|
335
|
+
})
|
336
|
+
};
|
337
|
+
|
338
|
+
$.fn.modal.defaults = {
|
339
|
+
keyboard: true,
|
340
|
+
backdrop: true,
|
341
|
+
loading: false,
|
342
|
+
show: true,
|
343
|
+
width: null,
|
344
|
+
height: null,
|
345
|
+
maxHeight: null,
|
346
|
+
modalOverflow: false,
|
347
|
+
consumeTab: true,
|
348
|
+
focusOn: null,
|
349
|
+
replace: false,
|
350
|
+
resize: false,
|
351
|
+
attentionAnimation: 'shake',
|
352
|
+
manager: 'body',
|
353
|
+
spinner: '<div class="loading-spinner" style="width: 200px; margin-left: -100px;"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>',
|
354
|
+
backdropTemplate: '<div class="modal-backdrop" />'
|
355
|
+
};
|
356
|
+
|
357
|
+
$.fn.modal.Constructor = Modal;
|
358
|
+
|
359
|
+
|
360
|
+
/* MODAL DATA-API
|
361
|
+
* ============== */
|
362
|
+
|
363
|
+
$(function () {
|
364
|
+
$(document).off('click.modal').on('click.modal.data-api', '[data-toggle="modal"]', function ( e ) {
|
365
|
+
var $this = $(this),
|
366
|
+
href = $this.attr('href'),
|
367
|
+
$target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))), //strip for ie7
|
368
|
+
option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data());
|
369
|
+
|
370
|
+
e.preventDefault();
|
371
|
+
$target
|
372
|
+
.modal(option)
|
373
|
+
.one('hide', function () {
|
374
|
+
$this.focus();
|
375
|
+
})
|
376
|
+
});
|
377
|
+
});
|
378
|
+
|
379
|
+
}(window.jQuery);
|