patternfly-sass 0.0.0.pre.semantically.pre.released → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.bowerrc +3 -0
- data/.gitignore +43 -0
- data/.rspec +3 -0
- data/.rubocop.yml +54 -0
- data/.travis.yml +17 -0
- data/Gemfile +3 -0
- data/README.md +29 -438
- data/Rakefile +128 -0
- data/TODO.md +13 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.svg +1830 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.svg +1830 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.svg +1830 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.svg +1830 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.svg +1830 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.svg +1831 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.svg +1835 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.svg +1831 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.svg +1830 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.svg +1830 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +63 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/images/patternfly/apple-touch-icon-114-precomposed.png +0 -0
- data/assets/images/patternfly/apple-touch-icon-144-precomposed.png +0 -0
- data/assets/images/patternfly/apple-touch-icon-57-precomposed.png +0 -0
- data/assets/images/patternfly/apple-touch-icon-72-precomposed.png +0 -0
- data/{dist/img → assets/images/patternfly}/bg-login.jpg +0 -0
- data/assets/images/patternfly/brand-lg.png +0 -0
- data/assets/images/patternfly/brand.png +0 -0
- data/{dist/img → assets/images/patternfly}/brand.svg +87 -87
- data/assets/images/patternfly/logo.png +0 -0
- data/{dist/img → assets/images/patternfly}/logo.svg +22 -22
- data/{dist/img → assets/images/patternfly}/spinner-lg.gif +0 -0
- data/{dist/img → assets/images/patternfly}/spinner-sm.gif +0 -0
- data/{dist/img → assets/images/patternfly}/spinner-xs.gif +0 -0
- data/{dist/img → assets/images/patternfly}/spinner.gif +0 -0
- data/assets/javascripts/patternfly/patternfly.js +212 -0
- data/assets/javascripts/patternfly/patternfly.min.js +1 -0
- data/{dist/sass → assets/stylesheets}/_patternfly-compass.scss +1 -1
- data/{dist/sass → assets/stylesheets}/_patternfly-sprockets.scss +1 -1
- data/assets/stylesheets/_patternfly.scss +105 -0
- data/assets/stylesheets/patternfly/_alerts.scss +29 -0
- data/{dist/sass → assets/stylesheets}/patternfly/_badges.scss +0 -0
- data/assets/stylesheets/patternfly/_blank-slate.scss +29 -0
- data/assets/stylesheets/patternfly/_bootstrap-combobox-css.scss +42 -0
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_bootstrap-combobox.scss +2 -2
- data/assets/stylesheets/patternfly/_bootstrap-select-css.scss +309 -0
- data/{dist/sass → assets/stylesheets}/patternfly/_bootstrap-select.scss +15 -24
- data/assets/stylesheets/patternfly/_bootstrap-treeview.scss +37 -0
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_breadcrumbs.scss +2 -2
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_buttons.scss +8 -10
- data/assets/stylesheets/patternfly/_close.scss +13 -0
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_datatables.scss +69 -33
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_dropdowns.scss +6 -96
- data/assets/stylesheets/patternfly/_fonts.scss +54 -0
- data/assets/stylesheets/patternfly/_forms.scss +31 -0
- data/assets/stylesheets/patternfly/_icons.scss +155 -0
- data/{dist/sass → assets/stylesheets}/patternfly/_infotip.scss +8 -4
- data/{dist/sass → assets/stylesheets}/patternfly/_labels.scss +2 -7
- data/{dist/sass → assets/stylesheets}/patternfly/_list-group.scss +2 -7
- data/assets/stylesheets/patternfly/_login.scss +121 -0
- data/assets/stylesheets/patternfly/_mixin_overrides.scss +55 -0
- data/assets/stylesheets/patternfly/_mixins.scss +96 -0
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_modals.scss +2 -13
- data/{dist/sass → assets/stylesheets}/patternfly/_navbar.scss +98 -176
- data/{dist/sass → assets/stylesheets}/patternfly/_pager.scss +6 -2
- data/assets/stylesheets/patternfly/_pagination.scss +64 -0
- data/assets/stylesheets/patternfly/_panels.scss +57 -0
- data/assets/stylesheets/patternfly/_popovers.scss +32 -0
- data/{dist/sass → assets/stylesheets}/patternfly/_progress-bars.scss +19 -49
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_search.scss +10 -9
- data/{dist/sass → assets/stylesheets}/patternfly/_sidebar.scss +32 -34
- data/assets/stylesheets/patternfly/_spinner.scss +62 -0
- data/{dist/sass → assets/stylesheets}/patternfly/_syntax-highlighting.scss +5 -16
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_tables.scss +4 -24
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_tabs.scss +3 -3
- data/{dist/sass/rcue → assets/stylesheets/patternfly}/_tooltip.scss +3 -2
- data/{dist/sass → assets/stylesheets}/patternfly/_type.scss +5 -10
- data/assets/stylesheets/patternfly/_variables.scss +225 -0
- data/bower.json +29 -0
- data/lib/patternfly-sass.rb +5 -8
- data/lib/patternfly-sass/engine.rb +6 -3
- data/lib/patternfly-sass/version.rb +2 -1
- data/package.json +28 -0
- data/patternfly-sass.gemspec +18 -20
- data/spec/compare_spec.rb +43 -0
- data/spec/spec_helper.rb +9 -0
- data/tasks/converter.rb +455 -0
- data/tests/capture.js +43 -0
- data/tests/components/bootstrap-combobox/.bower.json +14 -0
- data/tests/components/bootstrap-combobox/.gitignore +1 -0
- data/tests/components/bootstrap-combobox/README.md +59 -0
- data/tests/components/bootstrap-combobox/css/bootstrap-combobox.css +42 -0
- data/tests/components/bootstrap-combobox/js/bootstrap-combobox.js +438 -0
- data/tests/components/bootstrap-combobox/js/tests/index.html +29 -0
- data/tests/components/bootstrap-combobox/js/tests/unit/bootstrap-combobox.js +323 -0
- data/tests/components/bootstrap-combobox/js/tests/vendor/jquery.js +9597 -0
- data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.css +244 -0
- data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.js +2152 -0
- data/{dist/sass/patternfly/dependencies/bootstrap-combobox/combobox.scss → tests/components/bootstrap-combobox/less/combobox.less} +8 -10
- data/tests/components/bootstrap-select/.bower.json +38 -0
- data/tests/components/bootstrap-select/CONTRIBUTING.md +87 -0
- data/tests/components/bootstrap-select/README.md +61 -0
- data/tests/components/bootstrap-select/bootstrap-select.css +309 -0
- data/tests/components/bootstrap-select/bootstrap-select.jquery.json +29 -0
- data/tests/components/bootstrap-select/bootstrap-select.js +972 -0
- data/tests/components/bootstrap-select/bootstrap-select.min.css +7 -0
- data/tests/components/bootstrap-select/bootstrap-select.min.js +8 -0
- data/tests/components/bootstrap-select/bower.json +29 -0
- data/tests/components/bootstrap-select/composer.json +17 -0
- data/tests/components/bootstrap-select/i18n/defaults-cs-CZ.js +29 -0
- data/tests/components/bootstrap-select/i18n/defaults-cz-CZ.min.js +6 -0
- data/tests/components/bootstrap-select/i18n/defaults-de_DE.js +29 -0
- data/tests/components/bootstrap-select/i18n/defaults-de_DE.min.js +6 -0
- data/tests/components/bootstrap-select/i18n/defaults-es-CL.js +29 -0
- data/tests/components/bootstrap-select/i18n/defaults-es-CL.min.js +6 -0
- data/tests/components/bootstrap-select/i18n/defaults-eu.js +30 -0
- data/tests/components/bootstrap-select/i18n/defaults-eu.min.js +6 -0
- data/tests/components/bootstrap-select/i18n/defaults-it_IT.js +32 -0
- data/tests/components/bootstrap-select/i18n/defaults-it_IT.min.js +1 -0
- data/tests/components/bootstrap-select/i18n/defaults-nl_NL.js +32 -0
- data/tests/components/bootstrap-select/i18n/defaults-nl_NL.min.js +7 -0
- data/tests/components/bootstrap-select/i18n/defaults-pl_PL.js +29 -0
- data/tests/components/bootstrap-select/i18n/defaults-pl_PL.min.js +6 -0
- data/tests/components/bootstrap-select/i18n/defaults-pt_BR.js +33 -0
- data/tests/components/bootstrap-select/i18n/defaults-pt_BR.min.js +7 -0
- data/tests/components/bootstrap-select/i18n/defaults-ru-RU.js +31 -0
- data/tests/components/bootstrap-select/i18n/defaults-ru_RU.min.js +6 -0
- data/tests/components/bootstrap-select/i18n/defaults-zh_CN.js +30 -0
- data/tests/components/bootstrap-select/i18n/defaults-zh_CN.min.js +6 -0
- data/tests/components/bootstrap-select/package.json +31 -0
- data/tests/components/bootstrap-select/test.html +62 -0
- data/tests/components/bootstrap-treeview/.bower.json +38 -0
- data/tests/components/bootstrap-treeview/Gruntfile.js +62 -0
- data/tests/components/bootstrap-treeview/LICENSE +202 -0
- data/tests/components/bootstrap-treeview/README.md +289 -0
- data/tests/components/bootstrap-treeview/app.js +29 -0
- data/tests/components/bootstrap-treeview/bower.json +29 -0
- data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.css +1 -0
- data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.js +1 -0
- data/tests/components/bootstrap-treeview/package.json +18 -0
- data/tests/components/bootstrap-treeview/public/css/bootstrap-treeview.css +37 -0
- data/tests/components/bootstrap-treeview/public/example-dom.html +59 -0
- data/tests/components/bootstrap-treeview/public/index.html +333 -0
- data/tests/components/bootstrap-treeview/public/js/bootstrap-treeview.js +455 -0
- data/tests/components/bootstrap-treeview/screenshot/default.PNG +0 -0
- data/tests/components/bootstrap-treeview/src/css/bootstrap-treeview.css +37 -0
- data/tests/components/bootstrap-treeview/src/js/bootstrap-treeview.js +455 -0
- data/tests/components/datatables-colreorder/.bower.json +22 -0
- data/tests/components/datatables-colreorder/License.txt +20 -0
- data/tests/components/datatables-colreorder/Readme.md +39 -0
- data/tests/components/datatables-colreorder/bower.json +12 -0
- data/tests/components/datatables-colreorder/css/dataTables.colReorder.css +14 -0
- data/tests/components/datatables-colreorder/examples/alt_insert.xml +30 -0
- data/tests/components/datatables-colreorder/examples/col_filter.xml +38 -0
- data/tests/components/datatables-colreorder/examples/colvis.xml +26 -0
- data/tests/components/datatables-colreorder/examples/fixedcolumns.xml +43 -0
- data/tests/components/datatables-colreorder/examples/fixedheader.xml +27 -0
- data/tests/components/datatables-colreorder/examples/index.xml +19 -0
- data/tests/components/datatables-colreorder/examples/jqueryui.xml +27 -0
- data/tests/components/datatables-colreorder/examples/new_init.xml +23 -0
- data/tests/components/datatables-colreorder/examples/predefined.xml +30 -0
- data/tests/components/datatables-colreorder/examples/realtime.xml +30 -0
- data/tests/components/datatables-colreorder/examples/reset.xml +41 -0
- data/tests/components/datatables-colreorder/examples/scrolling.xml +27 -0
- data/tests/components/datatables-colreorder/examples/server_side.xml +38 -0
- data/tests/components/datatables-colreorder/examples/simple.xml +25 -0
- data/tests/components/datatables-colreorder/examples/state_save.xml +26 -0
- data/tests/components/datatables-colreorder/images/.DS_Store +0 -0
- data/tests/components/datatables-colreorder/images/insert.png +0 -0
- data/tests/components/datatables-colreorder/js/dataTables.colReorder.js +1372 -0
- data/tests/components/datatables-colreorder/make.sh +31 -0
- data/tests/components/datatables-colvis/.bower.json +22 -0
- data/tests/components/datatables-colvis/License.txt +20 -0
- data/tests/components/datatables-colvis/README.md +38 -0
- data/tests/components/datatables-colvis/bower.json +12 -0
- data/tests/components/datatables-colvis/css/dataTables.colVis.css +185 -0
- data/tests/components/datatables-colvis/css/dataTables.colvis.jqueryui.css +41 -0
- data/tests/components/datatables-colvis/examples/.DS_Store +0 -0
- data/tests/components/datatables-colvis/examples/button_order.xml +26 -0
- data/tests/components/datatables-colvis/examples/exclude_columns.xml +28 -0
- data/tests/components/datatables-colvis/examples/group_columns.xml +40 -0
- data/tests/components/datatables-colvis/examples/index.xml +18 -0
- data/tests/components/datatables-colvis/examples/jqueryui.xml +28 -0
- data/tests/components/datatables-colvis/examples/mouseover.xml +28 -0
- data/tests/components/datatables-colvis/examples/new_init.xml +26 -0
- data/tests/components/datatables-colvis/examples/restore.xml +33 -0
- data/tests/components/datatables-colvis/examples/simple.xml +25 -0
- data/tests/components/datatables-colvis/examples/text.xml +29 -0
- data/tests/components/datatables-colvis/examples/title_callback.xml +30 -0
- data/tests/components/datatables-colvis/examples/two_tables.xml +24 -0
- data/tests/components/datatables-colvis/examples/two_tables_identical.xml +35 -0
- data/tests/components/datatables-colvis/js/dataTables.colVis.js +1123 -0
- data/tests/components/datatables-colvis/make.sh +28 -0
- data/tests/components/datatables/.bower.json +42 -0
- data/tests/components/datatables/Contributing.md +18 -0
- data/tests/components/datatables/Readme.md +53 -0
- data/tests/components/datatables/bower.json +32 -0
- data/tests/components/datatables/license.txt +20 -0
- data/tests/components/datatables/media/css/jquery.dataTables.css +455 -0
- data/tests/components/datatables/media/css/jquery.dataTables.min.css +1 -0
- data/tests/components/datatables/media/css/jquery.dataTables_themeroller.css +416 -0
- data/tests/components/datatables/media/images/Sorting icons.psd +0 -0
- data/tests/components/datatables/media/images/favicon.ico +0 -0
- data/tests/components/datatables/media/images/sort_asc.png +0 -0
- data/tests/components/datatables/media/images/sort_asc_disabled.png +0 -0
- data/tests/components/datatables/media/images/sort_both.png +0 -0
- data/tests/components/datatables/media/images/sort_desc.png +0 -0
- data/tests/components/datatables/media/images/sort_desc_disabled.png +0 -0
- data/tests/components/datatables/media/js/jquery.dataTables.js +14951 -0
- data/tests/components/datatables/media/js/jquery.dataTables.min.js +160 -0
- data/tests/components/datatables/media/js/jquery.js +5 -0
- data/tests/components/google-code-prettify/.bower.json +26 -0
- data/tests/components/google-code-prettify/CHANGES.html +172 -0
- data/tests/components/google-code-prettify/COPYING +191 -0
- data/tests/components/google-code-prettify/README-zh-Hans.html +143 -0
- data/tests/components/google-code-prettify/README.html +233 -0
- data/tests/components/google-code-prettify/README.md +54 -0
- data/tests/components/google-code-prettify/bin/prettify.min.css +1 -0
- data/tests/components/google-code-prettify/bin/prettify.min.js +30 -0
- data/tests/components/google-code-prettify/bin/run_prettify.min.js +34 -0
- data/tests/components/google-code-prettify/bower.json +16 -0
- data/tests/components/google-code-prettify/examples/quine.html +55 -0
- data/tests/components/google-code-prettify/src/lang-apollo.js +51 -0
- data/tests/components/google-code-prettify/src/lang-basic.js +32 -0
- data/tests/components/google-code-prettify/src/lang-clj.js +64 -0
- data/tests/components/google-code-prettify/src/lang-css.js +159 -0
- data/tests/components/google-code-prettify/src/lang-dart.js +88 -0
- data/tests/components/google-code-prettify/src/lang-erlang.js +92 -0
- data/tests/components/google-code-prettify/src/lang-go.js +58 -0
- data/tests/components/google-code-prettify/src/lang-hs.js +101 -0
- data/tests/components/google-code-prettify/src/lang-lisp.js +94 -0
- data/tests/components/google-code-prettify/src/lang-llvm.js +61 -0
- data/tests/components/google-code-prettify/src/lang-lua.js +59 -0
- data/tests/components/google-code-prettify/src/lang-matlab.js +180 -0
- data/tests/components/google-code-prettify/src/lang-ml.js +56 -0
- data/tests/components/google-code-prettify/src/lang-mumps.js +139 -0
- data/tests/components/google-code-prettify/src/lang-n.js +65 -0
- data/tests/components/google-code-prettify/src/lang-pascal.js +32 -0
- data/tests/components/google-code-prettify/src/lang-proto.js +35 -0
- data/tests/components/google-code-prettify/src/lang-r.js +57 -0
- data/tests/components/google-code-prettify/src/lang-rd.js +47 -0
- data/tests/components/google-code-prettify/src/lang-scala.js +54 -0
- data/tests/components/google-code-prettify/src/lang-sql.js +58 -0
- data/tests/components/google-code-prettify/src/lang-tcl.js +62 -0
- data/tests/components/google-code-prettify/src/lang-tex.js +46 -0
- data/tests/components/google-code-prettify/src/lang-vb.js +66 -0
- data/tests/components/google-code-prettify/src/lang-vhdl.js +34 -0
- data/tests/components/google-code-prettify/src/lang-wiki.js +53 -0
- data/tests/components/google-code-prettify/src/lang-xq.js +67 -0
- data/tests/components/google-code-prettify/src/lang-yaml.js +27 -0
- data/tests/components/google-code-prettify/src/prettify.css +52 -0
- data/tests/components/google-code-prettify/src/prettify.js +1655 -0
- data/tests/components/google-code-prettify/src/run_prettify.js +1905 -0
- data/tests/components/google-code-prettify/styles/demo.html +61 -0
- data/tests/components/google-code-prettify/styles/desert.css +34 -0
- data/tests/components/google-code-prettify/styles/doxy.css +64 -0
- data/tests/components/google-code-prettify/styles/index.html +89 -0
- data/tests/components/google-code-prettify/styles/sons-of-obsidian.css +118 -0
- data/tests/components/google-code-prettify/styles/sunburst.css +51 -0
- data/tests/components/jquery/.bower.json +38 -0
- data/tests/components/jquery/MIT-LICENSE.txt +21 -0
- data/tests/components/jquery/bower.json +28 -0
- data/tests/components/jquery/dist/jquery.js +9210 -0
- data/tests/components/jquery/dist/jquery.min.js +5 -0
- data/tests/components/jquery/dist/jquery.min.map +1 -0
- data/tests/components/jquery/src/ajax.js +786 -0
- data/tests/components/jquery/src/ajax/jsonp.js +89 -0
- data/tests/components/jquery/src/ajax/load.js +75 -0
- data/tests/components/jquery/src/ajax/parseJSON.js +13 -0
- data/tests/components/jquery/src/ajax/parseXML.js +28 -0
- data/tests/components/jquery/src/ajax/script.js +64 -0
- data/tests/components/jquery/src/ajax/var/nonce.js +5 -0
- data/tests/components/jquery/src/ajax/var/rquery.js +3 -0
- data/tests/components/jquery/src/ajax/xhr.js +136 -0
- data/tests/components/jquery/src/attributes.js +11 -0
- data/tests/components/jquery/src/attributes/attr.js +141 -0
- data/tests/components/jquery/src/attributes/classes.js +158 -0
- data/tests/components/jquery/src/attributes/prop.js +94 -0
- data/tests/components/jquery/src/attributes/support.js +35 -0
- data/tests/components/jquery/src/attributes/val.js +161 -0
- data/tests/components/jquery/src/callbacks.js +205 -0
- data/tests/components/jquery/src/core.js +502 -0
- data/tests/components/jquery/src/core/access.js +60 -0
- data/tests/components/jquery/src/core/init.js +123 -0
- data/tests/components/jquery/src/core/parseHTML.js +39 -0
- data/tests/components/jquery/src/core/ready.js +97 -0
- data/tests/components/jquery/src/core/var/rsingleTag.js +4 -0
- data/tests/components/jquery/src/css.js +450 -0
- data/tests/components/jquery/src/css/addGetHookIf.js +22 -0
- data/tests/components/jquery/src/css/curCSS.js +57 -0
- data/tests/components/jquery/src/css/defaultDisplay.js +70 -0
- data/tests/components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/tests/components/jquery/src/css/support.js +96 -0
- data/tests/components/jquery/src/css/swap.js +28 -0
- data/tests/components/jquery/src/css/var/cssExpand.js +3 -0
- data/tests/components/jquery/src/css/var/getStyles.js +12 -0
- data/tests/components/jquery/src/css/var/isHidden.js +13 -0
- data/tests/components/jquery/src/css/var/rmargin.js +3 -0
- data/tests/components/jquery/src/css/var/rnumnonpx.js +5 -0
- data/tests/components/jquery/src/data.js +178 -0
- data/tests/components/jquery/src/data/Data.js +181 -0
- data/tests/components/jquery/src/data/accepts.js +20 -0
- data/tests/components/jquery/src/data/var/data_priv.js +5 -0
- data/tests/components/jquery/src/data/var/data_user.js +5 -0
- data/tests/components/jquery/src/deferred.js +149 -0
- data/tests/components/jquery/src/deprecated.js +13 -0
- data/tests/components/jquery/src/dimensions.js +50 -0
- data/tests/components/jquery/src/effects.js +648 -0
- data/tests/components/jquery/src/effects/Tween.js +114 -0
- data/tests/components/jquery/src/effects/animatedSelector.js +13 -0
- data/tests/components/jquery/src/event.js +868 -0
- data/tests/components/jquery/src/event/ajax.js +13 -0
- data/tests/components/jquery/src/event/alias.js +39 -0
- data/tests/components/jquery/src/event/support.js +9 -0
- data/tests/components/jquery/src/exports/amd.js +24 -0
- data/tests/components/jquery/src/exports/global.js +32 -0
- data/tests/components/jquery/src/intro.js +44 -0
- data/tests/components/jquery/src/jquery.js +37 -0
- data/tests/components/jquery/src/manipulation.js +580 -0
- data/tests/components/jquery/src/manipulation/_evalUrl.js +18 -0
- data/tests/components/jquery/src/manipulation/support.js +32 -0
- data/tests/components/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/tests/components/jquery/src/offset.js +207 -0
- data/tests/components/jquery/src/outro.js +1 -0
- data/tests/components/jquery/src/queue.js +142 -0
- data/tests/components/jquery/src/queue/delay.js +22 -0
- data/tests/components/jquery/src/selector-native.js +172 -0
- data/tests/components/jquery/src/selector-sizzle.js +14 -0
- data/tests/components/jquery/src/selector.js +1 -0
- data/tests/components/jquery/src/serialize.js +111 -0
- data/tests/components/jquery/src/sizzle/dist/sizzle.js +2067 -0
- data/tests/components/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/tests/components/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/tests/components/jquery/src/traversing.js +199 -0
- data/tests/components/jquery/src/traversing/findFilter.js +100 -0
- data/tests/components/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/tests/components/jquery/src/var/arr.js +3 -0
- data/tests/components/jquery/src/var/class2type.js +4 -0
- data/tests/components/jquery/src/var/concat.js +5 -0
- data/tests/components/jquery/src/var/hasOwn.js +5 -0
- data/tests/components/jquery/src/var/indexOf.js +5 -0
- data/tests/components/jquery/src/var/pnum.js +3 -0
- data/tests/components/jquery/src/var/push.js +5 -0
- data/tests/components/jquery/src/var/rnotwhite.js +3 -0
- data/tests/components/jquery/src/var/slice.js +5 -0
- data/tests/components/jquery/src/var/strundefined.js +3 -0
- data/tests/components/jquery/src/var/support.js +4 -0
- data/tests/components/jquery/src/var/toString.js +5 -0
- data/tests/components/jquery/src/wrap.js +79 -0
- data/tests/index.html +16 -0
- data/tests/patternfly/accordions.html +84 -0
- data/tests/patternfly/alerts.html +85 -0
- data/tests/patternfly/badges.html +67 -0
- data/tests/patternfly/basic.html +552 -0
- data/tests/patternfly/blank-slate.html +77 -0
- data/tests/patternfly/bootstrap-combobox.html +338 -0
- data/tests/patternfly/bootstrap-select.html +210 -0
- data/tests/patternfly/bootstrap-treeview-2.html +271 -0
- data/tests/patternfly/bootstrap-treeview.html +234 -0
- data/tests/patternfly/breadcrumbs.html +46 -0
- data/tests/patternfly/buttons.html +521 -0
- data/tests/patternfly/code.html +77 -0
- data/tests/patternfly/dashboard.html +217 -0
- data/tests/patternfly/datatables-columns.html +487 -0
- data/tests/patternfly/datatables.html +466 -0
- data/tests/patternfly/dist/css/patternfly.css +11483 -0
- data/tests/patternfly/dist/css/patternfly.min.css +10 -0
- data/tests/patternfly/dist/css/styles.css +1 -0
- data/tests/patternfly/dist/css/styles.min.css +1 -0
- data/tests/patternfly/dropdowns.html +48 -0
- data/tests/patternfly/form.html +257 -0
- data/tests/patternfly/forms.html +425 -0
- data/tests/patternfly/icons.html +276 -0
- data/tests/patternfly/img/dashboard-1.png +0 -0
- data/tests/patternfly/img/dashboard-2.png +0 -0
- data/tests/patternfly/img/dashboard-3.png +0 -0
- data/tests/patternfly/img/dashboard-4.png +0 -0
- data/tests/patternfly/index.html +163 -0
- data/tests/patternfly/infotip.html +82 -0
- data/tests/patternfly/labels.html +102 -0
- data/tests/patternfly/list-group.html +105 -0
- data/tests/patternfly/login.html +74 -0
- data/tests/patternfly/modals.html +77 -0
- data/tests/patternfly/navbar.html +5424 -0
- data/tests/patternfly/pagination.html +277 -0
- data/tests/patternfly/panels.html +107 -0
- data/tests/patternfly/popovers.html +98 -0
- data/tests/patternfly/progress-bars.html +271 -0
- data/tests/patternfly/search.html +165 -0
- data/tests/patternfly/spinner.html +66 -0
- data/tests/patternfly/tab.html +595 -0
- data/tests/patternfly/tables.html +203 -0
- data/tests/patternfly/tabs.html +273 -0
- data/tests/patternfly/tests.css +16 -0
- data/tests/patternfly/tooltip.html +64 -0
- data/tests/patternfly/typography-2.css +10 -0
- data/tests/patternfly/typography-2.html +284 -0
- data/tests/patternfly/typography.html +189 -0
- metadata +843 -374
- data/CODE_OF_CONDUCT.md +0 -4
- data/OPEN_SOURCE_LICENCES.txt +0 -1366
- data/QUICKSTART.md +0 -210
- data/dist/fonts/FontAwesome.otf +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.svg +0 -19028
- data/dist/fonts/OpenSans-Bold-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.svg +0 -19036
- data/dist/fonts/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.eot +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.svg +0 -19030
- data/dist/fonts/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.woff +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg +0 -19036
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.svg +0 -19043
- data/dist/fonts/OpenSans-Italic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Light-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Light-webfont.svg +0 -19026
- data/dist/fonts/OpenSans-Light-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Light-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Light-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.svg +0 -19039
- data/dist/fonts/OpenSans-LightItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.svg +0 -19030
- data/dist/fonts/OpenSans-Regular-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.svg +0 -19030
- data/dist/fonts/OpenSans-Semibold-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -19043
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.eot +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.svg +0 -140
- data/dist/fonts/PatternFlyIcons-webfont.ttf +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.woff +0 -0
- data/dist/fonts/fontawesome-webfont.eot +0 -0
- data/dist/fonts/fontawesome-webfont.svg +0 -2671
- data/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/dist/fonts/fontawesome-webfont.woff +0 -0
- data/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/dist/fonts/glyphicons-halflings-regular.svg +0 -288
- data/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/dist/img/Logo_Horizontal_Reversed.svg +0 -49
- data/dist/img/OpenShift-Logo-NoText.svg +0 -51
- data/dist/img/OpenShift-Logo-Text.svg +0 -95
- data/dist/img/OpenShift-logo.svg +0 -69
- data/dist/img/RH_Atomic-Logo-NoText.svg +0 -53
- data/dist/img/RH_Atomic-Logo-Text.svg +0 -91
- data/dist/img/RH_atomic.svg +0 -88
- data/dist/img/apple-touch-icon-precomposed-114.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-144.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-152.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-180.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-57.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-72.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-76.png +0 -0
- data/dist/img/bg-login-2.png +0 -0
- data/dist/img/bg-login.png +0 -0
- data/dist/img/bg-modal-about-pf.png +0 -0
- data/dist/img/bg-navbar-pf-alt.svg +0 -9
- data/dist/img/brand-alt.svg +0 -88
- data/dist/img/dropbox-logo.svg +0 -15
- data/dist/img/facebook-logo.svg +0 -12
- data/dist/img/favicon.ico +0 -0
- data/dist/img/fedora-logo.png +0 -0
- data/dist/img/git-logo.svg +0 -21
- data/dist/img/github-logo.svg +0 -17
- data/dist/img/gmail.svg +0 -23
- data/dist/img/google-calendar.svg +0 -26
- data/dist/img/google-drive.svg +0 -17
- data/dist/img/google-logo.svg +0 -19
- data/dist/img/instagram-logo.png +0 -0
- data/dist/img/kubernetes-Logo.svg +0 -60
- data/dist/img/kubernetes.svg +0 -8
- data/dist/img/linkedin-logo.svg +0 -13
- data/dist/img/logo-alt.svg +0 -18
- data/dist/img/open-id-logo.svg +0 -19
- data/dist/img/rcue-full.svg +0 -221
- data/dist/img/rcue.svg +0 -92
- data/dist/img/redhat_reverse.png +0 -0
- data/dist/img/skype-logo.svg +0 -23
- data/dist/img/spinner-inverse-lg.gif +0 -0
- data/dist/img/spinner-inverse-sm.gif +0 -0
- data/dist/img/spinner-inverse-xs.gif +0 -0
- data/dist/img/spinner-inverse.gif +0 -0
- data/dist/img/stack-exchange-logo.svg +0 -21
- data/dist/img/twitter-logo.svg +0 -19
- data/dist/js/patternfly-functions-base.js +0 -7
- data/dist/js/patternfly-functions-charts.js +0 -13
- data/dist/js/patternfly-functions-colors.js +0 -8
- data/dist/js/patternfly-functions-count-chars.js +0 -59
- data/dist/js/patternfly-functions-data-tables.js +0 -149
- data/dist/js/patternfly-functions-fixed-heights.js +0 -109
- data/dist/js/patternfly-functions-list.js +0 -79
- data/dist/js/patternfly-functions-navigation.js +0 -113
- data/dist/js/patternfly-functions-popovers.js +0 -37
- data/dist/js/patternfly-functions-sidebar.js +0 -31
- data/dist/js/patternfly-functions-tree-grid.js +0 -82
- data/dist/js/patternfly-functions-vertical-nav.js +0 -610
- data/dist/js/patternfly-functions.js +0 -1307
- data/dist/js/patternfly-functions.min.js +0 -1
- data/dist/js/patternfly-settings-base.d.ts +0 -9
- data/dist/js/patternfly-settings-base.js +0 -16
- data/dist/js/patternfly-settings-charts.d.ts +0 -92
- data/dist/js/patternfly-settings-charts.js +0 -449
- data/dist/js/patternfly-settings-colors.d.ts +0 -88
- data/dist/js/patternfly-settings-colors.js +0 -91
- data/dist/js/patternfly-settings.d.ts +0 -3
- data/dist/js/patternfly-settings.js +0 -558
- data/dist/js/patternfly-settings.min.js +0 -1
- data/dist/js/patternfly.dataTables.pfColVis.js +0 -151
- data/dist/js/patternfly.dataTables.pfEmpty.js +0 -253
- data/dist/js/patternfly.dataTables.pfEmpty.min.js +0 -1
- data/dist/js/patternfly.dataTables.pfFilter.js +0 -429
- data/dist/js/patternfly.dataTables.pfFilter.min.js +0 -1
- data/dist/js/patternfly.dataTables.pfPagination.js +0 -401
- data/dist/js/patternfly.dataTables.pfPagination.min.js +0 -1
- data/dist/js/patternfly.dataTables.pfResize.js +0 -214
- data/dist/js/patternfly.dataTables.pfResize.min.js +0 -1
- data/dist/js/patternfly.dataTables.pfSelect.js +0 -281
- data/dist/js/patternfly.dataTables.pfSelect.min.js +0 -1
- data/dist/js/patternfly.js +0 -1866
- data/dist/js/patternfly.min.js +0 -2
- data/dist/sass/_patternfly.scss +0 -147
- data/dist/sass/patternfly/_about-modal.scss +0 -44
- data/dist/sass/patternfly/_accordion.scss +0 -18
- data/dist/sass/patternfly/_alerts.scss +0 -44
- data/dist/sass/patternfly/_application-launcher.scss +0 -213
- data/dist/sass/patternfly/_blank-slate.scss +0 -52
- data/dist/sass/patternfly/_bootstrap-combobox.scss +0 -35
- data/dist/sass/patternfly/_bootstrap-datepicker.scss +0 -132
- data/dist/sass/patternfly/_bootstrap-mixin-overrides.scss +0 -33
- data/dist/sass/patternfly/_bootstrap-slider.scss +0 -66
- data/dist/sass/patternfly/_bootstrap-switch.scss +0 -19
- data/dist/sass/patternfly/_bootstrap-touchspin.scss +0 -31
- data/dist/sass/patternfly/_bootstrap-treeview.scss +0 -89
- data/dist/sass/patternfly/_breadcrumbs.scss +0 -20
- data/dist/sass/patternfly/_buttons.scss +0 -50
- data/dist/sass/patternfly/_card-view.scss +0 -105
- data/dist/sass/patternfly/_cards.scss +0 -238
- data/dist/sass/patternfly/_charts.scss +0 -388
- data/dist/sass/patternfly/_close.scss +0 -16
- data/dist/sass/patternfly/_color-variables.scss +0 -85
- data/dist/sass/patternfly/_context-selector.scss +0 -125
- data/dist/sass/patternfly/_datatables.scss +0 -186
- data/dist/sass/patternfly/_date-and-time.scss +0 -35
- data/dist/sass/patternfly/_dropdowns.scss +0 -235
- data/dist/sass/patternfly/_experimental-features.scss +0 -48
- data/dist/sass/patternfly/_filter.scss +0 -42
- data/dist/sass/patternfly/_fonts.scss +0 -124
- data/dist/sass/patternfly/_footer.scss +0 -19
- data/dist/sass/patternfly/_forms.scss +0 -192
- data/dist/sass/patternfly/_icons.scss +0 -371
- data/dist/sass/patternfly/_layouts.scss +0 -140
- data/dist/sass/patternfly/_links.scss +0 -5
- data/dist/sass/patternfly/_list-pf.scss +0 -178
- data/dist/sass/patternfly/_list-view-dnd.scss +0 -53
- data/dist/sass/patternfly/_list-view.scss +0 -390
- data/dist/sass/patternfly/_login.scss +0 -341
- data/dist/sass/patternfly/_mixins.scss +0 -81
- data/dist/sass/patternfly/_modals.scss +0 -49
- data/dist/sass/patternfly/_nav-vertical-alt.scss +0 -168
- data/dist/sass/patternfly/_navbar-alt.scss +0 -141
- data/dist/sass/patternfly/_navbar-vertical.scss +0 -168
- data/dist/sass/patternfly/_notifications-drawer.scss +0 -250
- data/dist/sass/patternfly/_pagination.scss +0 -121
- data/dist/sass/patternfly/_panels.scss +0 -134
- data/dist/sass/patternfly/_popovers.scss +0 -52
- data/dist/sass/patternfly/_rcue-about-modal.scss +0 -45
- data/dist/sass/patternfly/_rcue-additions.scss +0 -11
- data/dist/sass/patternfly/_rcue-login.scss +0 -75
- data/dist/sass/patternfly/_rcue-variables.scss +0 -57
- data/dist/sass/patternfly/_rcue.scss +0 -6
- data/dist/sass/patternfly/_search.scss +0 -64
- data/dist/sass/patternfly/_skip-to-content.scss +0 -12
- data/dist/sass/patternfly/_spinner.scss +0 -72
- data/dist/sass/patternfly/_table-view.scss +0 -188
- data/dist/sass/patternfly/_tables.scss +0 -90
- data/dist/sass/patternfly/_tabs.scss +0 -118
- data/dist/sass/patternfly/_time-picker.scss +0 -98
- data/dist/sass/patternfly/_toast.scss +0 -75
- data/dist/sass/patternfly/_toolbar.scss +0 -190
- data/dist/sass/patternfly/_tooltip.scss +0 -15
- data/dist/sass/patternfly/_tree-list-view.scss +0 -83
- data/dist/sass/patternfly/_variables.scss +0 -595
- data/dist/sass/patternfly/_vertical-nav.scss +0 -944
- data/dist/sass/patternfly/_wizard.scss +0 -665
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker.scss +0 -242
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker3.scss +0 -257
- data/dist/sass/patternfly/dependencies/bootstrap-select/bootstrap-select.scss +0 -389
- data/dist/sass/patternfly/dependencies/bootstrap-select/variables.scss +0 -9
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_mixins.scss +0 -25
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_rules.scss +0 -246
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_variables.scss +0 -28
- data/dist/sass/patternfly/dependencies/bootstrap-slider/bootstrap-slider.scss +0 -42
- data/dist/sass/patternfly/dependencies/bootstrap-switch/bootstrap-switch.scss +0 -195
- data/dist/sass/patternfly/dependencies/bootstrap-switch/build.scss +0 -3
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins.scss +0 -40
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/alerts.scss +0 -14
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/background-variant.scss +0 -9
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/border-radius.scss +0 -18
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/buttons.scss +0 -68
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/center-block.scss +0 -7
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/clearfix.scss +0 -22
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/forms.scss +0 -85
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/gradients.scss +0 -59
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid-framework.scss +0 -98
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid.scss +0 -122
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/hide-text.scss +0 -21
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/image.scss +0 -33
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/labels.scss +0 -12
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss +0 -29
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-divider.scss +0 -10
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-vertical-align.scss +0 -9
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/opacity.scss +0 -8
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/pagination.scss +0 -23
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/panels.scss +0 -24
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/progress-bar.scss +0 -10
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-filter.scss +0 -8
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-text.scss +0 -18
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/resize.scss +0 -6
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/responsive-visibility.scss +0 -15
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/size.scss +0 -10
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/tab-focus.scss +0 -9
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/table-row.scss +0 -28
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-emphasis.scss +0 -9
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-overflow.scss +0 -8
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/vendor-prefixes.scss +0 -227
- data/dist/sass/patternfly/dependencies/bootstrap-switch/variables.scss +0 -862
- data/dist/sass/patternfly/dependencies/bootstrap-touchspin/_jquery.bootstrap-touchspin.scss +0 -45
- data/dist/sass/patternfly/dependencies/c3/_c3.scss +0 -178
- data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/_bootstrap-datetimepicker.scss +0 -344
- data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker-build.scss +0 -16
- data/dist/sass/rcue/_about-modal.scss +0 -44
- data/dist/sass/rcue/_accordion.scss +0 -18
- data/dist/sass/rcue/_alerts.scss +0 -44
- data/dist/sass/rcue/_badges.scss +0 -11
- data/dist/sass/rcue/_blank-slate.scss +0 -52
- data/dist/sass/rcue/_bootstrap-datepicker.scss +0 -132
- data/dist/sass/rcue/_bootstrap-mixin-overrides.scss +0 -33
- data/dist/sass/rcue/_bootstrap-select.scss +0 -108
- data/dist/sass/rcue/_bootstrap-slider.scss +0 -66
- data/dist/sass/rcue/_bootstrap-switch.scss +0 -19
- data/dist/sass/rcue/_bootstrap-touchspin.scss +0 -31
- data/dist/sass/rcue/_bootstrap-treeview.scss +0 -89
- data/dist/sass/rcue/_card-view.scss +0 -105
- data/dist/sass/rcue/_cards.scss +0 -238
- data/dist/sass/rcue/_charts.scss +0 -388
- data/dist/sass/rcue/_close.scss +0 -16
- data/dist/sass/rcue/_color-variables.scss +0 -85
- data/dist/sass/rcue/_context-selector.scss +0 -125
- data/dist/sass/rcue/_date-and-time.scss +0 -35
- data/dist/sass/rcue/_experimental-features.scss +0 -48
- data/dist/sass/rcue/_filter.scss +0 -42
- data/dist/sass/rcue/_fonts.scss +0 -124
- data/dist/sass/rcue/_footer.scss +0 -19
- data/dist/sass/rcue/_forms.scss +0 -192
- data/dist/sass/rcue/_icons.scss +0 -371
- data/dist/sass/rcue/_infotip.scss +0 -145
- data/dist/sass/rcue/_labels.scss +0 -17
- data/dist/sass/rcue/_layouts.scss +0 -140
- data/dist/sass/rcue/_links.scss +0 -5
- data/dist/sass/rcue/_list-group.scss +0 -23
- data/dist/sass/rcue/_list-pf.scss +0 -178
- data/dist/sass/rcue/_list-view-dnd.scss +0 -53
- data/dist/sass/rcue/_list-view.scss +0 -390
- data/dist/sass/rcue/_login.scss +0 -341
- data/dist/sass/rcue/_mixins.scss +0 -81
- data/dist/sass/rcue/_nav-vertical-alt.scss +0 -168
- data/dist/sass/rcue/_navbar-alt.scss +0 -141
- data/dist/sass/rcue/_navbar-vertical.scss +0 -168
- data/dist/sass/rcue/_navbar.scss +0 -579
- data/dist/sass/rcue/_notifications-drawer.scss +0 -250
- data/dist/sass/rcue/_pager.scss +0 -68
- data/dist/sass/rcue/_pagination.scss +0 -121
- data/dist/sass/rcue/_panels.scss +0 -134
- data/dist/sass/rcue/_patternfly-additions.scss +0 -76
- data/dist/sass/rcue/_patternfly.scss +0 -31
- data/dist/sass/rcue/_popovers.scss +0 -52
- data/dist/sass/rcue/_progress-bars.scss +0 -121
- data/dist/sass/rcue/_rcue-about-modal.scss +0 -45
- data/dist/sass/rcue/_rcue-login.scss +0 -75
- data/dist/sass/rcue/_rcue-variables.scss +0 -57
- data/dist/sass/rcue/_sidebar.scss +0 -176
- data/dist/sass/rcue/_skip-to-content.scss +0 -12
- data/dist/sass/rcue/_spinner.scss +0 -72
- data/dist/sass/rcue/_syntax-highlighting.scss +0 -36
- data/dist/sass/rcue/_table-view.scss +0 -188
- data/dist/sass/rcue/_time-picker.scss +0 -98
- data/dist/sass/rcue/_toast.scss +0 -75
- data/dist/sass/rcue/_toolbar.scss +0 -190
- data/dist/sass/rcue/_tree-list-view.scss +0 -83
- data/dist/sass/rcue/_type.scss +0 -29
- data/dist/sass/rcue/_variables.scss +0 -595
- data/dist/sass/rcue/_vertical-nav.scss +0 -944
- data/dist/sass/rcue/_wizard.scss +0 -665
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* Module dependencies.
|
4
|
+
*/
|
5
|
+
|
6
|
+
var express = require('express');
|
7
|
+
var http = require('http');
|
8
|
+
var path = require('path');
|
9
|
+
|
10
|
+
var app = express();
|
11
|
+
|
12
|
+
// all environments
|
13
|
+
app.set('port', process.env.PORT || 3000);
|
14
|
+
app.use(express.favicon());
|
15
|
+
app.use(express.logger('dev'));
|
16
|
+
app.use(express.json());
|
17
|
+
app.use(express.urlencoded());
|
18
|
+
app.use(express.methodOverride());
|
19
|
+
app.use(express.static(path.join(__dirname, '/public')));
|
20
|
+
app.use(express.static(path.join(__dirname, '/tests')));
|
21
|
+
|
22
|
+
// development only
|
23
|
+
if ('development' == app.get('env')) {
|
24
|
+
app.use(express.errorHandler());
|
25
|
+
}
|
26
|
+
|
27
|
+
http.createServer(app).listen(app.get('port'), function(){
|
28
|
+
console.log('Express server listening on port ' + app.get('port'));
|
29
|
+
});
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"name": "bootstrap-treeview",
|
3
|
+
"version": "1.0.2",
|
4
|
+
"homepage": "https://github.com/jonmiles/bootstrap-treeview",
|
5
|
+
"description": "Tree View for Twitter Bootstrap",
|
6
|
+
"main": [
|
7
|
+
"dist/bootstrap-treeview.min.js",
|
8
|
+
"dist/bootstrap-treeview.min.css"
|
9
|
+
],
|
10
|
+
"keywords": [
|
11
|
+
"Twitter",
|
12
|
+
"Bootstrap",
|
13
|
+
"Tree",
|
14
|
+
"TreeView",
|
15
|
+
"Navigation"
|
16
|
+
],
|
17
|
+
"ignore": [
|
18
|
+
"**/.*",
|
19
|
+
"node_modules",
|
20
|
+
"bower_components",
|
21
|
+
"test",
|
22
|
+
"tests"
|
23
|
+
],
|
24
|
+
"dependencies": {
|
25
|
+
"bootstrap": ">= 3.0.0",
|
26
|
+
"jquery": ">= 1.9.0"
|
27
|
+
},
|
28
|
+
"devDependencies": {}
|
29
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.treeview .list-group-item{cursor:pointer}.treeview span.indent{margin-left:10px;margin-right:10px}.treeview span.expand-collapse{width:1rem;height:1rem}.treeview span.icon{margin-left:10px;margin-right:5px}
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(a,b,c,d){"use strict";var e="treeview",f=function(b,c){this.$element=a(b),this._element=b,this._elementId=this._element.id,this._styleId=this._elementId+"-style",this.tree=[],this.nodes=[],this.selectedNode={},this._init(c)};f.defaults={injectStyle:!0,levels:2,expandIcon:"glyphicon glyphicon-plus",collapseIcon:"glyphicon glyphicon-minus",emptyIcon:"glyphicon",nodeIcon:"glyphicon glyphicon-stop",color:d,backColor:d,borderColor:d,onhoverColor:"#F5F5F5",selectedColor:"#FFFFFF",selectedBackColor:"#428bca",enableLinks:!1,highlightSelected:!0,showBorder:!0,showTags:!1,onNodeSelected:d},f.prototype={remove:function(){this._destroy(),a.removeData(this,"plugin_"+e),a("#"+this._styleId).remove()},_destroy:function(){this.initialized&&(this.$wrapper.remove(),this.$wrapper=null,this._unsubscribeEvents()),this.initialized=!1},_init:function(b){b.data&&("string"==typeof b.data&&(b.data=a.parseJSON(b.data)),this.tree=a.extend(!0,[],b.data),delete b.data),this.options=a.extend({},f.defaults,b),this._setInitialLevels(this.tree,0),this._destroy(),this._subscribeEvents(),this._render()},_unsubscribeEvents:function(){this.$element.off("click"),"function"==typeof this.options.onNodeSelected&&this.$element.off("nodeSelected")},_subscribeEvents:function(){this._unsubscribeEvents(),this.$element.on("click",a.proxy(this._clickHandler,this)),"function"==typeof this.options.onNodeSelected&&this.$element.on("nodeSelected",this.options.onNodeSelected)},_clickHandler:function(b){this.options.enableLinks||b.preventDefault();var c=a(b.target),d=c.attr("class")?c.attr("class").split(" "):[],e=this._findNode(c);-1!=d.indexOf("click-expand")||-1!=d.indexOf("click-collapse")?(this._toggleNodes(e),this._render()):e&&(this._isSelectable(e)?this._setSelectedNode(e):(this._toggleNodes(e),this._render()))},_findNode:function(a){var b=a.closest("li.list-group-item").attr("data-nodeid"),c=this.nodes[b];return c||console.log("Error: node does not exist"),c},_triggerNodeSelectedEvent:function(b){this.$element.trigger("nodeSelected",[a.extend(!0,{},b)])},_setSelectedNode:function(a){a&&(a===this.selectedNode?this.selectedNode={}:this._triggerNodeSelectedEvent(this.selectedNode=a),this._render())},_setInitialLevels:function(b,c){if(b){c+=1;var e=this;a.each(b,function(a,b){c>=e.options.levels&&e._toggleNodes(b);var f=b.nodes?b.nodes:b._nodes?b._nodes:d;return f?e._setInitialLevels(f,c):void 0})}},_toggleNodes:function(a){(a.nodes||a._nodes)&&(a.nodes?(a._nodes=a.nodes,delete a.nodes):(a.nodes=a._nodes,delete a._nodes))},_isSelectable:function(a){return a.selectable!==!1},_render:function(){var b=this;b.initialized||(b.$element.addClass(e),b.$wrapper=a(b._template.list),b._injectStyle(),b.initialized=!0),b.$element.empty().append(b.$wrapper.empty()),b.nodes=[],b._buildTree(b.tree,0)},_buildTree:function(b,c){if(b){c+=1;var d=this;a.each(b,function(b,e){e.nodeId=d.nodes.length,d.nodes.push(e);for(var f=a(d._template.item).addClass("node-"+d._elementId).addClass(e===d.selectedNode?"node-selected":"").attr("data-nodeid",e.nodeId).attr("style",d._buildStyleOverride(e)),g=0;c-1>g;g++)f.append(d._template.indent);return f.append(e._nodes?a(d._template.expandCollapseIcon).addClass("click-expand").addClass(d.options.expandIcon):e.nodes?a(d._template.expandCollapseIcon).addClass("click-collapse").addClass(d.options.collapseIcon):a(d._template.expandCollapseIcon).addClass(d.options.emptyIcon)),f.append(a(d._template.icon).addClass(e.icon?e.icon:d.options.nodeIcon)),f.append(d.options.enableLinks?a(d._template.link).attr("href",e.href).append(e.text):e.text),d.options.showTags&&e.tags&&a.each(e.tags,function(b,c){f.append(a(d._template.badge).append(c))}),d.$wrapper.append(f),e.nodes?d._buildTree(e.nodes,c):void 0})}},_buildStyleOverride:function(a){var b="";return this.options.highlightSelected&&a===this.selectedNode?b+="color:"+this.options.selectedColor+";":a.color&&(b+="color:"+a.color+";"),this.options.highlightSelected&&a===this.selectedNode?b+="background-color:"+this.options.selectedBackColor+";":a.backColor&&(b+="background-color:"+a.backColor+";"),b},_injectStyle:function(){this.options.injectStyle&&!c.getElementById(this._styleId)&&a('<style type="text/css" id="'+this._styleId+'"> '+this._buildStyle()+" </style>").appendTo("head")},_buildStyle:function(){var a=".node-"+this._elementId+"{";return this.options.color&&(a+="color:"+this.options.color+";"),this.options.backColor&&(a+="background-color:"+this.options.backColor+";"),this.options.showBorder?this.options.borderColor&&(a+="border:1px solid "+this.options.borderColor+";"):a+="border:none;",a+="}",this.options.onhoverColor&&(a+=".node-"+this._elementId+":hover{background-color:"+this.options.onhoverColor+";}"),this._css+a},_template:{list:'<ul class="list-group"></ul>',item:'<li class="list-group-item"></li>',indent:'<span class="indent"></span>',expandCollapseIcon:'<span class="expand-collapse"></span>',icon:'<span class="icon"></span>',link:'<a href="#" style="color:inherit;"></a>',badge:'<span class="badge"></span>'},_css:".treeview .list-group-item{cursor:pointer}.treeview span.indent{margin-left:10px;margin-right:10px}.treeview span.expand-collapse{width:1rem;height:1rem}.treeview span.icon{margin-left:10px;margin-right:5px}"};var g=function(a){b.console&&b.console.error(a)};a.fn[e]=function(b,c){return this.each(function(){var d=a.data(this,"plugin_"+e);"string"==typeof b?d?a.isFunction(d[b])&&"_"!==b.charAt(0)?("string"==typeof c&&(c=[c]),d[b].apply(d,c)):g("No such method : "+b):g("Not initialized, can not call method : "+b):d?d._init(b):a.data(this,"plugin_"+e,new f(this,a.extend(!0,{},b)))})}}(jQuery,window,document);
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"name": "bootstrap-treeview",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"devDependencies": {
|
5
|
+
"grunt": "~0.4.1",
|
6
|
+
"grunt-contrib-uglify": "~0.2.4",
|
7
|
+
"grunt-contrib-cssmin": "~0.4.0",
|
8
|
+
"grunt-contrib-qunit": ">=0.2.1",
|
9
|
+
"grunt-contrib-watch": ">=0.3.1",
|
10
|
+
"grunt-contrib-copy": "~0.4.1",
|
11
|
+
"bower": "~1.2.7"
|
12
|
+
},
|
13
|
+
"dependencies": {
|
14
|
+
"phantomjs": "~1.9.2-2",
|
15
|
+
"express": "~3.4.2",
|
16
|
+
"ejs": "~0.8.5"
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/* =========================================================
|
2
|
+
* bootstrap-treeview.css v1.0.2
|
3
|
+
* =========================================================
|
4
|
+
* Copyright 2013 Jonathan Miles
|
5
|
+
* Project URL : http://www.jondmiles.com/bootstrap-treeview
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* ========================================================= */
|
19
|
+
|
20
|
+
.treeview .list-group-item {
|
21
|
+
cursor: pointer;
|
22
|
+
}
|
23
|
+
|
24
|
+
.treeview span.indent {
|
25
|
+
margin-left: 10px;
|
26
|
+
margin-right: 10px;
|
27
|
+
}
|
28
|
+
|
29
|
+
.treeview span.expand-collapse {
|
30
|
+
width: 1rem;
|
31
|
+
height: 1rem;
|
32
|
+
}
|
33
|
+
|
34
|
+
.treeview span.icon {
|
35
|
+
margin-left: 10px;
|
36
|
+
margin-right: 5px;
|
37
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Bootstrap Tree View</title>
|
5
|
+
<link href="./bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
|
6
|
+
<link href="./css/bootstrap-treeview.css" rel="stylesheet">
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<div class="container">
|
10
|
+
<h1>Bootstrap Tree View - DOM Tree</h1>
|
11
|
+
<br/>
|
12
|
+
<div class="row">
|
13
|
+
<div class="col-sm-12">
|
14
|
+
<label for="treeview"></label>
|
15
|
+
<div id="treeview"/>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<script src="./bower_components/jquery/dist/jquery.js"></script>
|
20
|
+
<script src="./js/bootstrap-treeview.js"></script>
|
21
|
+
<script type="text/javascript">
|
22
|
+
|
23
|
+
function buildDomTree() {
|
24
|
+
|
25
|
+
var data = [];
|
26
|
+
|
27
|
+
function walk(nodes, data) {
|
28
|
+
if (!nodes) { return; }
|
29
|
+
$.each(nodes, function (id, node) {
|
30
|
+
var obj = {
|
31
|
+
id: id,
|
32
|
+
text: node.nodeName + " - " + (node.innerText ? node.innerText : ''),
|
33
|
+
tags: [node.childElementCount > 0 ? node.childElementCount + ' child elements' : '']
|
34
|
+
};
|
35
|
+
if (node.childElementCount > 0) {
|
36
|
+
obj.nodes = [];
|
37
|
+
walk(node.children, obj.nodes);
|
38
|
+
}
|
39
|
+
data.push(obj);
|
40
|
+
});
|
41
|
+
}
|
42
|
+
|
43
|
+
walk($('html')[0].children, data);
|
44
|
+
return data;
|
45
|
+
}
|
46
|
+
|
47
|
+
$(function() {
|
48
|
+
|
49
|
+
var options = {
|
50
|
+
bootstrap2: false,
|
51
|
+
showTags: true,
|
52
|
+
levels: 5,
|
53
|
+
data: buildDomTree()
|
54
|
+
};
|
55
|
+
|
56
|
+
$('#treeview').treeview(options);
|
57
|
+
});
|
58
|
+
</script>
|
59
|
+
</body>
|
@@ -0,0 +1,333 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Bootstrap Tree View</title>
|
5
|
+
<link href="./bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
|
6
|
+
<!-- <link href="./css/bootstrap-treeview.css" rel="stylesheet"> -->
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<div class="container">
|
10
|
+
<h1>Bootstrap Tree View</h1>
|
11
|
+
<br/>
|
12
|
+
<div class="row">
|
13
|
+
<div class="col-sm-4">
|
14
|
+
<h2>Default</h2>
|
15
|
+
<div id="treeview1" class=""></div>
|
16
|
+
</div>
|
17
|
+
<div class="col-sm-4">
|
18
|
+
<h2>Collapsed</h2>
|
19
|
+
<div id="treeview2" class=""></div>
|
20
|
+
</div>
|
21
|
+
<div class="col-sm-4">
|
22
|
+
<h2>Expanded</h2>
|
23
|
+
<div id="treeview3" class=""></div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="row">
|
27
|
+
<div class="col-sm-4">
|
28
|
+
<h2>Blue Theme</h2>
|
29
|
+
<div id="treeview4" class=""></div>
|
30
|
+
</div>
|
31
|
+
<div class="col-sm-4">
|
32
|
+
<h2>Custom Icons</h2>
|
33
|
+
<div id="treeview5" class=""></div>
|
34
|
+
</div>
|
35
|
+
<div class="col-sm-4">
|
36
|
+
<h2>Tags as Badges</h2>
|
37
|
+
<div id="treeview6" class=""></div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div class="row">
|
41
|
+
<div class="col-sm-4">
|
42
|
+
<h2>Without Border</h2>
|
43
|
+
<div id="treeview7" class=""></div>
|
44
|
+
</div>
|
45
|
+
<div class="col-sm-4">
|
46
|
+
<h2>Colourful</h2>
|
47
|
+
<div id="treeview8" class=""></div>
|
48
|
+
</div>
|
49
|
+
<div class="col-sm-4">
|
50
|
+
<h2>Node Overrides</h2>
|
51
|
+
<div id="treeview9" class=""></div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
<div class="row">
|
55
|
+
<div class="col-sm-4">
|
56
|
+
<h2>Link enabled, or</h2>
|
57
|
+
<div id="treeview10" class=""></div>
|
58
|
+
</div>
|
59
|
+
<div class="col-sm-4">
|
60
|
+
<h2>Events</h2>
|
61
|
+
<div id="treeview11" class=""></div>
|
62
|
+
</div>
|
63
|
+
<div class="col-sm-4">
|
64
|
+
<h2>Output</h2>
|
65
|
+
<div id="event_output"></div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="row">
|
69
|
+
<div class="col-sm-4">
|
70
|
+
<h2>JSON Data</h2>
|
71
|
+
<div id="treeview12" class=""></div>
|
72
|
+
</div>
|
73
|
+
<div class="col-sm-4">
|
74
|
+
<h2></h2>
|
75
|
+
<div id="treeview13" class=""></div>
|
76
|
+
</div>
|
77
|
+
<div class="col-sm-4">
|
78
|
+
<h2></h2>
|
79
|
+
<div id="treeview14"></div>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
<br/>
|
83
|
+
<br/>
|
84
|
+
<br/>
|
85
|
+
<br/>
|
86
|
+
</div>
|
87
|
+
<script src="./bower_components/jquery/dist/jquery.js"></script>
|
88
|
+
<script src="./js/bootstrap-treeview.js"></script>
|
89
|
+
<script type="text/javascript">
|
90
|
+
|
91
|
+
$(function() {
|
92
|
+
|
93
|
+
var defaultData = [
|
94
|
+
{
|
95
|
+
text: 'Parent 1',
|
96
|
+
href: '#parent1',
|
97
|
+
tags: ['4'],
|
98
|
+
nodes: [
|
99
|
+
{
|
100
|
+
text: 'Child 1',
|
101
|
+
href: '#child1',
|
102
|
+
tags: ['2'],
|
103
|
+
nodes: [
|
104
|
+
{
|
105
|
+
text: 'Grandchild 1',
|
106
|
+
href: '#grandchild1',
|
107
|
+
tags: ['0']
|
108
|
+
},
|
109
|
+
{
|
110
|
+
text: 'Grandchild 2',
|
111
|
+
href: '#grandchild2',
|
112
|
+
tags: ['0']
|
113
|
+
}
|
114
|
+
]
|
115
|
+
},
|
116
|
+
{
|
117
|
+
text: 'Child 2',
|
118
|
+
href: '#child2',
|
119
|
+
tags: ['0']
|
120
|
+
}
|
121
|
+
]
|
122
|
+
},
|
123
|
+
{
|
124
|
+
text: 'Parent 2',
|
125
|
+
href: '#parent2',
|
126
|
+
tags: ['0']
|
127
|
+
},
|
128
|
+
{
|
129
|
+
text: 'Parent 3',
|
130
|
+
href: '#parent3',
|
131
|
+
tags: ['0']
|
132
|
+
},
|
133
|
+
{
|
134
|
+
text: 'Parent 4',
|
135
|
+
href: '#parent4',
|
136
|
+
tags: ['0']
|
137
|
+
},
|
138
|
+
{
|
139
|
+
text: 'Parent 5',
|
140
|
+
href: '#parent5' ,
|
141
|
+
tags: ['0']
|
142
|
+
}
|
143
|
+
];
|
144
|
+
|
145
|
+
var alternateData = [
|
146
|
+
{
|
147
|
+
text: 'Parent 1',
|
148
|
+
tags: ['2'],
|
149
|
+
nodes: [
|
150
|
+
{
|
151
|
+
text: 'Child 1',
|
152
|
+
tags: ['3'],
|
153
|
+
nodes: [
|
154
|
+
{
|
155
|
+
text: 'Grandchild 1',
|
156
|
+
tags: ['6']
|
157
|
+
},
|
158
|
+
{
|
159
|
+
text: 'Grandchild 2',
|
160
|
+
tags: ['3']
|
161
|
+
}
|
162
|
+
]
|
163
|
+
},
|
164
|
+
{
|
165
|
+
text: 'Child 2',
|
166
|
+
tags: ['3']
|
167
|
+
}
|
168
|
+
]
|
169
|
+
},
|
170
|
+
{
|
171
|
+
text: 'Parent 2',
|
172
|
+
tags: ['7']
|
173
|
+
},
|
174
|
+
{
|
175
|
+
text: 'Parent 3',
|
176
|
+
icon: 'glyphicon glyphicon-earphone',
|
177
|
+
href: '#demo',
|
178
|
+
tags: ['11']
|
179
|
+
},
|
180
|
+
{
|
181
|
+
text: 'Parent 4',
|
182
|
+
icon: 'glyphicon glyphicon-cloud-download',
|
183
|
+
href: '/demo.html',
|
184
|
+
tags: ['19'],
|
185
|
+
selected: true
|
186
|
+
},
|
187
|
+
{
|
188
|
+
text: 'Parent 5',
|
189
|
+
icon: 'glyphicon glyphicon-certificate',
|
190
|
+
color: 'pink',
|
191
|
+
backColor: 'red',
|
192
|
+
href: 'http://www.tesco.com',
|
193
|
+
tags: ['available','0']
|
194
|
+
}
|
195
|
+
];
|
196
|
+
|
197
|
+
var json = '[' +
|
198
|
+
'{' +
|
199
|
+
'"text": "Parent 1",' +
|
200
|
+
'"nodes": [' +
|
201
|
+
'{' +
|
202
|
+
'"text": "Child 1",' +
|
203
|
+
'"nodes": [' +
|
204
|
+
'{' +
|
205
|
+
'"text": "Grandchild 1"' +
|
206
|
+
'},' +
|
207
|
+
'{' +
|
208
|
+
'"text": "Grandchild 2"' +
|
209
|
+
'}' +
|
210
|
+
']' +
|
211
|
+
'},' +
|
212
|
+
'{' +
|
213
|
+
'"text": "Child 2"' +
|
214
|
+
'}' +
|
215
|
+
']' +
|
216
|
+
'},' +
|
217
|
+
'{' +
|
218
|
+
'"text": "Parent 2"' +
|
219
|
+
'},' +
|
220
|
+
'{' +
|
221
|
+
'"text": "Parent 3"' +
|
222
|
+
'},' +
|
223
|
+
'{' +
|
224
|
+
'"text": "Parent 4"' +
|
225
|
+
'},' +
|
226
|
+
'{' +
|
227
|
+
'"text": "Parent 5"' +
|
228
|
+
'}' +
|
229
|
+
']';
|
230
|
+
|
231
|
+
|
232
|
+
$('#treeview1').treeview({
|
233
|
+
data: defaultData
|
234
|
+
});
|
235
|
+
|
236
|
+
$('#treeview2').treeview({
|
237
|
+
levels: 1,
|
238
|
+
data: defaultData
|
239
|
+
});
|
240
|
+
|
241
|
+
$('#treeview3').treeview({
|
242
|
+
levels: 99,
|
243
|
+
data: defaultData
|
244
|
+
});
|
245
|
+
|
246
|
+
$('#treeview4').treeview({
|
247
|
+
|
248
|
+
color: "#428bca",
|
249
|
+
data: defaultData
|
250
|
+
});
|
251
|
+
|
252
|
+
$('#treeview5').treeview({
|
253
|
+
color: "#428bca",
|
254
|
+
expandIcon: 'glyphicon glyphicon-chevron-right',
|
255
|
+
collapseIcon: 'glyphicon glyphicon-chevron-down',
|
256
|
+
nodeIcon: 'glyphicon glyphicon-bookmark',
|
257
|
+
data: defaultData
|
258
|
+
});
|
259
|
+
|
260
|
+
$('#treeview6').treeview({
|
261
|
+
color: "#428bca",
|
262
|
+
expandIcon: "glyphicon glyphicon-stop",
|
263
|
+
collapseIcon: "glyphicon glyphicon-unchecked",
|
264
|
+
nodeIcon: "glyphicon glyphicon-user",
|
265
|
+
showTags: true,
|
266
|
+
data: defaultData
|
267
|
+
});
|
268
|
+
|
269
|
+
$('#treeview7').treeview({
|
270
|
+
color: "#428bca",
|
271
|
+
showBorder: false,
|
272
|
+
data: defaultData
|
273
|
+
});
|
274
|
+
|
275
|
+
$('#treeview8').treeview({
|
276
|
+
expandIcon: "glyphicon glyphicon-stop",
|
277
|
+
collapseIcon: "glyphicon glyphicon-unchecked",
|
278
|
+
nodeIcon: "glyphicon glyphicon-user",
|
279
|
+
color: "yellow",
|
280
|
+
backColor: "purple",
|
281
|
+
onhoverColor: "orange",
|
282
|
+
borderColor: "red",
|
283
|
+
showBorder: false,
|
284
|
+
showTags: true,
|
285
|
+
highlightSelected: true,
|
286
|
+
selectedColor: "yellow",
|
287
|
+
selectedBackColor: "darkorange",
|
288
|
+
data: defaultData
|
289
|
+
});
|
290
|
+
|
291
|
+
$('#treeview9').treeview({
|
292
|
+
expandIcon: "glyphicon glyphicon-stop",
|
293
|
+
collapseIcon: "glyphicon glyphicon-unchecked",
|
294
|
+
nodeIcon: "glyphicon glyphicon-user",
|
295
|
+
color: "yellow",
|
296
|
+
backColor: "purple",
|
297
|
+
onhoverColor: "orange",
|
298
|
+
borderColor: "red",
|
299
|
+
showBorder: false,
|
300
|
+
showTags: true,
|
301
|
+
highlightSelected: true,
|
302
|
+
selectedColor: "yellow",
|
303
|
+
selectedBackColor: "darkorange",
|
304
|
+
data: alternateData
|
305
|
+
});
|
306
|
+
|
307
|
+
$('#treeview10').treeview({
|
308
|
+
color: "#428bca",
|
309
|
+
enableLinks: true,
|
310
|
+
data: defaultData
|
311
|
+
});
|
312
|
+
|
313
|
+
$('#treeview11').treeview({
|
314
|
+
color: "#428bca",
|
315
|
+
data: defaultData,
|
316
|
+
onNodeSelected: function(event, node) {
|
317
|
+
$('#event_output').prepend('<p>You clicked ' + node.text + '</p>');
|
318
|
+
}
|
319
|
+
});
|
320
|
+
|
321
|
+
// $('#treeview11').on('nodeSelected', function (event, node) {
|
322
|
+
// $('#event_output').prepend('<p>You clicked ' + node.text + '</p>');
|
323
|
+
// });
|
324
|
+
|
325
|
+
|
326
|
+
$('#treeview12').treeview({
|
327
|
+
data: json
|
328
|
+
});
|
329
|
+
|
330
|
+
});
|
331
|
+
</script>
|
332
|
+
</body>
|
333
|
+
</html>
|