patternfly-sass 3.23.2 → 3.31.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +4 -0
- data/QUICKSTART.md +165 -0
- data/README.md +354 -112
- data/dist/fonts/FontAwesome.otf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/PatternFlyIcons-webfont.svg +28 -0
- 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 +2671 -0
- data/{assets/fonts/patternfly → dist/fonts}/fontawesome-webfont.ttf +0 -0
- data/dist/fonts/fontawesome-webfont.woff +0 -0
- data/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.woff2 +0 -0
- data/{assets/images/patternfly → dist/img}/OpenShift-Logo-NoText.svg +0 -0
- data/{assets/images/patternfly → dist/img}/OpenShift-Logo-Text.svg +0 -0
- data/{assets/images/patternfly → dist/img}/OpenShift-logo.svg +0 -0
- data/{assets/images/patternfly → dist/img}/RH_Atomic-Logo-NoText.svg +0 -0
- data/{assets/images/patternfly → dist/img}/RH_Atomic-Logo-Text.svg +0 -0
- data/{assets/images/patternfly → dist/img}/RH_atomic.svg +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-114.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-144.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-152.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-180.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-57.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-72.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-76.png +0 -0
- data/{assets/images/patternfly → dist/img}/bg-login.jpg +0 -0
- data/{assets/images/patternfly → dist/img}/bg-modal-about-pf.png +0 -0
- data/{assets/images/patternfly → dist/img}/bg-navbar-pf-alt.svg +0 -0
- data/{assets/images/patternfly → dist/img}/brand-alt.svg +0 -0
- data/{assets/images/patternfly → dist/img}/brand.svg +0 -0
- data/{assets/images/patternfly → dist/img}/favicon.ico +0 -0
- data/{assets/images/patternfly → dist/img}/kubernetes-Logo.svg +0 -0
- data/{assets/images/patternfly → dist/img}/kubernetes.svg +0 -0
- data/{assets/images/patternfly → dist/img}/logo-alt.svg +0 -0
- data/{assets/images/patternfly → dist/img}/logo.svg +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse-lg.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse-sm.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse-xs.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-lg.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-sm.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-xs.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner.gif +0 -0
- data/dist/js/patternfly-functions-base.js +7 -0
- data/dist/js/patternfly-functions-charts.js +13 -0
- data/dist/js/patternfly-functions-colors.js +8 -0
- data/dist/js/patternfly-functions-count-chars.js +59 -0
- data/dist/js/patternfly-functions-data-tables.js +149 -0
- data/dist/js/patternfly-functions-fixed-heights.js +87 -0
- data/dist/js/patternfly-functions-list.js +79 -0
- data/dist/js/patternfly-functions-navigation.js +113 -0
- data/dist/js/patternfly-functions-popovers.js +37 -0
- data/dist/js/patternfly-functions-sidebar.js +31 -0
- data/dist/js/patternfly-functions-tree-grid.js +79 -0
- data/dist/js/patternfly-functions-vertical-nav.js +590 -0
- data/{assets/javascripts → dist/js}/patternfly-functions.js +133 -95
- data/dist/js/patternfly-functions.min.js +1 -0
- data/dist/js/patternfly-settings-base.js +16 -0
- data/dist/js/patternfly-settings-charts.js +423 -0
- data/dist/js/patternfly-settings-colors.js +88 -0
- data/{assets/javascripts → dist/js}/patternfly-settings.js +22 -13
- data/dist/js/patternfly-settings.min.js +1 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfColVis.js +0 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfEmpty.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfEmpty.min.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfFilter.js +0 -0
- data/dist/js/patternfly.dataTables.pfFilter.min.js +1 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfPagination.js +1 -1
- data/dist/js/patternfly.dataTables.pfPagination.min.js +1 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfResize.js +0 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfResize.min.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfSelect.js +0 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfSelect.min.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.js +153 -106
- data/dist/js/patternfly.min.js +2 -0
- data/{assets/stylesheets → dist/sass}/_patternfly-compass.scss +1 -1
- data/{assets/stylesheets → dist/sass}/_patternfly-sprockets.scss +1 -1
- data/dist/sass/_patternfly.scss +145 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_about-modal.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_alerts.scss +0 -0
- data/dist/sass/patternfly/_application-launcher.scss +213 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_badges.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_blank-slate.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-combobox.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-datepicker.scss +13 -5
- data/dist/sass/patternfly/_bootstrap-mixin-overrides.scss +33 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-select.scss +15 -7
- data/dist/sass/patternfly/_bootstrap-slider.scss +66 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-switch.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-touchspin.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-treeview.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_breadcrumbs.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_buttons.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_card-view.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_cards.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_charts.scss +28 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_close.scss +1 -0
- data/dist/sass/patternfly/_color-variables.scss +85 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_datatables.scss +5 -5
- data/{assets/stylesheets → dist/sass}/patternfly/_dropdowns.scss +9 -4
- data/dist/sass/patternfly/_experimental-features.scss +48 -0
- data/dist/sass/patternfly/_fonts.scss +124 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_footer.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_forms.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_icons.scss +91 -7
- data/{assets/stylesheets → dist/sass}/patternfly/_infotip.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_labels.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_layouts.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_links.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_list-group.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_list-pf.scss +6 -3
- data/{assets/stylesheets → dist/sass}/patternfly/_list-view-dnd.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_list-view.scss +12 -12
- data/{assets/stylesheets → dist/sass}/patternfly/_login.scss +3 -7
- data/dist/sass/patternfly/_mixins.scss +81 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_modals.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_nav-vertical-alt.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_navbar-alt.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_navbar-vertical.scss +9 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_navbar.scss +26 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_notifications-drawer.scss +102 -15
- data/{assets/stylesheets → dist/sass}/patternfly/_pager.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_pagination.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_panels.scss +21 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_popovers.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_progress-bars.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_search.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_sidebar.scss +0 -0
- data/dist/sass/patternfly/_skip-to-content.scss +12 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_spinner.scss +16 -16
- data/{assets/stylesheets → dist/sass}/patternfly/_syntax-highlighting.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_table-view.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_tables.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_tabs.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_time-picker.scss +1 -3
- data/{assets/stylesheets → dist/sass}/patternfly/_toast.scss +7 -6
- data/{assets/stylesheets → dist/sass}/patternfly/_toolbar.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_tooltip.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_type.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_variables.scss +75 -9
- data/{assets/stylesheets → dist/sass}/patternfly/_vertical-nav.scss +41 -42
- data/{assets/stylesheets → dist/sass}/patternfly/_wizard.scss +175 -123
- data/dist/sass/patternfly/dependencies/bootstrap-combobox/combobox.scss +57 -0
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker.scss +235 -0
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker3.scss +251 -0
- data/dist/sass/patternfly/dependencies/bootstrap-select/bootstrap-select.scss +389 -0
- data/dist/sass/patternfly/dependencies/bootstrap-select/variables.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_mixins.scss +25 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_rules.scss +246 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_variables.scss +28 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/bootstrap-slider.scss +42 -0
- data/{assets/stylesheets/patternfly/lib → dist/sass/patternfly/dependencies/bootstrap-switch}/bootstrap-switch.scss +12 -10
- data/dist/sass/patternfly/dependencies/bootstrap-switch/build.scss +3 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins.scss +40 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/alerts.scss +14 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/background-variant.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/border-radius.scss +18 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/buttons.scss +68 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/center-block.scss +7 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/clearfix.scss +22 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/forms.scss +85 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/gradients.scss +59 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid-framework.scss +98 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid.scss +122 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/hide-text.scss +21 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/image.scss +33 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/labels.scss +12 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss +29 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-divider.scss +10 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-vertical-align.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/opacity.scss +8 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/pagination.scss +23 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/panels.scss +24 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/progress-bar.scss +10 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-filter.scss +8 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-text.scss +18 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/resize.scss +6 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/responsive-visibility.scss +15 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/size.scss +10 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/tab-focus.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/table-row.scss +28 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-emphasis.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-overflow.scss +8 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/vendor-prefixes.scss +227 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/variables.scss +862 -0
- data/{assets/stylesheets/patternfly/lib/bootstrap-touchspin.scss → dist/sass/patternfly/dependencies/bootstrap-touchspin/_jquery.bootstrap-touchspin.scss} +1 -1
- data/{assets/stylesheets/patternfly/lib/c3.scss → dist/sass/patternfly/dependencies/c3/_c3.scss} +7 -0
- data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/_bootstrap-datetimepicker.scss +344 -0
- data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker-build.scss +16 -0
- data/lib/patternfly-sass.rb +4 -4
- data/lib/patternfly-sass/engine.rb +2 -2
- data/lib/patternfly-sass/version.rb +1 -2
- data/patternfly-sass.gemspec +16 -17
- metadata +249 -498
- data/.gitignore +0 -41
- data/.rspec +0 -3
- data/.rubocop.yml +0 -56
- data/.travis.yml +0 -51
- data/Gemfile +0 -3
- data/Rakefile +0 -130
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.eot +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.svg +0 -685
- data/assets/fonts/patternfly/fontawesome-webfont.woff +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.woff2 +0 -0
- data/assets/javascripts/patternfly-functions.min.js +0 -1
- data/assets/javascripts/patternfly-settings.min.js +0 -1
- data/assets/javascripts/patternfly.dataTables.pfFilter.min.js +0 -1
- data/assets/javascripts/patternfly.dataTables.pfPagination.min.js +0 -1
- data/assets/javascripts/patternfly.min.js +0 -2
- data/assets/stylesheets/_patternfly.scss +0 -108
- data/assets/stylesheets/patternfly/_color-variables.scss +0 -84
- data/assets/stylesheets/patternfly/_fonts.scss +0 -124
- data/assets/stylesheets/patternfly/_mixin_overrides.scss +0 -65
- data/assets/stylesheets/patternfly/_mixins.scss +0 -120
- data/assets/stylesheets/patternfly/lib/bootstrap-datepicker.scss +0 -678
- data/assets/stylesheets/patternfly/lib/bootstrap-datetimepicker.scss +0 -374
- data/assets/stylesheets/patternfly/lib/bootstrap-select.scss +0 -282
- data/assets/stylesheets/patternfly/lib/patternfly-bootstrap-combobox.scss +0 -44
- data/bower.json +0 -53
- data/package.json +0 -70
- data/spec/compare_spec.rb +0 -60
- data/spec/html/about-modal.html +0 -77
- data/spec/html/accordions.html +0 -336
- data/spec/html/alerts.html +0 -106
- data/spec/html/area-charts.html +0 -103
- data/spec/html/badges.html +0 -73
- data/spec/html/bar-charts.html +0 -350
- data/spec/html/basic.html +0 -796
- data/spec/html/blank-slate.html +0 -81
- data/spec/html/bootstrap-combobox.html +0 -344
- data/spec/html/bootstrap-datepicker.html +0 -148
- data/spec/html/bootstrap-select.html +0 -213
- data/spec/html/bootstrap-switch.html +0 -267
- data/spec/html/bootstrap-switch.js +0 -61
- data/spec/html/bootstrap-touchspin.html +0 -210
- data/spec/html/bootstrap-treeview-2.html +0 -296
- data/spec/html/bootstrap-treeview.html +0 -383
- data/spec/html/breadcrumbs.html +0 -52
- data/spec/html/buttons.html +0 -556
- data/spec/html/card-view-card-variations.html +0 -201
- data/spec/html/card-view-multi-select.html +0 -698
- data/spec/html/card-view-single-select.html +0 -432
- data/spec/html/cards.html +0 -899
- data/spec/html/code.html +0 -83
- data/spec/html/dashboard.html +0 -353
- data/spec/html/dist/css/patternfly-additions.css +0 -7202
- data/spec/html/dist/css/patternfly-additions.css.map +0 -1
- data/spec/html/dist/css/patternfly-additions.min.css +0 -5
- data/spec/html/dist/css/patternfly-additions.min.css.map +0 -1
- data/spec/html/dist/css/patternfly.css +0 -10355
- data/spec/html/dist/css/patternfly.css.map +0 -1
- data/spec/html/dist/css/patternfly.min.css +0 -8
- data/spec/html/dist/css/patternfly.min.css.map +0 -1
- data/spec/html/donut-charts.html +0 -235
- data/spec/html/dropdowns.html +0 -138
- data/spec/html/form.html +0 -281
- data/spec/html/forms.html +0 -875
- data/spec/html/horizontal-navigation.html +0 -765
- data/spec/html/icons.html +0 -447
- data/spec/html/img/dashboard-3.png +0 -0
- data/spec/html/index.html +0 -284
- data/spec/html/infotip.html +0 -89
- data/spec/html/labels.html +0 -108
- data/spec/html/line-charts.html +0 -178
- data/spec/html/list-group.html +0 -111
- data/spec/html/list-pf.html +0 -529
- data/spec/html/list-view-compound-expansion.html +0 -1720
- data/spec/html/list-view-rows.html +0 -597
- data/spec/html/list-view-simple-expansion.html +0 -1003
- data/spec/html/list-view.html +0 -614
- data/spec/html/login.html +0 -92
- data/spec/html/modals.html +0 -83
- data/spec/html/navbar.html +0 -4680
- data/spec/html/notification-drawer-horizontal-nav.html +0 -1503
- data/spec/html/notification-drawer-vertical-nav.html +0 -1631
- data/spec/html/pagination-card-view.html +0 -560
- data/spec/html/pagination-list-view.html +0 -1204
- data/spec/html/pagination-table-view.html +0 -813
- data/spec/html/pagination.html +0 -320
- data/spec/html/panels.html +0 -113
- data/spec/html/pie-charts.html +0 -180
- data/spec/html/popovers.html +0 -115
- data/spec/html/progress-bars.html +0 -335
- data/spec/html/search.html +0 -171
- data/spec/html/spinner.html +0 -77
- data/spec/html/tab.html +0 -842
- data/spec/html/table-view-columns.html +0 -495
- data/spec/html/table-view-navbar.html +0 -814
- data/spec/html/table-view.html +0 -688
- data/spec/html/tables.html +0 -540
- data/spec/html/tabs.html +0 -279
- data/spec/html/tests.css +0 -16
- data/spec/html/time-picker.html +0 -75
- data/spec/html/toast.html +0 -87
- data/spec/html/toolbar.html +0 -268
- data/spec/html/tooltip.html +0 -71
- data/spec/html/typography-2.css +0 -10
- data/spec/html/typography-2.html +0 -313
- data/spec/html/typography.html +0 -212
- data/spec/html/utilization-bar-charts.html +0 -69
- data/spec/html/vertical-navigation-primary-only.html +0 -844
- data/spec/html/vertical-navigation-with-badges.html +0 -1184
- data/spec/html/vertical-navigation-with-secondary.html +0 -911
- data/spec/html/vertical-navigation-with-tertiary-no-icons.html +0 -1085
- data/spec/html/vertical-navigation-with-tertiary-pins.html +0 -1085
- data/spec/html/wizard.html +0 -756
- data/spec/main.html +0 -16
- data/spec/spec_helper.rb +0 -9
- data/tasks/converter.rb +0 -353
data/spec/html/table-view.html
DELETED
@@ -1,688 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<!--[if IE 9]><html lang="en-us" class="ie9"><![endif]-->
|
3
|
-
<!--[if gt IE 9]><!-->
|
4
|
-
<html lang="en-us">
|
5
|
-
<!--<![endif]-->
|
6
|
-
<head>
|
7
|
-
<title>Table View - PatternFly</title>
|
8
|
-
<meta charset="UTF-8">
|
9
|
-
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
10
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
11
|
-
<link rel="shortcut icon" href="../../dist/img/favicon.ico">
|
12
|
-
<!-- iPad retina icon -->
|
13
|
-
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../dist/img/apple-touch-icon-precomposed-152.png">
|
14
|
-
<!-- iPad retina icon (iOS < 7) -->
|
15
|
-
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../dist/img/apple-touch-icon-precomposed-144.png">
|
16
|
-
<!-- iPad non-retina icon -->
|
17
|
-
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="../../dist/img/apple-touch-icon-precomposed-76.png">
|
18
|
-
<!-- iPad non-retina icon (iOS < 7) -->
|
19
|
-
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../dist/img/apple-touch-icon-precomposed-72.png">
|
20
|
-
<!-- iPhone 6 Plus icon -->
|
21
|
-
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="../../dist/img/apple-touch-icon-precomposed-180.png">
|
22
|
-
<!-- iPhone retina icon (iOS < 7) -->
|
23
|
-
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../dist/img/apple-touch-icon-precomposed-114.png">
|
24
|
-
<!-- iPhone non-retina icon (iOS < 7) -->
|
25
|
-
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="../../dist/img/apple-touch-icon-precomposed-57.png">
|
26
|
-
<link rel="stylesheet" href="../../dist/css/patternfly.min.css" >
|
27
|
-
<link rel="stylesheet" href="../../dist/css/patternfly-additions.min.css" >
|
28
|
-
<link href="tests.css" rel="stylesheet" media="screen, print">
|
29
|
-
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
|
30
|
-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
31
|
-
<script src="//cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
|
32
|
-
<script src="//cdn.datatables.net/select/1.2.0/js/dataTables.select.min.js"></script>
|
33
|
-
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
|
34
|
-
<script src="../../dist/js/patternfly.dataTables.pfEmpty.js"></script>
|
35
|
-
<script src="../../dist/js/patternfly.dataTables.pfFilter.js"></script>
|
36
|
-
<script src="../../dist/js/patternfly.dataTables.pfPagination.js"></script>
|
37
|
-
<script src="../../dist/js/patternfly.dataTables.pfResize.js"></script>
|
38
|
-
<script src="../../dist/js/patternfly.dataTables.pfSelect.js"></script>
|
39
|
-
<script src="./../../dist/js/patternfly.min.js"></script>
|
40
|
-
</head>
|
41
|
-
|
42
|
-
<body>
|
43
|
-
<div class="container">
|
44
|
-
<div class="page-header">
|
45
|
-
<h1>Table View</h1>
|
46
|
-
</div>
|
47
|
-
<div class="alert alert-warning">
|
48
|
-
<span class="pficon pficon-warning-triangle-o"></span>
|
49
|
-
These examples are included for development testing purposes. For official documentation, see <a href="https://www.patternfly.org" class="alert-link">https://www.patternfly.org</a>, <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>, and <a href="http://datatables.net" class="alert-link">http://datatables.net</a>.
|
50
|
-
</div>
|
51
|
-
<hr>
|
52
|
-
<!-- Toolbar -->
|
53
|
-
<div class="row toolbar-pf table-view-pf-toolbar" id="toolbar1">
|
54
|
-
<div class="col-sm-12">
|
55
|
-
<form class="toolbar-pf-actions">
|
56
|
-
<div class="form-group toolbar-pf-filter">
|
57
|
-
<label class="sr-only" for="filter">Rendering Engine</label>
|
58
|
-
<div class="input-group">
|
59
|
-
<div class="input-group-btn">
|
60
|
-
<button type="button" class="btn btn-default dropdown-toggle" id="filter" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Rendering Engine <span class="caret"></span></button>
|
61
|
-
<ul class="dropdown-menu">
|
62
|
-
<li><a href="#" id="filter1">Rendering Engine</a></li>
|
63
|
-
<li><a href="#" id="filter2">Browser</a></li>
|
64
|
-
<li><a href="#" id="filter3">Platform(s)</a></li>
|
65
|
-
<li><a href="#" id="filter4">Engine Version</a></li>
|
66
|
-
<li><a href="#" id="filter5">CSS Grade</a></li>
|
67
|
-
</ul>
|
68
|
-
</div>
|
69
|
-
<input type="text" class="form-control" placeholder="Filter By Rendering Engine..." autocomplete="off" id="filterInput">
|
70
|
-
</div>
|
71
|
-
</div>
|
72
|
-
<div class="form-group">
|
73
|
-
<button class="btn btn-default" type="button" id="deleteRows1">Delete Rows</button>
|
74
|
-
<button class="btn btn-default" type="button" id="restoreRows1" disabled>Restore Rows</button>
|
75
|
-
<div class="dropdown btn-group dropdown-kebab-pf">
|
76
|
-
<button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebab" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
77
|
-
<span class="fa fa-ellipsis-v"></span>
|
78
|
-
</button>
|
79
|
-
<ul class="dropdown-menu " aria-labelledby="dropdownKebab">
|
80
|
-
<li><a href="#">Action</a></li>
|
81
|
-
<li><a href="#">Another action</a></li>
|
82
|
-
<li><a href="#">Something else here</a></li>
|
83
|
-
<li role="separator" class="divider"></li>
|
84
|
-
<li><a href="#">Separated link</a></li>
|
85
|
-
</ul>
|
86
|
-
</div>
|
87
|
-
|
88
|
-
</div>
|
89
|
-
<div class="toolbar-pf-action-right">
|
90
|
-
<div class="form-group toolbar-pf-find">
|
91
|
-
<button class="btn btn-link btn-find" type="button">
|
92
|
-
<span class="fa fa-search"></span>
|
93
|
-
</button>
|
94
|
-
<div class="find-pf-dropdown-container">
|
95
|
-
<input type="text" class="form-control" id="find" placeholder="Find By Keyword...">
|
96
|
-
<div class="find-pf-buttons">
|
97
|
-
<span class="find-pf-nums">1 of 3</span>
|
98
|
-
<button class="btn btn-link" type="button">
|
99
|
-
<span class="fa fa-angle-up"></span>
|
100
|
-
</button>
|
101
|
-
<button class="btn btn-link" type="button">
|
102
|
-
<span class="fa fa-angle-down"></span>
|
103
|
-
</button>
|
104
|
-
<button class="btn btn-link btn-find-close" type="button">
|
105
|
-
<span class="pficon pficon-close"></span>
|
106
|
-
</button>
|
107
|
-
</div>
|
108
|
-
</div>
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
</form>
|
112
|
-
<div class="row toolbar-pf-results">
|
113
|
-
<div class="col-sm-9">
|
114
|
-
<div class="hidden">
|
115
|
-
<h5>0 Results</h5>
|
116
|
-
<p>Active filters:</p>
|
117
|
-
<ul class="list-inline"></ul>
|
118
|
-
<p><a href="#">Clear All Filters</a></p>
|
119
|
-
</div>
|
120
|
-
</div>
|
121
|
-
<div class="col-sm-3 table-view-pf-select-results">
|
122
|
-
<strong>0</strong> of <strong>0</strong> selected
|
123
|
-
</div>
|
124
|
-
</div>
|
125
|
-
</div>
|
126
|
-
</div>
|
127
|
-
|
128
|
-
<!-- Table HTML -->
|
129
|
-
<table class="table table-striped table-bordered table-hover" id="table1">
|
130
|
-
<thead>
|
131
|
-
<tr>
|
132
|
-
<th><label class="sr-only" for="selectAll">Select all rows</label><input type="checkbox" id="selectAll" name="selectAll"></th>
|
133
|
-
<th>Rendering Engine</th>
|
134
|
-
<th>Browser</th>
|
135
|
-
<th>Platform(s)</th>
|
136
|
-
<th>Engine Version</th>
|
137
|
-
<th>CSS Grade</th>
|
138
|
-
<th colspan="2">Actions</th>
|
139
|
-
</tr>
|
140
|
-
</thead>
|
141
|
-
</table>
|
142
|
-
|
143
|
-
<form class="content-view-pf-pagination table-view-pf-pagination clearfix" id="pagination1">
|
144
|
-
<div class="form-group">
|
145
|
-
<select class="selectpicker pagination-pf-pagesize">
|
146
|
-
<option value="6">6</option>
|
147
|
-
<option value="10" >10</option>
|
148
|
-
<option value="15" selected="selected">15</option>
|
149
|
-
<option value="25">25</option>
|
150
|
-
<option value="50">50</option>
|
151
|
-
</select>
|
152
|
-
<span>per page</span>
|
153
|
-
</div>
|
154
|
-
<div class="form-group">
|
155
|
-
<span><span class="pagination-pf-items-current">1-15</span> of <span class="pagination-pf-items-total">75</span></span>
|
156
|
-
<ul class="pagination pagination-pf-back">
|
157
|
-
<li class="disabled"><a href="#" title="First Page"><span class="i fa fa-angle-double-left"></span></a></li>
|
158
|
-
<li class="disabled"><a href="#" title="Previous Page"><span class="i fa fa-angle-left"></span></a></li>
|
159
|
-
</ul>
|
160
|
-
<label for="pagination1-page" class="sr-only">Current Page</label>
|
161
|
-
<input class="pagination-pf-page" type="text" value="1" id="pagination1-page"/>
|
162
|
-
<span>of <span class="pagination-pf-pages">5</span></span>
|
163
|
-
<ul class="pagination pagination-pf-forward">
|
164
|
-
<li><a href="#" title="Next Page"><span class="i fa fa-angle-right"></span></a></li>
|
165
|
-
<li><a href="#" title="Last Page"><span class="i fa fa-angle-double-right"></span></a></li>
|
166
|
-
</ul>
|
167
|
-
</div>
|
168
|
-
</form>
|
169
|
-
|
170
|
-
<!-- Blank Slate HTML -->
|
171
|
-
<div class="blank-slate-pf table-view-pf-empty hidden" id="emptyState1">
|
172
|
-
<div class="blank-slate-pf-icon">
|
173
|
-
<span class="pficon pficon pficon-add-circle-o"></span>
|
174
|
-
</div>
|
175
|
-
<h1>
|
176
|
-
Empty State Title
|
177
|
-
</h1>
|
178
|
-
<p>
|
179
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
180
|
-
</p>
|
181
|
-
<p>
|
182
|
-
Learn more about this <a href="#">on the documentation</a>.
|
183
|
-
</p>
|
184
|
-
<div class="blank-slate-pf-main-action">
|
185
|
-
<button class="btn btn-primary btn-lg"> Main Action </button>
|
186
|
-
</div>
|
187
|
-
<div class="blank-slate-pf-secondary-action">
|
188
|
-
<button class="btn btn-default"> Secondary Action </button> <button class="btn btn-default"> Secondary Action </button> <button class="btn btn-default"> Secondary Action </button>
|
189
|
-
</div>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
<script>
|
193
|
-
$(document).ready(function() {
|
194
|
-
|
195
|
-
// JSON data for Table View
|
196
|
-
var dataSet = [{
|
197
|
-
engine: "Trident",
|
198
|
-
browser: "Internet Explorer 4.0",
|
199
|
-
platforms: "Win 95+",
|
200
|
-
version: "4",
|
201
|
-
grade: "X"
|
202
|
-
},{
|
203
|
-
engine: "Trident",
|
204
|
-
browser: "Internet Explorer 5.0",
|
205
|
-
platforms: "Win 95+",
|
206
|
-
version: "5",
|
207
|
-
grade: "C"
|
208
|
-
}, {
|
209
|
-
engine: "Trident",
|
210
|
-
browser: "Internet Explorer 5.5",
|
211
|
-
platforms: "Win 95+",
|
212
|
-
version: "5.5",
|
213
|
-
grade: "A"
|
214
|
-
}, {
|
215
|
-
engine: "Trident",
|
216
|
-
browser: "Internet Explorer 6",
|
217
|
-
platforms: "Win 98+",
|
218
|
-
version: "6",
|
219
|
-
grade: "A"
|
220
|
-
}, {
|
221
|
-
engine: "Trident",
|
222
|
-
browser: "Internet Explorer 7",
|
223
|
-
platforms: "Win XP SP2+",
|
224
|
-
version: "7",
|
225
|
-
grade: "A"
|
226
|
-
}, {
|
227
|
-
engine: "Trident",
|
228
|
-
browser: "AOL browser (AOL desktop)",
|
229
|
-
platforms: "Win XP",
|
230
|
-
version: "6",
|
231
|
-
grade: "A"
|
232
|
-
}, {
|
233
|
-
engine: "Gecko",
|
234
|
-
browser: "Firefox 1.0",
|
235
|
-
platforms: "Win 98+ / OSX.2+",
|
236
|
-
version: "1.7",
|
237
|
-
grade: "A"
|
238
|
-
}, {
|
239
|
-
engine: "Gecko",
|
240
|
-
browser: "Firefox 1.5",
|
241
|
-
platforms: "Win 98+ / OSX.2+",
|
242
|
-
version: "1.8",
|
243
|
-
grade: "A"
|
244
|
-
}, {
|
245
|
-
engine: "Gecko",
|
246
|
-
browser: "Firefox 2.0",
|
247
|
-
platforms: "Win 98+ / OSX.2+",
|
248
|
-
version: "1.8",
|
249
|
-
grade: "A"
|
250
|
-
}, {
|
251
|
-
engine: "Gecko",
|
252
|
-
browser: "Firefox 3.0",
|
253
|
-
platforms: "Win 2k+ / OSX.3+",
|
254
|
-
version: "1.9",
|
255
|
-
grade: "A"
|
256
|
-
}, {
|
257
|
-
engine: "Gecko",
|
258
|
-
browser: "Camino 1.0",
|
259
|
-
platforms: "OSX.2+",
|
260
|
-
version: "1.8",
|
261
|
-
grade: "A"
|
262
|
-
}, {
|
263
|
-
engine: "Gecko",
|
264
|
-
browser: "Camino 1.5",
|
265
|
-
platforms: "OSX.3+",
|
266
|
-
version: "1.8",
|
267
|
-
grade: "A"
|
268
|
-
}, {
|
269
|
-
engine: "Gecko",
|
270
|
-
browser: "Netscape 7.2",
|
271
|
-
platforms: "Win 95+ / Mac OS 8.6-9.2",
|
272
|
-
version: "1.7",
|
273
|
-
grade: "A"
|
274
|
-
}, {
|
275
|
-
engine: "Gecko",
|
276
|
-
browser: "Netscape Browser 8",
|
277
|
-
platforms: "Win 98SE+",
|
278
|
-
version: "1.7",
|
279
|
-
grade: "A"
|
280
|
-
}, {
|
281
|
-
engine: "Gecko",
|
282
|
-
browser: "Netscape Navigator 9",
|
283
|
-
platforms: "Win 98+ / OSX.2+",
|
284
|
-
version: "1.8",
|
285
|
-
grade: "A"
|
286
|
-
}, {
|
287
|
-
engine: "Gecko",
|
288
|
-
browser: "Mozilla 1.0",
|
289
|
-
platforms: "Win 95+ / OSX.1+",
|
290
|
-
version: "1",
|
291
|
-
grade: "A"
|
292
|
-
}, {
|
293
|
-
engine: "Gecko",
|
294
|
-
browser: "Mozilla 1.1",
|
295
|
-
platforms: "Win 95+ / OSX.1+",
|
296
|
-
version: "1.1",
|
297
|
-
grade: "A"
|
298
|
-
}, {
|
299
|
-
engine: "Gecko",
|
300
|
-
browser: "Mozilla 1.2",
|
301
|
-
platforms: "Win 95+ / OSX.1+",
|
302
|
-
version: "1.2",
|
303
|
-
grade: "A"
|
304
|
-
}, {
|
305
|
-
engine: "Gecko",
|
306
|
-
browser: "Mozilla 1.3",
|
307
|
-
platforms: "Win 95+ / OSX.1+",
|
308
|
-
version: "1.3",
|
309
|
-
grade: "A"
|
310
|
-
}, {
|
311
|
-
engine: "Gecko",
|
312
|
-
browser: "Mozilla 1.4",
|
313
|
-
platforms: "Win 95+ / OSX.1+",
|
314
|
-
version: "1.4",
|
315
|
-
grade: "A"
|
316
|
-
}, {
|
317
|
-
engine: "Gecko",
|
318
|
-
browser: "Mozilla 1.5",
|
319
|
-
platforms: "Win 95+ / OSX.1+",
|
320
|
-
version: "1.5",
|
321
|
-
grade: "A"
|
322
|
-
}, {
|
323
|
-
engine: "Gecko",
|
324
|
-
browser: "Mozilla 1.6",
|
325
|
-
platforms: "Win 95+ / OSX.1+",
|
326
|
-
version: "1.6",
|
327
|
-
grade: "A"
|
328
|
-
}, {
|
329
|
-
engine: "Gecko",
|
330
|
-
browser: "Mozilla 1.7",
|
331
|
-
platforms: "Win 98+ / OSX.1+",
|
332
|
-
version: "1.7",
|
333
|
-
grade: "A"
|
334
|
-
}, {
|
335
|
-
engine: "Gecko",
|
336
|
-
browser: "Mozilla 1.8",
|
337
|
-
platforms: "Win 98+ / OSX.1+",
|
338
|
-
version: "1.8",
|
339
|
-
grade: "A"
|
340
|
-
}, {
|
341
|
-
engine: "Gecko",
|
342
|
-
browser: "Seamonkey 1.1",
|
343
|
-
platforms: "Win 98+ / OSX.2+",
|
344
|
-
version: "1.8",
|
345
|
-
grade: "A"
|
346
|
-
}, {
|
347
|
-
engine: "Gecko",
|
348
|
-
browser: "Epiphany 2.20",
|
349
|
-
platforms: "Gnome",
|
350
|
-
version: "1.8",
|
351
|
-
grade: "A"
|
352
|
-
}, {
|
353
|
-
engine: "Webkit",
|
354
|
-
browser: "Safari 1.2",
|
355
|
-
platforms: "OSX.3",
|
356
|
-
version: "125.5",
|
357
|
-
grade: "A"
|
358
|
-
}, {
|
359
|
-
engine: "Webkit",
|
360
|
-
browser: "Safari 1.3",
|
361
|
-
platforms: "OSX.3",
|
362
|
-
version: "312.8",
|
363
|
-
grade: "A"
|
364
|
-
}, {
|
365
|
-
engine: "Webkit",
|
366
|
-
browser: "Safari 2.0",
|
367
|
-
platforms: "OSX.4+",
|
368
|
-
version: "419.3",
|
369
|
-
grade: "A"
|
370
|
-
}, {
|
371
|
-
engine: "Webkit",
|
372
|
-
browser: "Safari 3.0",
|
373
|
-
platforms: "OSX.4+",
|
374
|
-
version: "522.1",
|
375
|
-
grade: "A"
|
376
|
-
}, {
|
377
|
-
engine: "Webkit",
|
378
|
-
browser: "OmniWeb 5.5",
|
379
|
-
platforms: "OSX.4+",
|
380
|
-
version: "420",
|
381
|
-
grade: "A"
|
382
|
-
}, {
|
383
|
-
engine: "Webkit",
|
384
|
-
browser: "iPod Touch / iPhone",
|
385
|
-
platforms: "iPod",
|
386
|
-
version: "420.1",
|
387
|
-
grade: "A"
|
388
|
-
}, {
|
389
|
-
engine: "Webkit",
|
390
|
-
browser: "S60",
|
391
|
-
platforms: "S60",
|
392
|
-
version: "413",
|
393
|
-
grade: "A"
|
394
|
-
}, {
|
395
|
-
engine: "Presto",
|
396
|
-
browser: "Opera 7.0",
|
397
|
-
platforms: "Win 95+ / OSX.1+",
|
398
|
-
version: "-",
|
399
|
-
grade: "A"
|
400
|
-
}, {
|
401
|
-
engine: "Presto",
|
402
|
-
browser: "Opera 7.5",
|
403
|
-
platforms: "Win 95+ / OSX.2+",
|
404
|
-
version: "-",
|
405
|
-
grade: "A"
|
406
|
-
}, {
|
407
|
-
engine: "Presto",
|
408
|
-
browser: "Opera 8.0",
|
409
|
-
platforms: "Win 95+ / OSX.2+",
|
410
|
-
version: "-",
|
411
|
-
grade: "A"
|
412
|
-
}, {
|
413
|
-
engine: "Presto",
|
414
|
-
browser: "Opera 8.5",
|
415
|
-
platforms: "Win 95+ / OSX.2+",
|
416
|
-
version: "-",
|
417
|
-
grade: "A"
|
418
|
-
}, {
|
419
|
-
engine: "Presto",
|
420
|
-
browser: "Opera 9.0",
|
421
|
-
platforms: "Win 95+ / OSX.3+",
|
422
|
-
version: "-",
|
423
|
-
grade: "A"
|
424
|
-
}, {
|
425
|
-
engine: "Presto",
|
426
|
-
browser: "Opera 9.2",
|
427
|
-
platforms: "Win 88+ / OSX.3+",
|
428
|
-
version: "-",
|
429
|
-
grade: "A"
|
430
|
-
}, {
|
431
|
-
engine: "Presto",
|
432
|
-
browser: "Opera 9.5",
|
433
|
-
platforms: "Win 88+ / OSX.3+",
|
434
|
-
version: "-",
|
435
|
-
grade: "A"
|
436
|
-
}, {
|
437
|
-
engine: "Presto",
|
438
|
-
browser: "Opera for Wii",
|
439
|
-
platforms: "Wii",
|
440
|
-
version: "-",
|
441
|
-
grade: "A"
|
442
|
-
}, {
|
443
|
-
engine: "Presto",
|
444
|
-
browser: "Nokia N800",
|
445
|
-
platforms: "N800",
|
446
|
-
version: "-",
|
447
|
-
grade: "A"
|
448
|
-
}, {
|
449
|
-
engine: "Presto",
|
450
|
-
browser: "Nintendo DS browser",
|
451
|
-
platforms: "Nintendo DS",
|
452
|
-
version: "8.5",
|
453
|
-
grade: "C/A<sup>1</sup>"
|
454
|
-
}, {
|
455
|
-
engine: "KHTML",
|
456
|
-
browser: "Konqureror 3.1",
|
457
|
-
platforms: "KDE 3.1",
|
458
|
-
version: "3.1",
|
459
|
-
grade: "C"
|
460
|
-
}, {
|
461
|
-
engine: "KHTML",
|
462
|
-
browser: "Konqureror 3.3",
|
463
|
-
platforms: "KDE 3.3",
|
464
|
-
version: "3.3",
|
465
|
-
grade: "A"
|
466
|
-
}, {
|
467
|
-
engine: "KHTML",
|
468
|
-
browser: "Konqureror 3.5",
|
469
|
-
platforms: "KDE 3.5",
|
470
|
-
version: "3.5",
|
471
|
-
grade: "A"
|
472
|
-
}, {
|
473
|
-
engine: "Tasman",
|
474
|
-
browser: "Internet Explorer 4.5",
|
475
|
-
platforms: "Mac OS 8-9",
|
476
|
-
version: "-",
|
477
|
-
grade: "X"
|
478
|
-
}, {
|
479
|
-
engine: "Tasman",
|
480
|
-
browser: "Internet Explorer 5.1",
|
481
|
-
platforms: "Mac OS 7.6-9",
|
482
|
-
version: "1",
|
483
|
-
grade: "C"
|
484
|
-
}, {
|
485
|
-
engine: "Tasman",
|
486
|
-
browser: "Internet Explorer 5.2",
|
487
|
-
platforms: "Mac OS 8-X",
|
488
|
-
version: "1",
|
489
|
-
grade: "C"
|
490
|
-
}, {
|
491
|
-
engine: "Misc",
|
492
|
-
browser: "NetFront 3.1",
|
493
|
-
platforms: "Embedded devices",
|
494
|
-
version: "-",
|
495
|
-
grade: "C"
|
496
|
-
}, {
|
497
|
-
engine: "Misc",
|
498
|
-
browser: "NetFront 3.4",
|
499
|
-
platforms: "Embedded devices",
|
500
|
-
version: "-",
|
501
|
-
grade: "A"
|
502
|
-
}, {
|
503
|
-
engine: "Misc",
|
504
|
-
browser: "Dillo 0.8",
|
505
|
-
platforms: "Embedded devices",
|
506
|
-
version: "-",
|
507
|
-
grade: "X"
|
508
|
-
}, {
|
509
|
-
engine: "Misc",
|
510
|
-
browser: "Links",
|
511
|
-
platforms: "Text only",
|
512
|
-
version: "-",
|
513
|
-
grade: "X"
|
514
|
-
}, {
|
515
|
-
engine: "Misc",
|
516
|
-
browser: "Lynx",
|
517
|
-
platforms: "Text only",
|
518
|
-
version: "-",
|
519
|
-
grade: "X"
|
520
|
-
}, {
|
521
|
-
engine: "Misc",
|
522
|
-
browser: "IE Mobile",
|
523
|
-
platforms: "Windows Mobile 6",
|
524
|
-
version: "-",
|
525
|
-
grade: "C"
|
526
|
-
}, {
|
527
|
-
engine: "Misc",
|
528
|
-
browser: "PSP browser",
|
529
|
-
platforms: "PSP",
|
530
|
-
version: "-",
|
531
|
-
grade: "C"
|
532
|
-
}, {
|
533
|
-
engine: "Other browsers",
|
534
|
-
browser: "All others",
|
535
|
-
platforms: "-",
|
536
|
-
version: "-",
|
537
|
-
grade: "U"
|
538
|
-
}];
|
539
|
-
|
540
|
-
// DataTable Config
|
541
|
-
$("#table1").DataTable({
|
542
|
-
columns: [
|
543
|
-
{ data: null,
|
544
|
-
className: "table-view-pf-select",
|
545
|
-
render: function (data, type, full, meta) {
|
546
|
-
// Select row checkbox renderer
|
547
|
-
var id = "select" + meta.row;
|
548
|
-
return '<label class="sr-only" for="' + id + '">Select row ' + meta.row +
|
549
|
-
'</label><input type="checkbox" id="' + id + '" name="' + id + '">';
|
550
|
-
},
|
551
|
-
sortable: false
|
552
|
-
},
|
553
|
-
{ data: "engine" },
|
554
|
-
{ data: "browser" },
|
555
|
-
{ data: "platforms" },
|
556
|
-
{ data: "version" },
|
557
|
-
{ data: "grade"},
|
558
|
-
{ data: null,
|
559
|
-
className: "table-view-pf-actions",
|
560
|
-
render: function (data, type, full, meta) {
|
561
|
-
// Inline action button renderer
|
562
|
-
return '<div class="table-view-pf-btn"><button class="btn btn-default" type="button">Actions</button></div>';
|
563
|
-
}
|
564
|
-
}, {
|
565
|
-
data: null,
|
566
|
-
className: "table-view-pf-actions",
|
567
|
-
render: function (data, type, full, meta) {
|
568
|
-
// Inline action kebab renderer
|
569
|
-
return '<div class="dropdown dropdown-kebab-pf">' +
|
570
|
-
'<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">' +
|
571
|
-
'<span class="fa fa-ellipsis-v"></span></button>' +
|
572
|
-
'<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight">' +
|
573
|
-
'<li><a href="#">Action</a></li>' +
|
574
|
-
'<li><a href="#">Another action</a></li>' +
|
575
|
-
'<li><a href="#">Something else here</a></li>' +
|
576
|
-
'<li role="separator" class="divider"></li>' +
|
577
|
-
'<li><a href="#">Separated link</a></li></ul></div>';
|
578
|
-
}
|
579
|
-
}
|
580
|
-
],
|
581
|
-
data: dataSet,
|
582
|
-
dom: "t",
|
583
|
-
language: {
|
584
|
-
zeroRecords: "No records found"
|
585
|
-
},
|
586
|
-
order: [[ 1, 'asc' ]],
|
587
|
-
pfConfig: {
|
588
|
-
emptyStateSelector: "#emptyState1",
|
589
|
-
filterCaseInsensitive: true,
|
590
|
-
filterCols: [
|
591
|
-
null,
|
592
|
-
{
|
593
|
-
default: true,
|
594
|
-
optionSelector: "#filter1",
|
595
|
-
placeholder: "Filter By Rendering Engine..."
|
596
|
-
}, {
|
597
|
-
optionSelector: "#filter2",
|
598
|
-
placeholder: "Filter By Browser..."
|
599
|
-
}, {
|
600
|
-
optionSelector: "#filter3",
|
601
|
-
placeholder: "Filter By Platform(s)..."
|
602
|
-
}, {
|
603
|
-
optionSelector: "#filter4",
|
604
|
-
placeholder: "Filter By Engine Version..."
|
605
|
-
}, {
|
606
|
-
optionSelector: "#filter5",
|
607
|
-
placeholder: "Filter By CSS Grade..."
|
608
|
-
}
|
609
|
-
],
|
610
|
-
paginationSelector: "#pagination1",
|
611
|
-
toolbarSelector: "#toolbar1",
|
612
|
-
selectAllSelector: 'th:first-child input[type="checkbox"]',
|
613
|
-
colvisMenuSelector: '.table-view-pf-colvis-menu'
|
614
|
-
},
|
615
|
-
select: {
|
616
|
-
selector: 'td:first-child input[type="checkbox"]',
|
617
|
-
style: 'multi'
|
618
|
-
},
|
619
|
-
});
|
620
|
-
|
621
|
-
/**
|
622
|
-
* Utility to show empty Table View
|
623
|
-
*
|
624
|
-
* @param {object} config - Config properties associated with a Table View
|
625
|
-
* @param {object} config.data - Data set for DataTable
|
626
|
-
* @param {string} config.deleteRowsSelector - Selector for delete rows control
|
627
|
-
* @param {string} config.restoreRowsSelector - Selector for restore rows control
|
628
|
-
* @param {string} config.tableSelector - Selector for the HTML table
|
629
|
-
*/
|
630
|
-
var emptyTableViewUtil = function (config) {
|
631
|
-
var self = this;
|
632
|
-
|
633
|
-
this.dt = $(config.tableSelector).DataTable(); // DataTable
|
634
|
-
this.deleteRows = $(config.deleteRowsSelector); // Delete rows control
|
635
|
-
this.restoreRows = $(config.restoreRowsSelector); // Restore rows control
|
636
|
-
|
637
|
-
// Handle click on delete rows control
|
638
|
-
this.deleteRows.on('click', function() {
|
639
|
-
self.dt.clear().draw();
|
640
|
-
$(self.restoreRows).prop("disabled", false);
|
641
|
-
});
|
642
|
-
|
643
|
-
// Handle click on restore rows control
|
644
|
-
this.restoreRows.on('click', function() {
|
645
|
-
self.dt.rows.add(config.data).draw();
|
646
|
-
$(this).prop("disabled", true);
|
647
|
-
});
|
648
|
-
|
649
|
-
// Initialize restore rows
|
650
|
-
if (this.dt.data().length === 0) {
|
651
|
-
$(this.restoreRows).prop("disabled", false);
|
652
|
-
}
|
653
|
-
};
|
654
|
-
|
655
|
-
// Initialize empty Table View util
|
656
|
-
new emptyTableViewUtil({
|
657
|
-
data: dataSet,
|
658
|
-
deleteRowsSelector: "#deleteRows1",
|
659
|
-
restoreRowsSelector: "#restoreRows1",
|
660
|
-
tableSelector: "#table1"
|
661
|
-
});
|
662
|
-
|
663
|
-
/**
|
664
|
-
* Utility to find items in Table View
|
665
|
-
*/
|
666
|
-
var findTableViewUtil = function (config) {
|
667
|
-
// Upon clicking the find button, show the find dropdown content
|
668
|
-
$(".btn-find").click(function () {
|
669
|
-
$(this).parent().find(".find-pf-dropdown-container").toggle();
|
670
|
-
});
|
671
|
-
|
672
|
-
// Upon clicking the find close button, hide the find dropdown content
|
673
|
-
$(".btn-find-close").click(function () {
|
674
|
-
$(".find-pf-dropdown-container").hide();
|
675
|
-
});
|
676
|
-
};
|
677
|
-
|
678
|
-
// Initialize find util
|
679
|
-
new findTableViewUtil();
|
680
|
-
|
681
|
-
});
|
682
|
-
</script>
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
</div><!-- /container -->
|
687
|
-
</body>
|
688
|
-
</html>
|