ad2games-ui_components 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +28 -0
- data/app/assets/javascripts/ui_components.js.erb +26 -0
- data/app/assets/javascripts/ui_components/chosen_init.coffee +9 -0
- data/app/assets/javascripts/ui_components/domchange.coffee +1 -0
- data/app/assets/javascripts/ui_components/hide_empty_dropdowns.coffee +4 -0
- data/app/assets/javascripts/ui_components/modal.coffee +1 -0
- data/app/assets/javascripts/ui_components/navbar.coffee +2 -0
- data/app/assets/javascripts/ui_components/sticky_header.coffee +24 -0
- data/app/assets/javascripts/ui_components/submit_on_change.coffee +3 -0
- data/app/assets/javascripts/ui_components/turbolinks_progressbar.coffee +2 -0
- data/app/assets/stylesheets/a2g_ui_components.scss +8 -0
- data/app/assets/stylesheets/default_theme/button.scss +160 -0
- data/app/assets/stylesheets/default_theme/common.scss +15 -0
- data/app/assets/stylesheets/default_theme/footer.scss +7 -0
- data/app/assets/stylesheets/default_theme/form.scss +72 -0
- data/app/assets/stylesheets/default_theme/navbar.scss +55 -0
- data/app/assets/stylesheets/default_theme/table.scss +68 -0
- data/app/assets/stylesheets/default_theme/toolbar.scss +117 -0
- data/app/assets/stylesheets/libs.scss +6 -0
- data/app/assets/stylesheets/ui_components.scss.erb +15 -0
- data/app/assets/stylesheets/ui_components/checkbox_list.scss +11 -0
- data/app/assets/stylesheets/ui_components/date_range.scss +5 -0
- data/app/assets/stylesheets/ui_components/markdown_textarea.scss +7 -0
- data/app/assets/stylesheets/variables.scss +893 -0
- data/app/cells/checkbox_list/checkbox_list.yml +7 -0
- data/app/cells/checkbox_list/checkbox_list_cell.rb +33 -0
- data/app/cells/datagrid_filter/datagrid_filter.yml +14 -0
- data/app/cells/datagrid_filter/datagrid_filter_cell.rb +35 -0
- data/app/cells/date_range/date_range.coffee +69 -0
- data/app/cells/date_range/date_range.yml +7 -0
- data/app/cells/date_range/date_range_cell.rb +55 -0
- data/app/cells/form_cell_base.rb +26 -0
- data/app/cells/hello_world/hello_world.slim +1 -0
- data/app/cells/hello_world/hello_world.yml +5 -0
- data/app/cells/hello_world/hello_world_cell.rb +4 -0
- data/app/cells/markdown_readonly/markdown_readonly.coffee +5 -0
- data/app/cells/markdown_readonly/markdown_readonly.slim +1 -0
- data/app/cells/markdown_readonly/markdown_readonly.yml +4 -0
- data/app/cells/markdown_readonly/markdown_readonly_cell.rb +4 -0
- data/app/cells/markdown_textarea/markdown_textarea.coffee +9 -0
- data/app/cells/markdown_textarea/markdown_textarea.slim +9 -0
- data/app/cells/markdown_textarea/markdown_textarea.yml +8 -0
- data/app/cells/markdown_textarea/markdown_textarea_cell.rb +42 -0
- data/app/cells/modal/modal.coffee +2 -0
- data/app/cells/modal/modal.slim +12 -0
- data/app/cells/modal/modal.yml +22 -0
- data/app/cells/modal/modal_cell.rb +31 -0
- data/app/cells/select/select.coffee +35 -0
- data/app/cells/select/select.yml +14 -0
- data/app/cells/select/select_cell.rb +59 -0
- data/app/helpers/ui_components/view_helper.rb +8 -0
- data/lib/generators/generate_component.thor +32 -0
- data/lib/tasks/styleguide.rake +8 -0
- data/lib/ui_components.rb +14 -0
- data/lib/ui_components/cell.rb +16 -0
- data/lib/ui_components/cell_attributes.rb +49 -0
- data/lib/ui_components/docu_cop.rb +31 -0
- data/lib/ui_components/engine.rb +26 -0
- data/lib/ui_components/form_helper.rb +32 -0
- data/lib/ui_components/templates/cell.tt +2 -0
- data/lib/ui_components/templates/coffee.tt +0 -0
- data/lib/ui_components/templates/config.tt +9 -0
- data/lib/ui_components/templates/sass.tt +0 -0
- data/lib/ui_components/templates/view.tt +0 -0
- data/vendor/assets/bower_components/ajax-chosen/CHANGELOG.md +10 -0
- data/vendor/assets/bower_components/ajax-chosen/Cakefile +93 -0
- data/vendor/assets/bower_components/ajax-chosen/Makefile +2 -0
- data/vendor/assets/bower_components/ajax-chosen/README.md +131 -0
- data/vendor/assets/bower_components/ajax-chosen/VERSION +1 -0
- data/vendor/assets/bower_components/ajax-chosen/bower.json +23 -0
- data/vendor/assets/bower_components/ajax-chosen/data.json +57 -0
- data/vendor/assets/bower_components/ajax-chosen/docs/ajax-chosen.html +71 -0
- data/vendor/assets/bower_components/ajax-chosen/docs/docco.css +186 -0
- data/vendor/assets/bower_components/ajax-chosen/index.html +47 -0
- data/vendor/assets/bower_components/ajax-chosen/lib/ajax-chosen.js +159 -0
- data/vendor/assets/bower_components/ajax-chosen/lib/ajax-chosen.min.js +17 -0
- data/vendor/assets/bower_components/ajax-chosen/package.json +18 -0
- data/vendor/assets/bower_components/ajax-chosen/src/ajax-chosen.coffee +183 -0
- data/vendor/assets/bower_components/bootstrap-chosen/README.md +29 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen-variables.less +24 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen-variables.scss +16 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen.less +473 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen.scss +459 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bower.json +25 -0
- data/vendor/assets/bower_components/bootstrap-chosen/chosen-sprite.png +0 -0
- data/vendor/assets/bower_components/bootstrap-chosen/chosen-sprite@2x.png +0 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/README.md +200 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/bower.json +20 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/daterangepicker-bs2.css +303 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/daterangepicker-bs3.css +335 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/daterangepicker.js +1348 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/examples.html +272 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/package.js +18 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/package.json +32 -0
- data/vendor/assets/bower_components/chosen/bower.json +50 -0
- data/vendor/assets/bower_components/chosen/chosen-sprite.png +0 -0
- data/vendor/assets/bower_components/chosen/chosen-sprite@2x.png +0 -0
- data/vendor/assets/bower_components/chosen/chosen.css +448 -0
- data/vendor/assets/bower_components/chosen/chosen.jquery.js +1272 -0
- data/vendor/assets/bower_components/highlightjs/LICENSE +24 -0
- data/vendor/assets/bower_components/highlightjs/Makefile +21 -0
- data/vendor/assets/bower_components/highlightjs/README.md +12 -0
- data/vendor/assets/bower_components/highlightjs/bower.json +14 -0
- data/vendor/assets/bower_components/highlightjs/component.json +12 -0
- data/vendor/assets/bower_components/highlightjs/composer.json +26 -0
- data/vendor/assets/bower_components/highlightjs/highlight.pack.js +15263 -0
- data/vendor/assets/bower_components/highlightjs/highlight.pack.min.js +12 -0
- data/vendor/assets/bower_components/highlightjs/package.json +8 -0
- data/vendor/assets/bower_components/highlightjs/styles/agate.css +108 -0
- data/vendor/assets/bower_components/highlightjs/styles/androidstudio.css +66 -0
- data/vendor/assets/bower_components/highlightjs/styles/arduino-light.css +88 -0
- data/vendor/assets/bower_components/highlightjs/styles/arta.css +73 -0
- data/vendor/assets/bower_components/highlightjs/styles/ascetic.css +45 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave-dark.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave-light.css +85 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown-paper.css +64 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown-papersq.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown_paper.css +103 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown_papersq.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/codepen-embed.css +60 -0
- data/vendor/assets/bower_components/highlightjs/styles/color-brewer.css +71 -0
- data/vendor/assets/bower_components/highlightjs/styles/dark.css +63 -0
- data/vendor/assets/bower_components/highlightjs/styles/darkula.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/default.css +99 -0
- data/vendor/assets/bower_components/highlightjs/styles/docco.css +97 -0
- data/vendor/assets/bower_components/highlightjs/styles/dracula.css +76 -0
- data/vendor/assets/bower_components/highlightjs/styles/far.css +71 -0
- data/vendor/assets/bower_components/highlightjs/styles/foundation.css +88 -0
- data/vendor/assets/bower_components/highlightjs/styles/github-gist.css +71 -0
- data/vendor/assets/bower_components/highlightjs/styles/github.css +99 -0
- data/vendor/assets/bower_components/highlightjs/styles/googlecode.css +89 -0
- data/vendor/assets/bower_components/highlightjs/styles/grayscale.css +101 -0
- data/vendor/assets/bower_components/highlightjs/styles/gruvbox-dark.css +108 -0
- data/vendor/assets/bower_components/highlightjs/styles/gruvbox-light.css +108 -0
- data/vendor/assets/bower_components/highlightjs/styles/hopscotch.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/hybrid.css +102 -0
- data/vendor/assets/bower_components/highlightjs/styles/idea.css +97 -0
- data/vendor/assets/bower_components/highlightjs/styles/ir-black.css +73 -0
- data/vendor/assets/bower_components/highlightjs/styles/ir_black.css +106 -0
- data/vendor/assets/bower_components/highlightjs/styles/kimbie.dark.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/kimbie.light.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/magula.css +70 -0
- data/vendor/assets/bower_components/highlightjs/styles/mono-blue.css +59 -0
- data/vendor/assets/bower_components/highlightjs/styles/monokai-sublime.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/monokai.css +70 -0
- data/vendor/assets/bower_components/highlightjs/styles/monokai_sublime.css +154 -0
- data/vendor/assets/bower_components/highlightjs/styles/obsidian.css +88 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso-dark.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso-light.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso.dark.css +96 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso.light.css +96 -0
- data/vendor/assets/bower_components/highlightjs/styles/pojoaque.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/pojoaque.jpg +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/qtcreator_dark.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/qtcreator_light.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/railscasts.css +106 -0
- data/vendor/assets/bower_components/highlightjs/styles/rainbow.css +85 -0
- data/vendor/assets/bower_components/highlightjs/styles/school-book.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/school-book.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/school_book.css +111 -0
- data/vendor/assets/bower_components/highlightjs/styles/school_book.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized_dark.css +107 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized_light.css +107 -0
- data/vendor/assets/bower_components/highlightjs/styles/sunburst.css +102 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night-blue.css +75 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night-bright.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night-eighties.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night.css +75 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/vs.css +68 -0
- data/vendor/assets/bower_components/highlightjs/styles/xcode.css +93 -0
- data/vendor/assets/bower_components/highlightjs/styles/zenburn.css +80 -0
- data/vendor/assets/bower_components/jquery.floatThead/CONTRIBUTING.md +33 -0
- data/vendor/assets/bower_components/jquery.floatThead/README.md +285 -0
- data/vendor/assets/bower_components/jquery.floatThead/bower.json +34 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead-slim.js +899 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead-slim.min.js +3 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead.js +964 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead.min.js +3 -0
- data/vendor/assets/bower_components/jquery.floatThead/license.txt +21 -0
- data/vendor/assets/bower_components/jquery/AUTHORS.txt +278 -0
- data/vendor/assets/bower_components/jquery/LICENSE.txt +36 -0
- data/vendor/assets/bower_components/jquery/README.md +65 -0
- data/vendor/assets/bower_components/jquery/bower.json +14 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.js +9842 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.min.js +4 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.min.map +1 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.slim.js +7877 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.slim.min.js +4 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.slim.min.map +1 -0
- data/vendor/assets/bower_components/jquery/sizzle/LICENSE.txt +36 -0
- data/vendor/assets/bower_components/jquery/sizzle/dist/sizzle.js +2143 -0
- data/vendor/assets/bower_components/jquery/sizzle/dist/sizzle.min.js +3 -0
- data/vendor/assets/bower_components/jquery/sizzle/dist/sizzle.min.map +1 -0
- data/vendor/assets/bower_components/jquery/src/ajax.js +845 -0
- data/vendor/assets/bower_components/jquery/src/ajax/jsonp.js +100 -0
- data/vendor/assets/bower_components/jquery/src/ajax/load.js +83 -0
- data/vendor/assets/bower_components/jquery/src/ajax/parseJSON.js +13 -0
- data/vendor/assets/bower_components/jquery/src/ajax/parseXML.js +27 -0
- data/vendor/assets/bower_components/jquery/src/ajax/script.js +68 -0
- data/vendor/assets/bower_components/jquery/src/ajax/var/location.js +3 -0
- data/vendor/assets/bower_components/jquery/src/ajax/var/nonce.js +5 -0
- data/vendor/assets/bower_components/jquery/src/ajax/var/rquery.js +3 -0
- data/vendor/assets/bower_components/jquery/src/ajax/xhr.js +167 -0
- data/vendor/assets/bower_components/jquery/src/attributes.js +11 -0
- data/vendor/assets/bower_components/jquery/src/attributes/attr.js +142 -0
- data/vendor/assets/bower_components/jquery/src/attributes/classes.js +177 -0
- data/vendor/assets/bower_components/jquery/src/attributes/prop.js +125 -0
- data/vendor/assets/bower_components/jquery/src/attributes/support.js +36 -0
- data/vendor/assets/bower_components/jquery/src/attributes/val.js +177 -0
- data/vendor/assets/bower_components/jquery/src/callbacks.js +232 -0
- data/vendor/assets/bower_components/jquery/src/core.js +494 -0
- data/vendor/assets/bower_components/jquery/src/core/DOMEval.js +14 -0
- data/vendor/assets/bower_components/jquery/src/core/access.js +65 -0
- data/vendor/assets/bower_components/jquery/src/core/init.js +134 -0
- data/vendor/assets/bower_components/jquery/src/core/parseHTML.js +41 -0
- data/vendor/assets/bower_components/jquery/src/core/ready.js +103 -0
- data/vendor/assets/bower_components/jquery/src/core/support.js +18 -0
- data/vendor/assets/bower_components/jquery/src/core/var/rsingleTag.js +5 -0
- data/vendor/assets/bower_components/jquery/src/css.js +515 -0
- data/vendor/assets/bower_components/jquery/src/css/addGetHookIf.js +24 -0
- data/vendor/assets/bower_components/jquery/src/css/adjustCSS.js +65 -0
- data/vendor/assets/bower_components/jquery/src/css/curCSS.js +60 -0
- data/vendor/assets/bower_components/jquery/src/css/defaultDisplay.js +72 -0
- data/vendor/assets/bower_components/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/vendor/assets/bower_components/jquery/src/css/showHide.js +48 -0
- data/vendor/assets/bower_components/jquery/src/css/support.js +121 -0
- data/vendor/assets/bower_components/jquery/src/css/var/cssExpand.js +3 -0
- data/vendor/assets/bower_components/jquery/src/css/var/getStyles.js +15 -0
- data/vendor/assets/bower_components/jquery/src/css/var/isHidden.js +16 -0
- data/vendor/assets/bower_components/jquery/src/css/var/rmargin.js +3 -0
- data/vendor/assets/bower_components/jquery/src/css/var/rnumnonpx.js +5 -0
- data/vendor/assets/bower_components/jquery/src/css/var/swap.js +24 -0
- data/vendor/assets/bower_components/jquery/src/data.js +187 -0
- data/vendor/assets/bower_components/jquery/src/data/Data.js +200 -0
- data/vendor/assets/bower_components/jquery/src/data/accepts.js +20 -0
- data/vendor/assets/bower_components/jquery/src/data/support.js +23 -0
- data/vendor/assets/bower_components/jquery/src/data/var/acceptData.js +18 -0
- data/vendor/assets/bower_components/jquery/src/data/var/dataPriv.js +5 -0
- data/vendor/assets/bower_components/jquery/src/data/var/dataUser.js +5 -0
- data/vendor/assets/bower_components/jquery/src/deferred.js +158 -0
- data/vendor/assets/bower_components/jquery/src/deferred/exceptionHook.js +19 -0
- data/vendor/assets/bower_components/jquery/src/deprecated.js +32 -0
- data/vendor/assets/bower_components/jquery/src/dimensions.js +54 -0
- data/vendor/assets/bower_components/jquery/src/effects.js +629 -0
- data/vendor/assets/bower_components/jquery/src/effects/Tween.js +121 -0
- data/vendor/assets/bower_components/jquery/src/effects/animatedSelector.js +13 -0
- data/vendor/assets/bower_components/jquery/src/effects/support.js +58 -0
- data/vendor/assets/bower_components/jquery/src/event.js +710 -0
- data/vendor/assets/bower_components/jquery/src/event/ajax.js +20 -0
- data/vendor/assets/bower_components/jquery/src/event/alias.js +27 -0
- data/vendor/assets/bower_components/jquery/src/event/focusin.js +53 -0
- data/vendor/assets/bower_components/jquery/src/event/support.js +9 -0
- data/vendor/assets/bower_components/jquery/src/event/trigger.js +199 -0
- data/vendor/assets/bower_components/jquery/src/exports/amd.js +24 -0
- data/vendor/assets/bower_components/jquery/src/exports/global.js +26 -0
- data/vendor/assets/bower_components/jquery/src/intro.js +44 -0
- data/vendor/assets/bower_components/jquery/src/jquery.js +37 -0
- data/vendor/assets/bower_components/jquery/src/manipulation.js +481 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/_evalUrl.js +20 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/buildFragment.js +102 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/createSafeFragment.js +20 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/getAll.js +21 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/support.js +33 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/nodeNames.js +5 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rleadingWhitespace.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rtagName.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/wrapMap.js +27 -0
- data/vendor/assets/bower_components/jquery/src/offset.js +218 -0
- data/vendor/assets/bower_components/jquery/src/outro.js +2 -0
- data/vendor/assets/bower_components/jquery/src/queue.js +143 -0
- data/vendor/assets/bower_components/jquery/src/queue/delay.js +22 -0
- data/vendor/assets/bower_components/jquery/src/selector-native.js +211 -0
- data/vendor/assets/bower_components/jquery/src/selector-sizzle.js +14 -0
- data/vendor/assets/bower_components/jquery/src/selector.js +1 -0
- data/vendor/assets/bower_components/jquery/src/serialize.js +125 -0
- data/vendor/assets/bower_components/jquery/src/support.js +63 -0
- data/vendor/assets/bower_components/jquery/src/traversing.js +175 -0
- data/vendor/assets/bower_components/jquery/src/traversing/findFilter.js +100 -0
- data/vendor/assets/bower_components/jquery/src/traversing/var/dir.js +20 -0
- data/vendor/assets/bower_components/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/vendor/assets/bower_components/jquery/src/traversing/var/siblings.js +15 -0
- data/vendor/assets/bower_components/jquery/src/var/arr.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/class2type.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/concat.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/deletedIds.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/document.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/documentElement.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/hasOwn.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/indexOf.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/pnum.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/push.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/rcssNum.js +7 -0
- data/vendor/assets/bower_components/jquery/src/var/rnotwhite.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/slice.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/support.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/toString.js +5 -0
- data/vendor/assets/bower_components/jquery/src/wrap.js +79 -0
- data/vendor/assets/bower_components/marked/Gulpfile.js +22 -0
- data/vendor/assets/bower_components/marked/LICENSE +19 -0
- data/vendor/assets/bower_components/marked/Makefile +12 -0
- data/vendor/assets/bower_components/marked/README.md +406 -0
- data/vendor/assets/bower_components/marked/bin/marked +187 -0
- data/vendor/assets/bower_components/marked/bower.json +24 -0
- data/vendor/assets/bower_components/marked/component.json +10 -0
- data/vendor/assets/bower_components/marked/doc/broken.md +426 -0
- data/vendor/assets/bower_components/marked/doc/todo.md +2 -0
- data/vendor/assets/bower_components/marked/index.js +1 -0
- data/vendor/assets/bower_components/marked/lib/marked.js +1285 -0
- data/vendor/assets/bower_components/marked/man/marked.1 +91 -0
- data/vendor/assets/bower_components/marked/marked.min.js +6 -0
- data/vendor/assets/bower_components/marked/package.json +24 -0
- data/vendor/assets/bower_components/moment/CHANGELOG.md +423 -0
- data/vendor/assets/bower_components/moment/LICENSE +22 -0
- data/vendor/assets/bower_components/moment/Moment.js.nuspec +28 -0
- data/vendor/assets/bower_components/moment/README.md +39 -0
- data/vendor/assets/bower_components/moment/benchmarks/clone.js +10 -0
- data/vendor/assets/bower_components/moment/bower.json +20 -0
- data/vendor/assets/bower_components/moment/locale/af.js +71 -0
- data/vendor/assets/bower_components/moment/locale/ar-ma.js +57 -0
- data/vendor/assets/bower_components/moment/locale/ar-sa.js +101 -0
- data/vendor/assets/bower_components/moment/locale/ar-tn.js +55 -0
- data/vendor/assets/bower_components/moment/locale/ar.js +134 -0
- data/vendor/assets/bower_components/moment/locale/az.js +107 -0
- data/vendor/assets/bower_components/moment/locale/be.js +154 -0
- data/vendor/assets/bower_components/moment/locale/bg.js +88 -0
- data/vendor/assets/bower_components/moment/locale/bn.js +111 -0
- data/vendor/assets/bower_components/moment/locale/bo.js +108 -0
- data/vendor/assets/bower_components/moment/locale/br.js +109 -0
- data/vendor/assets/bower_components/moment/locale/bs.js +140 -0
- data/vendor/assets/bower_components/moment/locale/ca.js +77 -0
- data/vendor/assets/bower_components/moment/locale/cs.js +157 -0
- data/vendor/assets/bower_components/moment/locale/cv.js +61 -0
- data/vendor/assets/bower_components/moment/locale/cy.js +79 -0
- data/vendor/assets/bower_components/moment/locale/da.js +58 -0
- data/vendor/assets/bower_components/moment/locale/de-at.js +74 -0
- data/vendor/assets/bower_components/moment/locale/de.js +73 -0
- data/vendor/assets/bower_components/moment/locale/el.js +94 -0
- data/vendor/assets/bower_components/moment/locale/en-au.js +64 -0
- data/vendor/assets/bower_components/moment/locale/en-ca.js +61 -0
- data/vendor/assets/bower_components/moment/locale/en-gb.js +65 -0
- data/vendor/assets/bower_components/moment/locale/eo.js +71 -0
- data/vendor/assets/bower_components/moment/locale/es.js +77 -0
- data/vendor/assets/bower_components/moment/locale/et.js +78 -0
- data/vendor/assets/bower_components/moment/locale/eu.js +62 -0
- data/vendor/assets/bower_components/moment/locale/fa.js +103 -0
- data/vendor/assets/bower_components/moment/locale/fi.js +107 -0
- data/vendor/assets/bower_components/moment/locale/fo.js +58 -0
- data/vendor/assets/bower_components/moment/locale/fr-ca.js +56 -0
- data/vendor/assets/bower_components/moment/locale/fr.js +60 -0
- data/vendor/assets/bower_components/moment/locale/fy.js +69 -0
- data/vendor/assets/bower_components/moment/locale/gl.js +73 -0
- data/vendor/assets/bower_components/moment/locale/he.js +80 -0
- data/vendor/assets/bower_components/moment/locale/hi.js +121 -0
- data/vendor/assets/bower_components/moment/locale/hr.js +141 -0
- data/vendor/assets/bower_components/moment/locale/hu.js +111 -0
- data/vendor/assets/bower_components/moment/locale/hy-am.js +118 -0
- data/vendor/assets/bower_components/moment/locale/id.js +81 -0
- data/vendor/assets/bower_components/moment/locale/is.js +126 -0
- data/vendor/assets/bower_components/moment/locale/it.js +68 -0
- data/vendor/assets/bower_components/moment/locale/ja.js +63 -0
- data/vendor/assets/bower_components/moment/locale/ka.js +109 -0
- data/vendor/assets/bower_components/moment/locale/km.js +56 -0
- data/vendor/assets/bower_components/moment/locale/ko.js +65 -0
- data/vendor/assets/bower_components/moment/locale/lb.js +139 -0
- data/vendor/assets/bower_components/moment/locale/lt.js +120 -0
- data/vendor/assets/bower_components/moment/locale/lv.js +79 -0
- data/vendor/assets/bower_components/moment/locale/mk.js +88 -0
- data/vendor/assets/bower_components/moment/locale/ml.js +69 -0
- data/vendor/assets/bower_components/moment/locale/mr.js +120 -0
- data/vendor/assets/bower_components/moment/locale/ms-my.js +80 -0
- data/vendor/assets/bower_components/moment/locale/my.js +89 -0
- data/vendor/assets/bower_components/moment/locale/nb.js +59 -0
- data/vendor/assets/bower_components/moment/locale/ne.js +121 -0
- data/vendor/assets/bower_components/moment/locale/nl.js +69 -0
- data/vendor/assets/bower_components/moment/locale/nn.js +58 -0
- data/vendor/assets/bower_components/moment/locale/pl.js +100 -0
- data/vendor/assets/bower_components/moment/locale/pt-br.js +58 -0
- data/vendor/assets/bower_components/moment/locale/pt.js +62 -0
- data/vendor/assets/bower_components/moment/locale/ro.js +73 -0
- data/vendor/assets/bower_components/moment/locale/ru.js +176 -0
- data/vendor/assets/bower_components/moment/locale/sk.js +158 -0
- data/vendor/assets/bower_components/moment/locale/sl.js +146 -0
- data/vendor/assets/bower_components/moment/locale/sq.js +67 -0
- data/vendor/assets/bower_components/moment/locale/sr-cyrl.js +107 -0
- data/vendor/assets/bower_components/moment/locale/sr.js +107 -0
- data/vendor/assets/bower_components/moment/locale/sv.js +65 -0
- data/vendor/assets/bower_components/moment/locale/ta.js +130 -0
- data/vendor/assets/bower_components/moment/locale/th.js +63 -0
- data/vendor/assets/bower_components/moment/locale/tl-ph.js +60 -0
- data/vendor/assets/bower_components/moment/locale/tr.js +94 -0
- data/vendor/assets/bower_components/moment/locale/tzm-latn.js +56 -0
- data/vendor/assets/bower_components/moment/locale/tzm.js +56 -0
- data/vendor/assets/bower_components/moment/locale/uk.js +163 -0
- data/vendor/assets/bower_components/moment/locale/uz.js +56 -0
- data/vendor/assets/bower_components/moment/locale/vi.js +64 -0
- data/vendor/assets/bower_components/moment/locale/zh-cn.js +125 -0
- data/vendor/assets/bower_components/moment/locale/zh-tw.js +99 -0
- data/vendor/assets/bower_components/moment/meteor/README.md +25 -0
- data/vendor/assets/bower_components/moment/meteor/export.js +3 -0
- data/vendor/assets/bower_components/moment/meteor/test.js +5 -0
- data/vendor/assets/bower_components/moment/min/locales.js +7306 -0
- data/vendor/assets/bower_components/moment/min/locales.min.js +4 -0
- data/vendor/assets/bower_components/moment/min/moment-with-locales.js +9792 -0
- data/vendor/assets/bower_components/moment/min/moment-with-locales.min.js +10 -0
- data/vendor/assets/bower_components/moment/min/moment.min.js +7 -0
- data/vendor/assets/bower_components/moment/moment.js +3043 -0
- data/vendor/assets/bower_components/moment/scripts/npm_prepublish.sh +43 -0
- data/vendor/assets/bower_components/underscore/LICENSE +23 -0
- data/vendor/assets/bower_components/underscore/README.md +22 -0
- data/vendor/assets/bower_components/underscore/bower.json +7 -0
- data/vendor/assets/bower_components/underscore/underscore-min.js +6 -0
- data/vendor/assets/bower_components/underscore/underscore-min.map +1 -0
- data/vendor/assets/bower_components/underscore/underscore.js +1548 -0
- metadata +782 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
2
|
+
|
3
|
+
/* Tomorrow Comment */
|
4
|
+
.hljs-comment,
|
5
|
+
.hljs-quote {
|
6
|
+
color: #8e908c;
|
7
|
+
}
|
8
|
+
|
9
|
+
/* Tomorrow Red */
|
10
|
+
.hljs-variable,
|
11
|
+
.hljs-template-variable,
|
12
|
+
.hljs-tag,
|
13
|
+
.hljs-name,
|
14
|
+
.hljs-selector-id,
|
15
|
+
.hljs-selector-class,
|
16
|
+
.hljs-regexp,
|
17
|
+
.hljs-deletion {
|
18
|
+
color: #c82829;
|
19
|
+
}
|
20
|
+
|
21
|
+
/* Tomorrow Orange */
|
22
|
+
.hljs-number,
|
23
|
+
.hljs-built_in,
|
24
|
+
.hljs-builtin-name,
|
25
|
+
.hljs-literal,
|
26
|
+
.hljs-type,
|
27
|
+
.hljs-params,
|
28
|
+
.hljs-meta,
|
29
|
+
.hljs-link {
|
30
|
+
color: #f5871f;
|
31
|
+
}
|
32
|
+
|
33
|
+
/* Tomorrow Yellow */
|
34
|
+
.hljs-attribute {
|
35
|
+
color: #eab700;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Tomorrow Green */
|
39
|
+
.hljs-string,
|
40
|
+
.hljs-symbol,
|
41
|
+
.hljs-bullet,
|
42
|
+
.hljs-addition {
|
43
|
+
color: #718c00;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Tomorrow Blue */
|
47
|
+
.hljs-title,
|
48
|
+
.hljs-section {
|
49
|
+
color: #4271ae;
|
50
|
+
}
|
51
|
+
|
52
|
+
/* Tomorrow Purple */
|
53
|
+
.hljs-keyword,
|
54
|
+
.hljs-selector-tag {
|
55
|
+
color: #8959a8;
|
56
|
+
}
|
57
|
+
|
58
|
+
.hljs {
|
59
|
+
display: block;
|
60
|
+
overflow-x: auto;
|
61
|
+
background: white;
|
62
|
+
color: #4d4d4c;
|
63
|
+
padding: 0.5em;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-emphasis {
|
67
|
+
font-style: italic;
|
68
|
+
}
|
69
|
+
|
70
|
+
.hljs-strong {
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
|
4
|
+
|
5
|
+
*/
|
6
|
+
.hljs {
|
7
|
+
display: block;
|
8
|
+
overflow-x: auto;
|
9
|
+
padding: 0.5em;
|
10
|
+
background: white;
|
11
|
+
color: black;
|
12
|
+
}
|
13
|
+
|
14
|
+
.hljs-comment,
|
15
|
+
.hljs-quote,
|
16
|
+
.hljs-variable {
|
17
|
+
color: #008000;
|
18
|
+
}
|
19
|
+
|
20
|
+
.hljs-keyword,
|
21
|
+
.hljs-selector-tag,
|
22
|
+
.hljs-built_in,
|
23
|
+
.hljs-name,
|
24
|
+
.hljs-tag {
|
25
|
+
color: #00f;
|
26
|
+
}
|
27
|
+
|
28
|
+
.hljs-string,
|
29
|
+
.hljs-title,
|
30
|
+
.hljs-section,
|
31
|
+
.hljs-attribute,
|
32
|
+
.hljs-literal,
|
33
|
+
.hljs-template-tag,
|
34
|
+
.hljs-template-variable,
|
35
|
+
.hljs-type,
|
36
|
+
.hljs-addition {
|
37
|
+
color: #a31515;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-deletion,
|
41
|
+
.hljs-selector-attr,
|
42
|
+
.hljs-selector-pseudo,
|
43
|
+
.hljs-meta {
|
44
|
+
color: #2b91af;
|
45
|
+
}
|
46
|
+
|
47
|
+
.hljs-doctag {
|
48
|
+
color: #808080;
|
49
|
+
}
|
50
|
+
|
51
|
+
.hljs-attr {
|
52
|
+
color: #f00;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-symbol,
|
56
|
+
.hljs-bullet,
|
57
|
+
.hljs-link {
|
58
|
+
color: #00b0e8;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
.hljs-emphasis {
|
63
|
+
font-style: italic;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-strong {
|
67
|
+
font-weight: bold;
|
68
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #fff;
|
12
|
+
color: black;
|
13
|
+
}
|
14
|
+
|
15
|
+
.hljs-comment,
|
16
|
+
.hljs-quote {
|
17
|
+
color: #006a00;
|
18
|
+
}
|
19
|
+
|
20
|
+
.hljs-keyword,
|
21
|
+
.hljs-selector-tag,
|
22
|
+
.hljs-literal {
|
23
|
+
color: #aa0d91;
|
24
|
+
}
|
25
|
+
|
26
|
+
.hljs-name {
|
27
|
+
color: #008;
|
28
|
+
}
|
29
|
+
|
30
|
+
.hljs-variable,
|
31
|
+
.hljs-template-variable {
|
32
|
+
color: #660;
|
33
|
+
}
|
34
|
+
|
35
|
+
.hljs-string {
|
36
|
+
color: #c41a16;
|
37
|
+
}
|
38
|
+
|
39
|
+
.hljs-regexp,
|
40
|
+
.hljs-link {
|
41
|
+
color: #080;
|
42
|
+
}
|
43
|
+
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-tag,
|
46
|
+
.hljs-symbol,
|
47
|
+
.hljs-bullet,
|
48
|
+
.hljs-number,
|
49
|
+
.hljs-meta {
|
50
|
+
color: #1c00cf;
|
51
|
+
}
|
52
|
+
|
53
|
+
.hljs-section,
|
54
|
+
.hljs-class .hljs-title,
|
55
|
+
.hljs-type,
|
56
|
+
.hljs-attr,
|
57
|
+
.hljs-built_in,
|
58
|
+
.hljs-builtin-name,
|
59
|
+
.hljs-params {
|
60
|
+
color: #5c2699;
|
61
|
+
}
|
62
|
+
|
63
|
+
.hljs-attribute,
|
64
|
+
.hljs-subst {
|
65
|
+
color: #000;
|
66
|
+
}
|
67
|
+
|
68
|
+
.hljs-formula {
|
69
|
+
background-color: #eee;
|
70
|
+
font-style: italic;
|
71
|
+
}
|
72
|
+
|
73
|
+
.hljs-addition {
|
74
|
+
background-color: #baeeba;
|
75
|
+
}
|
76
|
+
|
77
|
+
.hljs-deletion {
|
78
|
+
background-color: #ffc8bd;
|
79
|
+
}
|
80
|
+
|
81
|
+
.hljs-selector-id,
|
82
|
+
.hljs-selector-class {
|
83
|
+
color: #9b703f;
|
84
|
+
}
|
85
|
+
|
86
|
+
.hljs-doctag,
|
87
|
+
.hljs-strong {
|
88
|
+
font-weight: bold;
|
89
|
+
}
|
90
|
+
|
91
|
+
.hljs-emphasis {
|
92
|
+
font-style: italic;
|
93
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru>
|
4
|
+
based on dark.css by Ivan Sagalaev
|
5
|
+
|
6
|
+
*/
|
7
|
+
|
8
|
+
.hljs {
|
9
|
+
display: block;
|
10
|
+
overflow-x: auto;
|
11
|
+
padding: 0.5em;
|
12
|
+
background: #3f3f3f;
|
13
|
+
color: #dcdcdc;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-keyword,
|
17
|
+
.hljs-selector-tag,
|
18
|
+
.hljs-tag {
|
19
|
+
color: #e3ceab;
|
20
|
+
}
|
21
|
+
|
22
|
+
.hljs-template-tag {
|
23
|
+
color: #dcdcdc;
|
24
|
+
}
|
25
|
+
|
26
|
+
.hljs-number {
|
27
|
+
color: #8cd0d3;
|
28
|
+
}
|
29
|
+
|
30
|
+
.hljs-variable,
|
31
|
+
.hljs-template-variable,
|
32
|
+
.hljs-attribute {
|
33
|
+
color: #efdcbc;
|
34
|
+
}
|
35
|
+
|
36
|
+
.hljs-literal {
|
37
|
+
color: #efefaf;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-subst {
|
41
|
+
color: #8f8f8f;
|
42
|
+
}
|
43
|
+
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-name,
|
46
|
+
.hljs-selector-id,
|
47
|
+
.hljs-selector-class,
|
48
|
+
.hljs-section,
|
49
|
+
.hljs-type {
|
50
|
+
color: #efef8f;
|
51
|
+
}
|
52
|
+
|
53
|
+
.hljs-symbol,
|
54
|
+
.hljs-bullet,
|
55
|
+
.hljs-link {
|
56
|
+
color: #dca3a3;
|
57
|
+
}
|
58
|
+
|
59
|
+
.hljs-deletion,
|
60
|
+
.hljs-string,
|
61
|
+
.hljs-built_in,
|
62
|
+
.hljs-builtin-name {
|
63
|
+
color: #cc9393;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-addition,
|
67
|
+
.hljs-comment,
|
68
|
+
.hljs-quote,
|
69
|
+
.hljs-meta {
|
70
|
+
color: #7f9f7f;
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
.hljs-emphasis {
|
75
|
+
font-style: italic;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-strong {
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
How to get help with the floatThead
|
2
|
+
------------
|
3
|
+
**I just had a kid, and I work at a startup,**
|
4
|
+
I don't have time to reproduce your issue on my own, so please provide a **jsfiddle!!!**
|
5
|
+
|
6
|
+
----
|
7
|
+
All issues should be reported through github. If you don't have an account you can make one.
|
8
|
+
- Search previous issues to see if there is a resolution to your issue already. For common problems see: https://github.com/mkoryak/floatThead/issues/91
|
9
|
+
|
10
|
+
Providing the following will greatly increase the chances of your issue being resolved quickly:
|
11
|
+
|
12
|
+
- Give me: browser version, OS version, jQuery version, floatThead version if not latest
|
13
|
+
- Provide a jsfiddle that reproduces your issue in its simplest form possible [required]
|
14
|
+
- A description of the issue and steps to reproduce
|
15
|
+
|
16
|
+
|
17
|
+
I will put in as much effort into helping you as you put in describing your problem / creating fiddle.
|
18
|
+
|
19
|
+
Pull requests
|
20
|
+
-----
|
21
|
+
|
22
|
+
Pull requests are welcome. Please create your pull request against master and make modifications to `jquery.floatThead.js`
|
23
|
+
in the project root, not in `/dist`
|
24
|
+
|
25
|
+
If you have grunt and can build your changes into dist by running `grunt` - that would be super, but if not, ill do it, no big deal.
|
26
|
+
|
27
|
+
Changes landing on master will not be released on bower (as a new version) until there is a big enough critical mass of new features, or if
|
28
|
+
a critical bug gets fixed, or if you buy me a beer ;)
|
29
|
+
|
30
|
+
I would rather not add any new options to the API, if you would like to add an option think about a way that the same thing can be accomplished with feature detection or by overloading an existing option.
|
31
|
+
|
32
|
+
Thanks for reading, and may the force be with you and your cat.
|
33
|
+
|
@@ -0,0 +1,285 @@
|
|
1
|
+
jquery.floatThead v1.3.2
|
2
|
+
=================
|
3
|
+
[![woot](http://giant.gfycat.com/AnyGloriousAlpaca.gif "or just click")](http://mkoryak.github.io/floatThead/)
|
4
|
+
|
5
|
+
#Documentation & Examples: http://mkoryak.github.io/floatThead/
|
6
|
+
|
7
|
+
Float the table header on scroll. No changes to your HTML/CSS are required, it just works. Supports floating the header while scrolling within the window or while scrolling within a container with overflow.
|
8
|
+
|
9
|
+
:heart_eyes_cat:**My cat loves it**:heart_eyes_cat:
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
###Install
|
14
|
+
|
15
|
+
#### Package managers
|
16
|
+
```bash
|
17
|
+
bower install floatThead
|
18
|
+
npm install floatthead
|
19
|
+
```
|
20
|
+
#### Download code
|
21
|
+
[Latest Release (zip)](https://github.com/mkoryak/floatThead/archive/v1.3.2.zip)
|
22
|
+
|
23
|
+
#### Via CDN
|
24
|
+
[http://cdnjs.com/libraries/floatthead/](http://cdnjs.com/libraries/floatthead/)
|
25
|
+
[http://www.jsdelivr.com/#!jquery.floatthead](http://www.jsdelivr.com/#!jquery.floatthead)
|
26
|
+
|
27
|
+
#### For java people
|
28
|
+
[Webjar](https://github.com/webjars/floatThead)
|
29
|
+
|
30
|
+
### Wrappers
|
31
|
+
|
32
|
+
[angularjs directive](https://github.com/brandon-barker/angular-floatThead) by @brandon-barker
|
33
|
+
|
34
|
+
[yii2 framework wrapper](https://github.com/bluezed/yii2-floatThead) by @bluezed
|
35
|
+
|
36
|
+
# Things this plugin does:
|
37
|
+
---------
|
38
|
+
- Floats the table header - it remains in viewport as you scroll
|
39
|
+
- Works on tables within a scrollable container or whole window scrolling
|
40
|
+
- Horizontal or vertical scrolling
|
41
|
+
- Doesn't clone the thead - so your events stay bound
|
42
|
+
- Doesn't mess with your styles
|
43
|
+
- Works on any table
|
44
|
+
- Requires no special css
|
45
|
+
- Works with libs like [datatables](http://datatables.net), [perfect-scrollbar](http://mkoryak.github.io/floatThead/examples/perfect-scrollbar/), [bootstrap](http://mkoryak.github.io/floatThead/examples/bootstrap3/), and many more
|
46
|
+
- Screen reader support
|
47
|
+
- Plays nicely with angularjs
|
48
|
+
|
49
|
+
|
50
|
+
# Things this plugin does NOT do:
|
51
|
+
---------
|
52
|
+
- Does not float the footer
|
53
|
+
- Does not let you lock the first column like in excel
|
54
|
+
- **Safari and mobile safari are not supported**. It might work, or it [might not](https://github.com/mkoryak/floatThead/issues/108), depending on your markup and safari version.
|
55
|
+
|
56
|
+
Common Pitfalls
|
57
|
+
------
|
58
|
+
If you use css and html best practices, this plugin will work. If you are stuck in 1999, you better [read this](http://mkoryak.github.io/floatThead/faq/).
|
59
|
+
|
60
|
+
How to get help with the floatThead
|
61
|
+
------------
|
62
|
+
All issues should be reported through github. If you don't have an account you can make one.
|
63
|
+
Providing the following will greatly increase the chances of your issue being resolved quickly:
|
64
|
+
- Include the browser and operating system where you are having the problem. If its IE, a screenshot is also nice since I don't have quick access to that abomination.
|
65
|
+
- **Provide a jsfiddle that reproduces your issue in its simplest form possible**. If its hard to read your code, you did it wrong.
|
66
|
+
- A description of the issue and steps to reproduce
|
67
|
+
|
68
|
+
I will do my best to help you in a timely manner.
|
69
|
+
|
70
|
+
|
71
|
+
Requirements:
|
72
|
+
-------------
|
73
|
+
|
74
|
+
- jQuery 1.8.x or better (1.9 compliant) (or jQuery 1.7.x and jQuery UI core)
|
75
|
+
|
76
|
+
Supported Browsers:
|
77
|
+
-------------
|
78
|
+
- IE8 or better (read [this](http://mkoryak.github.io/floatThead/examples/row-groups/))
|
79
|
+
- Chrome, Firefox (all versions from last 3 years)
|
80
|
+
|
81
|
+
|
82
|
+
Using with IE9
|
83
|
+
--------------
|
84
|
+
FloatThead will not work properly in IE9 unless you have the following meta tag in the head of the page:
|
85
|
+
``` html
|
86
|
+
<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
|
87
|
+
```
|
88
|
+
|
89
|
+
With very big tables, you may also run into this exciting bug: http://stackoverflow.com/questions/5805956/internet-explorer-9-not-rendering-table-cells-properly
|
90
|
+
Watch for it.
|
91
|
+
|
92
|
+
Change Log
|
93
|
+
----------
|
94
|
+
### 1.3.2
|
95
|
+
- https://github.com/mkoryak/floatThead/issues/264 - header alignments messed up when table within a floated container (when using position:absolute)
|
96
|
+
- hide more stuff from screen readers that should be hidden
|
97
|
+
- https://github.com/mkoryak/floatThead/issues/255 - added `reflowed` event, see docs
|
98
|
+
- removed underscore usage from non-slim build
|
99
|
+
|
100
|
+
|
101
|
+
### 1.3.1
|
102
|
+
- allow 'useAbsolutePositioning', 'scrollingTop' and 'scrollingBottom' to be used, but yell about it via console.error
|
103
|
+
|
104
|
+
### 1.3.0
|
105
|
+
- **Breaking**: renamed 'useAbsolutePositioning' option to `position`. value mappings (old -> new) are: [true -> 'absolute', false -> 'fixed', null -> 'auto']
|
106
|
+
- **Breaking**: renamed 'scrollingTop' to `top` and 'scrollingBottom' to `bottom`
|
107
|
+
- **Breaking**: removed cellTag and debounceResizeMs options
|
108
|
+
- **Breaking**: removed `floatThead-floatContainer` class from the $floatContainer because `floatThead-container` class is already there and it is configurable via `floatContainerClass` option.
|
109
|
+
- added `autoReflow` option
|
110
|
+
- https://github.com/mkoryak/floatThead/issues/235 - fix tabindex of the floated header (thanks [robinpoort](https://github.com/robinpoort))
|
111
|
+
- https://github.com/mkoryak/floatThead/issues/242 - support for multiple tables within a single scrolling div
|
112
|
+
- https://github.com/mkoryak/floatThead/issues/246 - enableAria:true causes javascript exception when using Colgroup
|
113
|
+
- fixed `getRowGroups`, method which was busted when the header was floated
|
114
|
+
- make grunt work in node 0.12
|
115
|
+
|
116
|
+
### 1.2.13
|
117
|
+
|
118
|
+
- https://github.com/mkoryak/floatThead/issues/220 - Header and Body alignment problem
|
119
|
+
- package.json was incorrect
|
120
|
+
- `autoReflow` option should work better if your browser supports MutationObserver
|
121
|
+
- added native support for tables within bootstrap3 tabs or jqueryui tabs
|
122
|
+
- if a tables is hidden, the plugin will not try do anything when you scroll
|
123
|
+
- the cat is cute
|
124
|
+
|
125
|
+
### 1.2.12
|
126
|
+
Huge thanks to [CoryDuncan](https://github.com/CoryDuncan), [ithielnor](https://github.com/ithielnor), [jurko-gospodnetic](https://github.com/jurko-gospodnetic) and [mhwlng](https://github.com/mhwlng) for your PRs
|
127
|
+
|
128
|
+
- https://github.com/mkoryak/floatThead/pull/168 - support for fractional column widths (no more alignment issues!)
|
129
|
+
- https://github.com/mkoryak/floatThead/pull/175 - having tables within tables wont cause weird issues
|
130
|
+
- https://github.com/mkoryak/floatThead/issues/165 - Fire an event when the header is floated / unfloated
|
131
|
+
- https://github.com/mkoryak/floatThead/issues/180 - no space outside of table causes it to always float
|
132
|
+
- https://github.com/mkoryak/floatThead/pull/185 - inner scrolling doesnt respect container border
|
133
|
+
- https://github.com/mkoryak/floatThead/issues/186 - can init on a table without thead and later add it
|
134
|
+
- https://github.com/mkoryak/floatThead/issues/194 - header sizing takes into account border-collapse rules
|
135
|
+
- bunch of code and stylistic cleanup
|
136
|
+
|
137
|
+
### 1.2.11
|
138
|
+
- now supports perfect-scrollbar plugin
|
139
|
+
- slightly better mobile safari support
|
140
|
+
- fix bower.json
|
141
|
+
|
142
|
+
### 1.2.10
|
143
|
+
- play nicely with angularjs if it modifies the DOM behind the scenes
|
144
|
+
- screen reader support via `enableAria` option
|
145
|
+
- https://github.com/mkoryak/floatThead/issues/122 - better default options for ie
|
146
|
+
- https://github.com/mkoryak/floatThead/issues/121 - header layout bug
|
147
|
+
- https://github.com/mkoryak/floatThead/issues/128 - issues with scrollbar size detection in certain layouts
|
148
|
+
- https://github.com/mkoryak/floatThead/issues/127 - destroy not removing some elements
|
149
|
+
|
150
|
+
### 1.2.9
|
151
|
+
- **Deprecated the `cellTag` option**, use `headerCellSelector` instead (see docs)
|
152
|
+
- https://github.com/mkoryak/floatThead/issues/101 - **huge** performance improvement
|
153
|
+
- https://github.com/mkoryak/floatThead/issues/98 - Border-collapse ignored on scroll
|
154
|
+
- https://github.com/mkoryak/floatThead/issues/99 - Incorrect scroll width calculation in some cases
|
155
|
+
- A couple of updates to the `destroy` method that get the table back into a more pristine state
|
156
|
+
|
157
|
+
### 1.2.8
|
158
|
+
- https://github.com/mkoryak/floatThead/issues/82 - table not disappearing when out of view in a certain layout
|
159
|
+
- https://github.com/mkoryak/floatThead/issues/84 - header not aligned if your scrolling container has a certain height
|
160
|
+
- https://github.com/mkoryak/floatThead/issues/86 - do not take hidden TRs into account when calculating header height
|
161
|
+
|
162
|
+
### 1.2.7
|
163
|
+
- Changed license over to MIT
|
164
|
+
|
165
|
+
### 1.2.6
|
166
|
+
- **new stuff:**
|
167
|
+
- added support for tables with existing `<colgroup>` elements
|
168
|
+
- added a grunt task to build dist to master
|
169
|
+
- **bug fixes:**
|
170
|
+
- https://github.com/mkoryak/floatThead/issues/57 - window resize issues on windows
|
171
|
+
- https://github.com/mkoryak/floatThead/issues/70 - better support for responsive tables
|
172
|
+
- https://github.com/mkoryak/floatThead/issues/71 - incorrectly unbinding events in destroy
|
173
|
+
- https://github.com/mkoryak/floatThead/issues/75 - dom leakage in destroy
|
174
|
+
|
175
|
+
|
176
|
+
### 1.2.5
|
177
|
+
- bug fixes:
|
178
|
+
- https://github.com/mkoryak/floatThead/issues/66
|
179
|
+
- https://github.com/mkoryak/floatThead/issues/65
|
180
|
+
- https://github.com/mkoryak/floatThead/issues/62
|
181
|
+
|
182
|
+
### 1.2.4
|
183
|
+
- better support for really really wide tables
|
184
|
+
- fixed https://github.com/mkoryak/floatThead/issues/53
|
185
|
+
- fixed https://github.com/mkoryak/floatThead/issues/56
|
186
|
+
|
187
|
+
### 1.2.3
|
188
|
+
|
189
|
+
- removed underscore dependency, added a *slim* version which is very slightly smaller and requires underscore
|
190
|
+
- now supporting a few evil deprecated table attributes that people still use: `cellpadding` and `cellspacing`
|
191
|
+
- fixed https://github.com/mkoryak/floatThead/issues/52
|
192
|
+
- fixed https://github.com/mkoryak/floatThead/issues/50
|
193
|
+
- added floatWrapperClass option
|
194
|
+
- added copyTableClass option
|
195
|
+
|
196
|
+
### 1.2.2
|
197
|
+
|
198
|
+
- better support for tables with dynamically hidden columns
|
199
|
+
- can now set a class on the floating header's container div
|
200
|
+
|
201
|
+
### 1.2.1
|
202
|
+
|
203
|
+
- fixed issue with caption tag align:bottom
|
204
|
+
- switched to uglifyjs to minify code
|
205
|
+
|
206
|
+
### 1.2.0
|
207
|
+
|
208
|
+
- <code>caption</code> tag support
|
209
|
+
- faster initialization when working with large tables (and small ones)
|
210
|
+
|
211
|
+
### 1.1.1
|
212
|
+
|
213
|
+
- Fixed bugs introduced in 1.0.0 which caused issues in IE9
|
214
|
+
|
215
|
+
### 1.0.0
|
216
|
+
|
217
|
+
- Updated code to be jquery 1.9+ compliant
|
218
|
+
|
219
|
+
|
220
|
+
## Who is using floatThead ?
|
221
|
+
|
222
|
+
### [staticsitegenerators.net](http://staticsitegenerators.net/)
|
223
|
+
|
224
|
+
### [netdisco](http://netdisco.org)
|
225
|
+
- http://sourceforge.net/p/netdisco/netdisco-ng/ci/213352d54ee8e71cbca5ae2c1c75696800c4216b/
|
226
|
+
|
227
|
+
### [pylyglot](https://github.com/omaciel/pylyglot)
|
228
|
+
- https://github.com/omaciel/pylyglot/tree/master/pylyglot/static/js
|
229
|
+
|
230
|
+
### [django-sql-explorer](https://github.com/epantry/django-sql-explorer)
|
231
|
+
- https://github.com/epantry/django-sql-explorer/commit/34ae345325a1e07ff952800fcd6dc5bddac5e3f2-
|
232
|
+
|
233
|
+
### [Yii framework](http://www.yiiframework.com/)
|
234
|
+
- http://www.yiiframework.com/extension/yii2-grid/
|
235
|
+
- http://demos.krajee.com/grid-demo
|
236
|
+
|
237
|
+
### [api.tinata.co.uk](http://api.tinata.co.uk/countries)
|
238
|
+
- https://github.com/tinata/tinatapi/commit/b1cf62dd97a5caa76bafcd5ec3b4f12e6b88f385
|
239
|
+
|
240
|
+
|
241
|
+
*Your site? email me: my last name at gmail*
|
242
|
+
|
243
|
+
## Other plugins
|
244
|
+
|
245
|
+
There are plenty of other **fixed header** / **floating header** / **scrolling table header** plugins that attempt to do the same thing this plugin does. None of them support both window and overflow scrolling and many of them depend on special css or require that you set the table column widths. Some of them are good and some of them suck. Go ahead and check them out too.
|
246
|
+
|
247
|
+
I have compiled a list here with comments on each one:
|
248
|
+
|
249
|
+
|
250
|
+
| Plugin | Window Scrolling | Overflow-X Scrolling | Overflow-Y Scrolling | No Special CSS | Keeps Bound Events | Freeze Columns |
|
251
|
+
|:-------------:|:-------------:|:-----:|:-------------:|:-------------:|:-----:|:-----:|:-----:|
|
252
|
+
| [FloatThead](https://github.com/mkoryak/floatThead/) | yes | yes | yes | yes | yes | no |
|
253
|
+
| [Fixed-Table-Header](https://github.com/markmalek/Fixed-Header-Table/) | no | yes | no | yes | no | no |
|
254
|
+
| [jquery.scrollTableBody](https://github.com/nheldman/jquery.scrollTableBody) | no | yes | yes | no | ?? | no |
|
255
|
+
| [Fixed table rows cols](http://meetselva.github.io/fixed-table-rows-cols) | no | yes | yes | no | ?? | yes |
|
256
|
+
| [Table Fixed Header](https://github.com/oma/table-fixed-header) | yes | no | no | yes | no | no |
|
257
|
+
| [Sticky Table Header](https://github.com/jmosbech/StickyTableHeaders) | yes | no | no | yes | yes | no |
|
258
|
+
| [Grid](https://github.com/mmurph211/Grid) | no | yes | yes | yes | yes | no |
|
259
|
+
|
260
|
+
|
261
|
+
[Fixed-Table-Header](https://github.com/markmalek/Fixed-Header-Table/)
|
262
|
+
This is the original. It has been around for ages and it will be the first plugin you find when you start looking. It also has a ton of open unresolved issues. It does not support window scrolling, it does not seem to support y-scrolling withing the container. It loses the events you attached to the thead. Lots of open issues. **Stay away.**
|
263
|
+
|
264
|
+
[Fixed table rows cols](http://meetselva.github.io/fixed-table-rows-cols)
|
265
|
+
Does not support window scrolling. Requires you to specify the column widths for the table. This means that the table will not be able to optimally lay itself out. It does support freezing columns in place. If you need that, this might be the plugin for you.
|
266
|
+
|
267
|
+
[jquery.scrollTableBody](https://github.com/nheldman/jquery.scrollTableBody)
|
268
|
+
Does not support window scrolling. A newcomer to the scene, not a mature project. Has some major issues with cell padding. **Stay away** until issues are resolved.
|
269
|
+
|
270
|
+
[Grid](https://github.com/mmurph211/Grid)
|
271
|
+
This lib is very different from the rest because its main usecase is to give you a sortable grid. You do not run this plugin on an existing table - you need to provide a json or xml data source. This is a great lightweight replacement for datatables. This may be the plugin for you if you are not converting an existing table.
|
272
|
+
|
273
|
+
[Table Fixed Header](https://github.com/oma/table-fixed-header)
|
274
|
+
This is a window scrolling plugin, does not support overflow scrolling. Does not work properly when the window is resized and the table width changes. Floated header sticks around if you scroll past table. Author welcomes pull requests but does not fix issues. **Stay away**
|
275
|
+
|
276
|
+
[Sticky Table Header](https://github.com/jmosbech/StickyTableHeaders)
|
277
|
+
This is a window scrolling plugin. Does not support overflow scrolling. It is probably the best window scrolling plugin (besides this one). The author seems to fix issues as they arise.
|
278
|
+
|
279
|
+
# Woot
|
280
|
+
|
281
|
+
Big thanks to jetbrains for giving me an open source webstorm license for this project. They make the best IDEs.
|
282
|
+
|
283
|
+
License
|
284
|
+
-------
|
285
|
+
MIT
|