locomotivecms 3.1.2 → 3.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/app/api/locomotive/api/entities/content_type_entity.rb +1 -1
- data/app/api/locomotive/api/exception_rescuers.rb +1 -1
- data/app/api/locomotive/api/forms/content_type_form.rb +2 -1
- data/app/api/locomotive/api/resources/content_type_resource.rb +2 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/iframe_view.js.coffee +13 -9
- data/app/assets/javascripts/locomotive/views/inputs/rte_view.js.coffee.erb +11 -6
- data/app/assets/stylesheets/locomotive/application.scss +1 -0
- data/app/assets/stylesheets/locomotive/new/_flags.scss.erb +21 -0
- data/app/assets/stylesheets/locomotive/old/form/_popover.scss +14 -10
- data/app/assets/stylesheets/locomotive/old/form/_select2.scss +2 -2
- data/app/helpers/locomotive/base_helper.rb +19 -7
- data/app/helpers/locomotive/content_types_helper.rb +1 -1
- data/app/helpers/locomotive/editable_elements_helper.rb +15 -0
- data/app/helpers/locomotive/my_account_helper.rb +6 -10
- data/app/helpers/locomotive/pages_helper.rb +2 -1
- data/app/helpers/locomotive/shared/pages_helper.rb +21 -26
- data/app/helpers/locomotive/sites_helper.rb +11 -10
- data/app/jobs/locomotive/send_pony_email_job.rb +37 -0
- data/app/models/locomotive/concerns/content_entry/counter.rb +13 -2
- data/app/models/locomotive/concerns/content_type/filter_fields.rb +26 -0
- data/app/models/locomotive/concerns/page/layout.rb +4 -0
- data/app/models/locomotive/concerns/page/to_steam.rb +20 -0
- data/app/models/locomotive/concerns/site/access_points.rb +1 -0
- data/app/models/locomotive/concerns/site/metafields.rb +1 -1
- data/app/models/locomotive/content_type.rb +1 -10
- data/app/models/locomotive/page.rb +1 -0
- data/app/models/locomotive/site.rb +0 -4
- data/app/policies/locomotive/site_policy.rb +2 -2
- data/app/services/locomotive/content_entry_service.rb +2 -3
- data/app/services/locomotive/page_parsing_service.rb +11 -7
- data/app/views/locomotive/current_site/_locale.html.slim +2 -2
- data/app/views/locomotive/current_site/form/_access_points.html.slim +1 -0
- data/app/views/locomotive/editable_elements/_edit.html.slim +1 -1
- data/app/views/locomotive/editable_elements/index_without_preview.html.slim +1 -1
- data/app/views/locomotive/layouts/account.html.slim +1 -2
- data/app/views/locomotive/layouts/application.html.slim +0 -10
- data/app/views/locomotive/pages/_header.html.slim +1 -1
- data/app/views/locomotive/shared/_head.html.slim +2 -2
- data/app/views/locomotive/shared/_locale_picker_link.html.slim +2 -1
- data/app/views/locomotive/shared/rte/_image_popover.html.slim +17 -15
- data/app/views/locomotive/shared/rte/_link_popover.html.slim +17 -15
- data/app/views/locomotive/shared/rte/_markdown_toolbar.html.slim +1 -1
- data/app/views/locomotive/shared/rte/_table_popover.html.slim +15 -13
- data/app/views/locomotive/shared/sidebar/_page.html.slim +6 -6
- data/app/views/locomotive/sites/_site.html.slim +1 -1
- data/config/locales/carrierwave.es.yml +4 -0
- data/config/locales/carrierwave.sv.yml +4 -0
- data/config/locales/carrierwave.uk.yml +4 -0
- data/config/locales/de.yml +10 -0
- data/config/locales/default.es.yml +13 -0
- data/config/locales/default.sv.yml +13 -0
- data/config/locales/default.uk.yml +13 -0
- data/config/locales/devise.es.yml +61 -0
- data/config/locales/devise.sv.yml +61 -0
- data/config/locales/devise.uk.yml +61 -0
- data/config/locales/es.yml +332 -0
- data/config/locales/flash.es.yml +82 -0
- data/config/locales/flash.sv.yml +82 -0
- data/config/locales/flash.uk.yml +82 -0
- data/config/locales/inputs.es.yml +19 -0
- data/config/locales/inputs.sv.yml +19 -0
- data/config/locales/inputs.uk.yml +19 -0
- data/config/locales/mongoid.es.yml +47 -0
- data/config/locales/mongoid.sv.yml +47 -0
- data/config/locales/mongoid.uk.yml +47 -0
- data/config/locales/pt-BR.yml +4 -0
- data/config/locales/ru.yml +4 -0
- data/config/locales/simple_form.en.yml +1 -0
- data/config/locales/simple_form.es.yml +153 -0
- data/config/locales/simple_form.fr.yml +1 -0
- data/config/locales/simple_form.sv.yml +153 -0
- data/config/locales/simple_form.uk.yml +153 -0
- data/config/locales/sv.yml +332 -0
- data/config/locales/uk.yml +332 -0
- data/config/locales/zh-CN.yml +5 -1
- data/lib/generators/locomotive/install/templates/locomotive.rb +2 -2
- data/lib/locomotive/middlewares/site.rb +4 -3
- data/lib/locomotive/steam/middlewares/page_editing.rb +10 -0
- data/lib/locomotive/steam/services/api_content_entry_service.rb +58 -0
- data/lib/locomotive/steam/services/api_entry_submission_service.rb +20 -18
- data/lib/locomotive/steam/services/async_email_service.rb +36 -0
- data/lib/locomotive/steam/services/liquid_parser_with_cache_service.rb +16 -0
- data/lib/locomotive/steam_adaptor.rb +8 -4
- data/lib/locomotive/version.rb +1 -1
- data/lib/tasks/locomotive.rake +5 -0
- data/spec/dummy/config/initializers/locomotive.rb +1 -1
- data/spec/lib/locomotive/steam/services/api_entry_submission_service_spec.rb +6 -3
- data/spec/lib/locomotive/steam/services/async_email_service_spec.rb +45 -0
- data/spec/models/locomotive/concerns/page/layout_spec.rb +26 -0
- data/spec/models/locomotive/concerns/site/metafields_spec.rb +1 -1
- data/spec/requests/locomotive/steam/cache_spec.rb +1 -1
- data/vendor/assets/components/locomotive_sources/backbone/LICENSE +22 -0
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.js +2 -0
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.map +1 -0
- data/vendor/assets/components/locomotive_sources/backbone/backbone.js +1894 -0
- data/vendor/assets/components/locomotive_sources/backbone/bower.json +8 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/Gruntfile.js +82 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/LICENSE +20 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/README.md +92 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bootstrap-tagsinput.jquery.json +27 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bower.json +42 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.js +87 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js.map +1 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-typeahead.css +49 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.css +55 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.js +663 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.less +50 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js.map +1 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.zip +0 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.css +67 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.js +15 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs2.js +74 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs3.js +95 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/cities.json +16 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/citynames.json +16 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/bootstrap-2.3.2.html +666 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/index.html +742 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/karma.conf.js +20 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/package.json +47 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-angular.js +87 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-typeahead.css +49 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.css +55 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.js +663 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +38 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/Gruntfile.js +191 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/LICENSE +21 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/README.md +37 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/bower.json +35 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +103 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +373 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +9 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/component.json +9 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/composer.json +28 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +222 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Events.md +96 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Functions.md +670 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Options.md +473 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/index.md +592 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/mkdocs.yml +17 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/package.json +43 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2552 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +352 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +17 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +34 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +34 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +2 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +343 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +88 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/CNAME +1 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/CONTRIBUTING.md +37 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/LICENSE.txt +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/README.markdown +119 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/Rakefile +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/bower.json +12 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/clock.png +0 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/composer.json +32 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/contrib/timeago-koext.js +14 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/index.html +221 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/jquery.timeago.js +225 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/README.md +27 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.af.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ar.js +96 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.bg.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.bs.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ca.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.cs.js +24 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.cy.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.da.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.de.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.dv.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.el.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.en-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.en.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.es-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.es.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.et.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.eu.js +17 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fa-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fa.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fi.js +28 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fr-short.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.fr.js +17 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.gl.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.he.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.hr.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.hu.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.hy.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.id.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.is.js +19 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.it-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.it.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ja.js +19 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.jv.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ko.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ky.js +34 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.lt.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.lv.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.mk.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.nl.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.no.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pl.js +31 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt-br-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt-br.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt-short.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.pt.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ro.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.rs.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ru.js +34 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.rw.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.si.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sk.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sl.js +40 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sr.js +49 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.sv.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.th.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.tr.js +16 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.uk.js +34 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.uz.js +19 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.vi.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.zh-CN.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.zh-TW.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/package.json +37 -0
- data/vendor/assets/components/locomotive_sources/jquery-timeago/timeago.jquery.json +30 -0
- data/vendor/assets/components/locomotive_sources/jquery/MIT-LICENSE.txt +21 -0
- data/vendor/assets/components/locomotive_sources/jquery/bower.json +28 -0
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.js +9210 -0
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.map +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax.js +786 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/jsonp.js +89 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/load.js +75 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseJSON.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseXML.js +28 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/script.js +64 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/nonce.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/rquery.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/xhr.js +136 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes.js +11 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/attr.js +141 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/classes.js +158 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/prop.js +94 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/support.js +35 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/val.js +161 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/callbacks.js +205 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core.js +502 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/access.js +60 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/init.js +123 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/parseHTML.js +39 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/ready.js +97 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/core/var/rsingleTag.js +4 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css.js +450 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/addGetHookIf.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/curCSS.js +57 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/defaultDisplay.js +70 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/support.js +96 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/swap.js +28 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/cssExpand.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/getStyles.js +12 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/isHidden.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rmargin.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rnumnonpx.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data.js +178 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/Data.js +181 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/accepts.js +20 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_priv.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_user.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/deferred.js +149 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/deprecated.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/dimensions.js +50 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/effects.js +648 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/Tween.js +114 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/animatedSelector.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event.js +868 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event/ajax.js +13 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event/alias.js +39 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/event/support.js +9 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/amd.js +24 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/global.js +32 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/intro.js +44 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/jquery.js +37 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation.js +580 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/_evalUrl.js +18 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/support.js +32 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/offset.js +207 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/outro.js +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/queue.js +142 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/queue/delay.js +22 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-native.js +172 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-sizzle.js +14 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/selector.js +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/serialize.js +111 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.js +2067 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing.js +199 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/findFilter.js +100 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/arr.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/class2type.js +4 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/concat.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/hasOwn.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/indexOf.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/pnum.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/push.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/rnotwhite.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/slice.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/strundefined.js +3 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/support.js +4 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/var/toString.js +5 -0
- data/vendor/assets/components/locomotive_sources/jquery/src/wrap.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/LICENSE +20 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/README.md +36 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/bower.json +18 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +1189 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.js +1189 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone.min.js +6 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/changelog.md +101 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/composer.json +43 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/meta/latest.json +5012 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/packed/latest.json +590 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/unpacked/latest.json +124081 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone-utils.js +316 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone.js +599 -0
- data/vendor/assets/components/locomotive_sources/moment/CHANGELOG.md +496 -0
- data/vendor/assets/components/locomotive_sources/moment/LICENSE +22 -0
- data/vendor/assets/components/locomotive_sources/moment/README.md +58 -0
- data/vendor/assets/components/locomotive_sources/moment/bower.json +22 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/af.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-ma.js +59 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-sa.js +103 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-tn.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar.js +136 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/az.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/be.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bg.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bn.js +113 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bo.js +110 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/br.js +107 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bs.js +141 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ca.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cs.js +171 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cv.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cy.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/da.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/de-at.js +77 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/de.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/dv.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/el.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-au.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ca.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-gb.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ie.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-nz.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/eo.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/es.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/et.js +80 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/eu.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fa.js +105 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fi.js +107 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fo.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ca.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ch.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fy.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/gd.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/gl.js +75 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/he.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hi.js +123 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hr.js +143 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hu.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hy-am.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/id.js +83 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/is.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/it.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ja.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/jv.js +83 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ka.js +89 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/kk.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/km.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ko.js +68 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lb.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lo.js +69 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lt.js +115 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lv.js +96 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/me.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/mk.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ml.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/mr.js +158 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ms-my.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ms.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/my.js +93 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nb.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ne.js +121 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nl.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nn.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pl.js +105 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pt-br.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pt.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ro.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ru.js +166 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/se.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/si.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sk.js +150 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sl.js +160 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sq.js +69 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sr-cyrl.js +108 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sr.js +108 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sv.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sw.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ta.js +129 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/te.js +88 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/th.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tl-ph.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tlh.js +119 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tr.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzl.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm-latn.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/uk.js +146 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/uz.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/vi.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-cn.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-tw.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/min/locales.js +7548 -0
- data/vendor/assets/components/locomotive_sources/moment/min/locales.min.js +72 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.js +11144 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.min.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/min/tests.js +46196 -0
- data/vendor/assets/components/locomotive_sources/moment/moment.js +3606 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/check-overflow.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/date-from-array.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-anything.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-array.js +136 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-object.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-array.js +50 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-format.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string.js +120 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/local.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/parsing-flags.js +22 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/utc.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/valid.js +37 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/abs.js +18 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/add-subtract.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/as.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/bubble.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/constructor.js +41 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/create.js +117 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/duration.js +12 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/get.js +25 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/humanize.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/iso-string.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/prototype.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/format/format.js +92 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/calendar.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/constructor.js +2 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/en.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/formats.js +23 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/invalid.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/lists.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locale.js +35 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locales.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/ordinal.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/pre-post-format.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/prototype.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/relative.js +29 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/set.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/add-subtract.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/calendar.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/clone.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/compare.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/constructor.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/creation-data.js +9 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/diff.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/format.js +28 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/from.js +17 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/get-set.js +43 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/locale.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/min-max.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/moment.js +28 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/now.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/prototype.js +149 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/start-end-of.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to-type.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to.js +17 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/valid.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/regex.js +54 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/token.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/aliases.js +29 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/constants.js +9 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-month.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-week.js +162 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-year.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/hour.js +129 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/millisecond.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/minute.js +24 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/month.js +209 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/offset.js +219 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/quarter.js +27 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/second.js +24 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timestamp.js +20 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timezone.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/units.js +20 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-calendar-utils.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-year.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/year.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-ceil.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-floor.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/compare-arrays.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/defaults.js +10 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/deprecate.js +33 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/extend.js +19 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/has-own-prop.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/hooks.js +13 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-array.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-date.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-function.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-undefined.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/map.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/to-int.js +12 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/zero-fill.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/af.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-ma.js +50 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-sa.js +94 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-tn.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/az.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/be.js +125 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bg.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bn.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bo.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/br.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bs.js +132 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ca.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cs.js +162 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cv.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cy.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/da.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de-at.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/dv.js +89 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/el.js +86 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-au.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ca.js +54 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-gb.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ie.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-nz.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eo.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/es.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/et.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eu.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fa.js +96 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fi.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fo.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ca.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ch.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fy.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gd.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gl.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/he.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hi.js +114 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hr.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hu.js +100 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hy-am.js +86 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/id.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/is.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/it.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ja.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/jv.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ka.js +80 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/kk.js +77 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/km.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ko.js +59 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lb.js +125 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lo.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lt.js +106 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lv.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/me.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mk.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ml.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mr.js +149 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms-my.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/my.js +84 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nb.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ne.js +112 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nl.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nn.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pl.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt-br.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ro.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ru.js +156 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/se.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/si.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sk.js +141 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sl.js +150 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sq.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr-cyrl.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sv.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sw.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ta.js +120 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/te.js +78 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/th.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tl-ph.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tlh.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tr.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzl.js +78 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm-latn.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uk.js +137 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uz.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/vi.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-cn.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-tw.js +91 -0
- data/vendor/assets/components/locomotive_sources/moment/src/moment.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/amd-named.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/amd.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/default.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/globals.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/locale-header.js +6 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/test-header.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gemfile +3 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gruntfile.js +110 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/LICENSE +8 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/README.md +91 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.3.2.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.1.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.2.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.3.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.4.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.5.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.1.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.2.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_config.yml +13 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer-links.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/head.html +13 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/navbar.html +21 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/select2-select.html +55 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/default.html +489 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/minimal.html +7 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_extends.sass +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_mixins.sass +9 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_select2-result-repository.sass +40 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_variables.sass +1 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/bootstrap.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/gh-pages.sass +103 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/select2-bootstrap.css +495 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.svg +288 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/index.html +77 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/bootstrap.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/respond.min.js +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/master.html +4 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/bower.json +20 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/compass/stylesheets/select2-bootstrap.scss +1 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.3.2.html +1668 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.1.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.2.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.3.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.4.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.5.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.1.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.2.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/bootstrap.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/gh-pages.css +142 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/select2-bootstrap.css +495 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.svg +288 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/index.html +293 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/bootstrap.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/respond.min.js +5 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/master.html +1662 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.less +3 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.scss +3 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap-css.rb +11 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.less +480 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.scss +480 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap/version.rb +9 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/package.json +48 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap-css.gemspec +22 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.css +495 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.min.css +1 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/less_test.js +25 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/scss_test.js +25 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/less.patch +416 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/scss.patch +4 -0
- data/vendor/assets/components/locomotive_sources/select2/CONTRIBUTING.md +204 -0
- data/vendor/assets/components/locomotive_sources/select2/Gruntfile.js +370 -0
- data/vendor/assets/components/locomotive_sources/select2/LICENSE.md +21 -0
- data/vendor/assets/components/locomotive_sources/select2/README.md +105 -0
- data/vendor/assets/components/locomotive_sources/select2/bower.json +12 -0
- data/vendor/assets/components/locomotive_sources/select2/component.json +19 -0
- data/vendor/assets/components/locomotive_sources/select2/composer.json +25 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.css +482 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.min.css +1 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ar.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/az.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/bg.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ca.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/cs.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/da.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/de.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/en.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/es.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/et.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/eu.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fa.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fi.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/gl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/he.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hi.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hu.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/id.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/is.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/it.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ja.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ko.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lt.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lv.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/mk.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ms.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nb.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt-BR.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ro.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ru.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sk.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr-Cyrl.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sv.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/th.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/tr.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/uk.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/vi.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-CN.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-TW.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.js +6281 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.min.js +3 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.js +5571 -0
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.min.js +2 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/README.md +38 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/basics.html +65 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/data.html +128 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-mode.html +43 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-results.html +32 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/hide-search.html +25 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/localization-rtl-diacritics.html +90 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/matcher.html +43 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/multiple-max.html +28 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/placeholders.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/programmatic-control.html +156 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tags.html +33 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/themes-templating-responsive-design.html +111 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tokenizer.html +36 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/footer.html +20 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/ga.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/head.html +19 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/js-source-states.html +62 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/announcements-4.0.html +26 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/examples.html +96 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options-old.html +55 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options.html +77 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/navigation.html +53 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/notice-previous.html +7 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/adapters.html +209 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/backwards-compatibility.html +200 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/core-options.html +790 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/dropdown.html +308 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/events.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/setting-default-options.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/initial-selection.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/introduction.html +18 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/matcher.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/query-function.html +50 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/text-input.html +32 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/amd-support.html +38 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/data-attributes.html +72 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/options.html +58 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/ajax.html +109 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/array.html +53 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/select.html +57 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/filtering.html +23 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/placement.html +29 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/selections.html +17 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events.html +8 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/internal.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/jquery.html +29 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/introduction.html +9 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/not-written.html +3 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/clearing-selections.html +17 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/multiple.html +17 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/placeholder.html +53 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/templating.html +23 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/social-buttons.html +10 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/default.html +57 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/home.html +23 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_alert.scss +47 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_anchorjs.scss +27 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_buttons.scss +20 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_code.scss +16 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_examples.scss +90 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_featurette.scss +16 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_footer.scss +42 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_hamburger.scss +49 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_home.scss +31 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_jumbotron.scss +24 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_layout.scss +14 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_nav.scss +58 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_prettify.scss +51 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_result-repository.scss +62 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_sidenav.scss +152 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_social.scss +35 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_typography.scss +6 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/announcements-4.0.html +752 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/community.html +154 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/css/s2-docs.scss +19 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/examples.html +254 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/images/logo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/index.html +238 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/options-old.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/options.html +37 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/bootstrap.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/font-awesome.min.css +4 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.svg +655 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ak.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/al.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ar.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/az.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ca.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/co.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ct.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/de.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/fl.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ga.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/hi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ia.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/id.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/il.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/in.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ks.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ky.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/la.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ma.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/md.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/me.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ms.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ne.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nj.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nm.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ny.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/oh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ok.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/or.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/pa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ri.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tx.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ut.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/va.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/vt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wy.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/anchor.min.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/bootstrap.min.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/jquery.min.js +4 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/placeholders.jquery.min.js +2 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/prettify.min.js +28 -0
- data/vendor/assets/components/locomotive_sources/select2/package.json +66 -0
- data/vendor/assets/components/locomotive_sources/select2/select2.jquery.json +32 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.end.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.start.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.mousewheel.shim.js +6 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.select2.js +58 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.shim.js +14 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/containerCss.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/dropdownCss.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/initSelection.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/inputData.js +127 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/matcher.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/query.js +26 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/utils.js +43 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/core.js +545 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/ajax.js +101 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/array.js +79 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/base.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumInputLength.js +31 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumSelectionLength.js +31 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/minimumInputLength.js +30 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/select.js +285 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tags.js +119 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tokenizer.js +93 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/defaults.js +396 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/diacritics.js +847 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachBody.js +216 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachContainer.js +18 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/closeOnSelect.js +32 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/hidePlaceholder.js +42 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/infiniteScroll.js +89 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/minimumResultsForSearch.js +39 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/search.js +95 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/selectOnClose.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/stopPropagation.js +38 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ar.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/az.js +27 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/bg.js +47 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ca.js +52 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/cs.js +61 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/da.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/de.js +37 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/en.js +44 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/es.js +52 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/et.js +53 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/eu.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fa.js +38 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fi.js +27 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fr.js +46 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/gl.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/he.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hi.js +39 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hr.js +44 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hu.js +27 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/id.js +30 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/is.js +41 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/it.js +48 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ja.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ko.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lt.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lv.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/mk.js +47 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ms.js +30 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nb.js +35 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nl.js +43 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pl.js +45 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt-BR.js +46 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt.js +40 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ro.js +48 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ru.js +58 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sk.js +56 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr-Cyrl.js +55 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr.js +55 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sv.js +37 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/th.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/tr.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/uk.js +43 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/vi.js +37 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-CN.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-TW.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/keys.js +25 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/options.js +122 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/results.js +516 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/allowClear.js +97 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/base.js +158 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/clickMask.js +29 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/eventRelay.js +45 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/multiple.js +109 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/placeholder.js +49 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/search.js +222 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/single.js +93 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/stopPropagation.js +38 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/translation.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/utils.js +262 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.end.js +12 -0
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.start.js +23 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_dropdown.scss +73 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_multiple.scss +35 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_single.scss +34 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/core.scss +48 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/mixins/_gradients.scss +13 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_defaults.scss +34 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_multiple.scss +93 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_single.scss +124 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/layout.scss +64 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_multiple.scss +94 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_single.scss +83 -0
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/layout.scss +97 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/search-tests.js +51 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/selection-tests.js +154 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/array-tests.js +290 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/base-tests.js +29 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/inputData-tests.js +158 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumInputLength-tests.js +138 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumSelectionLength-tests.js +202 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/minimumInputLength-tests.js +138 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/select-tests.js +457 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tags-tests.js +241 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tokenizer-tests.js +171 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/dropdownCss-tests.js +104 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/selectOnClose-tests.js +137 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/stopPropagation-tests.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/helpers.js +46 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/integration.html +19 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/integration/select2-methods.js +139 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/data-tests.js +44 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/deprecated-tests.js +250 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/translation-tests.js +28 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/options/width-tests.js +66 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/allowClear-tests.js +218 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/containerCss-tests.js +104 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/multiple-tests.js +149 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/placeholder-tests.js +74 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/search-tests.js +139 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/single-tests.js +117 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/stopPropagation-tests.js +33 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/unit.html +91 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/decorator-tests.js +189 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/escapeMarkup-tests.js +36 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/jquery-1.7.2.js +9404 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.css +237 -0
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.js +2288 -0
- data/vendor/assets/components/locomotive_sources/select2/vendor/jquery-2.1.0.js +9111 -0
- data/vendor/assets/components/locomotive_sources/underscore/LICENSE +23 -0
- data/vendor/assets/components/locomotive_sources/underscore/README.md +22 -0
- data/vendor/assets/components/locomotive_sources/underscore/bower.json +7 -0
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.js +6 -0
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.map +1 -0
- data/vendor/assets/components/locomotive_sources/underscore/underscore.js +1548 -0
- data/vendor/assets/javascripts/locomotive/datepicker_i18n.js.erb +1 -1
- data/vendor/assets/javascripts/locomotive/wysihtml5/parser_rules/advanced.js +10 -1
- metadata +1020 -6
@@ -0,0 +1,1662 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html class="demo">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
<title>select2-bootstrap-css</title>
|
7
|
+
<link rel="stylesheet" href="css/bootstrap.min.css">
|
8
|
+
<link rel="stylesheet" href="//select2.github.io/select2/select2-3.5.2/select2.css">
|
9
|
+
<link rel="stylesheet" href="css/select2-bootstrap.css">
|
10
|
+
<link rel="stylesheet" href="css/gh-pages.css">
|
11
|
+
<!--[if lt IE 9]>
|
12
|
+
<script src="//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
13
|
+
<script src="js/respond.min.js"></script>
|
14
|
+
<![endif]-->
|
15
|
+
</head>
|
16
|
+
|
17
|
+
<body>
|
18
|
+
<header class="navbar navbar-default navbar-fixed-top" role="navigation">
|
19
|
+
<div class="navbar-header">
|
20
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".bs-navbar-collapse">
|
21
|
+
<span class="sr-only">Toggle navigation</span>
|
22
|
+
<span class="icon-bar"></span>
|
23
|
+
<span class="icon-bar"></span>
|
24
|
+
<span class="icon-bar"></span>
|
25
|
+
</button>
|
26
|
+
<a class="navbar-brand" href="index.html">select2-bootstrap-css</a>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div class="collapse navbar-collapse bs-navbar-collapse">
|
30
|
+
<ul class="nav navbar-nav">
|
31
|
+
|
32
|
+
<li class="">
|
33
|
+
<a href="3.3.2.html">3.3.2</a>
|
34
|
+
</li>
|
35
|
+
|
36
|
+
<li class="">
|
37
|
+
<a href="3.4.1.html">3.4.1</a>
|
38
|
+
</li>
|
39
|
+
|
40
|
+
<li class="">
|
41
|
+
<a href="3.4.2.html">3.4.2</a>
|
42
|
+
</li>
|
43
|
+
|
44
|
+
<li class="">
|
45
|
+
<a href="3.4.3.html">3.4.3</a>
|
46
|
+
</li>
|
47
|
+
|
48
|
+
<li class="">
|
49
|
+
<a href="3.4.4.html">3.4.4</a>
|
50
|
+
</li>
|
51
|
+
|
52
|
+
<li class="">
|
53
|
+
<a href="3.4.5.html">3.4.5</a>
|
54
|
+
</li>
|
55
|
+
|
56
|
+
<li class="">
|
57
|
+
<a href="3.5.1.html">3.5.1</a>
|
58
|
+
</li>
|
59
|
+
|
60
|
+
<li class="active">
|
61
|
+
<a href="3.5.2.html">3.5.2</a>
|
62
|
+
</li>
|
63
|
+
|
64
|
+
<li class="">
|
65
|
+
<a href="master.html">master</a>
|
66
|
+
</li>
|
67
|
+
|
68
|
+
</ul>
|
69
|
+
</div>
|
70
|
+
</header>
|
71
|
+
|
72
|
+
|
73
|
+
<div class="form-group">
|
74
|
+
<label for="default" class="control-label">Default textbox</label>
|
75
|
+
<input id="default" type="text" class="form-control" placeholder="Placeholder text">
|
76
|
+
</div>
|
77
|
+
|
78
|
+
<div class="form-group">
|
79
|
+
<label for="single" class="control-label">Select2 single select</label>
|
80
|
+
<select id="single" class="form-control select2">
|
81
|
+
<option></option>
|
82
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
83
|
+
<option value="AK">Alaska</option>
|
84
|
+
<option value="HI">Hawaii</option>
|
85
|
+
</optgroup>
|
86
|
+
<optgroup label="Pacific Time Zone">
|
87
|
+
<option value="CA">California</option>
|
88
|
+
<option value="NV">Nevada</option>
|
89
|
+
<option value="OR">Oregon</option>
|
90
|
+
<option value="WA">Washington</option>
|
91
|
+
</optgroup>
|
92
|
+
<optgroup label="Mountain Time Zone">
|
93
|
+
<option value="AZ">Arizona</option>
|
94
|
+
<option value="CO">Colorado</option>
|
95
|
+
<option value="ID">Idaho</option>
|
96
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
97
|
+
<option value="NM">New Mexico</option>
|
98
|
+
<option value="ND">North Dakota</option>
|
99
|
+
<option value="UT">Utah</option>
|
100
|
+
<option value="WY">Wyoming</option>
|
101
|
+
</optgroup>
|
102
|
+
<optgroup label="Central Time Zone">
|
103
|
+
<option value="AL">Alabama</option>
|
104
|
+
<option value="AR">Arkansas</option>
|
105
|
+
<option value="IL">Illinois</option>
|
106
|
+
<option value="IA">Iowa</option>
|
107
|
+
<option value="KS">Kansas</option>
|
108
|
+
<option value="KY">Kentucky</option>
|
109
|
+
<option value="LA">Louisiana</option>
|
110
|
+
<option value="MN">Minnesota</option>
|
111
|
+
<option value="MS">Mississippi</option>
|
112
|
+
<option value="MO">Missouri</option>
|
113
|
+
<option value="OK">Oklahoma</option>
|
114
|
+
<option value="SD">South Dakota</option>
|
115
|
+
<option value="TX">Texas</option>
|
116
|
+
<option value="TN">Tennessee</option>
|
117
|
+
<option value="WI">Wisconsin</option>
|
118
|
+
</optgroup>
|
119
|
+
<optgroup label="Eastern Time Zone">
|
120
|
+
<option value="CT">Connecticut</option>
|
121
|
+
<option value="DE">Delaware</option>
|
122
|
+
<option value="FL">Florida</option>
|
123
|
+
<option value="GA">Georgia</option>
|
124
|
+
<option value="IN">Indiana</option>
|
125
|
+
<option value="ME">Maine</option>
|
126
|
+
<option value="MD">Maryland</option>
|
127
|
+
<option value="MA">Massachusetts</option>
|
128
|
+
<option value="MI">Michigan</option>
|
129
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
130
|
+
<option value="NY">New York</option>
|
131
|
+
<option value="NC">North Carolina</option>
|
132
|
+
<option value="OH">Ohio</option>
|
133
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
134
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
135
|
+
<option value="WV">West Virginia</option>
|
136
|
+
</optgroup>
|
137
|
+
|
138
|
+
</select>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div class="form-group">
|
142
|
+
<label for="multiple" class="control-label">Select2 multi select</label>
|
143
|
+
<select id="multiple" class="form-control select2-multiple" multiple>
|
144
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
145
|
+
<option value="AK">Alaska</option>
|
146
|
+
<option value="HI">Hawaii</option>
|
147
|
+
</optgroup>
|
148
|
+
<optgroup label="Pacific Time Zone">
|
149
|
+
<option value="CA">California</option>
|
150
|
+
<option value="NV">Nevada</option>
|
151
|
+
<option value="OR">Oregon</option>
|
152
|
+
<option value="WA">Washington</option>
|
153
|
+
</optgroup>
|
154
|
+
<optgroup label="Mountain Time Zone">
|
155
|
+
<option value="AZ">Arizona</option>
|
156
|
+
<option value="CO">Colorado</option>
|
157
|
+
<option value="ID">Idaho</option>
|
158
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
159
|
+
<option value="NM">New Mexico</option>
|
160
|
+
<option value="ND">North Dakota</option>
|
161
|
+
<option value="UT">Utah</option>
|
162
|
+
<option value="WY">Wyoming</option>
|
163
|
+
</optgroup>
|
164
|
+
<optgroup label="Central Time Zone">
|
165
|
+
<option value="AL">Alabama</option>
|
166
|
+
<option value="AR">Arkansas</option>
|
167
|
+
<option value="IL">Illinois</option>
|
168
|
+
<option value="IA">Iowa</option>
|
169
|
+
<option value="KS">Kansas</option>
|
170
|
+
<option value="KY">Kentucky</option>
|
171
|
+
<option value="LA">Louisiana</option>
|
172
|
+
<option value="MN">Minnesota</option>
|
173
|
+
<option value="MS">Mississippi</option>
|
174
|
+
<option value="MO">Missouri</option>
|
175
|
+
<option value="OK">Oklahoma</option>
|
176
|
+
<option value="SD">South Dakota</option>
|
177
|
+
<option value="TX">Texas</option>
|
178
|
+
<option value="TN">Tennessee</option>
|
179
|
+
<option value="WI">Wisconsin</option>
|
180
|
+
</optgroup>
|
181
|
+
<optgroup label="Eastern Time Zone">
|
182
|
+
<option value="CT">Connecticut</option>
|
183
|
+
<option value="DE">Delaware</option>
|
184
|
+
<option value="FL">Florida</option>
|
185
|
+
<option value="GA">Georgia</option>
|
186
|
+
<option value="IN">Indiana</option>
|
187
|
+
<option value="ME">Maine</option>
|
188
|
+
<option value="MD">Maryland</option>
|
189
|
+
<option value="MA">Massachusetts</option>
|
190
|
+
<option value="MI">Michigan</option>
|
191
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
192
|
+
<option value="NY">New York</option>
|
193
|
+
<option value="NC">North Carolina</option>
|
194
|
+
<option value="OH">Ohio</option>
|
195
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
196
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
197
|
+
<option value="WV">West Virginia</option>
|
198
|
+
</optgroup>
|
199
|
+
|
200
|
+
</select>
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div class="page-header">
|
204
|
+
<h3>Input Groups <small><a href="http://getbootstrap.com/components/#input-groups" ><span class="glyphicon glyphicon-link"></span></a></small></h3>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
<p>To let the Select2-widget know if any elements are directly being appended, prepended or both in the context of a Bootstrap input group, add <code>.select2-bootstrap-prepend</code> and/or <code>.select2-bootstrap-append</code> to the <code>.input-group</code> wrapper element to address the corresponding border-radii.</p>
|
208
|
+
|
209
|
+
<div class="form-group">
|
210
|
+
<label for="select2-single-append" class="control-label">Select2 append Checkbox</label>
|
211
|
+
<div class="input-group select2-bootstrap-prepend">
|
212
|
+
<span class="input-group-addon">
|
213
|
+
<input type="checkbox" checked>
|
214
|
+
</span>
|
215
|
+
<select id="select2-single-append" class="form-control select2-allow-clear">
|
216
|
+
<option></option>
|
217
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
218
|
+
<option value="AK">Alaska</option>
|
219
|
+
<option value="HI">Hawaii</option>
|
220
|
+
</optgroup>
|
221
|
+
<optgroup label="Pacific Time Zone">
|
222
|
+
<option value="CA">California</option>
|
223
|
+
<option value="NV">Nevada</option>
|
224
|
+
<option value="OR">Oregon</option>
|
225
|
+
<option value="WA">Washington</option>
|
226
|
+
</optgroup>
|
227
|
+
<optgroup label="Mountain Time Zone">
|
228
|
+
<option value="AZ">Arizona</option>
|
229
|
+
<option value="CO">Colorado</option>
|
230
|
+
<option value="ID">Idaho</option>
|
231
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
232
|
+
<option value="NM">New Mexico</option>
|
233
|
+
<option value="ND">North Dakota</option>
|
234
|
+
<option value="UT">Utah</option>
|
235
|
+
<option value="WY">Wyoming</option>
|
236
|
+
</optgroup>
|
237
|
+
<optgroup label="Central Time Zone">
|
238
|
+
<option value="AL">Alabama</option>
|
239
|
+
<option value="AR">Arkansas</option>
|
240
|
+
<option value="IL">Illinois</option>
|
241
|
+
<option value="IA">Iowa</option>
|
242
|
+
<option value="KS">Kansas</option>
|
243
|
+
<option value="KY">Kentucky</option>
|
244
|
+
<option value="LA">Louisiana</option>
|
245
|
+
<option value="MN">Minnesota</option>
|
246
|
+
<option value="MS">Mississippi</option>
|
247
|
+
<option value="MO">Missouri</option>
|
248
|
+
<option value="OK">Oklahoma</option>
|
249
|
+
<option value="SD">South Dakota</option>
|
250
|
+
<option value="TX">Texas</option>
|
251
|
+
<option value="TN">Tennessee</option>
|
252
|
+
<option value="WI">Wisconsin</option>
|
253
|
+
</optgroup>
|
254
|
+
<optgroup label="Eastern Time Zone">
|
255
|
+
<option value="CT">Connecticut</option>
|
256
|
+
<option value="DE">Delaware</option>
|
257
|
+
<option value="FL">Florida</option>
|
258
|
+
<option value="GA">Georgia</option>
|
259
|
+
<option value="IN">Indiana</option>
|
260
|
+
<option value="ME">Maine</option>
|
261
|
+
<option value="MD">Maryland</option>
|
262
|
+
<option value="MA">Massachusetts</option>
|
263
|
+
<option value="MI">Michigan</option>
|
264
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
265
|
+
<option value="NY">New York</option>
|
266
|
+
<option value="NC">North Carolina</option>
|
267
|
+
<option value="OH">Ohio</option>
|
268
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
269
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
270
|
+
<option value="WV">West Virginia</option>
|
271
|
+
</optgroup>
|
272
|
+
|
273
|
+
</select>
|
274
|
+
</div>
|
275
|
+
</div>
|
276
|
+
|
277
|
+
<div class="form-group">
|
278
|
+
<label for="single-append-radio" class="control-label">Select2 multi append Radiobutton</label>
|
279
|
+
<div class="input-group select2-bootstrap-prepend">
|
280
|
+
<span class="input-group-addon">
|
281
|
+
<input type="radio">
|
282
|
+
</span>
|
283
|
+
<select id="single-append-radio" class="form-control select2-allow-clear" multiple>
|
284
|
+
<option></option>
|
285
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
286
|
+
<option value="AK">Alaska</option>
|
287
|
+
<option value="HI">Hawaii</option>
|
288
|
+
</optgroup>
|
289
|
+
<optgroup label="Pacific Time Zone">
|
290
|
+
<option value="CA">California</option>
|
291
|
+
<option value="NV">Nevada</option>
|
292
|
+
<option value="OR">Oregon</option>
|
293
|
+
<option value="WA">Washington</option>
|
294
|
+
</optgroup>
|
295
|
+
<optgroup label="Mountain Time Zone">
|
296
|
+
<option value="AZ">Arizona</option>
|
297
|
+
<option value="CO">Colorado</option>
|
298
|
+
<option value="ID">Idaho</option>
|
299
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
300
|
+
<option value="NM">New Mexico</option>
|
301
|
+
<option value="ND">North Dakota</option>
|
302
|
+
<option value="UT">Utah</option>
|
303
|
+
<option value="WY">Wyoming</option>
|
304
|
+
</optgroup>
|
305
|
+
<optgroup label="Central Time Zone">
|
306
|
+
<option value="AL">Alabama</option>
|
307
|
+
<option value="AR">Arkansas</option>
|
308
|
+
<option value="IL">Illinois</option>
|
309
|
+
<option value="IA">Iowa</option>
|
310
|
+
<option value="KS">Kansas</option>
|
311
|
+
<option value="KY">Kentucky</option>
|
312
|
+
<option value="LA">Louisiana</option>
|
313
|
+
<option value="MN">Minnesota</option>
|
314
|
+
<option value="MS">Mississippi</option>
|
315
|
+
<option value="MO">Missouri</option>
|
316
|
+
<option value="OK">Oklahoma</option>
|
317
|
+
<option value="SD">South Dakota</option>
|
318
|
+
<option value="TX">Texas</option>
|
319
|
+
<option value="TN">Tennessee</option>
|
320
|
+
<option value="WI">Wisconsin</option>
|
321
|
+
</optgroup>
|
322
|
+
<optgroup label="Eastern Time Zone">
|
323
|
+
<option value="CT">Connecticut</option>
|
324
|
+
<option value="DE">Delaware</option>
|
325
|
+
<option value="FL">Florida</option>
|
326
|
+
<option value="GA">Georgia</option>
|
327
|
+
<option value="IN">Indiana</option>
|
328
|
+
<option value="ME">Maine</option>
|
329
|
+
<option value="MD">Maryland</option>
|
330
|
+
<option value="MA">Massachusetts</option>
|
331
|
+
<option value="MI">Michigan</option>
|
332
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
333
|
+
<option value="NY">New York</option>
|
334
|
+
<option value="NC">North Carolina</option>
|
335
|
+
<option value="OH">Ohio</option>
|
336
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
337
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
338
|
+
<option value="WV">West Virginia</option>
|
339
|
+
</optgroup>
|
340
|
+
|
341
|
+
</select>
|
342
|
+
</div>
|
343
|
+
</div>
|
344
|
+
|
345
|
+
<div class="form-group">
|
346
|
+
<label for="single-append-text" class="control-label">Select2 append</label>
|
347
|
+
<div class="input-group select2-bootstrap-append">
|
348
|
+
<select id="single-append-text" class="form-control select2-allow-clear">
|
349
|
+
<option></option>
|
350
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
351
|
+
<option value="AK">Alaska</option>
|
352
|
+
<option value="HI">Hawaii</option>
|
353
|
+
</optgroup>
|
354
|
+
<optgroup label="Pacific Time Zone">
|
355
|
+
<option value="CA">California</option>
|
356
|
+
<option value="NV">Nevada</option>
|
357
|
+
<option value="OR">Oregon</option>
|
358
|
+
<option value="WA">Washington</option>
|
359
|
+
</optgroup>
|
360
|
+
<optgroup label="Mountain Time Zone">
|
361
|
+
<option value="AZ">Arizona</option>
|
362
|
+
<option value="CO">Colorado</option>
|
363
|
+
<option value="ID">Idaho</option>
|
364
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
365
|
+
<option value="NM">New Mexico</option>
|
366
|
+
<option value="ND">North Dakota</option>
|
367
|
+
<option value="UT">Utah</option>
|
368
|
+
<option value="WY">Wyoming</option>
|
369
|
+
</optgroup>
|
370
|
+
<optgroup label="Central Time Zone">
|
371
|
+
<option value="AL">Alabama</option>
|
372
|
+
<option value="AR">Arkansas</option>
|
373
|
+
<option value="IL">Illinois</option>
|
374
|
+
<option value="IA">Iowa</option>
|
375
|
+
<option value="KS">Kansas</option>
|
376
|
+
<option value="KY">Kentucky</option>
|
377
|
+
<option value="LA">Louisiana</option>
|
378
|
+
<option value="MN">Minnesota</option>
|
379
|
+
<option value="MS">Mississippi</option>
|
380
|
+
<option value="MO">Missouri</option>
|
381
|
+
<option value="OK">Oklahoma</option>
|
382
|
+
<option value="SD">South Dakota</option>
|
383
|
+
<option value="TX">Texas</option>
|
384
|
+
<option value="TN">Tennessee</option>
|
385
|
+
<option value="WI">Wisconsin</option>
|
386
|
+
</optgroup>
|
387
|
+
<optgroup label="Eastern Time Zone">
|
388
|
+
<option value="CT">Connecticut</option>
|
389
|
+
<option value="DE">Delaware</option>
|
390
|
+
<option value="FL">Florida</option>
|
391
|
+
<option value="GA">Georgia</option>
|
392
|
+
<option value="IN">Indiana</option>
|
393
|
+
<option value="ME">Maine</option>
|
394
|
+
<option value="MD">Maryland</option>
|
395
|
+
<option value="MA">Massachusetts</option>
|
396
|
+
<option value="MI">Michigan</option>
|
397
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
398
|
+
<option value="NY">New York</option>
|
399
|
+
<option value="NC">North Carolina</option>
|
400
|
+
<option value="OH">Ohio</option>
|
401
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
402
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
403
|
+
<option value="WV">West Virginia</option>
|
404
|
+
</optgroup>
|
405
|
+
|
406
|
+
</select>
|
407
|
+
<span class="input-group-btn">
|
408
|
+
<button class="btn btn-default" type="button" data-select2-open="single-append-text">
|
409
|
+
<span class="glyphicon glyphicon-search"></span>
|
410
|
+
</button>
|
411
|
+
</span>
|
412
|
+
</div>
|
413
|
+
</div>
|
414
|
+
|
415
|
+
<div class="form-group">
|
416
|
+
<label for="single-prepend-text" class="control-label">Select2 prepend</label>
|
417
|
+
<div class="input-group select2-bootstrap-prepend">
|
418
|
+
<span class="input-group-btn">
|
419
|
+
<button class="btn btn-default" type="button" data-select2-open="single-prepend-text">
|
420
|
+
<span class="glyphicon glyphicon-search"></span>
|
421
|
+
</button>
|
422
|
+
</span>
|
423
|
+
<select id="single-prepend-text" class="form-control select2">
|
424
|
+
<option></option>
|
425
|
+
<option value="A">A</option>
|
426
|
+
<option value="B">B</option>
|
427
|
+
<option value="C">C</option>
|
428
|
+
</select>
|
429
|
+
</div>
|
430
|
+
</div>
|
431
|
+
|
432
|
+
<div class="form-group">
|
433
|
+
<label for="multi-append" class="control-label">Select2 multi append</label>
|
434
|
+
<div class="input-group select2-bootstrap-append">
|
435
|
+
<select id="multi-append" class="form-control select2" multiple>
|
436
|
+
<option></option>
|
437
|
+
<option value="A">A</option>
|
438
|
+
<option value="B">B</option>
|
439
|
+
<option value="C">C</option>
|
440
|
+
</select>
|
441
|
+
<span class="input-group-btn">
|
442
|
+
<button class="btn btn-default" type="button" data-select2-open="multi-append">
|
443
|
+
<span class="glyphicon glyphicon-search"></span>
|
444
|
+
</button>
|
445
|
+
</span>
|
446
|
+
</div>
|
447
|
+
</div>
|
448
|
+
|
449
|
+
<div class="form-group">
|
450
|
+
<label for="multi-prepend" class="control-label">Select2 multi prepend</label>
|
451
|
+
<div class="input-group select2-bootstrap-prepend">
|
452
|
+
<span class="input-group-btn">
|
453
|
+
<button class="btn btn-default" type="button" data-select2-open="multi-prepend">
|
454
|
+
State
|
455
|
+
</button>
|
456
|
+
</span>
|
457
|
+
<select id="multi-prepend" class="form-control select2" multiple>
|
458
|
+
<option></option>
|
459
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
460
|
+
<option value="AK">Alaska</option>
|
461
|
+
<option value="HI">Hawaii</option>
|
462
|
+
</optgroup>
|
463
|
+
<optgroup label="Pacific Time Zone">
|
464
|
+
<option value="CA">California</option>
|
465
|
+
<option value="NV">Nevada</option>
|
466
|
+
<option value="OR">Oregon</option>
|
467
|
+
<option value="WA">Washington</option>
|
468
|
+
</optgroup>
|
469
|
+
<optgroup label="Mountain Time Zone">
|
470
|
+
<option value="AZ">Arizona</option>
|
471
|
+
<option value="CO">Colorado</option>
|
472
|
+
<option value="ID">Idaho</option>
|
473
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
474
|
+
<option value="NM">New Mexico</option>
|
475
|
+
<option value="ND">North Dakota</option>
|
476
|
+
<option value="UT">Utah</option>
|
477
|
+
<option value="WY">Wyoming</option>
|
478
|
+
</optgroup>
|
479
|
+
<optgroup label="Central Time Zone">
|
480
|
+
<option value="AL">Alabama</option>
|
481
|
+
<option value="AR">Arkansas</option>
|
482
|
+
<option value="IL">Illinois</option>
|
483
|
+
<option value="IA">Iowa</option>
|
484
|
+
<option value="KS">Kansas</option>
|
485
|
+
<option value="KY">Kentucky</option>
|
486
|
+
<option value="LA">Louisiana</option>
|
487
|
+
<option value="MN">Minnesota</option>
|
488
|
+
<option value="MS">Mississippi</option>
|
489
|
+
<option value="MO">Missouri</option>
|
490
|
+
<option value="OK">Oklahoma</option>
|
491
|
+
<option value="SD">South Dakota</option>
|
492
|
+
<option value="TX">Texas</option>
|
493
|
+
<option value="TN">Tennessee</option>
|
494
|
+
<option value="WI">Wisconsin</option>
|
495
|
+
</optgroup>
|
496
|
+
<optgroup label="Eastern Time Zone">
|
497
|
+
<option value="CT">Connecticut</option>
|
498
|
+
<option value="DE">Delaware</option>
|
499
|
+
<option value="FL">Florida</option>
|
500
|
+
<option value="GA">Georgia</option>
|
501
|
+
<option value="IN">Indiana</option>
|
502
|
+
<option value="ME">Maine</option>
|
503
|
+
<option value="MD">Maryland</option>
|
504
|
+
<option value="MA">Massachusetts</option>
|
505
|
+
<option value="MI">Michigan</option>
|
506
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
507
|
+
<option value="NY">New York</option>
|
508
|
+
<option value="NC">North Carolina</option>
|
509
|
+
<option value="OH">Ohio</option>
|
510
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
511
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
512
|
+
<option value="WV">West Virginia</option>
|
513
|
+
</optgroup>
|
514
|
+
|
515
|
+
</select>
|
516
|
+
</div>
|
517
|
+
</div>
|
518
|
+
|
519
|
+
<div class="container">
|
520
|
+
|
521
|
+
<div class="page-header">
|
522
|
+
<h3>
|
523
|
+
Control sizing <small><a href="http://getbootstrap.com/css/#forms-control-sizes"><span class="glyphicon glyphicon-link"></span></a></small>
|
524
|
+
</h3>
|
525
|
+
</div>
|
526
|
+
|
527
|
+
<div class="row">
|
528
|
+
<div class="col-md-4">
|
529
|
+
<label for="select2-multiple-input-sm" class="control-label">col-md-4</label>
|
530
|
+
<select id="select2-multiple-input-sm" class="form-control input-sm select2-multiple" multiple>
|
531
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
532
|
+
<option value="AK">Alaska</option>
|
533
|
+
<option value="HI">Hawaii</option>
|
534
|
+
</optgroup>
|
535
|
+
<optgroup label="Pacific Time Zone">
|
536
|
+
<option value="CA">California</option>
|
537
|
+
<option value="NV">Nevada</option>
|
538
|
+
<option value="OR">Oregon</option>
|
539
|
+
<option value="WA">Washington</option>
|
540
|
+
</optgroup>
|
541
|
+
<optgroup label="Mountain Time Zone">
|
542
|
+
<option value="AZ">Arizona</option>
|
543
|
+
<option value="CO">Colorado</option>
|
544
|
+
<option value="ID">Idaho</option>
|
545
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
546
|
+
<option value="NM">New Mexico</option>
|
547
|
+
<option value="ND">North Dakota</option>
|
548
|
+
<option value="UT">Utah</option>
|
549
|
+
<option value="WY">Wyoming</option>
|
550
|
+
</optgroup>
|
551
|
+
<optgroup label="Central Time Zone">
|
552
|
+
<option value="AL">Alabama</option>
|
553
|
+
<option value="AR">Arkansas</option>
|
554
|
+
<option value="IL">Illinois</option>
|
555
|
+
<option value="IA">Iowa</option>
|
556
|
+
<option value="KS">Kansas</option>
|
557
|
+
<option value="KY">Kentucky</option>
|
558
|
+
<option value="LA">Louisiana</option>
|
559
|
+
<option value="MN">Minnesota</option>
|
560
|
+
<option value="MS">Mississippi</option>
|
561
|
+
<option value="MO">Missouri</option>
|
562
|
+
<option value="OK">Oklahoma</option>
|
563
|
+
<option value="SD">South Dakota</option>
|
564
|
+
<option value="TX">Texas</option>
|
565
|
+
<option value="TN">Tennessee</option>
|
566
|
+
<option value="WI">Wisconsin</option>
|
567
|
+
</optgroup>
|
568
|
+
<optgroup label="Eastern Time Zone">
|
569
|
+
<option value="CT">Connecticut</option>
|
570
|
+
<option value="DE">Delaware</option>
|
571
|
+
<option value="FL">Florida</option>
|
572
|
+
<option value="GA">Georgia</option>
|
573
|
+
<option value="IN">Indiana</option>
|
574
|
+
<option value="ME">Maine</option>
|
575
|
+
<option value="MD">Maryland</option>
|
576
|
+
<option value="MA">Massachusetts</option>
|
577
|
+
<option value="MI">Michigan</option>
|
578
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
579
|
+
<option value="NY">New York</option>
|
580
|
+
<option value="NC">North Carolina</option>
|
581
|
+
<option value="OH">Ohio</option>
|
582
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
583
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
584
|
+
<option value="WV">West Virginia</option>
|
585
|
+
</optgroup>
|
586
|
+
|
587
|
+
</select>
|
588
|
+
</div>
|
589
|
+
<div class="col-md-3">
|
590
|
+
<label for="select2-single-input-sm" class="control-label">col-md-3</label>
|
591
|
+
<select id="select2-single-input-sm" class="form-control input-sm select2-multiple">
|
592
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
593
|
+
<option value="AK">Alaska</option>
|
594
|
+
<option value="HI">Hawaii</option>
|
595
|
+
</optgroup>
|
596
|
+
<optgroup label="Pacific Time Zone">
|
597
|
+
<option value="CA">California</option>
|
598
|
+
<option value="NV">Nevada</option>
|
599
|
+
<option value="OR">Oregon</option>
|
600
|
+
<option value="WA">Washington</option>
|
601
|
+
</optgroup>
|
602
|
+
<optgroup label="Mountain Time Zone">
|
603
|
+
<option value="AZ">Arizona</option>
|
604
|
+
<option value="CO">Colorado</option>
|
605
|
+
<option value="ID">Idaho</option>
|
606
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
607
|
+
<option value="NM">New Mexico</option>
|
608
|
+
<option value="ND">North Dakota</option>
|
609
|
+
<option value="UT">Utah</option>
|
610
|
+
<option value="WY">Wyoming</option>
|
611
|
+
</optgroup>
|
612
|
+
<optgroup label="Central Time Zone">
|
613
|
+
<option value="AL">Alabama</option>
|
614
|
+
<option value="AR">Arkansas</option>
|
615
|
+
<option value="IL">Illinois</option>
|
616
|
+
<option value="IA">Iowa</option>
|
617
|
+
<option value="KS">Kansas</option>
|
618
|
+
<option value="KY">Kentucky</option>
|
619
|
+
<option value="LA">Louisiana</option>
|
620
|
+
<option value="MN">Minnesota</option>
|
621
|
+
<option value="MS">Mississippi</option>
|
622
|
+
<option value="MO">Missouri</option>
|
623
|
+
<option value="OK">Oklahoma</option>
|
624
|
+
<option value="SD">South Dakota</option>
|
625
|
+
<option value="TX">Texas</option>
|
626
|
+
<option value="TN">Tennessee</option>
|
627
|
+
<option value="WI">Wisconsin</option>
|
628
|
+
</optgroup>
|
629
|
+
<optgroup label="Eastern Time Zone">
|
630
|
+
<option value="CT">Connecticut</option>
|
631
|
+
<option value="DE">Delaware</option>
|
632
|
+
<option value="FL">Florida</option>
|
633
|
+
<option value="GA">Georgia</option>
|
634
|
+
<option value="IN">Indiana</option>
|
635
|
+
<option value="ME">Maine</option>
|
636
|
+
<option value="MD">Maryland</option>
|
637
|
+
<option value="MA">Massachusetts</option>
|
638
|
+
<option value="MI">Michigan</option>
|
639
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
640
|
+
<option value="NY">New York</option>
|
641
|
+
<option value="NC">North Carolina</option>
|
642
|
+
<option value="OH">Ohio</option>
|
643
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
644
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
645
|
+
<option value="WV">West Virginia</option>
|
646
|
+
</optgroup>
|
647
|
+
|
648
|
+
</select>
|
649
|
+
</div>
|
650
|
+
<div class="col-md-2">
|
651
|
+
<label for="bootstrap-input-sm" class="control-label">Bootstrap input</label>
|
652
|
+
<input id="bootstrap-input-sm" class="form-control input-sm" placeholder=".input-sm">
|
653
|
+
</div>
|
654
|
+
<div class="col-md-3">
|
655
|
+
<div class="form-group has-success">
|
656
|
+
<label for="select2-single-input-group-sm" class="control-label">col-md-3</label>
|
657
|
+
<div class="input-group input-group-sm select2-bootstrap-prepend">
|
658
|
+
<span class="input-group-addon">
|
659
|
+
<input type="radio">
|
660
|
+
</span>
|
661
|
+
<select id="select2-single-input-group-sm" class="form-control select2">
|
662
|
+
<option></option>
|
663
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
664
|
+
<option value="AK">Alaska</option>
|
665
|
+
<option value="HI">Hawaii</option>
|
666
|
+
</optgroup>
|
667
|
+
<optgroup label="Pacific Time Zone">
|
668
|
+
<option value="CA">California</option>
|
669
|
+
<option value="NV">Nevada</option>
|
670
|
+
<option value="OR">Oregon</option>
|
671
|
+
<option value="WA">Washington</option>
|
672
|
+
</optgroup>
|
673
|
+
<optgroup label="Mountain Time Zone">
|
674
|
+
<option value="AZ">Arizona</option>
|
675
|
+
<option value="CO">Colorado</option>
|
676
|
+
<option value="ID">Idaho</option>
|
677
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
678
|
+
<option value="NM">New Mexico</option>
|
679
|
+
<option value="ND">North Dakota</option>
|
680
|
+
<option value="UT">Utah</option>
|
681
|
+
<option value="WY">Wyoming</option>
|
682
|
+
</optgroup>
|
683
|
+
<optgroup label="Central Time Zone">
|
684
|
+
<option value="AL">Alabama</option>
|
685
|
+
<option value="AR">Arkansas</option>
|
686
|
+
<option value="IL">Illinois</option>
|
687
|
+
<option value="IA">Iowa</option>
|
688
|
+
<option value="KS">Kansas</option>
|
689
|
+
<option value="KY">Kentucky</option>
|
690
|
+
<option value="LA">Louisiana</option>
|
691
|
+
<option value="MN">Minnesota</option>
|
692
|
+
<option value="MS">Mississippi</option>
|
693
|
+
<option value="MO">Missouri</option>
|
694
|
+
<option value="OK">Oklahoma</option>
|
695
|
+
<option value="SD">South Dakota</option>
|
696
|
+
<option value="TX">Texas</option>
|
697
|
+
<option value="TN">Tennessee</option>
|
698
|
+
<option value="WI">Wisconsin</option>
|
699
|
+
</optgroup>
|
700
|
+
<optgroup label="Eastern Time Zone">
|
701
|
+
<option value="CT">Connecticut</option>
|
702
|
+
<option value="DE">Delaware</option>
|
703
|
+
<option value="FL">Florida</option>
|
704
|
+
<option value="GA">Georgia</option>
|
705
|
+
<option value="IN">Indiana</option>
|
706
|
+
<option value="ME">Maine</option>
|
707
|
+
<option value="MD">Maryland</option>
|
708
|
+
<option value="MA">Massachusetts</option>
|
709
|
+
<option value="MI">Michigan</option>
|
710
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
711
|
+
<option value="NY">New York</option>
|
712
|
+
<option value="NC">North Carolina</option>
|
713
|
+
<option value="OH">Ohio</option>
|
714
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
715
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
716
|
+
<option value="WV">West Virginia</option>
|
717
|
+
</optgroup>
|
718
|
+
|
719
|
+
</select>
|
720
|
+
</div>
|
721
|
+
</div>
|
722
|
+
</div>
|
723
|
+
</div>
|
724
|
+
|
725
|
+
<hr>
|
726
|
+
|
727
|
+
<div class="row">
|
728
|
+
<div class="col-md-4 has-warning">
|
729
|
+
<label for="select2-multiple" class="control-label">col-md-4</label>
|
730
|
+
<select id="select2-multiple" class="form-control select2-multiple" multiple>
|
731
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
732
|
+
<option value="AK">Alaska</option>
|
733
|
+
<option value="HI">Hawaii</option>
|
734
|
+
</optgroup>
|
735
|
+
<optgroup label="Pacific Time Zone">
|
736
|
+
<option value="CA">California</option>
|
737
|
+
<option value="NV">Nevada</option>
|
738
|
+
<option value="OR">Oregon</option>
|
739
|
+
<option value="WA">Washington</option>
|
740
|
+
</optgroup>
|
741
|
+
<optgroup label="Mountain Time Zone">
|
742
|
+
<option value="AZ">Arizona</option>
|
743
|
+
<option value="CO">Colorado</option>
|
744
|
+
<option value="ID">Idaho</option>
|
745
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
746
|
+
<option value="NM">New Mexico</option>
|
747
|
+
<option value="ND">North Dakota</option>
|
748
|
+
<option value="UT">Utah</option>
|
749
|
+
<option value="WY">Wyoming</option>
|
750
|
+
</optgroup>
|
751
|
+
<optgroup label="Central Time Zone">
|
752
|
+
<option value="AL">Alabama</option>
|
753
|
+
<option value="AR">Arkansas</option>
|
754
|
+
<option value="IL">Illinois</option>
|
755
|
+
<option value="IA">Iowa</option>
|
756
|
+
<option value="KS">Kansas</option>
|
757
|
+
<option value="KY">Kentucky</option>
|
758
|
+
<option value="LA">Louisiana</option>
|
759
|
+
<option value="MN">Minnesota</option>
|
760
|
+
<option value="MS">Mississippi</option>
|
761
|
+
<option value="MO">Missouri</option>
|
762
|
+
<option value="OK">Oklahoma</option>
|
763
|
+
<option value="SD">South Dakota</option>
|
764
|
+
<option value="TX">Texas</option>
|
765
|
+
<option value="TN">Tennessee</option>
|
766
|
+
<option value="WI">Wisconsin</option>
|
767
|
+
</optgroup>
|
768
|
+
<optgroup label="Eastern Time Zone">
|
769
|
+
<option value="CT">Connecticut</option>
|
770
|
+
<option value="DE">Delaware</option>
|
771
|
+
<option value="FL">Florida</option>
|
772
|
+
<option value="GA">Georgia</option>
|
773
|
+
<option value="IN">Indiana</option>
|
774
|
+
<option value="ME">Maine</option>
|
775
|
+
<option value="MD">Maryland</option>
|
776
|
+
<option value="MA">Massachusetts</option>
|
777
|
+
<option value="MI">Michigan</option>
|
778
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
779
|
+
<option value="NY">New York</option>
|
780
|
+
<option value="NC">North Carolina</option>
|
781
|
+
<option value="OH">Ohio</option>
|
782
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
783
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
784
|
+
<option value="WV">West Virginia</option>
|
785
|
+
</optgroup>
|
786
|
+
|
787
|
+
</select>
|
788
|
+
<p class="help-block">Example block-level help text here.</p>
|
789
|
+
</div>
|
790
|
+
<div class="col-md-3">
|
791
|
+
<label for="span_small" class="control-label">col-md-3</label>
|
792
|
+
<select id="span_small" class="form-control select2">
|
793
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
794
|
+
<option value="AK">Alaska</option>
|
795
|
+
<option value="HI">Hawaii</option>
|
796
|
+
</optgroup>
|
797
|
+
<optgroup label="Pacific Time Zone">
|
798
|
+
<option value="CA">California</option>
|
799
|
+
<option value="NV">Nevada</option>
|
800
|
+
<option value="OR">Oregon</option>
|
801
|
+
<option value="WA">Washington</option>
|
802
|
+
</optgroup>
|
803
|
+
<optgroup label="Mountain Time Zone">
|
804
|
+
<option value="AZ">Arizona</option>
|
805
|
+
<option value="CO">Colorado</option>
|
806
|
+
<option value="ID">Idaho</option>
|
807
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
808
|
+
<option value="NM">New Mexico</option>
|
809
|
+
<option value="ND">North Dakota</option>
|
810
|
+
<option value="UT">Utah</option>
|
811
|
+
<option value="WY">Wyoming</option>
|
812
|
+
</optgroup>
|
813
|
+
<optgroup label="Central Time Zone">
|
814
|
+
<option value="AL">Alabama</option>
|
815
|
+
<option value="AR">Arkansas</option>
|
816
|
+
<option value="IL">Illinois</option>
|
817
|
+
<option value="IA">Iowa</option>
|
818
|
+
<option value="KS">Kansas</option>
|
819
|
+
<option value="KY">Kentucky</option>
|
820
|
+
<option value="LA">Louisiana</option>
|
821
|
+
<option value="MN">Minnesota</option>
|
822
|
+
<option value="MS">Mississippi</option>
|
823
|
+
<option value="MO">Missouri</option>
|
824
|
+
<option value="OK">Oklahoma</option>
|
825
|
+
<option value="SD">South Dakota</option>
|
826
|
+
<option value="TX">Texas</option>
|
827
|
+
<option value="TN">Tennessee</option>
|
828
|
+
<option value="WI">Wisconsin</option>
|
829
|
+
</optgroup>
|
830
|
+
<optgroup label="Eastern Time Zone">
|
831
|
+
<option value="CT">Connecticut</option>
|
832
|
+
<option value="DE">Delaware</option>
|
833
|
+
<option value="FL">Florida</option>
|
834
|
+
<option value="GA">Georgia</option>
|
835
|
+
<option value="IN">Indiana</option>
|
836
|
+
<option value="ME">Maine</option>
|
837
|
+
<option value="MD">Maryland</option>
|
838
|
+
<option value="MA">Massachusetts</option>
|
839
|
+
<option value="MI">Michigan</option>
|
840
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
841
|
+
<option value="NY">New York</option>
|
842
|
+
<option value="NC">North Carolina</option>
|
843
|
+
<option value="OH">Ohio</option>
|
844
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
845
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
846
|
+
<option value="WV">West Virginia</option>
|
847
|
+
</optgroup>
|
848
|
+
|
849
|
+
</select>
|
850
|
+
</div>
|
851
|
+
<div class="col-md-2">
|
852
|
+
<label for="span-medium">Bootstrap input</label>
|
853
|
+
<input id="span-medium" class="form-control" placeholder=".col-md-2">
|
854
|
+
</div>
|
855
|
+
<div class="col-md-3">
|
856
|
+
<div class="form-group">
|
857
|
+
<label for="span_large" class="control-label">col-md-3</label>
|
858
|
+
<div class="input-group select2-bootstrap-prepend">
|
859
|
+
<span class="input-group-addon">
|
860
|
+
<input type="checkbox" checked>
|
861
|
+
</span>
|
862
|
+
<select id="span_large" class="form-control select2">
|
863
|
+
<option></option>
|
864
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
865
|
+
<option value="AK">Alaska</option>
|
866
|
+
<option value="HI">Hawaii</option>
|
867
|
+
</optgroup>
|
868
|
+
<optgroup label="Pacific Time Zone">
|
869
|
+
<option value="CA">California</option>
|
870
|
+
<option value="NV">Nevada</option>
|
871
|
+
<option value="OR">Oregon</option>
|
872
|
+
<option value="WA">Washington</option>
|
873
|
+
</optgroup>
|
874
|
+
<optgroup label="Mountain Time Zone">
|
875
|
+
<option value="AZ">Arizona</option>
|
876
|
+
<option value="CO">Colorado</option>
|
877
|
+
<option value="ID">Idaho</option>
|
878
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
879
|
+
<option value="NM">New Mexico</option>
|
880
|
+
<option value="ND">North Dakota</option>
|
881
|
+
<option value="UT">Utah</option>
|
882
|
+
<option value="WY">Wyoming</option>
|
883
|
+
</optgroup>
|
884
|
+
<optgroup label="Central Time Zone">
|
885
|
+
<option value="AL">Alabama</option>
|
886
|
+
<option value="AR">Arkansas</option>
|
887
|
+
<option value="IL">Illinois</option>
|
888
|
+
<option value="IA">Iowa</option>
|
889
|
+
<option value="KS">Kansas</option>
|
890
|
+
<option value="KY">Kentucky</option>
|
891
|
+
<option value="LA">Louisiana</option>
|
892
|
+
<option value="MN">Minnesota</option>
|
893
|
+
<option value="MS">Mississippi</option>
|
894
|
+
<option value="MO">Missouri</option>
|
895
|
+
<option value="OK">Oklahoma</option>
|
896
|
+
<option value="SD">South Dakota</option>
|
897
|
+
<option value="TX">Texas</option>
|
898
|
+
<option value="TN">Tennessee</option>
|
899
|
+
<option value="WI">Wisconsin</option>
|
900
|
+
</optgroup>
|
901
|
+
<optgroup label="Eastern Time Zone">
|
902
|
+
<option value="CT">Connecticut</option>
|
903
|
+
<option value="DE">Delaware</option>
|
904
|
+
<option value="FL">Florida</option>
|
905
|
+
<option value="GA">Georgia</option>
|
906
|
+
<option value="IN">Indiana</option>
|
907
|
+
<option value="ME">Maine</option>
|
908
|
+
<option value="MD">Maryland</option>
|
909
|
+
<option value="MA">Massachusetts</option>
|
910
|
+
<option value="MI">Michigan</option>
|
911
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
912
|
+
<option value="NY">New York</option>
|
913
|
+
<option value="NC">North Carolina</option>
|
914
|
+
<option value="OH">Ohio</option>
|
915
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
916
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
917
|
+
<option value="WV">West Virginia</option>
|
918
|
+
</optgroup>
|
919
|
+
|
920
|
+
</select>
|
921
|
+
</div>
|
922
|
+
</div>
|
923
|
+
</div>
|
924
|
+
</div>
|
925
|
+
|
926
|
+
<hr>
|
927
|
+
|
928
|
+
<div class="row">
|
929
|
+
<div class="col-md-4">
|
930
|
+
<label for="select2-multiple-input-lg" class="control-label">col-md-4</label>
|
931
|
+
<select id="select2-multiple-input-lg" class="form-control input-lg select2-multiple" multiple>
|
932
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
933
|
+
<option value="AK">Alaska</option>
|
934
|
+
<option value="HI">Hawaii</option>
|
935
|
+
</optgroup>
|
936
|
+
<optgroup label="Pacific Time Zone">
|
937
|
+
<option value="CA">California</option>
|
938
|
+
<option value="NV">Nevada</option>
|
939
|
+
<option value="OR">Oregon</option>
|
940
|
+
<option value="WA">Washington</option>
|
941
|
+
</optgroup>
|
942
|
+
<optgroup label="Mountain Time Zone">
|
943
|
+
<option value="AZ">Arizona</option>
|
944
|
+
<option value="CO">Colorado</option>
|
945
|
+
<option value="ID">Idaho</option>
|
946
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
947
|
+
<option value="NM">New Mexico</option>
|
948
|
+
<option value="ND">North Dakota</option>
|
949
|
+
<option value="UT">Utah</option>
|
950
|
+
<option value="WY">Wyoming</option>
|
951
|
+
</optgroup>
|
952
|
+
<optgroup label="Central Time Zone">
|
953
|
+
<option value="AL">Alabama</option>
|
954
|
+
<option value="AR">Arkansas</option>
|
955
|
+
<option value="IL">Illinois</option>
|
956
|
+
<option value="IA">Iowa</option>
|
957
|
+
<option value="KS">Kansas</option>
|
958
|
+
<option value="KY">Kentucky</option>
|
959
|
+
<option value="LA">Louisiana</option>
|
960
|
+
<option value="MN">Minnesota</option>
|
961
|
+
<option value="MS">Mississippi</option>
|
962
|
+
<option value="MO">Missouri</option>
|
963
|
+
<option value="OK">Oklahoma</option>
|
964
|
+
<option value="SD">South Dakota</option>
|
965
|
+
<option value="TX">Texas</option>
|
966
|
+
<option value="TN">Tennessee</option>
|
967
|
+
<option value="WI">Wisconsin</option>
|
968
|
+
</optgroup>
|
969
|
+
<optgroup label="Eastern Time Zone">
|
970
|
+
<option value="CT">Connecticut</option>
|
971
|
+
<option value="DE">Delaware</option>
|
972
|
+
<option value="FL">Florida</option>
|
973
|
+
<option value="GA">Georgia</option>
|
974
|
+
<option value="IN">Indiana</option>
|
975
|
+
<option value="ME">Maine</option>
|
976
|
+
<option value="MD">Maryland</option>
|
977
|
+
<option value="MA">Massachusetts</option>
|
978
|
+
<option value="MI">Michigan</option>
|
979
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
980
|
+
<option value="NY">New York</option>
|
981
|
+
<option value="NC">North Carolina</option>
|
982
|
+
<option value="OH">Ohio</option>
|
983
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
984
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
985
|
+
<option value="WV">West Virginia</option>
|
986
|
+
</optgroup>
|
987
|
+
|
988
|
+
</select>
|
989
|
+
</div>
|
990
|
+
<div class="col-md-3">
|
991
|
+
<label for="span-small" class="control-label">col-md-3</label>
|
992
|
+
<select id="span-small" class="form-control input-lg select2-multiple">
|
993
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
994
|
+
<option value="AK">Alaska</option>
|
995
|
+
<option value="HI">Hawaii</option>
|
996
|
+
</optgroup>
|
997
|
+
<optgroup label="Pacific Time Zone">
|
998
|
+
<option value="CA">California</option>
|
999
|
+
<option value="NV">Nevada</option>
|
1000
|
+
<option value="OR">Oregon</option>
|
1001
|
+
<option value="WA">Washington</option>
|
1002
|
+
</optgroup>
|
1003
|
+
<optgroup label="Mountain Time Zone">
|
1004
|
+
<option value="AZ">Arizona</option>
|
1005
|
+
<option value="CO">Colorado</option>
|
1006
|
+
<option value="ID">Idaho</option>
|
1007
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
1008
|
+
<option value="NM">New Mexico</option>
|
1009
|
+
<option value="ND">North Dakota</option>
|
1010
|
+
<option value="UT">Utah</option>
|
1011
|
+
<option value="WY">Wyoming</option>
|
1012
|
+
</optgroup>
|
1013
|
+
<optgroup label="Central Time Zone">
|
1014
|
+
<option value="AL">Alabama</option>
|
1015
|
+
<option value="AR">Arkansas</option>
|
1016
|
+
<option value="IL">Illinois</option>
|
1017
|
+
<option value="IA">Iowa</option>
|
1018
|
+
<option value="KS">Kansas</option>
|
1019
|
+
<option value="KY">Kentucky</option>
|
1020
|
+
<option value="LA">Louisiana</option>
|
1021
|
+
<option value="MN">Minnesota</option>
|
1022
|
+
<option value="MS">Mississippi</option>
|
1023
|
+
<option value="MO">Missouri</option>
|
1024
|
+
<option value="OK">Oklahoma</option>
|
1025
|
+
<option value="SD">South Dakota</option>
|
1026
|
+
<option value="TX">Texas</option>
|
1027
|
+
<option value="TN">Tennessee</option>
|
1028
|
+
<option value="WI">Wisconsin</option>
|
1029
|
+
</optgroup>
|
1030
|
+
<optgroup label="Eastern Time Zone">
|
1031
|
+
<option value="CT">Connecticut</option>
|
1032
|
+
<option value="DE">Delaware</option>
|
1033
|
+
<option value="FL">Florida</option>
|
1034
|
+
<option value="GA">Georgia</option>
|
1035
|
+
<option value="IN">Indiana</option>
|
1036
|
+
<option value="ME">Maine</option>
|
1037
|
+
<option value="MD">Maryland</option>
|
1038
|
+
<option value="MA">Massachusetts</option>
|
1039
|
+
<option value="MI">Michigan</option>
|
1040
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
1041
|
+
<option value="NY">New York</option>
|
1042
|
+
<option value="NC">North Carolina</option>
|
1043
|
+
<option value="OH">Ohio</option>
|
1044
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
1045
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
1046
|
+
<option value="WV">West Virginia</option>
|
1047
|
+
</optgroup>
|
1048
|
+
|
1049
|
+
</select>
|
1050
|
+
</div>
|
1051
|
+
<div class="col-md-2">
|
1052
|
+
<label for="bootstrap-input-lg" class="control-label">Bootstrap input</label>
|
1053
|
+
<input id="bootstrap-input-lg" class="form-control input-lg" placeholder=".input-lg">
|
1054
|
+
</div>
|
1055
|
+
<div class="col-md-3">
|
1056
|
+
<div class="form-group has-error">
|
1057
|
+
<label for="select2-multiple-input-group-lg" class="control-label">col-md-3</label>
|
1058
|
+
<div class="input-group input-group-lg select2-bootstrap-prepend">
|
1059
|
+
<span class="input-group-addon">
|
1060
|
+
<input type="radio">
|
1061
|
+
</span>
|
1062
|
+
<select id="select2-multiple-input-group-lg" class="form-control select2">
|
1063
|
+
<option></option>
|
1064
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
1065
|
+
<option value="AK">Alaska</option>
|
1066
|
+
<option value="HI">Hawaii</option>
|
1067
|
+
</optgroup>
|
1068
|
+
<optgroup label="Pacific Time Zone">
|
1069
|
+
<option value="CA">California</option>
|
1070
|
+
<option value="NV">Nevada</option>
|
1071
|
+
<option value="OR">Oregon</option>
|
1072
|
+
<option value="WA">Washington</option>
|
1073
|
+
</optgroup>
|
1074
|
+
<optgroup label="Mountain Time Zone">
|
1075
|
+
<option value="AZ">Arizona</option>
|
1076
|
+
<option value="CO">Colorado</option>
|
1077
|
+
<option value="ID">Idaho</option>
|
1078
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
1079
|
+
<option value="NM">New Mexico</option>
|
1080
|
+
<option value="ND">North Dakota</option>
|
1081
|
+
<option value="UT">Utah</option>
|
1082
|
+
<option value="WY">Wyoming</option>
|
1083
|
+
</optgroup>
|
1084
|
+
<optgroup label="Central Time Zone">
|
1085
|
+
<option value="AL">Alabama</option>
|
1086
|
+
<option value="AR">Arkansas</option>
|
1087
|
+
<option value="IL">Illinois</option>
|
1088
|
+
<option value="IA">Iowa</option>
|
1089
|
+
<option value="KS">Kansas</option>
|
1090
|
+
<option value="KY">Kentucky</option>
|
1091
|
+
<option value="LA">Louisiana</option>
|
1092
|
+
<option value="MN">Minnesota</option>
|
1093
|
+
<option value="MS">Mississippi</option>
|
1094
|
+
<option value="MO">Missouri</option>
|
1095
|
+
<option value="OK">Oklahoma</option>
|
1096
|
+
<option value="SD">South Dakota</option>
|
1097
|
+
<option value="TX">Texas</option>
|
1098
|
+
<option value="TN">Tennessee</option>
|
1099
|
+
<option value="WI">Wisconsin</option>
|
1100
|
+
</optgroup>
|
1101
|
+
<optgroup label="Eastern Time Zone">
|
1102
|
+
<option value="CT">Connecticut</option>
|
1103
|
+
<option value="DE">Delaware</option>
|
1104
|
+
<option value="FL">Florida</option>
|
1105
|
+
<option value="GA">Georgia</option>
|
1106
|
+
<option value="IN">Indiana</option>
|
1107
|
+
<option value="ME">Maine</option>
|
1108
|
+
<option value="MD">Maryland</option>
|
1109
|
+
<option value="MA">Massachusetts</option>
|
1110
|
+
<option value="MI">Michigan</option>
|
1111
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
1112
|
+
<option value="NY">New York</option>
|
1113
|
+
<option value="NC">North Carolina</option>
|
1114
|
+
<option value="OH">Ohio</option>
|
1115
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
1116
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
1117
|
+
<option value="WV">West Virginia</option>
|
1118
|
+
</optgroup>
|
1119
|
+
|
1120
|
+
</select>
|
1121
|
+
</div>
|
1122
|
+
</div>
|
1123
|
+
</div>
|
1124
|
+
</div>
|
1125
|
+
|
1126
|
+
<div class="page-header">
|
1127
|
+
<h3>
|
1128
|
+
Button Addons <small><a href="http://getbootstrap.com/components/#input-groups-buttons"><span class="glyphicon glyphicon-link"></span></a></small>
|
1129
|
+
</h3>
|
1130
|
+
</div>
|
1131
|
+
|
1132
|
+
<div class="row">
|
1133
|
+
<div class="col-md-7">
|
1134
|
+
<label for="select2-button-addons-single-input-group-sm" class="control-label">Select2 custom data load</label>
|
1135
|
+
<div class="input-group input-group-sm select2-bootstrap-prepend">
|
1136
|
+
<div class="input-group-btn">
|
1137
|
+
<button class="btn btn-default" type="button" data-select2-open="select2-button-addons-single-input-group-sm">
|
1138
|
+
State
|
1139
|
+
</button>
|
1140
|
+
</div>
|
1141
|
+
<input id="select2-button-addons-single-input-group-sm" type="hidden" class="form-control select2-remote">
|
1142
|
+
</div>
|
1143
|
+
</div>
|
1144
|
+
<div class="col-md-5">
|
1145
|
+
<label for="select2-button-addons-multiple-input-group-sm" class="control-label">col-md-5</label>
|
1146
|
+
<div class="input-group input-group-sm select2-bootstrap-prepend">
|
1147
|
+
<span class="input-group-btn">
|
1148
|
+
<button class="btn btn-default" type="button" data-select2-open="select2-button-addons-multiple-input-group-sm">
|
1149
|
+
<span class="glyphicon glyphicon-search"></span>
|
1150
|
+
</button>
|
1151
|
+
</span>
|
1152
|
+
<select id="select2-button-addons-multiple-input-group-sm" class="form-control select2-multiple" multiple>
|
1153
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
1154
|
+
<option value="AK">Alaska</option>
|
1155
|
+
<option value="HI">Hawaii</option>
|
1156
|
+
</optgroup>
|
1157
|
+
<optgroup label="Pacific Time Zone">
|
1158
|
+
<option value="CA">California</option>
|
1159
|
+
<option value="NV">Nevada</option>
|
1160
|
+
<option value="OR">Oregon</option>
|
1161
|
+
<option value="WA">Washington</option>
|
1162
|
+
</optgroup>
|
1163
|
+
<optgroup label="Mountain Time Zone">
|
1164
|
+
<option value="AZ">Arizona</option>
|
1165
|
+
<option value="CO">Colorado</option>
|
1166
|
+
<option value="ID">Idaho</option>
|
1167
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
1168
|
+
<option value="NM">New Mexico</option>
|
1169
|
+
<option value="ND">North Dakota</option>
|
1170
|
+
<option value="UT">Utah</option>
|
1171
|
+
<option value="WY">Wyoming</option>
|
1172
|
+
</optgroup>
|
1173
|
+
<optgroup label="Central Time Zone">
|
1174
|
+
<option value="AL">Alabama</option>
|
1175
|
+
<option value="AR">Arkansas</option>
|
1176
|
+
<option value="IL">Illinois</option>
|
1177
|
+
<option value="IA">Iowa</option>
|
1178
|
+
<option value="KS">Kansas</option>
|
1179
|
+
<option value="KY">Kentucky</option>
|
1180
|
+
<option value="LA">Louisiana</option>
|
1181
|
+
<option value="MN">Minnesota</option>
|
1182
|
+
<option value="MS">Mississippi</option>
|
1183
|
+
<option value="MO">Missouri</option>
|
1184
|
+
<option value="OK">Oklahoma</option>
|
1185
|
+
<option value="SD">South Dakota</option>
|
1186
|
+
<option value="TX">Texas</option>
|
1187
|
+
<option value="TN">Tennessee</option>
|
1188
|
+
<option value="WI">Wisconsin</option>
|
1189
|
+
</optgroup>
|
1190
|
+
<optgroup label="Eastern Time Zone">
|
1191
|
+
<option value="CT">Connecticut</option>
|
1192
|
+
<option value="DE">Delaware</option>
|
1193
|
+
<option value="FL">Florida</option>
|
1194
|
+
<option value="GA">Georgia</option>
|
1195
|
+
<option value="IN">Indiana</option>
|
1196
|
+
<option value="ME">Maine</option>
|
1197
|
+
<option value="MD">Maryland</option>
|
1198
|
+
<option value="MA">Massachusetts</option>
|
1199
|
+
<option value="MI">Michigan</option>
|
1200
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
1201
|
+
<option value="NY">New York</option>
|
1202
|
+
<option value="NC">North Carolina</option>
|
1203
|
+
<option value="OH">Ohio</option>
|
1204
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
1205
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
1206
|
+
<option value="WV">West Virginia</option>
|
1207
|
+
</optgroup>
|
1208
|
+
|
1209
|
+
</select>
|
1210
|
+
</div>
|
1211
|
+
</div>
|
1212
|
+
</div>
|
1213
|
+
|
1214
|
+
<hr>
|
1215
|
+
|
1216
|
+
<div class="row">
|
1217
|
+
<div class="col-md-7">
|
1218
|
+
<label for="select2-button-addons-single-input-group" class="control-label">Select2 custom data load</label>
|
1219
|
+
<div class="input-group select2-bootstrap-prepend">
|
1220
|
+
<div class="input-group-btn">
|
1221
|
+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
1222
|
+
Action <span class="caret"></span>
|
1223
|
+
</button>
|
1224
|
+
<ul class="dropdown-menu">
|
1225
|
+
<li><a href="#">Action</a></li>
|
1226
|
+
<li><a href="#">Another action</a></li>
|
1227
|
+
<li><a href="#">Something else here</a></li>
|
1228
|
+
<li class="divider"></li>
|
1229
|
+
<li><a href="#">Separated link</a></li>
|
1230
|
+
</ul>
|
1231
|
+
</div>
|
1232
|
+
<input id="select2-button-addons-single-input-group" type="hidden" class="form-control select2-remote">
|
1233
|
+
</div>
|
1234
|
+
</div>
|
1235
|
+
<div class="col-md-5">
|
1236
|
+
<label for="select2-input-group-append" class="control-label">col-md-5</label>
|
1237
|
+
<div class="input-group has-warning select2-bootstrap-prepend">
|
1238
|
+
<span class="input-group-btn">
|
1239
|
+
<button class="btn btn-default" type="button" data-select2-open="select2-input-group-append">
|
1240
|
+
<span class="glyphicon glyphicon-search"></span>
|
1241
|
+
</button>
|
1242
|
+
</span>
|
1243
|
+
<select id="select2-input-group-append" class="form-control select2-multiple" multiple>
|
1244
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
1245
|
+
<option value="AK">Alaska</option>
|
1246
|
+
<option value="HI">Hawaii</option>
|
1247
|
+
</optgroup>
|
1248
|
+
<optgroup label="Pacific Time Zone">
|
1249
|
+
<option value="CA">California</option>
|
1250
|
+
<option value="NV">Nevada</option>
|
1251
|
+
<option value="OR">Oregon</option>
|
1252
|
+
<option value="WA">Washington</option>
|
1253
|
+
</optgroup>
|
1254
|
+
<optgroup label="Mountain Time Zone">
|
1255
|
+
<option value="AZ">Arizona</option>
|
1256
|
+
<option value="CO">Colorado</option>
|
1257
|
+
<option value="ID">Idaho</option>
|
1258
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
1259
|
+
<option value="NM">New Mexico</option>
|
1260
|
+
<option value="ND">North Dakota</option>
|
1261
|
+
<option value="UT">Utah</option>
|
1262
|
+
<option value="WY">Wyoming</option>
|
1263
|
+
</optgroup>
|
1264
|
+
<optgroup label="Central Time Zone">
|
1265
|
+
<option value="AL">Alabama</option>
|
1266
|
+
<option value="AR">Arkansas</option>
|
1267
|
+
<option value="IL">Illinois</option>
|
1268
|
+
<option value="IA">Iowa</option>
|
1269
|
+
<option value="KS">Kansas</option>
|
1270
|
+
<option value="KY">Kentucky</option>
|
1271
|
+
<option value="LA">Louisiana</option>
|
1272
|
+
<option value="MN">Minnesota</option>
|
1273
|
+
<option value="MS">Mississippi</option>
|
1274
|
+
<option value="MO">Missouri</option>
|
1275
|
+
<option value="OK">Oklahoma</option>
|
1276
|
+
<option value="SD">South Dakota</option>
|
1277
|
+
<option value="TX">Texas</option>
|
1278
|
+
<option value="TN">Tennessee</option>
|
1279
|
+
<option value="WI">Wisconsin</option>
|
1280
|
+
</optgroup>
|
1281
|
+
<optgroup label="Eastern Time Zone">
|
1282
|
+
<option value="CT">Connecticut</option>
|
1283
|
+
<option value="DE">Delaware</option>
|
1284
|
+
<option value="FL">Florida</option>
|
1285
|
+
<option value="GA">Georgia</option>
|
1286
|
+
<option value="IN">Indiana</option>
|
1287
|
+
<option value="ME">Maine</option>
|
1288
|
+
<option value="MD">Maryland</option>
|
1289
|
+
<option value="MA">Massachusetts</option>
|
1290
|
+
<option value="MI">Michigan</option>
|
1291
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
1292
|
+
<option value="NY">New York</option>
|
1293
|
+
<option value="NC">North Carolina</option>
|
1294
|
+
<option value="OH">Ohio</option>
|
1295
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
1296
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
1297
|
+
<option value="WV">West Virginia</option>
|
1298
|
+
</optgroup>
|
1299
|
+
|
1300
|
+
</select>
|
1301
|
+
</div>
|
1302
|
+
</div>
|
1303
|
+
</div>
|
1304
|
+
|
1305
|
+
<hr>
|
1306
|
+
|
1307
|
+
<div class="row">
|
1308
|
+
<div class="col-md-7">
|
1309
|
+
<label for="select2-button-addons-single-input-group-lg" class="control-label">Select2 custom data load</label>
|
1310
|
+
<div class="input-group input-group-lg select2-bootstrap-append">
|
1311
|
+
<input id="select2-button-addons-single-input-group-lg" type="hidden" class="form-control select2-remote" value="1296269">
|
1312
|
+
<span class="input-group-btn">
|
1313
|
+
<button class="btn btn-default" type="button" data-select2-open="select2-button-addons-single-input-group-lg">
|
1314
|
+
<span class="glyphicon glyphicon-search"></span>
|
1315
|
+
</button>
|
1316
|
+
</span>
|
1317
|
+
</div>
|
1318
|
+
</div>
|
1319
|
+
<div class="col-md-5">
|
1320
|
+
<label for="select2-button-addons-multi-input-group-lg" class="control-label">col-md-5</label>
|
1321
|
+
<div class="input-group input-group-lg select2-bootstrap-prepend">
|
1322
|
+
<span class="input-group-btn">
|
1323
|
+
<button class="btn btn-default" type="button" data-select2-open="select2-button-addons-multi-input-group-lg">
|
1324
|
+
<span class="glyphicon glyphicon-search"></span>
|
1325
|
+
</button>
|
1326
|
+
</span>
|
1327
|
+
<select id="select2-button-addons-multi-input-group-lg" class="form-control select2-multiple" multiple>
|
1328
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
1329
|
+
<option value="AK">Alaska</option>
|
1330
|
+
<option value="HI">Hawaii</option>
|
1331
|
+
</optgroup>
|
1332
|
+
<optgroup label="Pacific Time Zone">
|
1333
|
+
<option value="CA">California</option>
|
1334
|
+
<option value="NV">Nevada</option>
|
1335
|
+
<option value="OR">Oregon</option>
|
1336
|
+
<option value="WA">Washington</option>
|
1337
|
+
</optgroup>
|
1338
|
+
<optgroup label="Mountain Time Zone">
|
1339
|
+
<option value="AZ">Arizona</option>
|
1340
|
+
<option value="CO">Colorado</option>
|
1341
|
+
<option value="ID">Idaho</option>
|
1342
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
1343
|
+
<option value="NM">New Mexico</option>
|
1344
|
+
<option value="ND">North Dakota</option>
|
1345
|
+
<option value="UT">Utah</option>
|
1346
|
+
<option value="WY">Wyoming</option>
|
1347
|
+
</optgroup>
|
1348
|
+
<optgroup label="Central Time Zone">
|
1349
|
+
<option value="AL">Alabama</option>
|
1350
|
+
<option value="AR">Arkansas</option>
|
1351
|
+
<option value="IL">Illinois</option>
|
1352
|
+
<option value="IA">Iowa</option>
|
1353
|
+
<option value="KS">Kansas</option>
|
1354
|
+
<option value="KY">Kentucky</option>
|
1355
|
+
<option value="LA">Louisiana</option>
|
1356
|
+
<option value="MN">Minnesota</option>
|
1357
|
+
<option value="MS">Mississippi</option>
|
1358
|
+
<option value="MO">Missouri</option>
|
1359
|
+
<option value="OK">Oklahoma</option>
|
1360
|
+
<option value="SD">South Dakota</option>
|
1361
|
+
<option value="TX">Texas</option>
|
1362
|
+
<option value="TN">Tennessee</option>
|
1363
|
+
<option value="WI">Wisconsin</option>
|
1364
|
+
</optgroup>
|
1365
|
+
<optgroup label="Eastern Time Zone">
|
1366
|
+
<option value="CT">Connecticut</option>
|
1367
|
+
<option value="DE">Delaware</option>
|
1368
|
+
<option value="FL">Florida</option>
|
1369
|
+
<option value="GA">Georgia</option>
|
1370
|
+
<option value="IN">Indiana</option>
|
1371
|
+
<option value="ME">Maine</option>
|
1372
|
+
<option value="MD">Maryland</option>
|
1373
|
+
<option value="MA">Massachusetts</option>
|
1374
|
+
<option value="MI">Michigan</option>
|
1375
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
1376
|
+
<option value="NY">New York</option>
|
1377
|
+
<option value="NC">North Carolina</option>
|
1378
|
+
<option value="OH">Ohio</option>
|
1379
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
1380
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
1381
|
+
<option value="WV">West Virginia</option>
|
1382
|
+
</optgroup>
|
1383
|
+
|
1384
|
+
</select>
|
1385
|
+
</div>
|
1386
|
+
</div>
|
1387
|
+
</div>
|
1388
|
+
|
1389
|
+
<div class="page-header">
|
1390
|
+
<h3>Disabled inputs <small><a href="http://getbootstrap.com/css/#forms-control-states"><span class="glyphicon glyphicon-link"></span></a></small></h3>
|
1391
|
+
</div>
|
1392
|
+
|
1393
|
+
<div class="row">
|
1394
|
+
<div class="col-md-6">
|
1395
|
+
<div class="form-group">
|
1396
|
+
<label for="select2-disabled-inputs-single" class="control-label">col-md-3</label>
|
1397
|
+
<div class="input-group select2-bootstrap-prepend">
|
1398
|
+
<span class="input-group-addon">
|
1399
|
+
<input type="checkbox">
|
1400
|
+
</span>
|
1401
|
+
<select id="select2-disabled-inputs-single" class="form-control select2" disabled>
|
1402
|
+
<option></option>
|
1403
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
1404
|
+
<option value="AK">Alaska</option>
|
1405
|
+
<option value="HI">Hawaii</option>
|
1406
|
+
</optgroup>
|
1407
|
+
<optgroup label="Pacific Time Zone">
|
1408
|
+
<option value="CA">California</option>
|
1409
|
+
<option value="NV">Nevada</option>
|
1410
|
+
<option value="OR">Oregon</option>
|
1411
|
+
<option value="WA">Washington</option>
|
1412
|
+
</optgroup>
|
1413
|
+
<optgroup label="Mountain Time Zone">
|
1414
|
+
<option value="AZ">Arizona</option>
|
1415
|
+
<option value="CO">Colorado</option>
|
1416
|
+
<option value="ID">Idaho</option>
|
1417
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
1418
|
+
<option value="NM">New Mexico</option>
|
1419
|
+
<option value="ND">North Dakota</option>
|
1420
|
+
<option value="UT">Utah</option>
|
1421
|
+
<option value="WY">Wyoming</option>
|
1422
|
+
</optgroup>
|
1423
|
+
<optgroup label="Central Time Zone">
|
1424
|
+
<option value="AL">Alabama</option>
|
1425
|
+
<option value="AR">Arkansas</option>
|
1426
|
+
<option value="IL">Illinois</option>
|
1427
|
+
<option value="IA">Iowa</option>
|
1428
|
+
<option value="KS">Kansas</option>
|
1429
|
+
<option value="KY">Kentucky</option>
|
1430
|
+
<option value="LA">Louisiana</option>
|
1431
|
+
<option value="MN">Minnesota</option>
|
1432
|
+
<option value="MS">Mississippi</option>
|
1433
|
+
<option value="MO">Missouri</option>
|
1434
|
+
<option value="OK">Oklahoma</option>
|
1435
|
+
<option value="SD">South Dakota</option>
|
1436
|
+
<option value="TX">Texas</option>
|
1437
|
+
<option value="TN">Tennessee</option>
|
1438
|
+
<option value="WI">Wisconsin</option>
|
1439
|
+
</optgroup>
|
1440
|
+
<optgroup label="Eastern Time Zone">
|
1441
|
+
<option value="CT">Connecticut</option>
|
1442
|
+
<option value="DE">Delaware</option>
|
1443
|
+
<option value="FL">Florida</option>
|
1444
|
+
<option value="GA">Georgia</option>
|
1445
|
+
<option value="IN">Indiana</option>
|
1446
|
+
<option value="ME">Maine</option>
|
1447
|
+
<option value="MD">Maryland</option>
|
1448
|
+
<option value="MA">Massachusetts</option>
|
1449
|
+
<option value="MI">Michigan</option>
|
1450
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
1451
|
+
<option value="NY">New York</option>
|
1452
|
+
<option value="NC">North Carolina</option>
|
1453
|
+
<option value="OH">Ohio</option>
|
1454
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
1455
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
1456
|
+
<option value="WV">West Virginia</option>
|
1457
|
+
</optgroup>
|
1458
|
+
|
1459
|
+
</select>
|
1460
|
+
</div>
|
1461
|
+
</div>
|
1462
|
+
</div>
|
1463
|
+
<div class="col-md-6">
|
1464
|
+
<div class="form-group">
|
1465
|
+
<label for="select2-disabled-inputs-multiple" class="control-label">col-md-3</label>
|
1466
|
+
<div class="input-group select2-bootstrap-prepend">
|
1467
|
+
<span class="input-group-addon">
|
1468
|
+
<input type="checkbox" checked>
|
1469
|
+
</span>
|
1470
|
+
<select id="select2-disabled-inputs-multiple" class="form-control select2-multiple" multiple>
|
1471
|
+
<option></option>
|
1472
|
+
<optgroup label="Alaskan/Hawaiian Time Zone">
|
1473
|
+
<option value="AK">Alaska</option>
|
1474
|
+
<option value="HI">Hawaii</option>
|
1475
|
+
</optgroup>
|
1476
|
+
<optgroup label="Pacific Time Zone">
|
1477
|
+
<option value="CA">California</option>
|
1478
|
+
<option value="NV">Nevada</option>
|
1479
|
+
<option value="OR">Oregon</option>
|
1480
|
+
<option value="WA">Washington</option>
|
1481
|
+
</optgroup>
|
1482
|
+
<optgroup label="Mountain Time Zone">
|
1483
|
+
<option value="AZ">Arizona</option>
|
1484
|
+
<option value="CO">Colorado</option>
|
1485
|
+
<option value="ID">Idaho</option>
|
1486
|
+
<option value="MT">Montana</option><option value="NE">Nebraska</option>
|
1487
|
+
<option value="NM">New Mexico</option>
|
1488
|
+
<option value="ND">North Dakota</option>
|
1489
|
+
<option value="UT">Utah</option>
|
1490
|
+
<option value="WY">Wyoming</option>
|
1491
|
+
</optgroup>
|
1492
|
+
<optgroup label="Central Time Zone">
|
1493
|
+
<option value="AL">Alabama</option>
|
1494
|
+
<option value="AR">Arkansas</option>
|
1495
|
+
<option value="IL">Illinois</option>
|
1496
|
+
<option value="IA">Iowa</option>
|
1497
|
+
<option value="KS">Kansas</option>
|
1498
|
+
<option value="KY">Kentucky</option>
|
1499
|
+
<option value="LA">Louisiana</option>
|
1500
|
+
<option value="MN">Minnesota</option>
|
1501
|
+
<option value="MS">Mississippi</option>
|
1502
|
+
<option value="MO">Missouri</option>
|
1503
|
+
<option value="OK">Oklahoma</option>
|
1504
|
+
<option value="SD">South Dakota</option>
|
1505
|
+
<option value="TX">Texas</option>
|
1506
|
+
<option value="TN">Tennessee</option>
|
1507
|
+
<option value="WI">Wisconsin</option>
|
1508
|
+
</optgroup>
|
1509
|
+
<optgroup label="Eastern Time Zone">
|
1510
|
+
<option value="CT">Connecticut</option>
|
1511
|
+
<option value="DE">Delaware</option>
|
1512
|
+
<option value="FL">Florida</option>
|
1513
|
+
<option value="GA">Georgia</option>
|
1514
|
+
<option value="IN">Indiana</option>
|
1515
|
+
<option value="ME">Maine</option>
|
1516
|
+
<option value="MD">Maryland</option>
|
1517
|
+
<option value="MA">Massachusetts</option>
|
1518
|
+
<option value="MI">Michigan</option>
|
1519
|
+
<option value="NH">New Hampshire</option><option value="NJ">New Jersey</option>
|
1520
|
+
<option value="NY">New York</option>
|
1521
|
+
<option value="NC">North Carolina</option>
|
1522
|
+
<option value="OH">Ohio</option>
|
1523
|
+
<option value="PA">Pennsylvania</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option>
|
1524
|
+
<option value="VT">Vermont</option><option value="VA">Virginia</option>
|
1525
|
+
<option value="WV">West Virginia</option>
|
1526
|
+
</optgroup>
|
1527
|
+
|
1528
|
+
</select>
|
1529
|
+
</div>
|
1530
|
+
</div>
|
1531
|
+
</div>
|
1532
|
+
</div>
|
1533
|
+
|
1534
|
+
</div>
|
1535
|
+
|
1536
|
+
<div class="footer">
|
1537
|
+
<div class="container">
|
1538
|
+
<ul class="footer-links">
|
1539
|
+
<li class="version"><span class="hidden-xs">Currently</span> v1.4.6</li>
|
1540
|
+
<li>·</li>
|
1541
|
+
<li><a href="https://github.com/t0m/select2-bootstrap-css/tree/bootstrap3">GitHub</a></li>
|
1542
|
+
<li>·</li>
|
1543
|
+
<li><a href="https://github.com/t0m/select2-bootstrap-css/tree/bootstrap3#readme">Readme</a></li>
|
1544
|
+
<li>·</li>
|
1545
|
+
<li><a href="https://github.com/t0m/select2-bootstrap-css">Bootstrap 2 version</a></li>
|
1546
|
+
</ul>
|
1547
|
+
|
1548
|
+
|
1549
|
+
<small>
|
1550
|
+
<a href="http://getbootstrap.com">Bootstrap</a> is a front-end framework for fast, sleek, and mobile-first web development.<br>
|
1551
|
+
<a href="http://select2.com">Select2</a> is a jQuery based replacement for select boxes.
|
1552
|
+
</small>
|
1553
|
+
</div>
|
1554
|
+
</div>
|
1555
|
+
|
1556
|
+
|
1557
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
1558
|
+
<script src="//select2.github.io/select2/select2-3.5.2/select2.js"></script>
|
1559
|
+
<script src="js/bootstrap.min.js"></script>
|
1560
|
+
<script>
|
1561
|
+
var placeholder = "Select a State";
|
1562
|
+
|
1563
|
+
$( ".select2, .select2-multiple" ).select2( { placeholder: placeholder } );
|
1564
|
+
$( ".select2-allow-clear" ).select2( { allowClear: true, placeholder: placeholder } );
|
1565
|
+
|
1566
|
+
// @see https://github.com/ivaynberg/select2/commit/6661e3
|
1567
|
+
function repoFormatResult( repo ) {
|
1568
|
+
var markup = "<div class='select2-result-repository clearfix'>" +
|
1569
|
+
"<div class='select2-result-repository__avatar'><img src='" + repo.owner.avatar_url + "' /></div>" +
|
1570
|
+
"<div class='select2-result-repository__meta'>" +
|
1571
|
+
"<div class='select2-result-repository__title'>" + repo.full_name + "</div>";
|
1572
|
+
|
1573
|
+
if ( repo.description ) {
|
1574
|
+
markup += "<div class='select2-result-repository__description'>" + repo.description + "</div>";
|
1575
|
+
}
|
1576
|
+
|
1577
|
+
markup += "<div class='select2-result-repository__statistics'>" +
|
1578
|
+
"<div class='select2-result-repository__forks'><span class='glyphicon glyphicon-flash'></span> " + repo.forks_count + " Forks</div>" +
|
1579
|
+
"<div class='select2-result-repository__stargazers'><span class='glyphicon glyphicon-star'></span> " + repo.stargazers_count + " Stars</div>" +
|
1580
|
+
"<div class='select2-result-repository__watchers'><span class='glyphicon glyphicon-eye-open'></span> " + repo.watchers_count + " Watchers</div>" +
|
1581
|
+
"</div>" +
|
1582
|
+
"</div></div>";
|
1583
|
+
|
1584
|
+
return markup;
|
1585
|
+
}
|
1586
|
+
|
1587
|
+
function repoFormatSelection( repo ) {
|
1588
|
+
return repo.full_name;
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
$( ".select2-remote" ).select2({
|
1592
|
+
placeholder: "Search for a GitHub Repository",
|
1593
|
+
minimumInputLength: 1,
|
1594
|
+
// instead of writing the function to execute the request we use Select2's convenient helper
|
1595
|
+
ajax: {
|
1596
|
+
url: "https://api.github.com/search/repositories",
|
1597
|
+
dataType: "json",
|
1598
|
+
quietMillis: 250,
|
1599
|
+
data: function( term, page ) {
|
1600
|
+
return {
|
1601
|
+
// search term
|
1602
|
+
q: term
|
1603
|
+
};
|
1604
|
+
},
|
1605
|
+
results: function( data, page ) {
|
1606
|
+
// parse the results into the format expected by Select2.
|
1607
|
+
// since we are using custom formatting functions we do not need to alter the remote JSON data
|
1608
|
+
return { results: data.items };
|
1609
|
+
},
|
1610
|
+
cache: true
|
1611
|
+
},
|
1612
|
+
initSelection: function( element, callback ) {
|
1613
|
+
// the input tag has a value attribute preloaded that points to a preselected repository's id
|
1614
|
+
// this function resolves that id attribute to an object that select2 can render
|
1615
|
+
// using its formatResult renderer - that way the repository name is shown preselected
|
1616
|
+
var id = $( element ).val();
|
1617
|
+
|
1618
|
+
if ( id !== "" ) {
|
1619
|
+
$.ajax( "https://api.github.com/repositories/" + id, {
|
1620
|
+
dataType: "json"
|
1621
|
+
}).done( function( data ) {
|
1622
|
+
callback( data );
|
1623
|
+
});
|
1624
|
+
}
|
1625
|
+
},
|
1626
|
+
formatResult: repoFormatResult,
|
1627
|
+
formatSelection: repoFormatSelection,
|
1628
|
+
// apply css that makes the dropdown taller
|
1629
|
+
dropdownCssClass: "bigdrop",
|
1630
|
+
// we do not want to escape markup since we are displaying html in results
|
1631
|
+
escapeMarkup: function( m ) {
|
1632
|
+
return m;
|
1633
|
+
}
|
1634
|
+
});
|
1635
|
+
|
1636
|
+
$( "button[data-select2-open]" ).click( function() {
|
1637
|
+
$( "#" + $( this ).data( "select2-open" ) ).select2( "open" );
|
1638
|
+
});
|
1639
|
+
|
1640
|
+
|
1641
|
+
var select2OpenEventName = "select2-open";
|
1642
|
+
|
1643
|
+
$( ":checkbox" ).on( "click", function() {
|
1644
|
+
$( this ).parent().nextAll( "select" ).select2( "enable", this.checked );
|
1645
|
+
});
|
1646
|
+
|
1647
|
+
|
1648
|
+
$( ".select2, .select2-multiple, .select2-allow-clear, .select2-remote" ).on( select2OpenEventName, function() {
|
1649
|
+
if ( $( this ).parents( "[class*='has-']" ).length ) {
|
1650
|
+
var classNames = $( this ).parents( "[class*='has-']" )[ 0 ].className.split( /\s+/ );
|
1651
|
+
|
1652
|
+
for ( var i = 0; i < classNames.length; ++i ) {
|
1653
|
+
if ( classNames[ i ].match( "has-" ) ) {
|
1654
|
+
$( "#select2-drop" ).addClass( classNames[ i ] );
|
1655
|
+
}
|
1656
|
+
}
|
1657
|
+
}
|
1658
|
+
});
|
1659
|
+
|
1660
|
+
</script>
|
1661
|
+
</body>
|
1662
|
+
</html>
|