card 1.92.2 → 1.93.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +3 -3
- data/VERSION +1 -1
- data/card.gemspec +1 -1
- data/config/initializers/01_core_extensions/array.rb +1 -1
- data/config/initializers/01_core_extensions/object.rb +9 -0
- data/config/initializers/01_core_extensions/persistent_identifiers.rb +1 -1
- data/config/initializers/02_patches/action_dispatch.rb +1 -0
- data/config/initializers/02_patches/active_record.rb +42 -0
- data/config/initializers/02_patches/active_support.rb +13 -0
- data/config/initializers/deck_config.rb +3 -0
- data/config/initializers/patches.rb +37 -6
- data/config/locales/de.yml +1 -3
- data/config/locales/en.yml +1 -3
- data/db/migrate_core_cards/20120611203506_rails_inflection_updates.rb +3 -3
- data/db/migrate_core_cards/20130823192433_add_style_cards.rb +1 -1
- data/db/migrate_core_cards/20130920214038_jsonize_tinymce.rb +1 -1
- data/db/migrate_core_cards/20140629222005_add_email_cards.rb +4 -4
- data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +1 -1
- data/db/migrate_core_cards/20150220134731_following_to_follow_rule.rb +1 -1
- data/db/migrate_core_cards/20150317162412_bootstrap_themes.rb +1 -1
- data/db/migrate_core_cards/20150429090551_search_card_context.rb +2 -2
- data/db/migrate_core_cards/20150501010515_responsive_sidebar.rb +1 -1
- data/db/migrate_core_cards/20150610180019_add_recaptcha_key_and_admin_info_cards.rb +2 -2
- data/db/migrate_core_cards/20150724123438_update_file_and_image_cards.rb +2 -2
- data/db/migrate_core_cards/20160811115836_rename_stats_to_admin.rb +1 -1
- data/db/migrate_core_cards/20160914132636_fix_mod_files.rb +3 -3
- data/db/migrate_core_cards/20170830210517_correct_signup_success_message.rb +2 -2
- data/db/migrate_core_cards/data/cards.yml +2 -2
- data/db/migrate_core_cards/data/cards/*header +1 -1
- data/lib/card.rb +53 -34
- data/lib/card/act_manager.rb +64 -10
- data/lib/card/act_manager/stage_director.rb +13 -2
- data/lib/card/act_manager/stage_director/phases.rb +6 -4
- data/lib/card/auth.rb +3 -1
- data/lib/card/cache.rb +8 -2
- data/lib/card/cache/persistent.rb +23 -10
- data/lib/card/codename.rb +59 -18
- data/lib/card/dirty.rb +39 -0
- data/lib/card/env/location.rb +1 -1
- data/lib/card/env/location_history.rb +1 -1
- data/lib/card/env/success.rb +1 -1
- data/lib/card/error.rb +3 -0
- data/lib/card/format.rb +55 -21
- data/lib/card/format/content.rb +1 -1
- data/lib/card/format/context_names.rb +2 -2
- data/lib/card/format/nest.rb +2 -2
- data/lib/card/format/nest/fetch.rb +1 -1
- data/lib/card/format/nest/subformat.rb +1 -1
- data/lib/card/format/render.rb +4 -18
- data/lib/card/migration.rb +1 -1
- data/lib/card/migration/import.rb +1 -1
- data/lib/card/migration/import/import_data.rb +5 -12
- data/lib/card/migration/import/import_data/card_attributes.rb +3 -4
- data/lib/card/mod.rb +4 -3
- data/lib/card/mod/dirs.rb +21 -10
- data/lib/card/mod/loader.rb +1 -1
- data/lib/card/model/save_helper.rb +1 -1
- data/lib/card/name.rb +8 -6
- data/lib/card/name/fields_and_traits.rb +5 -10
- data/lib/card/query.rb +1 -1
- data/lib/card/reference.rb +1 -1
- data/lib/card/set.rb +7 -14
- data/lib/card/set/advanced_api.rb +1 -0
- data/lib/card/set/event.rb +19 -109
- data/lib/card/set/event/delayed_event.rb +104 -0
- data/lib/card/set/format.rb +2 -2
- data/lib/card/set_pattern.rb +4 -4
- data/lib/card/subcards.rb +22 -35
- data/lib/card/tasks/card.rake +1 -2
- data/lib/card/view.rb +1 -2
- data/lib/card/view/cache.rb +1 -1
- data/lib/card/view/cache_action.rb +1 -1
- data/lib/card/view/options.rb +1 -1
- data/lib/card/view/stub.rb +5 -1
- data/lib/cardio.rb +50 -22
- data/mod/Modfile +1 -0
- data/mod/account/set/all/account.rb +2 -2
- data/mod/account/set/right/account.rb +4 -2
- data/mod/account/set/right/email.rb +1 -1
- data/mod/account/set/self/account_links.rb +2 -2
- data/mod/account/set/self/signin.rb +3 -3
- data/mod/account/spec/set/right/account_spec.rb +2 -2
- data/mod/account/spec/set/right/email_spec.rb +1 -1
- data/mod/account/spec/set/right/password_spec.rb +1 -1
- data/mod/account/spec/set/right/salt_spec.rb +1 -1
- data/mod/account/spec/set/type/signup_spec.rb +1 -1
- data/mod/basic_formats/format/css_format.rb +1 -2
- data/mod/basic_formats/format/csv_format.rb +1 -1
- data/mod/basic_formats/format/js_format.rb +4 -0
- data/mod/basic_formats/set/all/all_css.rb +3 -3
- data/mod/basic_formats/set/all/all_js.rb +1 -1
- data/mod/basic_formats/set/all/base.rb +5 -5
- data/mod/basic_formats/set/all/json.rb +4 -4
- data/mod/basic_formats/set/all/rss.rb +3 -3
- data/mod/basic_formats/set/self/head.rb +12 -7
- data/mod/bootstrap/db/migrate_cards/20170719163710_update_bootswatch_themes_to_4_beta.rb +115 -0
- data/mod/bootstrap/db/migrate_cards/20170726145012_select2.rb +7 -7
- data/mod/bootstrap/lib/bootstrap/component/panel.rb +1 -1
- data/mod/bootstrap/lib/javascript/script_load_select2.js.coffee +2 -0
- data/mod/bootstrap/lib/stylesheets/bootstrap_cards.scss +2 -8
- data/mod/bootstrap/lib/stylesheets/style_select2_bootstrap.scss +546 -628
- data/mod/bootstrap/set/abstract/bootstrap_code_file.rb +9 -6
- data/mod/bootstrap/set/all/bootstrap/accordion.rb +3 -3
- data/mod/bootstrap/set/all/bootstrap/helper.rb +58 -15
- data/mod/bootstrap/set/all/bootstrap/tabs.rb +2 -2
- data/mod/bootstrap/set/all/bootstrap/wrapper.rb +1 -1
- data/mod/bootstrap/set/self/bootstrap_js.rb +7 -1
- data/mod/bootstrap/set/self/bootswatch_shared.rb +8 -17
- data/mod/bootstrap/set/self/script_select2.rb +9 -0
- data/mod/bootstrap/set/self/style_select2.rb +1 -1
- data/mod/bootstrap/set/self/style_select2_bootstrap.rb +1 -0
- data/mod/bootstrap/vendor/bootstrap/.editorconfig +17 -0
- data/mod/bootstrap/vendor/bootstrap/.gitattributes +15 -0
- data/mod/bootstrap/vendor/bootstrap/.gitignore +41 -0
- data/mod/bootstrap/vendor/bootstrap/.hound.yml +12 -0
- data/mod/bootstrap/vendor/bootstrap/.travis.yml +45 -0
- data/mod/bootstrap/vendor/bootstrap/CHANGELOG.md +5 -0
- data/mod/bootstrap/vendor/bootstrap/CNAME +1 -0
- data/mod/bootstrap/vendor/bootstrap/CONTRIBUTING.md +270 -0
- data/mod/bootstrap/vendor/bootstrap/Gemfile +6 -0
- data/mod/bootstrap/vendor/bootstrap/Gemfile.lock +49 -0
- data/mod/bootstrap/vendor/bootstrap/Gruntfile.js +511 -0
- data/mod/bootstrap/vendor/bootstrap/ISSUE_TEMPLATE.md +22 -0
- data/mod/bootstrap/vendor/bootstrap/LICENSE +21 -0
- data/mod/bootstrap/vendor/bootstrap/README.md +142 -0
- data/mod/bootstrap/vendor/bootstrap/_config.yml +42 -0
- data/mod/bootstrap/vendor/bootstrap/bower.json +34 -0
- data/mod/bootstrap/vendor/bootstrap/composer.json +37 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-theme.css +587 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-theme.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-theme.min.css +6 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-theme.min.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.css +6757 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.min.css +6 -0
- data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.min.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +288 -0
- data/mod/bootstrap/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.js +2377 -0
- data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.min.js +7 -0
- data/mod/bootstrap/vendor/bootstrap/dist/js/npm.js +13 -0
- data/mod/bootstrap/vendor/bootstrap/docs/LICENSE +319 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_data/browser-bugs.yml +433 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_data/browser-features.yml +109 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_data/core-team.yml +27 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_data/glyphicons.yml +266 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_data/sass-team.yml +7 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_data/showcase.yml +19 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_data/translations.yml +64 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/ads.html +1 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/alerts.html +89 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/badges.html +45 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/breadcrumbs.html +27 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/button-dropdowns.html +321 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/button-groups.html +268 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/dropdowns.html +156 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/glyphicons.html +91 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/input-groups.html +365 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/jumbotron.html +27 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/labels.html +40 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/list-group.html +188 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/media.html +207 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/navbar.html +461 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/navs.html +189 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/page-header.html +15 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/pagination.html +202 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/panels.html +279 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/progress-bars.html +214 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/responsive-embed.html +23 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/thumbnails.html +94 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/components/wells.html +33 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/buttons.html +189 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/code.html +52 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/forms.html +1029 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/grid.html +560 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/helpers.html +207 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/images.html +31 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/less.html +499 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/overview.html +52 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/responsive-utilities.html +258 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/sass.html +52 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/tables.html +467 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/css/type.html +461 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/customizer-variables.html +1892 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/footer.html +67 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/accessibility.html +37 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/browser-device-support.html +237 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/community.html +13 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/disabling-responsiveness.html +22 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/download.html +63 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/examples.html +161 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/grunt.html +35 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/license.html +34 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/template.html +37 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/third-party-support.html +51 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/tools.html +6 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/translations.html +12 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/getting-started/whats-included.html +55 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/header.html +58 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/affix.html +129 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/alerts.html +73 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/buttons.html +139 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/carousel.html +260 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/collapse.html +277 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/dropdowns.html +201 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/modal.html +520 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/overview.html +86 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/popovers.html +309 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/scrollspy.html +151 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/tabs.html +147 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/tooltips.html +276 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/js/transitions.html +15 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/about.html +9 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/components.html +146 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/css.html +136 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/customize.html +47 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/getting-started.html +76 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/javascript.html +124 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/main.html +37 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_includes/nav/migration.html +12 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_layouts/default.html +65 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_layouts/home.html +19 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_plugins/bridge.rb +9 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_plugins/bugify.rb +26 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_pug/customizer-nav.pug +17 -0
- data/mod/bootstrap/vendor/bootstrap/docs/_pug/customizer-variables.pug +25 -0
- data/mod/bootstrap/vendor/bootstrap/docs/about.html +127 -0
- data/mod/bootstrap/vendor/bootstrap/docs/apple-touch-icon.png +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/brand/bootstrap-outline.svg +20 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/brand/bootstrap-punchout.svg +18 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/brand/bootstrap-solid.svg +17 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/css/docs.min.css +11 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/css/docs.min.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/css/ie10-viewport-bug-workaround.css +13 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/css/src/docs.css +1632 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/css/src/pygments-manni.css +66 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/flash/ZeroClipboard.swf +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/img/components.png +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/img/devices.png +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/img/expo-lyft.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/img/expo-newsweek.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/img/expo-riot.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/img/expo-vogue.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/img/sass-less.png +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/customize.min.js +91 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/docs.min.js +26 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/ie-emulation-modes-warning.js +51 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/ie10-viewport-bug-workaround.js +23 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/ie8-responsive-file-warning.js +13 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/raw-files.min.js +8 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/src/application.js +183 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/src/customizer.js +520 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/Blob.js +211 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/FileSaver.js +248 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/ZeroClipboard.min.js +9 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/anchor.min.js +6 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/autoprefixer.js +21114 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/holder.min.js +12 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/jquery.min.js +5 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/jszip.min.js +14 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/less.min.js +16 -0
- data/mod/bootstrap/vendor/bootstrap/docs/assets/js/vendor/uglify.min.js +6 -0
- data/mod/bootstrap/vendor/bootstrap/docs/browser-bugs.html +75 -0
- data/mod/bootstrap/vendor/bootstrap/docs/components.html +29 -0
- data/mod/bootstrap/vendor/bootstrap/docs/css.html +20 -0
- data/mod/bootstrap/vendor/bootstrap/docs/customize.html +385 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap-theme.css +587 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap-theme.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap-theme.min.css +6 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap-theme.min.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap.css +6757 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap.min.css +6 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/css/bootstrap.min.css.map +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/fonts/glyphicons-halflings-regular.svg +288 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/js/bootstrap.js +2377 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/js/bootstrap.min.js +7 -0
- data/mod/bootstrap/vendor/bootstrap/docs/dist/js/npm.js +13 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/blog/blog.css +166 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/blog/index.html +180 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/carousel/carousel.css +134 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/carousel/index.html +220 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/cover/cover.css +163 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/cover/index.html +84 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/dashboard/dashboard.css +105 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/dashboard/index.html +252 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/grid/grid.css +23 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/grid/index.html +156 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/jumbotron-narrow/index.html +88 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/jumbotron-narrow/jumbotron-narrow.css +79 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/jumbotron/index.html +107 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/jumbotron/jumbotron.css +5 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/justified-nav/index.html +92 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/justified-nav/justified-nav.css +88 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/navbar-fixed-top/index.html +99 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/navbar-fixed-top/navbar-fixed-top.css +4 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/navbar-static-top/index.html +100 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/navbar-static-top/navbar-static-top.css +7 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/navbar/index.html +98 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/navbar/navbar.css +8 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/non-responsive/index.html +115 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/non-responsive/non-responsive.css +262 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/offcanvas/index.html +137 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/offcanvas/offcanvas.css +59 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/offcanvas/offcanvas.js +5 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/blog.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/carousel.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/cover.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/dashboard.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/equal-height-columns.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/grid.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/jumbotron-narrow.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/jumbotron.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/justified-nav.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/navbar-fixed.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/navbar-static.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/navbar.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/non-responsive.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/offcanvas.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/sign-in.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/starter-template.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/sticky-footer-navbar.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/sticky-footer.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/screenshots/theme.jpg +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/signin/index.html +58 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/signin/signin.css +40 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/starter-template/index.html +76 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/starter-template/starter-template.css +7 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/sticky-footer-navbar/index.html +95 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css +39 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/sticky-footer/index.html +55 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/sticky-footer/sticky-footer.css +32 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/theme/index.html +644 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/theme/theme.css +18 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/tooltip-viewport/index.html +62 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/tooltip-viewport/tooltip-viewport.css +26 -0
- data/mod/bootstrap/vendor/bootstrap/docs/examples/tooltip-viewport/tooltip-viewport.js +18 -0
- data/mod/bootstrap/vendor/bootstrap/docs/favicon.ico +0 -0
- data/mod/bootstrap/vendor/bootstrap/docs/getting-started.html +28 -0
- data/mod/bootstrap/vendor/bootstrap/docs/index.html +73 -0
- data/mod/bootstrap/vendor/bootstrap/docs/javascript.html +21 -0
- data/mod/bootstrap/vendor/bootstrap/docs/migration.html +445 -0
- data/mod/bootstrap/vendor/bootstrap/docs/robots.txt +9 -0
- data/mod/bootstrap/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- data/mod/bootstrap/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
- data/mod/bootstrap/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/mod/bootstrap/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- data/mod/bootstrap/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/.jshintrc +7 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/bs-commonjs-generator.js +30 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/bs-glyphicons-data-generator.js +42 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/bs-lessdoc-parser.js +237 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/bs-raw-files-generator.js +44 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/change-version.js +109 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/configBridge.json +46 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/npm-shrinkwrap.json +2679 -0
- data/mod/bootstrap/vendor/bootstrap/grunt/sauce_browsers.yml +82 -0
- data/mod/bootstrap/vendor/bootstrap/js/.jscsrc +42 -0
- data/mod/bootstrap/vendor/bootstrap/js/.jshintrc +15 -0
- data/mod/bootstrap/vendor/bootstrap/js/affix.js +162 -0
- data/mod/bootstrap/vendor/bootstrap/js/alert.js +94 -0
- data/mod/bootstrap/vendor/bootstrap/js/button.js +125 -0
- data/mod/bootstrap/vendor/bootstrap/js/carousel.js +239 -0
- data/mod/bootstrap/vendor/bootstrap/js/collapse.js +212 -0
- data/mod/bootstrap/vendor/bootstrap/js/dropdown.js +165 -0
- data/mod/bootstrap/vendor/bootstrap/js/modal.js +339 -0
- data/mod/bootstrap/vendor/bootstrap/js/popover.js +108 -0
- data/mod/bootstrap/vendor/bootstrap/js/scrollspy.js +172 -0
- data/mod/bootstrap/vendor/bootstrap/js/tab.js +155 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/README.md +62 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/index.html +169 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/.jshintrc +6 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/affix.js +107 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/alert.js +78 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/button.js +168 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/carousel.js +718 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/collapse.js +443 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/dropdown.js +423 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/modal.js +377 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/phantom.js +72 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/popover.js +290 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/scrollspy.js +278 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/tab.js +216 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/unit/tooltip.js +1325 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/vendor/jquery.min.js +5 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/vendor/qunit.css +305 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/vendor/qunit.js +4204 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/affix-with-sticky-footer.html +317 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/affix.html +306 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/alert.html +48 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/button.html +79 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/carousel.html +58 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/collapse.html +78 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/dropdown.html +108 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/modal.html +205 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/popover.html +54 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/scrollspy.html +109 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/tab.html +172 -0
- data/mod/bootstrap/vendor/bootstrap/js/tests/visual/tooltip.html +50 -0
- data/mod/bootstrap/vendor/bootstrap/js/tooltip.js +520 -0
- data/mod/bootstrap/vendor/bootstrap/js/transition.js +59 -0
- data/mod/bootstrap/vendor/bootstrap/less/.csscomb.json +304 -0
- data/mod/bootstrap/vendor/bootstrap/less/.csslintrc +19 -0
- data/mod/bootstrap/vendor/bootstrap/less/alerts.less +73 -0
- data/mod/bootstrap/vendor/bootstrap/less/badges.less +66 -0
- data/mod/bootstrap/vendor/bootstrap/less/bootstrap.less +56 -0
- data/mod/bootstrap/vendor/bootstrap/less/breadcrumbs.less +26 -0
- data/mod/bootstrap/{lib/stylesheets/bootstrap/scss/_button-group.scss → vendor/bootstrap/less/button-groups.less} +100 -58
- data/mod/bootstrap/vendor/bootstrap/less/buttons.less +166 -0
- data/mod/bootstrap/vendor/bootstrap/less/carousel.less +270 -0
- data/mod/bootstrap/vendor/bootstrap/less/close.less +34 -0
- data/mod/bootstrap/vendor/bootstrap/less/code.less +69 -0
- data/mod/bootstrap/vendor/bootstrap/less/component-animations.less +33 -0
- data/mod/bootstrap/vendor/bootstrap/less/dropdowns.less +216 -0
- data/mod/bootstrap/vendor/bootstrap/less/forms.less +613 -0
- data/mod/bootstrap/vendor/bootstrap/less/glyphicons.less +305 -0
- data/mod/bootstrap/vendor/bootstrap/less/grid.less +84 -0
- data/mod/bootstrap/vendor/bootstrap/less/input-groups.less +171 -0
- data/mod/bootstrap/vendor/bootstrap/less/jumbotron.less +54 -0
- data/mod/bootstrap/vendor/bootstrap/less/labels.less +64 -0
- data/mod/bootstrap/vendor/bootstrap/less/list-group.less +130 -0
- data/mod/bootstrap/vendor/bootstrap/less/media.less +66 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins.less +40 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/alerts.less +14 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/background-variant.less +9 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/border-radius.less +18 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/buttons.less +65 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/center-block.less +7 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/clearfix.less +22 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/forms.less +85 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/gradients.less +59 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/grid-framework.less +91 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/grid.less +122 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/hide-text.less +21 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/image.less +33 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/labels.less +12 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/list-group.less +30 -0
- data/mod/bootstrap/{lib/stylesheets/bootstrap/scss/mixins/_nav-divider.scss → vendor/bootstrap/less/mixins/nav-divider.less} +3 -3
- data/mod/bootstrap/{lib/stylesheets/bootstrap/scss/mixins/_navbar-align.scss → vendor/bootstrap/less/mixins/nav-vertical-align.less} +4 -4
- data/mod/bootstrap/vendor/bootstrap/less/mixins/opacity.less +8 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/pagination.less +24 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/panels.less +24 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/progress-bar.less +10 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/reset-filter.less +8 -0
- data/mod/bootstrap/{lib/stylesheets/bootstrap/scss/mixins/_reset-text.scss → vendor/bootstrap/less/mixins/reset-text.less} +6 -5
- data/mod/bootstrap/{lib/stylesheets/bootstrap/scss/mixins/_resize.scss → vendor/bootstrap/less/mixins/resize.less} +2 -2
- data/mod/bootstrap/vendor/bootstrap/less/mixins/responsive-visibility.less +15 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/size.less +10 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/tab-focus.less +9 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/table-row.less +28 -0
- data/mod/bootstrap/vendor/bootstrap/less/mixins/text-emphasis.less +9 -0
- data/mod/bootstrap/{lib/stylesheets/bootstrap/scss/mixins/_text-truncate.scss → vendor/bootstrap/less/mixins/text-overflow.less} +3 -3
- data/mod/bootstrap/vendor/bootstrap/less/mixins/vendor-prefixes.less +227 -0
- data/mod/bootstrap/vendor/bootstrap/less/modals.less +150 -0
- data/mod/bootstrap/vendor/bootstrap/less/navbar.less +660 -0
- data/mod/bootstrap/vendor/bootstrap/less/navs.less +242 -0
- data/mod/bootstrap/vendor/bootstrap/less/normalize.less +424 -0
- data/mod/bootstrap/vendor/bootstrap/less/pager.less +54 -0
- data/mod/bootstrap/vendor/bootstrap/less/pagination.less +89 -0
- data/mod/bootstrap/vendor/bootstrap/less/panels.less +271 -0
- data/mod/bootstrap/vendor/bootstrap/less/popovers.less +131 -0
- data/mod/bootstrap/vendor/bootstrap/less/print.less +101 -0
- data/mod/bootstrap/vendor/bootstrap/less/progress-bars.less +87 -0
- data/mod/bootstrap/{lib/stylesheets/bootstrap/scss/_responsive-embed.scss → vendor/bootstrap/less/responsive-embed.less} +9 -26
- data/mod/bootstrap/vendor/bootstrap/less/responsive-utilities.less +194 -0
- data/mod/bootstrap/vendor/bootstrap/less/scaffolding.less +161 -0
- data/mod/bootstrap/vendor/bootstrap/less/tables.less +234 -0
- data/mod/bootstrap/vendor/bootstrap/less/theme.less +291 -0
- data/mod/bootstrap/vendor/bootstrap/less/thumbnails.less +36 -0
- data/mod/bootstrap/vendor/bootstrap/less/tooltip.less +101 -0
- data/mod/bootstrap/vendor/bootstrap/less/type.less +302 -0
- data/mod/bootstrap/vendor/bootstrap/less/utilities.less +55 -0
- data/mod/bootstrap/vendor/bootstrap/less/variables.less +869 -0
- data/mod/bootstrap/vendor/bootstrap/less/wells.less +29 -0
- data/mod/bootstrap/vendor/bootstrap/nuget/MyGet.ps1 +8 -0
- data/mod/bootstrap/vendor/bootstrap/nuget/bootstrap.less.nuspec +28 -0
- data/mod/bootstrap/vendor/bootstrap/nuget/bootstrap.nuspec +28 -0
- data/mod/bootstrap/vendor/bootstrap/package.js +32 -0
- data/mod/bootstrap/vendor/bootstrap/package.json +89 -0
- data/mod/bootstrap/vendor/bootswatch/README.md +63 -0
- data/mod/bootstrap/vendor/bootswatch/swatchmaker/README.md +1 -0
- data/mod/bootstrap/vendor/select2/.editorconfig +6 -0
- data/mod/bootstrap/vendor/select2/.github/CONTRIBUTING.md +203 -0
- data/mod/bootstrap/vendor/select2/.github/ISSUE_TEMPLATE.md +20 -0
- data/mod/bootstrap/vendor/select2/.github/PULL_REQUEST_TEMPLATE.md +13 -0
- data/mod/bootstrap/vendor/select2/.gitignore +3 -0
- data/mod/bootstrap/vendor/select2/.jshintignore +4 -0
- data/mod/bootstrap/vendor/select2/.jshintrc +25 -0
- data/mod/bootstrap/vendor/select2/.travis.yml +22 -0
- data/mod/bootstrap/vendor/select2/CHANGELOG.md +272 -0
- data/mod/bootstrap/vendor/select2/Gruntfile.js +380 -0
- data/mod/bootstrap/vendor/select2/LICENSE.md +21 -0
- data/mod/bootstrap/vendor/select2/README.md +123 -0
- data/mod/bootstrap/vendor/select2/bower.json +13 -0
- data/mod/bootstrap/vendor/select2/component.json +19 -0
- data/mod/bootstrap/vendor/select2/composer.json +25 -0
- data/mod/bootstrap/{lib/stylesheets/style_select2.css → vendor/select2/dist/css/select2.css} +0 -0
- data/mod/bootstrap/{lib/stylesheets → vendor/select2/dist/css}/select2.min.css +0 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/af.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ar.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/az.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/bg.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/bs.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ca.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/cs.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/da.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/de.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/dsb.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/el.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/en.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/es.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/et.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/eu.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/fa.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/fi.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/fr.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/gl.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/he.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/hi.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/hr.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/hsb.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/hu.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/hy.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/id.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/is.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/it.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ja.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/km.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ko.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/lt.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/lv.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/mk.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ms.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/nb.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/nl.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/pl.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ps.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/pt-BR.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/pt.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ro.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/ru.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/sk.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/sl.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/sr-Cyrl.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/sr.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/sv.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/th.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/tr.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/uk.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/vi.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/zh-CN.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/i18n/zh-TW.js +3 -0
- data/mod/bootstrap/vendor/select2/dist/js/select2.full.js +6457 -0
- data/mod/bootstrap/vendor/select2/dist/js/select2.full.min.js +1 -0
- data/mod/bootstrap/{lib/javascript/script_select2.js → vendor/select2/dist/js/select2.js} +90 -69
- data/mod/bootstrap/vendor/select2/dist/js/select2.min.js +1 -0
- data/mod/bootstrap/vendor/select2/docs/README.md +1 -0
- data/mod/bootstrap/vendor/select2/docs/announcements-4.0.html +12 -0
- data/mod/bootstrap/vendor/select2/docs/community.html +12 -0
- data/mod/bootstrap/vendor/select2/docs/examples.html +12 -0
- data/mod/bootstrap/vendor/select2/docs/index.html +12 -0
- data/mod/bootstrap/vendor/select2/docs/options-old.html +12 -0
- data/mod/bootstrap/vendor/select2/docs/options.html +12 -0
- data/mod/bootstrap/vendor/select2/package.json +73 -0
- data/mod/bootstrap/vendor/select2/select2.jquery.json +32 -0
- data/mod/bootstrap/vendor/select2/src/js/banner.end.js +6 -0
- data/mod/bootstrap/vendor/select2/src/js/banner.start.js +6 -0
- data/mod/bootstrap/vendor/select2/src/js/jquery.mousewheel.shim.js +6 -0
- data/mod/bootstrap/vendor/select2/src/js/jquery.select2.js +57 -0
- data/mod/bootstrap/vendor/select2/src/js/jquery.shim.js +14 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/compat/containerCss.js +56 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/compat/dropdownCss.js +56 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/compat/initSelection.js +42 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/compat/inputData.js +127 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/compat/matcher.js +42 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/compat/query.js +26 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/compat/utils.js +43 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/core.js +612 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/ajax.js +109 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/array.js +79 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/base.js +40 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/maximumInputLength.js +31 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/maximumSelectionLength.js +31 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/minimumInputLength.js +30 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/select.js +285 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/tags.js +128 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/data/tokenizer.js +116 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/defaults.js +396 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/diacritics.js +847 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown.js +42 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/attachBody.js +222 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/attachContainer.js +18 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/closeOnSelect.js +35 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/hidePlaceholder.js +42 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/infiniteScroll.js +89 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/minimumResultsForSearch.js +39 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/search.js +101 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/selectOnClose.js +50 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/dropdown/stopPropagation.js +38 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/af.js +44 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ar.js +30 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/az.js +27 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/bg.js +47 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/bs.js +55 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ca.js +52 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/cs.js +61 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/da.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/de.js +40 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/dsb.js +48 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/el.js +52 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/en.js +44 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/es.js +52 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/et.js +53 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/eu.js +51 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/fa.js +38 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/fi.js +30 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/fr.js +33 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/gl.js +39 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/he.js +56 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/hi.js +39 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/hr.js +44 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/hsb.js +48 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/hu.js +30 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/hy.js +38 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/id.js +30 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/is.js +41 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/it.js +48 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ja.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/km.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ko.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/lt.js +52 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/lv.js +51 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/mk.js +47 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ms.js +30 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/nb.js +32 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/nl.js +43 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/pl.js +45 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ps.js +45 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/pt-BR.js +46 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/pt.js +40 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ro.js +46 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/ru.js +58 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/sk.js +59 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/sl.js +54 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/sr-Cyrl.js +55 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/sr.js +55 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/sv.js +37 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/th.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/tr.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/uk.js +43 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/vi.js +37 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/zh-CN.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/i18n/zh-TW.js +33 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/keys.js +25 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/options.js +122 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/results.js +523 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/allowClear.js +97 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/base.js +158 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/clickMask.js +29 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/eventRelay.js +45 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/multiple.js +109 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/placeholder.js +49 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/search.js +222 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/single.js +99 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/selection/stopPropagation.js +38 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/translation.js +36 -0
- data/mod/bootstrap/vendor/select2/src/js/select2/utils.js +276 -0
- data/mod/bootstrap/vendor/select2/src/js/wrapper.end.js +12 -0
- data/mod/bootstrap/vendor/select2/src/js/wrapper.start.js +38 -0
- data/mod/bootstrap/vendor/select2/src/scss/_dropdown.scss +73 -0
- data/mod/bootstrap/vendor/select2/src/scss/_multiple.scss +35 -0
- data/mod/bootstrap/vendor/select2/src/scss/_single.scss +34 -0
- data/mod/bootstrap/vendor/select2/src/scss/core.scss +48 -0
- data/mod/bootstrap/vendor/select2/src/scss/mixins/_gradients.scss +13 -0
- data/mod/bootstrap/vendor/select2/src/scss/theme/classic/_defaults.scss +34 -0
- data/mod/bootstrap/vendor/select2/src/scss/theme/classic/_multiple.scss +93 -0
- data/mod/bootstrap/vendor/select2/src/scss/theme/classic/_single.scss +124 -0
- data/mod/bootstrap/vendor/select2/src/scss/theme/classic/layout.scss +64 -0
- data/mod/bootstrap/vendor/select2/src/scss/theme/default/_multiple.scss +98 -0
- data/mod/bootstrap/vendor/select2/src/scss/theme/default/_single.scss +83 -0
- data/mod/bootstrap/vendor/select2/src/scss/theme/default/layout.scss +97 -0
- data/mod/bootstrap/vendor/select2/tests/a11y/search-tests.js +51 -0
- data/mod/bootstrap/vendor/select2/tests/a11y/selection-tests.js +154 -0
- data/mod/bootstrap/vendor/select2/tests/data/array-tests.js +318 -0
- data/mod/bootstrap/vendor/select2/tests/data/base-tests.js +29 -0
- data/mod/bootstrap/vendor/select2/tests/data/inputData-tests.js +158 -0
- data/mod/bootstrap/vendor/select2/tests/data/maximumInputLength-tests.js +138 -0
- data/mod/bootstrap/vendor/select2/tests/data/maximumSelectionLength-tests.js +202 -0
- data/mod/bootstrap/vendor/select2/tests/data/minimumInputLength-tests.js +138 -0
- data/mod/bootstrap/vendor/select2/tests/data/select-tests.js +489 -0
- data/mod/bootstrap/vendor/select2/tests/data/tags-tests.js +276 -0
- data/mod/bootstrap/vendor/select2/tests/data/tokenizer-tests.js +219 -0
- data/mod/bootstrap/vendor/select2/tests/dropdown/dropdownCss-tests.js +104 -0
- data/mod/bootstrap/vendor/select2/tests/dropdown/positioning-tests.js +177 -0
- data/mod/bootstrap/vendor/select2/tests/dropdown/selectOnClose-tests.js +137 -0
- data/mod/bootstrap/vendor/select2/tests/dropdown/stopPropagation-tests.js +33 -0
- data/mod/bootstrap/vendor/select2/tests/helpers.js +46 -0
- data/mod/bootstrap/vendor/select2/tests/integration.html +21 -0
- data/mod/bootstrap/vendor/select2/tests/integration/dom-changes.js +257 -0
- data/mod/bootstrap/vendor/select2/tests/integration/jquery-calls.js +30 -0
- data/mod/bootstrap/vendor/select2/tests/integration/select2-methods.js +139 -0
- data/mod/bootstrap/vendor/select2/tests/options/ajax-tests.js +32 -0
- data/mod/bootstrap/vendor/select2/tests/options/data-tests.js +44 -0
- data/mod/bootstrap/vendor/select2/tests/options/deprecated-tests.js +250 -0
- data/mod/bootstrap/vendor/select2/tests/options/translation-tests.js +28 -0
- data/mod/bootstrap/vendor/select2/tests/options/width-tests.js +66 -0
- data/mod/bootstrap/vendor/select2/tests/results/focusing-tests.js +138 -0
- data/mod/bootstrap/vendor/select2/tests/selection/allowClear-tests.js +218 -0
- data/mod/bootstrap/vendor/select2/tests/selection/containerCss-tests.js +104 -0
- data/mod/bootstrap/vendor/select2/tests/selection/multiple-tests.js +149 -0
- data/mod/bootstrap/vendor/select2/tests/selection/placeholder-tests.js +74 -0
- data/mod/bootstrap/vendor/select2/tests/selection/search-tests.js +191 -0
- data/mod/bootstrap/vendor/select2/tests/selection/single-tests.js +117 -0
- data/mod/bootstrap/vendor/select2/tests/selection/stopPropagation-tests.js +33 -0
- data/mod/bootstrap/vendor/select2/tests/unit.html +95 -0
- data/mod/bootstrap/vendor/select2/tests/utils/decorator-tests.js +189 -0
- data/mod/bootstrap/vendor/select2/tests/utils/escapeMarkup-tests.js +36 -0
- data/mod/bootstrap/vendor/select2/tests/vendor/jquery-1.7.2.js +9404 -0
- data/mod/bootstrap/vendor/select2/tests/vendor/qunit-1.23.1.css +305 -0
- data/mod/bootstrap/vendor/select2/tests/vendor/qunit-1.23.1.js +4334 -0
- data/mod/bootstrap/vendor/select2/vendor/jquery-2.1.0.js +9111 -0
- data/mod/carrierwave/lib/carrier_wave/cardmount.rb +6 -1
- data/mod/carrierwave/lib/carrier_wave/file_card_uploader.rb +4 -0
- data/mod/carrierwave/set/abstract/attachment.rb +13 -6
- data/mod/carrierwave/set/abstract/attachment/storage_type.rb +15 -12
- data/mod/carrierwave/set/abstract/attachment/upload_cache.rb +2 -3
- data/mod/carrierwave/set/type/file.rb +17 -17
- data/mod/carrierwave/set/type/image.rb +40 -37
- data/mod/carrierwave/spec/set/type/file_spec.rb +15 -15
- data/mod/carrierwave/spec/set/type/image_spec.rb +3 -3
- data/mod/core/chunk/reference.rb +3 -3
- data/mod/core/chunk/view_stub.rb +12 -4
- data/mod/core/format/html_format.rb +1 -1
- data/mod/core/format/text_format.rb +5 -0
- data/mod/core/set/abstract/code_file.rb +8 -3
- data/mod/core/set/all/actify.rb +8 -50
- data/mod/core/set/all/assign_attributes.rb +1 -1
- data/mod/core/set/all/cache.rb +1 -1
- data/mod/core/set/all/collection.rb +7 -7
- data/mod/core/set/all/content.rb +12 -6
- data/mod/core/set/all/fetch.rb +23 -15
- data/mod/core/set/all/fetch_helper.rb +11 -9
- data/mod/core/set/all/haml.rb +4 -0
- data/mod/core/set/all/initialize.rb +2 -2
- data/mod/core/set/all/mark.rb +17 -35
- data/mod/core/set/all/name.rb +25 -25
- data/mod/core/set/all/name_validations.rb +6 -6
- data/mod/core/set/all/permissions.rb +1 -1
- data/mod/core/set/all/phases.rb +3 -3
- data/mod/core/set/all/references.rb +4 -4
- data/mod/core/set/all/rename.rb +6 -7
- data/mod/core/set/all/rules.rb +2 -2
- data/mod/core/set/all/stages.rb +2 -11
- data/mod/core/set/all/subcards.rb +1 -1
- data/mod/core/set/all/templating.rb +4 -4
- data/mod/core/set/all/type.rb +2 -2
- data/mod/core/set/all/update_read_rules.rb +2 -56
- data/mod/core/set_pattern/04_star.rb +1 -1
- data/mod/core/set_pattern/05_rstar.rb +1 -1
- data/mod/core/set_pattern/06_right.rb +1 -1
- data/mod/core/set_pattern/07_type_plus_right.rb +2 -3
- data/mod/core/spec/format/html_format_spec.rb +4 -4
- data/mod/core/spec/set/all/actify_spec.rb +107 -42
- data/mod/core/spec/set/all/event_conditions_spec.rb +1 -1
- data/mod/core/spec/set/all/fetch_spec.rb +57 -13
- data/mod/core/spec/set/all/name_spec.rb +1 -1
- data/mod/core/spec/set/all/permissions/reader_rules_spec.rb +1 -1
- data/mod/core/spec/set/all/permissions_spec.rb +2 -2
- data/mod/core/spec/set/all/rename_spec.rb +7 -5
- data/mod/core/spec/set/all/templating_spec.rb +5 -5
- data/mod/core/spec/set/all/type_spec.rb +1 -1
- data/mod/developer/set/all/event_viz.rb +1 -3
- data/mod/history/lib/card/act.rb +2 -6
- data/mod/history/lib/card/act/act_renderer.rb +6 -11
- data/mod/history/lib/card/action/action_renderer.rb +1 -1
- data/mod/history/lib/card/change.rb +1 -1
- data/mod/history/set/all/action_view.rb +1 -1
- data/mod/history/set/all/actions.rb +10 -1
- data/mod/history/set/all/content_history.rb +9 -9
- data/mod/history/set/all/history.rb +40 -27
- data/mod/machines/lib/javascript/decko.js.coffee +1 -1
- data/mod/machines/lib/javascript/decko_filter.js.coffee +40 -0
- data/mod/machines/lib/javascript/decko_layout.js.coffee +16 -8
- data/mod/machines/lib/stylesheets/style_cards.scss +9 -0
- data/mod/machines/set/abstract/machine.rb +12 -9
- data/mod/machines/set/abstract/script.rb +4 -0
- data/mod/machines/set/self/script_slot.rb +2 -1
- data/mod/machines/set/type/css.rb +4 -0
- data/mod/machines/spec/set/type/skin_spec.rb +2 -2
- data/mod/machines/spec/shared_examples/machine_input.rb +3 -3
- data/mod/notifications/format/email_html_format.rb +4 -0
- data/mod/notifications/set/all/follow.rb +1 -1
- data/mod/notifications/set/all/send_notifications.rb +18 -17
- data/mod/notifications/set/right/bcc.rb +1 -1
- data/mod/notifications/set/right/follow.rb +3 -3
- data/mod/notifications/set/right/followers.rb +1 -1
- data/mod/notifications/set/right/following.rb +2 -2
- data/mod/notifications/set/right/html_message.rb +0 -5
- data/mod/notifications/set/right/text_message.rb +0 -5
- data/mod/notifications/set/self/follow_defaults.rb +3 -3
- data/mod/notifications/set/type_plus_right/user/follow.rb +1 -1
- data/mod/notifications/spec/set/right/followers_spec.rb +1 -1
- data/mod/pointer/set/abstract/01_paging.rb +1 -1
- data/mod/pointer/set/abstract/02_pointer.rb +2 -2
- data/mod/pointer/set/abstract/02_pointer/edit.rb +10 -8
- data/mod/pointer/set/abstract/code_pointer.rb +1 -1
- data/mod/pointer/set/self/input_options.rb +1 -1
- data/mod/pointer/spec/set/type/pointer_spec.rb +1 -1
- data/mod/prosemirror_editor/set/abstract/prosemirror_editor.rb +1 -1
- data/mod/{standard → search}/set/abstract/01_search_params.rb +0 -0
- data/mod/{standard → search}/set/abstract/search.rb +1 -1
- data/mod/{standard → search}/set/abstract/wql_search.rb +2 -2
- data/mod/search/set/all/filter.rb +12 -0
- data/mod/{standard → search}/set/self/navbox.rb +1 -1
- data/mod/{standard → search}/set/self/recent.rb +1 -1
- data/mod/{standard → search}/set/self/search.rb +2 -2
- data/mod/{standard → search}/set/type/search_type.rb +2 -2
- data/mod/search/spec/set/all/filter_spec.rb +37 -0
- data/mod/{standard → search}/spec/set/self/navbox_spec.rb +0 -0
- data/mod/{standard → search}/spec/set/self/recent_spec.rb +0 -0
- data/mod/{standard → search}/spec/set/self/search_spec.rb +0 -0
- data/mod/search/template/all/filter/_filter_input.haml +8 -0
- data/mod/search/template/all/filter/filter_form.haml +32 -0
- data/mod/settings/lib/card/setting.rb +11 -11
- data/mod/settings/set/abstract/permission.rb +3 -3
- data/mod/settings/set/right/read.rb +56 -0
- data/mod/settings/set/type/setting.rb +1 -1
- data/mod/solid_cache/set/right/solid_cache.rb +1 -1
- data/mod/standard/set/abstract/toolbar_split_button.rb +1 -1
- data/mod/standard/set/all/error.rb +1 -1
- data/mod/standard/set/all/links.rb +3 -3
- data/mod/standard/set/all/list_changes.rb +7 -3
- data/mod/standard/set/all/rich_html/content.rb +17 -17
- data/mod/standard/set/all/rich_html/editing.rb +3 -3
- data/mod/standard/set/all/rich_html/editor.rb +1 -1
- data/mod/standard/set/all/rich_html/form.rb +2 -2
- data/mod/standard/set/all/rich_html/formgroup.rb +1 -1
- data/mod/standard/set/all/rich_html/header.rb +3 -3
- data/mod/standard/set/all/rich_html/menu.rb +7 -7
- data/mod/standard/set/all/rich_html/modal.rb +3 -3
- data/mod/standard/set/all/rich_html/new.rb +3 -3
- data/mod/standard/set/all/rich_html/toolbar.rb +16 -14
- data/mod/standard/set/all/rich_html/wrapper.rb +7 -7
- data/mod/standard/set/rstar/rules.rb +5 -5
- data/mod/standard/set/rstar/rules_editor.rb +5 -5
- data/mod/standard/set/type/cardtype.rb +1 -1
- data/mod/standard/set/type/list.rb +6 -6
- data/mod/standard/set/type/listed_by.rb +29 -24
- data/mod/standard/set/type/session.rb +0 -4
- data/mod/standard/set/type/set.rb +23 -26
- data/mod/standard/set/type/toggle.rb +2 -2
- data/mod/standard/spec/set/all/history_spec.rb +1 -0
- data/mod/standard/spec/set/all/rich_html/editing_spec.rb +1 -1
- data/mod/standard/spec/set/all/rich_html/wrapper_spec.rb +2 -2
- data/mod/standard/spec/set/type/list_spec.rb +7 -3
- data/mod/standard/spec/set/type/listed_by_spec.rb +3 -2
- data/mod/standard/spec/set/type/uri_spec.rb +8 -8
- data/spec/config/initializers/core_extensions_spec.rb +2 -2
- data/spec/lib/card/cache_spec.rb +3 -3
- data/spec/lib/card/codename_spec.rb +40 -2
- data/spec/lib/card/format_spec.rb +6 -6
- data/spec/lib/card/query_spec.rb +0 -2
- data/spec/lib/card/reference_spec.rb +3 -3
- data/spec/lib/card/stage_director_spec.rb +52 -17
- data/spec/lib/card/success_spec.rb +1 -1
- data/spec/models/card/trash_spec.rb +1 -1
- data/spec/models/card_spec.rb +3 -3
- data/spec/support/helper/event_helper.rb +14 -0
- data/spec/support/helper/render_helper.rb +1 -1
- data/spec/support/matchers/card_matchers.rb +7 -9
- metadata +643 -111
- data/lib/active_record/connection_adapters_ext.rb +0 -52
- data/lib/active_support/callbacks_ext.rb +0 -9
- data/lib/card/name/view_name.rb +0 -50
- data/mod/bootstrap/db/migrate_cards/20170719163701_update_bootswatch_themes.rb +0 -80
- data/mod/bootstrap/lib/javascript/bootstrap.js +0 -3535
- data/mod/bootstrap/lib/javascript/bootstrap.min.js +0 -7
- data/mod/bootstrap/lib/javascript/select2.min.js +0 -3
- data/mod/bootstrap/lib/javascript/tether.min.js +0 -1
- data/mod/bootstrap/lib/stylesheets/bootstrap.css +0 -9320
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/.scss-lint.yml +0 -548
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_alert.scss +0 -55
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_badge.scss +0 -77
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_breadcrumb.scss +0 -38
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_buttons.scss +0 -170
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_card.scss +0 -276
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_carousel.scss +0 -178
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_close.scss +0 -31
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_code.scss +0 -64
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_custom-forms.scss +0 -263
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_custom.scss +0 -4
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_dropdown.scss +0 -161
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_forms.scss +0 -388
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_grid.scss +0 -52
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_images.scss +0 -43
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_input-group.scss +0 -178
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_jumbotron.scss +0 -20
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_list-group.scss +0 -141
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_media.scss +0 -8
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_mixins.scss +0 -57
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_modal.scss +0 -142
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_nav.scss +0 -119
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_navbar.scss +0 -268
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_normalize.scss +0 -461
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_pagination.scss +0 -67
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_popover.scss +0 -171
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_print.scss +0 -119
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_progress.scss +0 -32
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_reboot.scss +0 -389
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_tables.scss +0 -153
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_tooltip.scss +0 -90
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_transitions.scss +0 -34
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_type.scss +0 -143
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_utilities.scss +0 -13
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/_variables.scss +0 -961
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/bootstrap-grid.scss +0 -43
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/bootstrap-reboot.scss +0 -10
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/bootstrap.scss +0 -54
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_alert.scss +0 -14
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_background-variant.scss +0 -12
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_badge.scss +0 -11
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_border-radius.scss +0 -35
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_breakpoints.scss +0 -95
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_buttons.scss +0 -86
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_cards.scss +0 -47
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_clearfix.scss +0 -7
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_float.scss +0 -9
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_forms.scss +0 -79
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_gradients.scss +0 -37
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_grid-framework.scss +0 -65
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_grid.scss +0 -100
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_hover.scss +0 -60
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_image.scss +0 -36
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_list-group.scss +0 -28
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_lists.scss +0 -7
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_pagination.scss +0 -21
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_screen-reader.scss +0 -32
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_size.scss +0 -6
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_table-row.scss +0 -30
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_text-emphasis.scss +0 -12
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_text-hide.scss +0 -8
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_transforms.scss +0 -14
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/mixins/_visibility.scss +0 -5
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_align.scss +0 -6
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_background.scss +0 -19
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_borders.scss +0 -37
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_clearfix.scss +0 -3
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_display.scss +0 -18
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_flex.scss +0 -48
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_float.scss +0 -9
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_position.scss +0 -23
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_screenreaders.scss +0 -11
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_sizing.scss +0 -10
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_spacing.scss +0 -43
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_text.scss +0 -61
- data/mod/bootstrap/lib/stylesheets/bootstrap/scss/utilities/_visibility.scss +0 -55
- data/mod/bootstrap/lib/stylesheets/select2-boostrap-v4-alpha-6.scss +0 -828
@@ -0,0 +1,139 @@
|
|
1
|
+
<div class="bs-docs-section">
|
2
|
+
<h1 id="buttons" class="page-header">Buttons <small>button.js</small></h1>
|
3
|
+
|
4
|
+
<p class="lead">Do more with buttons. Control button states or create groups of buttons for more components like toolbars.</p>
|
5
|
+
|
6
|
+
<div class="bs-callout bs-callout-danger" id="callout-buttons-ff-autocomplete">
|
7
|
+
<h4>Cross-browser compatibility</h4>
|
8
|
+
<p><a href="https://github.com/twbs/bootstrap/issues/793">Firefox persists form control states (disabledness and checkedness) across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>. See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=654072">Mozilla bug #654072</a>.</p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<h2 id="buttons-stateful">Stateful</h2>
|
12
|
+
<p>Add <code>data-loading-text="Loading..."</code> to use a loading state on a button.</p>
|
13
|
+
<p><strong class="text-danger">This feature is deprecated since v3.3.5 and has been removed in v4.</strong></p>
|
14
|
+
<div class="bs-callout bs-callout-info" id="callout-buttons-state-names">
|
15
|
+
<h4>Use whichever state you like!</h4>
|
16
|
+
<p>For the sake of this demonstration, we are using <code>data-loading-text</code> and <code>$().button('loading')</code>, but that's not the only state you can use. <a href="#buttons-methods">See more on this below in the <code>$().button(string)</code> documentation</a>.</p>
|
17
|
+
</div>
|
18
|
+
<div class="bs-example">
|
19
|
+
<button type="button" id="loading-example-btn" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off">
|
20
|
+
Loading state
|
21
|
+
</button>
|
22
|
+
</div><!-- /example -->
|
23
|
+
{% highlight html %}
|
24
|
+
<button type="button" id="myButton" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off">
|
25
|
+
Loading state
|
26
|
+
</button>
|
27
|
+
|
28
|
+
<script>
|
29
|
+
$('#myButton').on('click', function () {
|
30
|
+
var $btn = $(this).button('loading')
|
31
|
+
// business logic...
|
32
|
+
$btn.button('reset')
|
33
|
+
})
|
34
|
+
</script>
|
35
|
+
{% endhighlight %}
|
36
|
+
|
37
|
+
<h2 id="buttons-single-toggle">Single toggle</h2>
|
38
|
+
<p>Add <code>data-toggle="button"</code> to activate toggling on a single button.</p>
|
39
|
+
<div class="bs-callout bs-callout-warning" id="callout-buttons-single-pretoggled">
|
40
|
+
<h4>Pre-toggled buttons need <code>.active</code> and <code>aria-pressed="true"</code></h4>
|
41
|
+
<p>For pre-toggled buttons, you must add the <code>.active</code> class and the <code>aria-pressed="true"</code> attribute to the <code>button</code> yourself.</p>
|
42
|
+
</div>
|
43
|
+
<div class="bs-example">
|
44
|
+
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off">
|
45
|
+
Single toggle
|
46
|
+
</button>
|
47
|
+
</div><!-- /example -->
|
48
|
+
{% highlight html %}
|
49
|
+
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off">
|
50
|
+
Single toggle
|
51
|
+
</button>
|
52
|
+
{% endhighlight %}
|
53
|
+
|
54
|
+
<h2 id="buttons-checkbox-radio">Checkbox / Radio</h2>
|
55
|
+
<p>Add <code>data-toggle="buttons"</code> to a <code>.btn-group</code> containing checkbox or radio inputs to enable toggling in their respective styles.</p>
|
56
|
+
<div class="bs-callout bs-callout-warning" id="callout-buttons-multi-preselected">
|
57
|
+
<h4>Preselected options need <code>.active</code></h4>
|
58
|
+
<p>For preselected options, you must add the <code>.active</code> class to the input's <code>label</code> yourself.</p>
|
59
|
+
</div>
|
60
|
+
<div class="bs-callout bs-callout-warning" id="callout-buttons-only-click">
|
61
|
+
<h4>Visual checked state only updated on click</h4>
|
62
|
+
<p>If the checked state of a checkbox button is updated without firing a <code>click</code> event on the button (e.g. via <code><input type="reset"></code> or via setting the <code>checked</code> property of the input), you will need to toggle the <code>.active</code> class on the input's <code>label</code> yourself.</p>
|
63
|
+
</div>
|
64
|
+
<div class="bs-example" data-example-id="buttons-checkbox">
|
65
|
+
<div class="btn-group" data-toggle="buttons">
|
66
|
+
<label class="btn btn-primary active">
|
67
|
+
<input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
|
68
|
+
</label>
|
69
|
+
<label class="btn btn-primary">
|
70
|
+
<input type="checkbox" autocomplete="off"> Checkbox 2
|
71
|
+
</label>
|
72
|
+
<label class="btn btn-primary">
|
73
|
+
<input type="checkbox" autocomplete="off"> Checkbox 3
|
74
|
+
</label>
|
75
|
+
</div>
|
76
|
+
</div><!-- /example -->
|
77
|
+
{% highlight html %}
|
78
|
+
<div class="btn-group" data-toggle="buttons">
|
79
|
+
<label class="btn btn-primary active">
|
80
|
+
<input type="checkbox" autocomplete="off" checked> Checkbox 1 (pre-checked)
|
81
|
+
</label>
|
82
|
+
<label class="btn btn-primary">
|
83
|
+
<input type="checkbox" autocomplete="off"> Checkbox 2
|
84
|
+
</label>
|
85
|
+
<label class="btn btn-primary">
|
86
|
+
<input type="checkbox" autocomplete="off"> Checkbox 3
|
87
|
+
</label>
|
88
|
+
</div>
|
89
|
+
{% endhighlight %}
|
90
|
+
|
91
|
+
<div class="bs-example" data-example-id="buttons-radio">
|
92
|
+
<div class="btn-group" data-toggle="buttons">
|
93
|
+
<label class="btn btn-primary active">
|
94
|
+
<input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
|
95
|
+
</label>
|
96
|
+
<label class="btn btn-primary">
|
97
|
+
<input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
|
98
|
+
</label>
|
99
|
+
<label class="btn btn-primary">
|
100
|
+
<input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
|
101
|
+
</label>
|
102
|
+
</div>
|
103
|
+
</div><!-- /example -->
|
104
|
+
{% highlight html %}
|
105
|
+
<div class="btn-group" data-toggle="buttons">
|
106
|
+
<label class="btn btn-primary active">
|
107
|
+
<input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
|
108
|
+
</label>
|
109
|
+
<label class="btn btn-primary">
|
110
|
+
<input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
|
111
|
+
</label>
|
112
|
+
<label class="btn btn-primary">
|
113
|
+
<input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
|
114
|
+
</label>
|
115
|
+
</div>
|
116
|
+
{% endhighlight %}
|
117
|
+
|
118
|
+
<h2 id="buttons-methods">Methods</h2>
|
119
|
+
<h4><code>$().button('toggle')</code></h4>
|
120
|
+
<p>Toggles push state. Gives the button the appearance that it has been activated.</p>
|
121
|
+
|
122
|
+
<h4><code>$().button('reset')</code></h4>
|
123
|
+
<p>Resets button state - swaps text to original text. <strong>This method is asynchronous and returns before the resetting has actually completed.</strong></p>
|
124
|
+
|
125
|
+
<h4><code>$().button(string)</code></h4>
|
126
|
+
<p>Swaps text to any data defined text state.</p>
|
127
|
+
|
128
|
+
{% highlight html %}
|
129
|
+
<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary" autocomplete="off">
|
130
|
+
...
|
131
|
+
</button>
|
132
|
+
|
133
|
+
<script>
|
134
|
+
$('#myStateButton').on('click', function () {
|
135
|
+
$(this).button('complete') // button text will be "finished!"
|
136
|
+
})
|
137
|
+
</script>
|
138
|
+
{% endhighlight %}
|
139
|
+
</div>
|
@@ -0,0 +1,260 @@
|
|
1
|
+
<div class="bs-docs-section">
|
2
|
+
<h1 id="carousel" class="page-header">Carousel <small>carousel.js</small></h1>
|
3
|
+
|
4
|
+
<p>A slideshow component for cycling through elements, like a carousel. <strong>Nested carousels are not supported.</strong></p>
|
5
|
+
|
6
|
+
<h2 id="carousel-examples">Examples</h2>
|
7
|
+
<div class="bs-example" data-example-id="simple-carousel">
|
8
|
+
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
9
|
+
<ol class="carousel-indicators">
|
10
|
+
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
|
11
|
+
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
|
12
|
+
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
|
13
|
+
</ol>
|
14
|
+
<div class="carousel-inner" role="listbox">
|
15
|
+
<div class="item active">
|
16
|
+
<img data-src="holder.js/900x500/auto/#777:#555/text:First slide" alt="First slide">
|
17
|
+
</div>
|
18
|
+
<div class="item">
|
19
|
+
<img data-src="holder.js/900x500/auto/#666:#444/text:Second slide" alt="Second slide">
|
20
|
+
</div>
|
21
|
+
<div class="item">
|
22
|
+
<img data-src="holder.js/900x500/auto/#555:#333/text:Third slide" alt="Third slide">
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
|
26
|
+
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
27
|
+
<span class="sr-only">Previous</span>
|
28
|
+
</a>
|
29
|
+
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
|
30
|
+
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
31
|
+
<span class="sr-only">Next</span>
|
32
|
+
</a>
|
33
|
+
</div>
|
34
|
+
</div><!-- /example -->
|
35
|
+
{% highlight html %}
|
36
|
+
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
37
|
+
<!-- Indicators -->
|
38
|
+
<ol class="carousel-indicators">
|
39
|
+
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
|
40
|
+
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
|
41
|
+
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
|
42
|
+
</ol>
|
43
|
+
|
44
|
+
<!-- Wrapper for slides -->
|
45
|
+
<div class="carousel-inner" role="listbox">
|
46
|
+
<div class="item active">
|
47
|
+
<img src="..." alt="...">
|
48
|
+
<div class="carousel-caption">
|
49
|
+
...
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
<div class="item">
|
53
|
+
<img src="..." alt="...">
|
54
|
+
<div class="carousel-caption">
|
55
|
+
...
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
...
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<!-- Controls -->
|
62
|
+
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
|
63
|
+
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
64
|
+
<span class="sr-only">Previous</span>
|
65
|
+
</a>
|
66
|
+
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
|
67
|
+
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
68
|
+
<span class="sr-only">Next</span>
|
69
|
+
</a>
|
70
|
+
</div>
|
71
|
+
{% endhighlight %}
|
72
|
+
|
73
|
+
<div class="bs-callout bs-callout-danger" id="callout-carousel-accessibility">
|
74
|
+
<h4>Accessibility issue</h4>
|
75
|
+
<p>The carousel component is generally not compliant with accessibility standards. If you need to be compliant, please consider other options for presenting your content.</p>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
<div class="bs-callout bs-callout-warning" id="callout-carousel-transitions">
|
79
|
+
<h4>Transition animations not supported in Internet Explorer 8 & 9</h4>
|
80
|
+
<p>Bootstrap exclusively uses CSS3 for its animations, but Internet Explorer 8 & 9 don't support the necessary CSS properties. Thus, there are no slide transition animations when using these browsers. We have intentionally decided not to include jQuery-based fallbacks for the transitions.</p>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
<div class="bs-callout bs-callout-warning" id="callout-carousel-active">
|
84
|
+
<h4>Initial active element required</h4>
|
85
|
+
<p>The <code>.active</code> class needs to be added to one of the slides. Otherwise, the carousel will not be visible.</p>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<div class="bs-callout bs-callout-info" id="callout-carousel-without-glyphicons">
|
89
|
+
<h4>Glyphicon icons not necessary</h4>
|
90
|
+
<p>The <code>.glyphicon .glyphicon-chevron-left</code> and <code>.glyphicon .glyphicon-chevron-right</code> classes are not necessarily needed for the controls. Bootstrap provides <code>.icon-prev</code> and <code>.icon-next</code> as plain unicode alternatives.</p>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<h3>Optional captions</h3>
|
94
|
+
<p>Add captions to your slides easily with the <code>.carousel-caption</code> element within any <code>.item</code>. Place just about any optional HTML within there and it will be automatically aligned and formatted.</p>
|
95
|
+
<div class="bs-example" data-example-id="carousel-with-captions">
|
96
|
+
<div id="carousel-example-captions" class="carousel slide" data-ride="carousel">
|
97
|
+
<ol class="carousel-indicators">
|
98
|
+
<li data-target="#carousel-example-captions" data-slide-to="0" class="active"></li>
|
99
|
+
<li data-target="#carousel-example-captions" data-slide-to="1"></li>
|
100
|
+
<li data-target="#carousel-example-captions" data-slide-to="2"></li>
|
101
|
+
</ol>
|
102
|
+
<div class="carousel-inner" role="listbox">
|
103
|
+
<div class="item active">
|
104
|
+
<img data-src="holder.js/900x500/auto/#777:#777" alt="First slide image">
|
105
|
+
<div class="carousel-caption">
|
106
|
+
<h3>First slide label</h3>
|
107
|
+
<p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p>
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="item">
|
111
|
+
<img data-src="holder.js/900x500/auto/#666:#666" alt="Second slide image">
|
112
|
+
<div class="carousel-caption">
|
113
|
+
<h3>Second slide label</h3>
|
114
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
<div class="item">
|
118
|
+
<img data-src="holder.js/900x500/auto/#555:#555" alt="Third slide image">
|
119
|
+
<div class="carousel-caption">
|
120
|
+
<h3>Third slide label</h3>
|
121
|
+
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p>
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
<a class="left carousel-control" href="#carousel-example-captions" role="button" data-slide="prev">
|
126
|
+
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
127
|
+
<span class="sr-only">Previous</span>
|
128
|
+
</a>
|
129
|
+
<a class="right carousel-control" href="#carousel-example-captions" role="button" data-slide="next">
|
130
|
+
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
131
|
+
<span class="sr-only">Next</span>
|
132
|
+
</a>
|
133
|
+
</div>
|
134
|
+
</div><!-- /example -->
|
135
|
+
{% highlight html %}
|
136
|
+
<div class="item">
|
137
|
+
<img src="..." alt="...">
|
138
|
+
<div class="carousel-caption">
|
139
|
+
<h3>...</h3>
|
140
|
+
<p>...</p>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
{% endhighlight %}
|
144
|
+
|
145
|
+
<h2 id="carousel-usage">Usage</h2>
|
146
|
+
|
147
|
+
<h3>Multiple carousels</h3>
|
148
|
+
<p>Carousels require the use of an <code>id</code> on the outermost container (the <code>.carousel</code>) for carousel controls to function properly. When adding multiple carousels, or when changing a carousel's <code>id</code>, be sure to update the relevant controls.</p>
|
149
|
+
|
150
|
+
<h3>Via data attributes</h3>
|
151
|
+
<p>Use data attributes to easily control the position of the carousel. <code>data-slide</code> accepts the keywords <code>prev</code> or <code>next</code>, which alters the slide position relative to its current position. Alternatively, use <code>data-slide-to</code> to pass a raw slide index to the carousel <code>data-slide-to="2"</code>, which shifts the slide position to a particular index beginning with <code>0</code>.</p>
|
152
|
+
<p>The <code>data-ride="carousel"</code> attribute is used to mark a carousel as animating starting at page load. <strong class="text-danger">It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.</strong></p>
|
153
|
+
|
154
|
+
<h3>Via JavaScript</h3>
|
155
|
+
<p>Call carousel manually with:</p>
|
156
|
+
{% highlight js %}
|
157
|
+
$('.carousel').carousel()
|
158
|
+
{% endhighlight %}
|
159
|
+
|
160
|
+
<h3 id="carousel-options">Options</h3>
|
161
|
+
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.</p>
|
162
|
+
<div class="table-responsive">
|
163
|
+
<table class="table table-bordered table-striped js-options-table">
|
164
|
+
<thead>
|
165
|
+
<tr>
|
166
|
+
<th>Name</th>
|
167
|
+
<th>type</th>
|
168
|
+
<th>default</th>
|
169
|
+
<th>description</th>
|
170
|
+
</tr>
|
171
|
+
</thead>
|
172
|
+
<tbody>
|
173
|
+
<tr>
|
174
|
+
<td>interval</td>
|
175
|
+
<td>number</td>
|
176
|
+
<td>5000</td>
|
177
|
+
<td>The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td>pause</td>
|
181
|
+
<td>string | null</td>
|
182
|
+
<td>"hover"</td>
|
183
|
+
<td>If set to <code>"hover"</code>, pauses the cycling of the carousel on <code>mouseenter</code> and resumes the cycling of the carousel on <code>mouseleave</code>. If set to <code>null</code>, hovering over the carousel won't pause it.</td>
|
184
|
+
</tr>
|
185
|
+
<tr>
|
186
|
+
<td>wrap</td>
|
187
|
+
<td>boolean</td>
|
188
|
+
<td>true</td>
|
189
|
+
<td>Whether the carousel should cycle continuously or have hard stops.</td>
|
190
|
+
</tr>
|
191
|
+
<tr>
|
192
|
+
<td>keyboard</td>
|
193
|
+
<td>boolean</td>
|
194
|
+
<td>true</td>
|
195
|
+
<td>Whether the carousel should react to keyboard events.</td>
|
196
|
+
</tr>
|
197
|
+
</tbody>
|
198
|
+
</table>
|
199
|
+
</div><!-- /.table-responsive -->
|
200
|
+
|
201
|
+
<h3 id="carousel-methods">Methods</h3>
|
202
|
+
|
203
|
+
<h4><code>.carousel(options)</code></h4>
|
204
|
+
<p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
|
205
|
+
{% highlight js %}
|
206
|
+
$('.carousel').carousel({
|
207
|
+
interval: 2000
|
208
|
+
})
|
209
|
+
{% endhighlight %}
|
210
|
+
|
211
|
+
<h4><code>.carousel('cycle')</code></h4>
|
212
|
+
<p>Cycles through the carousel items from left to right.</p>
|
213
|
+
|
214
|
+
<h4><code>.carousel('pause')</code></h4>
|
215
|
+
<p>Stops the carousel from cycling through items.</p>
|
216
|
+
|
217
|
+
|
218
|
+
<h4><code>.carousel(number)</code></h4>
|
219
|
+
<p>Cycles the carousel to a particular frame (0 based, similar to an array).</p>
|
220
|
+
|
221
|
+
<h4><code>.carousel('prev')</code></h4>
|
222
|
+
<p>Cycles to the previous item.</p>
|
223
|
+
|
224
|
+
<h4><code>.carousel('next')</code></h4>
|
225
|
+
<p>Cycles to the next item.</p>
|
226
|
+
|
227
|
+
<h3 id="carousel-events">Events</h3>
|
228
|
+
<p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
|
229
|
+
<p>Both events have the following additional properties:</p>
|
230
|
+
<ul>
|
231
|
+
<li><code>direction</code>: The direction in which the carousel is sliding (either <code>"left"</code> or <code>"right"</code>).</li>
|
232
|
+
<li><code>relatedTarget</code>: The DOM element that is being slid into place as the active item.</li>
|
233
|
+
</ul>
|
234
|
+
<p>All carousel events are fired at the carousel itself (i.e. at the <code><div class="carousel"></code>).</p>
|
235
|
+
<div class="table-responsive">
|
236
|
+
<table class="table table-bordered table-striped bs-events-table">
|
237
|
+
<thead>
|
238
|
+
<tr>
|
239
|
+
<th>Event Type</th>
|
240
|
+
<th>Description</th>
|
241
|
+
</tr>
|
242
|
+
</thead>
|
243
|
+
<tbody>
|
244
|
+
<tr>
|
245
|
+
<td>slide.bs.carousel</td>
|
246
|
+
<td>This event fires immediately when the <code>slide</code> instance method is invoked.</td>
|
247
|
+
</tr>
|
248
|
+
<tr>
|
249
|
+
<td>slid.bs.carousel</td>
|
250
|
+
<td>This event is fired when the carousel has completed its slide transition.</td>
|
251
|
+
</tr>
|
252
|
+
</tbody>
|
253
|
+
</table>
|
254
|
+
</div><!-- /.table-responsive -->
|
255
|
+
{% highlight js %}
|
256
|
+
$('#myCarousel').on('slide.bs.carousel', function () {
|
257
|
+
// do something…
|
258
|
+
})
|
259
|
+
{% endhighlight %}
|
260
|
+
</div>
|
@@ -0,0 +1,277 @@
|
|
1
|
+
<div class="bs-docs-section">
|
2
|
+
<h1 id="collapse" class="page-header">Collapse <small>collapse.js</small></h1>
|
3
|
+
|
4
|
+
<p class="lead">Flexible plugin that utilizes a handful of classes for easy toggle behavior.</p>
|
5
|
+
|
6
|
+
<div class="bs-callout bs-callout-danger" id="callout-collapse-dependency">
|
7
|
+
<h4>Plugin dependency</h4>
|
8
|
+
<p>Collapse requires the <a href="#transitions">transitions plugin</a> to be included in your version of Bootstrap.</p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<h2 id="collapse-example">Example</h2>
|
12
|
+
<p>Click the buttons below to show and hide another element via class changes:</p>
|
13
|
+
<ul>
|
14
|
+
<li><code>.collapse</code> hides content</li>
|
15
|
+
<li><code>.collapsing</code> is applied during transitions</li>
|
16
|
+
<li><code>.collapse.in</code> shows content</li>
|
17
|
+
</ul>
|
18
|
+
<p>You can use a link with the <code>href</code> attribute, or a button with the <code>data-target</code> attribute. In both cases, the <code>data-toggle="collapse"</code> is required.</p>
|
19
|
+
|
20
|
+
<div class="bs-example">
|
21
|
+
<p>
|
22
|
+
<a class="btn btn-primary" role="button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
|
23
|
+
Link with href
|
24
|
+
</a>
|
25
|
+
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
|
26
|
+
Button with data-target
|
27
|
+
</button>
|
28
|
+
</p>
|
29
|
+
<div class="collapse" id="collapseExample">
|
30
|
+
<div class="well">
|
31
|
+
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
{% highlight html %}
|
36
|
+
<a class="btn btn-primary" role="button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
|
37
|
+
Link with href
|
38
|
+
</a>
|
39
|
+
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
|
40
|
+
Button with data-target
|
41
|
+
</button>
|
42
|
+
<div class="collapse" id="collapseExample">
|
43
|
+
<div class="well">
|
44
|
+
...
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
{% endhighlight %}
|
48
|
+
|
49
|
+
<h2 id="collapse-example-accordion">Accordion example</h2>
|
50
|
+
<p>Extend the default collapse behavior to create an accordion with the panel component.</p>
|
51
|
+
|
52
|
+
<div class="bs-example" data-example-id="collapse-accordion">
|
53
|
+
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
|
54
|
+
<div class="panel panel-default">
|
55
|
+
<div class="panel-heading" role="tab" id="headingOne">
|
56
|
+
<h4 class="panel-title">
|
57
|
+
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
|
58
|
+
Collapsible Group Item #1
|
59
|
+
</a>
|
60
|
+
</h4>
|
61
|
+
</div>
|
62
|
+
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
|
63
|
+
<div class="panel-body">
|
64
|
+
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="panel panel-default">
|
69
|
+
<div class="panel-heading" role="tab" id="headingTwo">
|
70
|
+
<h4 class="panel-title">
|
71
|
+
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
|
72
|
+
Collapsible Group Item #2
|
73
|
+
</a>
|
74
|
+
</h4>
|
75
|
+
</div>
|
76
|
+
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
|
77
|
+
<div class="panel-body">
|
78
|
+
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
<div class="panel panel-default">
|
83
|
+
<div class="panel-heading" role="tab" id="headingThree">
|
84
|
+
<h4 class="panel-title">
|
85
|
+
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
|
86
|
+
Collapsible Group Item #3
|
87
|
+
</a>
|
88
|
+
</h4>
|
89
|
+
</div>
|
90
|
+
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
|
91
|
+
<div class="panel-body">
|
92
|
+
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
</div><!-- /example -->
|
98
|
+
{% highlight html %}
|
99
|
+
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
|
100
|
+
<div class="panel panel-default">
|
101
|
+
<div class="panel-heading" role="tab" id="headingOne">
|
102
|
+
<h4 class="panel-title">
|
103
|
+
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
|
104
|
+
Collapsible Group Item #1
|
105
|
+
</a>
|
106
|
+
</h4>
|
107
|
+
</div>
|
108
|
+
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
|
109
|
+
<div class="panel-body">
|
110
|
+
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
<div class="panel panel-default">
|
115
|
+
<div class="panel-heading" role="tab" id="headingTwo">
|
116
|
+
<h4 class="panel-title">
|
117
|
+
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
|
118
|
+
Collapsible Group Item #2
|
119
|
+
</a>
|
120
|
+
</h4>
|
121
|
+
</div>
|
122
|
+
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
|
123
|
+
<div class="panel-body">
|
124
|
+
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
<div class="panel panel-default">
|
129
|
+
<div class="panel-heading" role="tab" id="headingThree">
|
130
|
+
<h4 class="panel-title">
|
131
|
+
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
|
132
|
+
Collapsible Group Item #3
|
133
|
+
</a>
|
134
|
+
</h4>
|
135
|
+
</div>
|
136
|
+
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
|
137
|
+
<div class="panel-body">
|
138
|
+
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
{% endhighlight %}
|
144
|
+
|
145
|
+
<p>It's also possible to swap out <code>.panel-body</code>s with <code>.list-group</code>s.</p>
|
146
|
+
|
147
|
+
<div class="panel-group" role="tablist">
|
148
|
+
<div class="panel panel-default">
|
149
|
+
<div class="panel-heading" role="tab" id="collapseListGroupHeading1">
|
150
|
+
<h4 class="panel-title">
|
151
|
+
<a class="collapsed" role="button" data-toggle="collapse" href="#collapseListGroup1" aria-expanded="false" aria-controls="collapseListGroup1">
|
152
|
+
Collapsible list group
|
153
|
+
</a>
|
154
|
+
</h4>
|
155
|
+
</div>
|
156
|
+
<div id="collapseListGroup1" class="panel-collapse collapse" role="tabpanel" aria-labelledby="collapseListGroupHeading1">
|
157
|
+
<ul class="list-group">
|
158
|
+
<li class="list-group-item">Bootply</li>
|
159
|
+
<li class="list-group-item">One itmus ac facilin</li>
|
160
|
+
<li class="list-group-item">Second eros</li>
|
161
|
+
</ul>
|
162
|
+
<div class="panel-footer">Footer</div>
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
|
167
|
+
<div class="bs-callout bs-callout-warning" id="callout-collapse-accessibility">
|
168
|
+
<h4>Make expand/collapse controls accessible</h4>
|
169
|
+
<p>Be sure to add <code>aria-expanded</code> to the control element. This attribute explicitly defines the current state of the collapsible element to screen readers and similar assistive technologies. If the collapsible element is closed by default, it should have a value of <code>aria-expanded="false"</code>. If you've set the collapsible element to be open by default using the <code>in</code> class, set <code>aria-expanded="true"</code> on the control instead. The plugin will automatically toggle this attribute based on whether or not the collapsible element has been opened or closed.</p>
|
170
|
+
<p>Additionally, if your control element is targeting a single collapsible element – i.e. the <code>data-target</code> attribute is pointing to an <code>id</code> selector – you may add an additional <code>aria-controls</code> attribute to the control element, containing the <code>id</code> of the collapsible element. Modern screen readers and similar assistive technologies make use of this attribute to provide users with additional shortcuts to navigate directly to the collapsible element itself.</p>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<h2 id="collapse-usage">Usage</h2>
|
174
|
+
<p>The collapse plugin utilizes a few classes to handle the heavy lifting:</p>
|
175
|
+
<ul>
|
176
|
+
<li><code>.collapse</code> hides the content</li>
|
177
|
+
<li><code>.collapse.in</code> shows the content</li>
|
178
|
+
<li><code>.collapsing</code> is added when the transition starts, and removed when it finishes</li>
|
179
|
+
</ul>
|
180
|
+
<p>These classes can be found in <code>component-animations.less</code>.</p>
|
181
|
+
|
182
|
+
<h3>Via data attributes</h3>
|
183
|
+
<p>Just add <code>data-toggle="collapse"</code> and a <code>data-target</code> to the element to automatically assign control of a collapsible element. The <code>data-target</code> attribute accepts a CSS selector to apply the collapse to. Be sure to add the class <code>collapse</code> to the collapsible element. If you'd like it to default open, add the additional class <code>in</code>.</p>
|
184
|
+
<p>To add accordion-like group management to a collapsible control, add the data attribute <code>data-parent="#selector"</code>. Refer to the demo to see this in action.</p>
|
185
|
+
|
186
|
+
<h3>Via JavaScript</h3>
|
187
|
+
<p>Enable manually with:</p>
|
188
|
+
{% highlight js %}
|
189
|
+
$('.collapse').collapse()
|
190
|
+
{% endhighlight %}
|
191
|
+
|
192
|
+
<h3 id="collapse-options">Options</h3>
|
193
|
+
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=""</code>.</p>
|
194
|
+
<div class="table-responsive">
|
195
|
+
<table class="table table-bordered table-striped js-options-table">
|
196
|
+
<thead>
|
197
|
+
<tr>
|
198
|
+
<th>Name</th>
|
199
|
+
<th>type</th>
|
200
|
+
<th>default</th>
|
201
|
+
<th>description</th>
|
202
|
+
</tr>
|
203
|
+
</thead>
|
204
|
+
<tbody>
|
205
|
+
<tr>
|
206
|
+
<td>parent</td>
|
207
|
+
<td>selector</td>
|
208
|
+
<td>false</td>
|
209
|
+
<td>If a selector is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this is dependent on the <code>panel</code> class)</td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td>toggle</td>
|
213
|
+
<td>boolean</td>
|
214
|
+
<td>true</td>
|
215
|
+
<td>Toggles the collapsible element on invocation</td>
|
216
|
+
</tr>
|
217
|
+
</tbody>
|
218
|
+
</table>
|
219
|
+
</div><!-- /.table-responsive -->
|
220
|
+
|
221
|
+
<h3 id="collapse-methods">Methods</h3>
|
222
|
+
|
223
|
+
<h4><code>.collapse(options)</code></h4>
|
224
|
+
<p>Activates your content as a collapsible element. Accepts an optional options <code>object</code>.</p>
|
225
|
+
{% highlight js %}
|
226
|
+
$('#myCollapsible').collapse({
|
227
|
+
toggle: false
|
228
|
+
})
|
229
|
+
{% endhighlight %}
|
230
|
+
|
231
|
+
<h4><code>.collapse('toggle')</code></h4>
|
232
|
+
<p>Toggles a collapsible element to shown or hidden. <strong>Returns to the caller before the collapsible element has actually been shown or hidden</strong> (i.e. before the <code>shown.bs.collapse</code> or <code>hidden.bs.collapse</code> event occurs).</p>
|
233
|
+
|
234
|
+
<h4><code>.collapse('show')</code></h4>
|
235
|
+
<p>Shows a collapsible element. <strong>Returns to the caller before the collapsible element has actually been shown</strong> (i.e. before the <code>shown.bs.collapse</code> event occurs).</p>
|
236
|
+
|
237
|
+
<h4><code>.collapse('hide')</code></h4>
|
238
|
+
<p>Hides a collapsible element. <strong>Returns to the caller before the collapsible element has actually been hidden</strong> (i.e. before the <code>hidden.bs.collapse</code> event occurs).</p>
|
239
|
+
|
240
|
+
<h3 id="collapse-events">Events</h3>
|
241
|
+
<p>Bootstrap's collapse class exposes a few events for hooking into collapse functionality.</p>
|
242
|
+
<div class="table-responsive">
|
243
|
+
<table class="table table-bordered table-striped bs-events-table">
|
244
|
+
<thead>
|
245
|
+
<tr>
|
246
|
+
<th>Event Type</th>
|
247
|
+
<th>Description</th>
|
248
|
+
</tr>
|
249
|
+
</thead>
|
250
|
+
<tbody>
|
251
|
+
<tr>
|
252
|
+
<td>show.bs.collapse</td>
|
253
|
+
<td>This event fires immediately when the <code>show</code> instance method is called.</td>
|
254
|
+
</tr>
|
255
|
+
<tr>
|
256
|
+
<td>shown.bs.collapse</td>
|
257
|
+
<td>This event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td>hide.bs.collapse</td>
|
261
|
+
<td>
|
262
|
+
This event is fired immediately when the <code>hide</code> method has been called.
|
263
|
+
</td>
|
264
|
+
</tr>
|
265
|
+
<tr>
|
266
|
+
<td>hidden.bs.collapse</td>
|
267
|
+
<td>This event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).</td>
|
268
|
+
</tr>
|
269
|
+
</tbody>
|
270
|
+
</table>
|
271
|
+
</div><!-- /.table-responsive -->
|
272
|
+
{% highlight js %}
|
273
|
+
$('#myCollapsible').on('hidden.bs.collapse', function () {
|
274
|
+
// do something…
|
275
|
+
})
|
276
|
+
{% endhighlight %}
|
277
|
+
</div>
|