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.
Files changed (369) hide show
  1. checksums.yaml +4 -4
  2. data/CODE_OF_CONDUCT.md +4 -0
  3. data/QUICKSTART.md +165 -0
  4. data/README.md +354 -112
  5. data/dist/fonts/FontAwesome.otf +0 -0
  6. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.eot +0 -0
  7. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.svg +0 -0
  8. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.ttf +0 -0
  9. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.woff +0 -0
  10. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.woff2 +0 -0
  11. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.eot +0 -0
  12. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.svg +0 -0
  13. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.ttf +0 -0
  14. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.woff +0 -0
  15. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.woff2 +0 -0
  16. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.eot +0 -0
  17. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.svg +0 -0
  18. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.ttf +0 -0
  19. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.woff +0 -0
  20. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.woff2 +0 -0
  21. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
  22. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.svg +0 -0
  23. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
  24. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
  25. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
  26. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.eot +0 -0
  27. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.svg +0 -0
  28. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.ttf +0 -0
  29. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.woff +0 -0
  30. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.woff2 +0 -0
  31. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.eot +0 -0
  32. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.svg +0 -0
  33. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.ttf +0 -0
  34. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.woff +0 -0
  35. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.woff2 +0 -0
  36. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.eot +0 -0
  37. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.svg +0 -0
  38. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.ttf +0 -0
  39. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.woff +0 -0
  40. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.woff2 +0 -0
  41. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.eot +0 -0
  42. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.svg +0 -0
  43. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.ttf +0 -0
  44. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.woff +0 -0
  45. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.woff2 +0 -0
  46. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.eot +0 -0
  47. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.svg +0 -0
  48. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.ttf +0 -0
  49. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.woff +0 -0
  50. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.woff2 +0 -0
  51. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.eot +0 -0
  52. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.svg +0 -0
  53. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  54. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.woff +0 -0
  55. data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
  56. data/dist/fonts/PatternFlyIcons-webfont.eot +0 -0
  57. data/{assets/fonts/patternfly → dist/fonts}/PatternFlyIcons-webfont.svg +28 -0
  58. data/dist/fonts/PatternFlyIcons-webfont.ttf +0 -0
  59. data/dist/fonts/PatternFlyIcons-webfont.woff +0 -0
  60. data/dist/fonts/fontawesome-webfont.eot +0 -0
  61. data/dist/fonts/fontawesome-webfont.svg +2671 -0
  62. data/{assets/fonts/patternfly → dist/fonts}/fontawesome-webfont.ttf +0 -0
  63. data/dist/fonts/fontawesome-webfont.woff +0 -0
  64. data/dist/fonts/fontawesome-webfont.woff2 +0 -0
  65. data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.eot +0 -0
  66. data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.svg +0 -0
  67. data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.ttf +0 -0
  68. data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.woff +0 -0
  69. data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.woff2 +0 -0
  70. data/{assets/images/patternfly → dist/img}/OpenShift-Logo-NoText.svg +0 -0
  71. data/{assets/images/patternfly → dist/img}/OpenShift-Logo-Text.svg +0 -0
  72. data/{assets/images/patternfly → dist/img}/OpenShift-logo.svg +0 -0
  73. data/{assets/images/patternfly → dist/img}/RH_Atomic-Logo-NoText.svg +0 -0
  74. data/{assets/images/patternfly → dist/img}/RH_Atomic-Logo-Text.svg +0 -0
  75. data/{assets/images/patternfly → dist/img}/RH_atomic.svg +0 -0
  76. data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-114.png +0 -0
  77. data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-144.png +0 -0
  78. data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-152.png +0 -0
  79. data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-180.png +0 -0
  80. data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-57.png +0 -0
  81. data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-72.png +0 -0
  82. data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-76.png +0 -0
  83. data/{assets/images/patternfly → dist/img}/bg-login.jpg +0 -0
  84. data/{assets/images/patternfly → dist/img}/bg-modal-about-pf.png +0 -0
  85. data/{assets/images/patternfly → dist/img}/bg-navbar-pf-alt.svg +0 -0
  86. data/{assets/images/patternfly → dist/img}/brand-alt.svg +0 -0
  87. data/{assets/images/patternfly → dist/img}/brand.svg +0 -0
  88. data/{assets/images/patternfly → dist/img}/favicon.ico +0 -0
  89. data/{assets/images/patternfly → dist/img}/kubernetes-Logo.svg +0 -0
  90. data/{assets/images/patternfly → dist/img}/kubernetes.svg +0 -0
  91. data/{assets/images/patternfly → dist/img}/logo-alt.svg +0 -0
  92. data/{assets/images/patternfly → dist/img}/logo.svg +0 -0
  93. data/{assets/images/patternfly → dist/img}/spinner-inverse-lg.gif +0 -0
  94. data/{assets/images/patternfly → dist/img}/spinner-inverse-sm.gif +0 -0
  95. data/{assets/images/patternfly → dist/img}/spinner-inverse-xs.gif +0 -0
  96. data/{assets/images/patternfly → dist/img}/spinner-inverse.gif +0 -0
  97. data/{assets/images/patternfly → dist/img}/spinner-lg.gif +0 -0
  98. data/{assets/images/patternfly → dist/img}/spinner-sm.gif +0 -0
  99. data/{assets/images/patternfly → dist/img}/spinner-xs.gif +0 -0
  100. data/{assets/images/patternfly → dist/img}/spinner.gif +0 -0
  101. data/dist/js/patternfly-functions-base.js +7 -0
  102. data/dist/js/patternfly-functions-charts.js +13 -0
  103. data/dist/js/patternfly-functions-colors.js +8 -0
  104. data/dist/js/patternfly-functions-count-chars.js +59 -0
  105. data/dist/js/patternfly-functions-data-tables.js +149 -0
  106. data/dist/js/patternfly-functions-fixed-heights.js +87 -0
  107. data/dist/js/patternfly-functions-list.js +79 -0
  108. data/dist/js/patternfly-functions-navigation.js +113 -0
  109. data/dist/js/patternfly-functions-popovers.js +37 -0
  110. data/dist/js/patternfly-functions-sidebar.js +31 -0
  111. data/dist/js/patternfly-functions-tree-grid.js +79 -0
  112. data/dist/js/patternfly-functions-vertical-nav.js +590 -0
  113. data/{assets/javascripts → dist/js}/patternfly-functions.js +133 -95
  114. data/dist/js/patternfly-functions.min.js +1 -0
  115. data/dist/js/patternfly-settings-base.js +16 -0
  116. data/dist/js/patternfly-settings-charts.js +423 -0
  117. data/dist/js/patternfly-settings-colors.js +88 -0
  118. data/{assets/javascripts → dist/js}/patternfly-settings.js +22 -13
  119. data/dist/js/patternfly-settings.min.js +1 -0
  120. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfColVis.js +0 -0
  121. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfEmpty.js +1 -1
  122. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfEmpty.min.js +1 -1
  123. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfFilter.js +0 -0
  124. data/dist/js/patternfly.dataTables.pfFilter.min.js +1 -0
  125. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfPagination.js +1 -1
  126. data/dist/js/patternfly.dataTables.pfPagination.min.js +1 -0
  127. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfResize.js +0 -0
  128. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfResize.min.js +1 -1
  129. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfSelect.js +0 -0
  130. data/{assets/javascripts → dist/js}/patternfly.dataTables.pfSelect.min.js +1 -1
  131. data/{assets/javascripts → dist/js}/patternfly.js +153 -106
  132. data/dist/js/patternfly.min.js +2 -0
  133. data/{assets/stylesheets → dist/sass}/_patternfly-compass.scss +1 -1
  134. data/{assets/stylesheets → dist/sass}/_patternfly-sprockets.scss +1 -1
  135. data/dist/sass/_patternfly.scss +145 -0
  136. data/{assets/stylesheets → dist/sass}/patternfly/_about-modal.scss +2 -2
  137. data/{assets/stylesheets → dist/sass}/patternfly/_alerts.scss +0 -0
  138. data/dist/sass/patternfly/_application-launcher.scss +213 -0
  139. data/{assets/stylesheets → dist/sass}/patternfly/_badges.scss +0 -0
  140. data/{assets/stylesheets → dist/sass}/patternfly/_blank-slate.scss +0 -0
  141. data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-combobox.scss +1 -1
  142. data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-datepicker.scss +13 -5
  143. data/dist/sass/patternfly/_bootstrap-mixin-overrides.scss +33 -0
  144. data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-select.scss +15 -7
  145. data/dist/sass/patternfly/_bootstrap-slider.scss +66 -0
  146. data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-switch.scss +1 -1
  147. data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-touchspin.scss +0 -0
  148. data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-treeview.scss +0 -0
  149. data/{assets/stylesheets → dist/sass}/patternfly/_breadcrumbs.scss +0 -0
  150. data/{assets/stylesheets → dist/sass}/patternfly/_buttons.scss +2 -2
  151. data/{assets/stylesheets → dist/sass}/patternfly/_card-view.scss +1 -1
  152. data/{assets/stylesheets → dist/sass}/patternfly/_cards.scss +2 -2
  153. data/{assets/stylesheets → dist/sass}/patternfly/_charts.scss +28 -0
  154. data/{assets/stylesheets → dist/sass}/patternfly/_close.scss +1 -0
  155. data/dist/sass/patternfly/_color-variables.scss +85 -0
  156. data/{assets/stylesheets → dist/sass}/patternfly/_datatables.scss +5 -5
  157. data/{assets/stylesheets → dist/sass}/patternfly/_dropdowns.scss +9 -4
  158. data/dist/sass/patternfly/_experimental-features.scss +48 -0
  159. data/dist/sass/patternfly/_fonts.scss +124 -0
  160. data/{assets/stylesheets → dist/sass}/patternfly/_footer.scss +0 -0
  161. data/{assets/stylesheets → dist/sass}/patternfly/_forms.scss +0 -0
  162. data/{assets/stylesheets → dist/sass}/patternfly/_icons.scss +91 -7
  163. data/{assets/stylesheets → dist/sass}/patternfly/_infotip.scss +0 -0
  164. data/{assets/stylesheets → dist/sass}/patternfly/_labels.scss +0 -0
  165. data/{assets/stylesheets → dist/sass}/patternfly/_layouts.scss +0 -0
  166. data/{assets/stylesheets → dist/sass}/patternfly/_links.scss +0 -0
  167. data/{assets/stylesheets → dist/sass}/patternfly/_list-group.scss +0 -0
  168. data/{assets/stylesheets → dist/sass}/patternfly/_list-pf.scss +6 -3
  169. data/{assets/stylesheets → dist/sass}/patternfly/_list-view-dnd.scss +0 -0
  170. data/{assets/stylesheets → dist/sass}/patternfly/_list-view.scss +12 -12
  171. data/{assets/stylesheets → dist/sass}/patternfly/_login.scss +3 -7
  172. data/dist/sass/patternfly/_mixins.scss +81 -0
  173. data/{assets/stylesheets → dist/sass}/patternfly/_modals.scss +0 -0
  174. data/{assets/stylesheets → dist/sass}/patternfly/_nav-vertical-alt.scss +1 -1
  175. data/{assets/stylesheets → dist/sass}/patternfly/_navbar-alt.scss +0 -0
  176. data/{assets/stylesheets → dist/sass}/patternfly/_navbar-vertical.scss +9 -2
  177. data/{assets/stylesheets → dist/sass}/patternfly/_navbar.scss +26 -2
  178. data/{assets/stylesheets → dist/sass}/patternfly/_notifications-drawer.scss +102 -15
  179. data/{assets/stylesheets → dist/sass}/patternfly/_pager.scss +1 -1
  180. data/{assets/stylesheets → dist/sass}/patternfly/_pagination.scss +2 -2
  181. data/{assets/stylesheets → dist/sass}/patternfly/_panels.scss +21 -0
  182. data/{assets/stylesheets → dist/sass}/patternfly/_popovers.scss +1 -1
  183. data/{assets/stylesheets → dist/sass}/patternfly/_progress-bars.scss +1 -1
  184. data/{assets/stylesheets → dist/sass}/patternfly/_search.scss +1 -1
  185. data/{assets/stylesheets → dist/sass}/patternfly/_sidebar.scss +0 -0
  186. data/dist/sass/patternfly/_skip-to-content.scss +12 -0
  187. data/{assets/stylesheets → dist/sass}/patternfly/_spinner.scss +16 -16
  188. data/{assets/stylesheets → dist/sass}/patternfly/_syntax-highlighting.scss +0 -0
  189. data/{assets/stylesheets → dist/sass}/patternfly/_table-view.scss +0 -0
  190. data/{assets/stylesheets → dist/sass}/patternfly/_tables.scss +0 -0
  191. data/{assets/stylesheets → dist/sass}/patternfly/_tabs.scss +1 -1
  192. data/{assets/stylesheets → dist/sass}/patternfly/_time-picker.scss +1 -3
  193. data/{assets/stylesheets → dist/sass}/patternfly/_toast.scss +7 -6
  194. data/{assets/stylesheets → dist/sass}/patternfly/_toolbar.scss +1 -1
  195. data/{assets/stylesheets → dist/sass}/patternfly/_tooltip.scss +0 -0
  196. data/{assets/stylesheets → dist/sass}/patternfly/_type.scss +0 -0
  197. data/{assets/stylesheets → dist/sass}/patternfly/_variables.scss +75 -9
  198. data/{assets/stylesheets → dist/sass}/patternfly/_vertical-nav.scss +41 -42
  199. data/{assets/stylesheets → dist/sass}/patternfly/_wizard.scss +175 -123
  200. data/dist/sass/patternfly/dependencies/bootstrap-combobox/combobox.scss +57 -0
  201. data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker.scss +235 -0
  202. data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker3.scss +251 -0
  203. data/dist/sass/patternfly/dependencies/bootstrap-select/bootstrap-select.scss +389 -0
  204. data/dist/sass/patternfly/dependencies/bootstrap-select/variables.scss +9 -0
  205. data/dist/sass/patternfly/dependencies/bootstrap-slider/_mixins.scss +25 -0
  206. data/dist/sass/patternfly/dependencies/bootstrap-slider/_rules.scss +246 -0
  207. data/dist/sass/patternfly/dependencies/bootstrap-slider/_variables.scss +28 -0
  208. data/dist/sass/patternfly/dependencies/bootstrap-slider/bootstrap-slider.scss +42 -0
  209. data/{assets/stylesheets/patternfly/lib → dist/sass/patternfly/dependencies/bootstrap-switch}/bootstrap-switch.scss +12 -10
  210. data/dist/sass/patternfly/dependencies/bootstrap-switch/build.scss +3 -0
  211. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins.scss +40 -0
  212. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/alerts.scss +14 -0
  213. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/background-variant.scss +9 -0
  214. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/border-radius.scss +18 -0
  215. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/buttons.scss +68 -0
  216. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/center-block.scss +7 -0
  217. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/clearfix.scss +22 -0
  218. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/forms.scss +85 -0
  219. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/gradients.scss +59 -0
  220. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid-framework.scss +98 -0
  221. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid.scss +122 -0
  222. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/hide-text.scss +21 -0
  223. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/image.scss +33 -0
  224. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/labels.scss +12 -0
  225. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss +29 -0
  226. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-divider.scss +10 -0
  227. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-vertical-align.scss +9 -0
  228. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/opacity.scss +8 -0
  229. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/pagination.scss +23 -0
  230. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/panels.scss +24 -0
  231. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/progress-bar.scss +10 -0
  232. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-filter.scss +8 -0
  233. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-text.scss +18 -0
  234. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/resize.scss +6 -0
  235. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/responsive-visibility.scss +15 -0
  236. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/size.scss +10 -0
  237. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/tab-focus.scss +9 -0
  238. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/table-row.scss +28 -0
  239. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-emphasis.scss +9 -0
  240. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-overflow.scss +8 -0
  241. data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/vendor-prefixes.scss +227 -0
  242. data/dist/sass/patternfly/dependencies/bootstrap-switch/variables.scss +862 -0
  243. data/{assets/stylesheets/patternfly/lib/bootstrap-touchspin.scss → dist/sass/patternfly/dependencies/bootstrap-touchspin/_jquery.bootstrap-touchspin.scss} +1 -1
  244. data/{assets/stylesheets/patternfly/lib/c3.scss → dist/sass/patternfly/dependencies/c3/_c3.scss} +7 -0
  245. data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/_bootstrap-datetimepicker.scss +344 -0
  246. data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker-build.scss +16 -0
  247. data/lib/patternfly-sass.rb +4 -4
  248. data/lib/patternfly-sass/engine.rb +2 -2
  249. data/lib/patternfly-sass/version.rb +1 -2
  250. data/patternfly-sass.gemspec +16 -17
  251. metadata +249 -498
  252. data/.gitignore +0 -41
  253. data/.rspec +0 -3
  254. data/.rubocop.yml +0 -56
  255. data/.travis.yml +0 -51
  256. data/Gemfile +0 -3
  257. data/Rakefile +0 -130
  258. data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
  259. data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
  260. data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
  261. data/assets/fonts/patternfly/fontawesome-webfont.eot +0 -0
  262. data/assets/fonts/patternfly/fontawesome-webfont.svg +0 -685
  263. data/assets/fonts/patternfly/fontawesome-webfont.woff +0 -0
  264. data/assets/fonts/patternfly/fontawesome-webfont.woff2 +0 -0
  265. data/assets/javascripts/patternfly-functions.min.js +0 -1
  266. data/assets/javascripts/patternfly-settings.min.js +0 -1
  267. data/assets/javascripts/patternfly.dataTables.pfFilter.min.js +0 -1
  268. data/assets/javascripts/patternfly.dataTables.pfPagination.min.js +0 -1
  269. data/assets/javascripts/patternfly.min.js +0 -2
  270. data/assets/stylesheets/_patternfly.scss +0 -108
  271. data/assets/stylesheets/patternfly/_color-variables.scss +0 -84
  272. data/assets/stylesheets/patternfly/_fonts.scss +0 -124
  273. data/assets/stylesheets/patternfly/_mixin_overrides.scss +0 -65
  274. data/assets/stylesheets/patternfly/_mixins.scss +0 -120
  275. data/assets/stylesheets/patternfly/lib/bootstrap-datepicker.scss +0 -678
  276. data/assets/stylesheets/patternfly/lib/bootstrap-datetimepicker.scss +0 -374
  277. data/assets/stylesheets/patternfly/lib/bootstrap-select.scss +0 -282
  278. data/assets/stylesheets/patternfly/lib/patternfly-bootstrap-combobox.scss +0 -44
  279. data/bower.json +0 -53
  280. data/package.json +0 -70
  281. data/spec/compare_spec.rb +0 -60
  282. data/spec/html/about-modal.html +0 -77
  283. data/spec/html/accordions.html +0 -336
  284. data/spec/html/alerts.html +0 -106
  285. data/spec/html/area-charts.html +0 -103
  286. data/spec/html/badges.html +0 -73
  287. data/spec/html/bar-charts.html +0 -350
  288. data/spec/html/basic.html +0 -796
  289. data/spec/html/blank-slate.html +0 -81
  290. data/spec/html/bootstrap-combobox.html +0 -344
  291. data/spec/html/bootstrap-datepicker.html +0 -148
  292. data/spec/html/bootstrap-select.html +0 -213
  293. data/spec/html/bootstrap-switch.html +0 -267
  294. data/spec/html/bootstrap-switch.js +0 -61
  295. data/spec/html/bootstrap-touchspin.html +0 -210
  296. data/spec/html/bootstrap-treeview-2.html +0 -296
  297. data/spec/html/bootstrap-treeview.html +0 -383
  298. data/spec/html/breadcrumbs.html +0 -52
  299. data/spec/html/buttons.html +0 -556
  300. data/spec/html/card-view-card-variations.html +0 -201
  301. data/spec/html/card-view-multi-select.html +0 -698
  302. data/spec/html/card-view-single-select.html +0 -432
  303. data/spec/html/cards.html +0 -899
  304. data/spec/html/code.html +0 -83
  305. data/spec/html/dashboard.html +0 -353
  306. data/spec/html/dist/css/patternfly-additions.css +0 -7202
  307. data/spec/html/dist/css/patternfly-additions.css.map +0 -1
  308. data/spec/html/dist/css/patternfly-additions.min.css +0 -5
  309. data/spec/html/dist/css/patternfly-additions.min.css.map +0 -1
  310. data/spec/html/dist/css/patternfly.css +0 -10355
  311. data/spec/html/dist/css/patternfly.css.map +0 -1
  312. data/spec/html/dist/css/patternfly.min.css +0 -8
  313. data/spec/html/dist/css/patternfly.min.css.map +0 -1
  314. data/spec/html/donut-charts.html +0 -235
  315. data/spec/html/dropdowns.html +0 -138
  316. data/spec/html/form.html +0 -281
  317. data/spec/html/forms.html +0 -875
  318. data/spec/html/horizontal-navigation.html +0 -765
  319. data/spec/html/icons.html +0 -447
  320. data/spec/html/img/dashboard-3.png +0 -0
  321. data/spec/html/index.html +0 -284
  322. data/spec/html/infotip.html +0 -89
  323. data/spec/html/labels.html +0 -108
  324. data/spec/html/line-charts.html +0 -178
  325. data/spec/html/list-group.html +0 -111
  326. data/spec/html/list-pf.html +0 -529
  327. data/spec/html/list-view-compound-expansion.html +0 -1720
  328. data/spec/html/list-view-rows.html +0 -597
  329. data/spec/html/list-view-simple-expansion.html +0 -1003
  330. data/spec/html/list-view.html +0 -614
  331. data/spec/html/login.html +0 -92
  332. data/spec/html/modals.html +0 -83
  333. data/spec/html/navbar.html +0 -4680
  334. data/spec/html/notification-drawer-horizontal-nav.html +0 -1503
  335. data/spec/html/notification-drawer-vertical-nav.html +0 -1631
  336. data/spec/html/pagination-card-view.html +0 -560
  337. data/spec/html/pagination-list-view.html +0 -1204
  338. data/spec/html/pagination-table-view.html +0 -813
  339. data/spec/html/pagination.html +0 -320
  340. data/spec/html/panels.html +0 -113
  341. data/spec/html/pie-charts.html +0 -180
  342. data/spec/html/popovers.html +0 -115
  343. data/spec/html/progress-bars.html +0 -335
  344. data/spec/html/search.html +0 -171
  345. data/spec/html/spinner.html +0 -77
  346. data/spec/html/tab.html +0 -842
  347. data/spec/html/table-view-columns.html +0 -495
  348. data/spec/html/table-view-navbar.html +0 -814
  349. data/spec/html/table-view.html +0 -688
  350. data/spec/html/tables.html +0 -540
  351. data/spec/html/tabs.html +0 -279
  352. data/spec/html/tests.css +0 -16
  353. data/spec/html/time-picker.html +0 -75
  354. data/spec/html/toast.html +0 -87
  355. data/spec/html/toolbar.html +0 -268
  356. data/spec/html/tooltip.html +0 -71
  357. data/spec/html/typography-2.css +0 -10
  358. data/spec/html/typography-2.html +0 -313
  359. data/spec/html/typography.html +0 -212
  360. data/spec/html/utilization-bar-charts.html +0 -69
  361. data/spec/html/vertical-navigation-primary-only.html +0 -844
  362. data/spec/html/vertical-navigation-with-badges.html +0 -1184
  363. data/spec/html/vertical-navigation-with-secondary.html +0 -911
  364. data/spec/html/vertical-navigation-with-tertiary-no-icons.html +0 -1085
  365. data/spec/html/vertical-navigation-with-tertiary-pins.html +0 -1085
  366. data/spec/html/wizard.html +0 -756
  367. data/spec/main.html +0 -16
  368. data/spec/spec_helper.rb +0 -9
  369. data/tasks/converter.rb +0 -353
@@ -1,3 +1,90 @@
1
+ // Util: definition of breakpoint sizes for tablet and desktop modes
2
+ (function ($) {
3
+ 'use strict';
4
+ if (patternfly !== undefined) {
5
+ $.pfBreakpoints = patternfly.pfBreakpoints;
6
+ }
7
+ }(jQuery));
8
+ // PatternFly pf-list
9
+ (function ($) {
10
+ 'use strict';
11
+
12
+ $.fn.pfList = function () {
13
+ function init (list) {
14
+ // Ensure the state of the expansion elements is consistent
15
+ list.find('[data-list=expansion], .list-pf-item, .list-pf-expansion').each(function (index, element) {
16
+ var $expansion = $(element),
17
+ $collapse = $expansion.find('.collapse').first(),
18
+ expanded = $collapse.hasClass('in');
19
+ updateChevron($expansion, expanded);
20
+ if ($expansion.hasClass('list-pf-item')) {
21
+ updateActive($expansion, expanded);
22
+ }
23
+ });
24
+ list.find('.list-pf-container').each(function (index, element) {
25
+ var $element = $(element);
26
+ // The toggle element is the element with the data-list=toggle attribute
27
+ // or the entire .list-pf-container as a fallback
28
+ var $toggles = $element.find('[data-list=toggle]');
29
+ $toggles.length || ($toggles = $element);
30
+ $toggles.on('keydown', function (event) {
31
+ if (event.keyCode === 13 || event.keyCode === 32) {
32
+ toggleCollapse(this);
33
+ event.stopPropagation();
34
+ event.preventDefault();
35
+ }
36
+ });
37
+ $toggles.on('click', function (event) {
38
+ toggleCollapse(this);
39
+ event.stopPropagation();
40
+ event.preventDefault();
41
+ });
42
+ });
43
+ }
44
+
45
+ function toggleCollapse (toggle) {
46
+ var $toggle, $expansion, $collapse, expanded, $listItem;
47
+ $toggle = $(toggle);
48
+ // Find the parent expansion of the toggle
49
+ $expansion = $toggle.parentsUntil('.list-pf', '[data-list=expansion]').first();
50
+ $expansion.length || ($expansion = $toggle.closest('.list-pf-item, .list-pf-expansion'));
51
+
52
+ // toggle the "in" class of its first .collapse child
53
+ $collapse = $expansion.find('.collapse').first();
54
+ $collapse.toggleClass('in');
55
+
56
+ // update the state of the expansion element
57
+ updateChevron($expansion, $collapse.hasClass('in'));
58
+ $listItem = $expansion.closest('.list-pf-item');
59
+ updateActive($listItem, $listItem.find('.collapse').first().hasClass('in'));
60
+ }
61
+
62
+ function updateActive ($listItem, expanded) {
63
+ // Find the closest .list-pf-item of the expansion, and set its "active" class
64
+ if (expanded) {
65
+ $listItem.addClass('active');
66
+ } else {
67
+ $listItem.removeClass('active');
68
+ }
69
+ }
70
+
71
+ function updateChevron ($expansion, expanded) {
72
+ var $chevron = $expansion.find('.list-pf-chevron .fa').first();
73
+ if (expanded) {
74
+ $chevron.removeClass('fa-angle-right');
75
+ $chevron.addClass('fa-angle-down');
76
+ } else {
77
+ $chevron.addClass('fa-angle-right');
78
+ $chevron.removeClass('fa-angle-down');
79
+ }
80
+ }
81
+
82
+ init(this);
83
+
84
+ return this;
85
+ };
86
+ }(jQuery));
87
+
1
88
  // Util: PatternFly Sidebar
2
89
  // Set height of sidebar-pf to height of document minus height of navbar-pf if not mobile
3
90
  (function ($) {
@@ -68,7 +155,6 @@
68
155
  };
69
156
  }(jQuery));
70
157
 
71
-
72
158
  // Util: DataTables Settings
73
159
  (function ($) {
74
160
  'use strict';
@@ -171,9 +257,9 @@
171
257
  }
172
258
 
173
259
  iNewStart = oSettings._iDisplayLength * (this.value - 1);
174
- if (iNewStart >= oSettings.fnRecordsDisplay() || iNewStart < 0) {
260
+ if (iNewStart >= oSettings.fnRecordsDisplay()) {
175
261
  /* Display overrun */
176
- oSettings._iDisplayStart = (Math.ceil(oSettings.fnRecordsDisplay() /
262
+ oSettings._iDisplayStart = (Math.ceil((oSettings.fnRecordsDisplay() - 1) /
177
263
  oSettings._iDisplayLength) - 1) * oSettings._iDisplayLength;
178
264
  fnDraw(oSettings);
179
265
  return;
@@ -219,14 +305,6 @@
219
305
  }
220
306
  }(jQuery));
221
307
 
222
- // Util: definition of breakpoint sizes for tablet and desktop modes
223
- (function ($) {
224
- 'use strict';
225
- if (patternfly !== undefined) {
226
- $.pfBreakpoints = patternfly.pfBreakpoints;
227
- }
228
- }(jQuery));
229
-
230
308
  // Util: PatternFly Collapsible Left Hand Navigation
231
309
  // Must have navbar-toggle in navbar-pf-alt for expand/collapse
232
310
  (function ($) {
@@ -597,7 +675,7 @@
597
675
  (function ($) {
598
676
  'use strict';
599
677
 
600
- $.fn.setupVerticalNavigation = function (handleItemSelections) {
678
+ $.fn.setupVerticalNavigation = function (handleItemSelections, ignoreDrawer) {
601
679
 
602
680
  var navElement = $('.nav-pf-vertical'),
603
681
  bodyContentElement = $('.container-pf-nav-pf-vertical'),
@@ -634,9 +712,35 @@
634
712
  hideSecondaryMenu = function () {
635
713
  navElement.removeClass('secondary-visible-pf');
636
714
  bodyContentElement.removeClass('secondary-visible-pf');
715
+
716
+ if (navElement.find('.secondary-nav-item-pf.is-hover').length <= 1) {
717
+ navElement.removeClass('hover-secondary-nav-pf');
718
+ }
719
+
637
720
  navElement.find('.mobile-nav-item-pf').each(function (index, item) {
638
721
  $(item).removeClass('mobile-nav-item-pf');
639
722
  });
723
+
724
+ navElement.find('.is-hover').each(function (index, item) {
725
+ $(item).removeClass('is-hover');
726
+ });
727
+ },
728
+
729
+ hideTertiaryMenu = function () {
730
+ navElement.removeClass('tertiary-visible-pf');
731
+ bodyContentElement.removeClass('tertiary-visible-pf');
732
+
733
+ if (navElement.find('.tertiary-nav-item-pf.is-hover').length <= 1) {
734
+ navElement.removeClass('hover-tertiary-nav-pf');
735
+ }
736
+
737
+ navElement.find('.mobile-nav-item-pf').each(function (index, item) {
738
+ $(item).removeClass('mobile-nav-item-pf');
739
+ });
740
+
741
+ navElement.find('.is-hover').each(function (index, item) {
742
+ $(item).removeClass('is-hover');
743
+ });
640
744
  },
641
745
 
642
746
  setActiveItem = function (item) {
@@ -825,6 +929,8 @@
825
929
 
826
930
  bindMenuBehavior = function () {
827
931
  toggleNavBarButton.on('click', function (e) {
932
+ var $drawer;
933
+
828
934
  enableTransitions();
829
935
 
830
936
  if (inMobileState()) {
@@ -835,6 +941,15 @@
835
941
  // Always start at the primary menu
836
942
  updateMobileMenu();
837
943
  navElement.addClass('show-mobile-nav');
944
+
945
+ // If the notification drawer is shown, hide it
946
+ if (!ignoreDrawer) {
947
+ $drawer = $('.drawer-pf');
948
+ if ($drawer.length) {
949
+ $('.drawer-pf-trigger').removeClass('open');
950
+ $drawer.addClass('hide');
951
+ }
952
+ }
838
953
  }
839
954
  } else if (navElement.hasClass('collapsed')) {
840
955
  window.localStorage.setItem('patternfly-navigation-primary', 'expanded');
@@ -901,7 +1016,7 @@
901
1016
  updateSecondaryMenuDisplayAfterSelection();
902
1017
  if (handleSelection) {
903
1018
  setActiveItem($item);
904
- // Don't process the click on the item
1019
+ hideSecondaryMenu();
905
1020
  event.stopImmediatePropagation();
906
1021
  }
907
1022
  } else if (inMobileState()) {
@@ -925,7 +1040,8 @@
925
1040
  updateSecondaryMenuDisplayAfterSelection();
926
1041
  if (handleSelection) {
927
1042
  setActiveItem($item);
928
- // Don't process the click on the item
1043
+ hideTertiaryMenu();
1044
+ hideSecondaryMenu();
929
1045
  event.stopImmediatePropagation();
930
1046
  }
931
1047
  };
@@ -1013,7 +1129,8 @@
1013
1129
  if ($this[0].navHoverTimeout !== undefined) {
1014
1130
  clearTimeout($this[0].navHoverTimeout);
1015
1131
  $this[0].navHoverTimeout = undefined;
1016
- } else if ($this[0].navUnHoverTimeout === undefined) {
1132
+ } else if ($this[0].navUnHoverTimeout === undefined &&
1133
+ navElement.find('.secondary-nav-item-pf.is-hover').length > 0) {
1017
1134
  $this[0].navUnHoverTimeout = setTimeout(function () {
1018
1135
  if (navElement.find('.secondary-nav-item-pf.is-hover').length <= 1) {
1019
1136
  navElement.removeClass('hover-secondary-nav-pf');
@@ -1115,6 +1232,7 @@
1115
1232
  bodyContentElement.removeClass('hide-nav-pf');
1116
1233
  forceResize(250);
1117
1234
  },
1235
+
1118
1236
  self = {
1119
1237
  hideMenu: function () {
1120
1238
  handleResize = false;
@@ -1142,83 +1260,3 @@
1142
1260
  return $.fn.setupVerticalNavigation.self;
1143
1261
  };
1144
1262
  }(jQuery));
1145
-
1146
- // PatternFly pf-list
1147
- (function ($) {
1148
- 'use strict';
1149
-
1150
- $.fn.pfList = function () {
1151
- function init (list) {
1152
- // Ensure the state of the expansion elements is consistent
1153
- list.find('[data-list=expansion], .list-pf-item, .list-pf-expansion').each(function (index, element) {
1154
- var $expansion = $(element),
1155
- $collapse = $expansion.find('.collapse').first(),
1156
- expanded = $collapse.hasClass('in');
1157
- updateChevron($expansion, expanded);
1158
- if ($expansion.hasClass('list-pf-item')) {
1159
- updateActive($expansion, expanded);
1160
- }
1161
- });
1162
- list.find('.list-pf-container').each(function (index, element) {
1163
- var $element = $(element);
1164
- // The toggle element is the element with the data-list=toggle attribute
1165
- // or the entire .list-pf-container as a fallback
1166
- var $toggles = $element.find('[data-list=toggle]');
1167
- $toggles.length || ($toggles = $element);
1168
- $toggles.on('keydown', function (event) {
1169
- if (event.keyCode === 13 || event.keyCode === 32) {
1170
- toggleCollapse(this);
1171
- event.stopPropagation();
1172
- event.preventDefault();
1173
- }
1174
- });
1175
- $toggles.on('click', function (event) {
1176
- toggleCollapse(this);
1177
- event.stopPropagation();
1178
- event.preventDefault();
1179
- });
1180
- });
1181
- }
1182
-
1183
- function toggleCollapse (toggle) {
1184
- var $toggle, $expansion, $collapse, expanded, $listItem;
1185
- $toggle = $(toggle);
1186
- // Find the parent expansion of the toggle
1187
- $expansion = $toggle.parentsUntil('.list-pf', '[data-list=expansion]').first();
1188
- $expansion.length || ($expansion = $toggle.closest('.list-pf-item, .list-pf-expansion'));
1189
-
1190
- // toggle the "in" class of its first .collapse child
1191
- $collapse = $expansion.find('.collapse').first();
1192
- $collapse.toggleClass('in');
1193
-
1194
- // update the state of the expansion element
1195
- updateChevron($expansion, $collapse.hasClass('in'));
1196
- $listItem = $expansion.closest('.list-pf-item');
1197
- updateActive($listItem, $listItem.find('.collapse').first().hasClass('in'));
1198
- }
1199
-
1200
- function updateActive ($listItem, expanded) {
1201
- // Find the closest .list-pf-item of the expansion, and set its "active" class
1202
- if (expanded) {
1203
- $listItem.addClass('active');
1204
- } else {
1205
- $listItem.removeClass('active');
1206
- }
1207
- }
1208
-
1209
- function updateChevron ($expansion, expanded) {
1210
- var $chevron = $expansion.find('.list-pf-chevron .fa').first();
1211
- if (expanded) {
1212
- $chevron.removeClass('fa-angle-right');
1213
- $chevron.addClass('fa-angle-down');
1214
- } else {
1215
- $chevron.addClass('fa-angle-right');
1216
- $chevron.removeClass('fa-angle-down');
1217
- }
1218
- }
1219
-
1220
- init(this);
1221
-
1222
- return this;
1223
- };
1224
- }(jQuery));
@@ -0,0 +1 @@
1
+ !function($){"use strict";void 0!==patternfly&&($.pfBreakpoints=patternfly.pfBreakpoints)}(jQuery),function($){"use strict";$.fn.pfList=function(){function toggleCollapse(toggle){var $toggle,$expansion,$collapse,$listItem;$toggle=$(toggle),$expansion=$toggle.parentsUntil(".list-pf","[data-list=expansion]").first(),$expansion.length||($expansion=$toggle.closest(".list-pf-item, .list-pf-expansion")),$collapse=$expansion.find(".collapse").first(),$collapse.toggleClass("in"),updateChevron($expansion,$collapse.hasClass("in")),$listItem=$expansion.closest(".list-pf-item"),updateActive($listItem,$listItem.find(".collapse").first().hasClass("in"))}function updateActive($listItem,expanded){expanded?$listItem.addClass("active"):$listItem.removeClass("active")}function updateChevron($expansion,expanded){var $chevron=$expansion.find(".list-pf-chevron .fa").first();expanded?($chevron.removeClass("fa-angle-right"),$chevron.addClass("fa-angle-down")):($chevron.addClass("fa-angle-right"),$chevron.removeClass("fa-angle-down"))}return function(list){list.find("[data-list=expansion], .list-pf-item, .list-pf-expansion").each(function(index,element){var $expansion=$(element),$collapse=$expansion.find(".collapse").first(),expanded=$collapse.hasClass("in");updateChevron($expansion,expanded),$expansion.hasClass("list-pf-item")&&updateActive($expansion,expanded)}),list.find(".list-pf-container").each(function(index,element){var $element=$(element),$toggles=$element.find("[data-list=toggle]");$toggles.length||($toggles=$element),$toggles.on("keydown",function(event){13!==event.keyCode&&32!==event.keyCode||(toggleCollapse(this),event.stopPropagation(),event.preventDefault())}),$toggles.on("click",function(event){toggleCollapse(this),event.stopPropagation(),event.preventDefault()})})}(this),this}}(jQuery),function($){"use strict";$.fn.sidebar=function(){var documentHeight=0,navbarpfHeight=0,colHeight=0;$(".navbar-pf .navbar-toggle").is(":hidden")&&(documentHeight=$(document).height(),navbarpfHeight=$(".navbar-pf").outerHeight(),colHeight=documentHeight-navbarpfHeight),$(".sidebar-pf").parent(".row").children('[class*="col-"]').css({"min-height":colHeight})},$(document).ready(function(){$(".sidebar-pf").length>0&&0===$(".datatable").length&&$.fn.sidebar()}),$(window).resize(function(){$(".sidebar-pf").length>0&&$.fn.sidebar()})}(jQuery),function($){"use strict";$.fn.popovers=function(){return this.popover(),this.filter("[data-close=true]").each(function(index,element){var $this=$(element),title=$this.attr("data-original-title")+'<button type="button" class="close" aria-hidden="true"><span class="pficon pficon-close"></span></button>';$this.attr("data-original-title",title)}),this.on("click",function(e){var $this=$(this),$title=$this.next(".popover").find(".popover-title");$title.find(".close").parent(".popover-title").addClass("closable"),$title.find(".close").on("click",function(){$this.popover("hide")}),e.preventDefault()}),this}}(jQuery),function($){"use strict";$.fn.dataTableExt&&($.extend(!0,$.fn.dataTable.defaults,{bDestroy:!0,bAutoWidth:!1,iDisplayLength:20,sDom:"<'dataTables_header' f i r ><'table-responsive' t ><'dataTables_footer' p >",oLanguage:{sInfo:"Showing <b>_START_</b> to <b>_END_</b> of <b>_TOTAL_</b> Items",sInfoFiltered:"(of <b>_MAX_</b>)",sInfoEmpty:"Showing <b>0</b> Results",sZeroRecords:"<p>Suggestions</p><ul><li>Check the javascript regular expression syntax of the search term.</li><li>Check that the correct menu option is chosen (token ID vs. user ID).</li><li>Use wildcards (* to match 0 or more characters, + to match 1 or more characters, ? to match 0 or 1 character).</li><li>Clear the search field, then click Search to return to the 20 most recent records.</li></ul>",sSearch:""},sPaginationType:"bootstrap_input",oSearch:{sSearch:"",bRegex:!0,bSmart:!1}}),$.extend($.fn.dataTableExt.oStdClasses,{sWrapper:"dataTables_wrapper"}),$.fn.dataTableExt.oApi.fnPagingInfo=function(oSettings){return{iStart:oSettings._iDisplayStart,iEnd:oSettings.fnDisplayEnd(),iLength:oSettings._iDisplayLength,iTotal:oSettings.fnRecordsTotal(),iFilteredTotal:oSettings.fnRecordsDisplay(),iPage:-1===oSettings._iDisplayLength?0:Math.ceil(oSettings._iDisplayStart/oSettings._iDisplayLength),iTotalPages:-1===oSettings._iDisplayLength?0:Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength)}},$.extend($.fn.dataTableExt.oPagination,{bootstrap_input:{fnInit:function(oSettings,nPaging,fnDraw){var els,nInput,fnClickHandler=function(e){e.preventDefault(),oSettings.oApi._fnPageChange(oSettings,e.data.action)&&fnDraw(oSettings)};$(nPaging).append('<ul class="pagination"> <li class="first disabled"><span class="i fa fa-angle-double-left"></span></li> <li class="prev disabled"><span class="i fa fa-angle-left"></span></li></ul><div class="pagination-input"> <input type="text" class="paginate_input"> <span class="paginate_of">of <b>3</b></span></div><ul class="pagination"> <li class="next disabled"><span class="i fa fa-angle-right"></span></li> <li class="last disabled"><span class="i fa fa-angle-double-right"></span></li></ul>'),els=$("li",nPaging),$(els[0]).bind("click.DT",{action:"first"},fnClickHandler),$(els[1]).bind("click.DT",{action:"previous"},fnClickHandler),$(els[2]).bind("click.DT",{action:"next"},fnClickHandler),$(els[3]).bind("click.DT",{action:"last"},fnClickHandler),nInput=$("input",nPaging),$(nInput).keyup(function(e){var iNewStart;if(38===e.which||39===e.which?this.value+=1:(37===e.which||40===e.which)&&this.value>1&&(this.value-=1),""!==this.value&&this.value.match(/[0-9]/)){if((iNewStart=oSettings._iDisplayLength*(this.value-1))>=oSettings.fnRecordsDisplay())return oSettings._iDisplayStart=(Math.ceil((oSettings.fnRecordsDisplay()-1)/oSettings._iDisplayLength)-1)*oSettings._iDisplayLength,void fnDraw(oSettings);oSettings._iDisplayStart=iNewStart,fnDraw(oSettings)}})},fnUpdate:function(oSettings,fnDraw){var i,oPaging=oSettings.oInstance.fnPagingInfo(),an=oSettings.aanFeatures.p,ien=an.length,iPages=Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength),iCurrentPage=Math.ceil(oSettings._iDisplayStart/oSettings._iDisplayLength)+1;for(i=0;i<ien;i+=1)$(".paginate_input",an[i]).val(iCurrentPage).siblings(".paginate_of").find("b").html(iPages),0===oPaging.iPage?($("li.first",an[i]).addClass("disabled"),$("li.prev",an[i]).addClass("disabled")):($("li.first",an[i]).removeClass("disabled"),$("li.prev",an[i]).removeClass("disabled")),oPaging.iPage===oPaging.iTotalPages-1||0===oPaging.iTotalPages?($("li.next",an[i]).addClass("disabled"),$("li.last",an[i]).addClass("disabled")):($("li.next",an[i]).removeClass("disabled"),$("li.last",an[i]).removeClass("disabled"))}}}))}(jQuery),function($){"use strict";$.fn.navigation=function(){var navElement=$(".layout-pf-alt-fixed .nav-pf-vertical-alt"),bodyContentElement=$(".container-pf-alt-nav-pf-vertical-alt"),toggleNavBarButton=$(".navbar-toggle"),explicitCollapse=!1,checkNavState=function(){var width=$(window).width();navElement.removeClass("hidden show-mobile-nav collapsed"),bodyContentElement.removeClass("collapsed-nav hidden-nav"),(width<$.pfBreakpoints.desktop||explicitCollapse)&&(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")),width<$.pfBreakpoints.tablet&&(navElement.addClass("hidden"),navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),bodyContentElement.addClass("hidden-nav"))},collapseMenu=function(){navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav"),explicitCollapse=!0},enableTransitions=function(){$("html").addClass("transitions")},expandMenu=function(){navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),explicitCollapse=!1},bindMenuBehavior=function(){toggleNavBarButton.on("click",function(e){var inMobileState=bodyContentElement.hasClass("hidden-nav");enableTransitions(),inMobileState&&navElement.hasClass("show-mobile-nav")?navElement.removeClass("show-mobile-nav"):inMobileState?navElement.addClass("show-mobile-nav"):navElement.hasClass("collapsed")?expandMenu():collapseMenu()})},setTooltips=function(){$('.nav-pf-vertical-alt [data-toggle="tooltip"]').tooltip({container:"body",delay:{show:"500",hide:"200"}}),$(".nav-pf-vertical-alt").on("show.bs.tooltip",function(e){return $(this).hasClass("collapsed")})};$(window).on("resize",function(){checkNavState(),enableTransitions()}),function(){checkNavState(),bindMenuBehavior(),setTooltips()}()},$(document).ready(function(){$(".nav-pf-vertical-alt").length>0&&$.fn.navigation()})}(jQuery),function($){"use strict";$.fn.countRemainingChars=function(options){var settings=$.extend({charsMaxLimit:100,charsWarnRemaining:5,blockInputAtMaxLimit:!1},options),$taFld=this,$countFld=$("#"+settings.countFld).text(settings.charsMaxLimit),charsRemainingFn=function(charsLength){var charsRemaining=settings.charsMaxLimit-charsLength;$countFld.text(charsRemaining),$countFld.toggleClass("chars-warn-remaining-pf",charsRemaining<=settings.charsWarnRemaining),charsRemaining<0?$taFld.trigger("overCharsMaxLimitEvent",$taFld.attr("id")):$taFld.trigger("underCharsMaxLimitEvent",$taFld.attr("id"))};return this.on("paste",function(event){setTimeout(function(){var maxTxt,charsLength=$taFld.val().length;settings.blockInputAtMaxLimit&&charsLength>settings.charsMaxLimit&&(maxTxt=$taFld.val(),maxTxt=maxTxt.substring(0,settings.charsMaxLimit),$taFld.val(maxTxt),charsLength=$taFld.val().length),charsRemainingFn(charsLength)},100)}),this.keyup(function(event){charsRemainingFn($taFld.val().length)}),this.keydown(function(event){var charsLength=$taFld.val().length;settings.blockInputAtMaxLimit&&charsLength>=settings.charsMaxLimit&&8!==event.keyCode&&event.preventDefault()}),this}}(jQuery),function($){"use strict";void 0!==patternfly&&($.pfPaletteColors=patternfly.pfPaletteColors)}(jQuery),function($){"use strict";void 0!==patternfly&&($.fn.pfSetDonutChartTitle=patternfly.pfSetDonutChartTitle,$.fn.pfDonutTooltipContents=patternfly.pfDonutTooltipContents,$.fn.pfGetUtilizationDonutTooltipContentsFn=patternfly.pfGetUtilizationDonutTooltipContentsFn,$.fn.pfGetBarChartTooltipContentsFn=patternfly.pfGetBarChartTooltipContentsFn,$.fn.pfSingleLineChartTooltipContentsFn=patternfly.pfSingleLineChartTooltipContentsFn,$.fn.pfPieTooltipContents=patternfly.pfPieTooltipContents,$.fn.c3ChartDefaults=patternfly.c3ChartDefaults)}(jQuery),function($){"use strict";$.fn.initCollapseHeights=function(scrollSelector){var setCollapseHeights,parentElement=this,targetScrollSelector=scrollSelector;setCollapseHeights=function(){var height,openPanel,contentHeight,bodyHeight,overflowY="hidden";height=parentElement.height(),openPanel=parentElement.find(".collapse.in"),openPanel&&openPanel.length>0&&openPanel.removeClass("in"),contentHeight=0,parentElement.children().each($.proxy(function(i,element){var $element=$(element);contentHeight+=$element.outerHeight(!0)},parentElement)).end(),bodyHeight=height-contentHeight,bodyHeight<25&&(bodyHeight=25,overflowY="auto"),openPanel&&openPanel.length>0&&openPanel.addClass("in"),setTimeout(function(){parentElement.find('[data-toggle="collapse"]').each($.proxy(function(i,element){var $element,selector,$target,scrollElement,innerHeight=0;$element=$(element),selector=$element.attr("data-target"),selector||(selector=$element.attr("href")),$target=$(selector),scrollElement=$target,targetScrollSelector&&(scrollElement=$target.find(targetScrollSelector),1===scrollElement.length?(innerHeight=0,$target.children().each($.proxy(function(j,sibling){var $sibling=$(sibling);sibling!==scrollElement[0]&&(innerHeight+=$sibling.outerHeight(!0))},$target)).end(),bodyHeight-=innerHeight):scrollElement=$target),scrollElement.css({"max-height":bodyHeight-innerHeight+"px","overflow-y":"auto"})},parentElement)).end(),parentElement.css({"overflow-y":overflowY})},100)},setCollapseHeights(),$(window).resize(setCollapseHeights)}}(jQuery),function($){"use strict";function getParent(rows,node){var parent=node.attr("data-parent");if("string"==typeof parent)return parent=isNaN(parent)?rows.closest(parent):$(rows[parseInt(parent,10)])}function renderItem(item,parent){parent&&(parent.find(".treegrid-node > span.expand-icon").toggleClass("fa-angle-right",parent.hasClass("collapsed")).toggleClass("fa-angle-down",!parent.hasClass("collapsed")),item.toggleClass("hidden",parent.hasClass("collapsed")),parent.hasClass("collapsed")&&item.addClass("collapsed"))}function reStripe(tree){tree.find("tbody > tr").removeClass("odd"),tree.find("tbody > tr:not(.hidden):odd").addClass("odd")}$.fn.treegrid=function(options){var i,rows,_this;rows=this.find("tbody > tr"),_this=this,$.each(rows,function(){var node,parent;if(node=$(this),parent=getParent(rows,node),node.children(".treegrid-node").prepend('<span class="icon expand-icon fa"/>'),node.children(".treegrid-node").on("click",function(e){var icon=node.find("span.expand-icon");options&&"function"==typeof options.callback&&options.callback(e),icon.hasClass("fa-angle-right")&&node.removeClass("collapsed"),icon.hasClass("fa-angle-down")&&node.addClass("collapsed"),$.each(rows.slice(rows.index(node)+1),function(){renderItem($(this),getParent(rows,$(this)))}),reStripe(_this)}),parent){for(i=parent.find(".treegrid-node > span.indent").length+1;i>0;i-=1)node.children(".treegrid-node").prepend('<span class="indent"/>');renderItem(node,parent)}}),reStripe(_this)}}(jQuery),function($){"use strict";$.fn.setupVerticalNavigation=function(handleItemSelections,ignoreDrawer){var navElement=$(".nav-pf-vertical"),bodyContentElement=$(".container-pf-nav-pf-vertical"),toggleNavBarButton=$(".navbar-toggle"),handleResize=!0,explicitCollapse=!1,subDesktop=!1,inMobileState=function(){return bodyContentElement.hasClass("hidden-nav")},forceResize=function(delay){setTimeout(function(){$(window).trigger("resize")},delay)},showSecondaryMenu=function(){!inMobileState()&&subDesktop||(navElement.addClass("secondary-visible-pf"),bodyContentElement.addClass("secondary-visible-pf")),subDesktop||forceResize(100)},hideSecondaryMenu=function(){navElement.removeClass("secondary-visible-pf"),bodyContentElement.removeClass("secondary-visible-pf"),navElement.find(".secondary-nav-item-pf.is-hover").length<=1&&navElement.removeClass("hover-secondary-nav-pf"),navElement.find(".mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")}),navElement.find(".is-hover").each(function(index,item){$(item).removeClass("is-hover")})},hideTertiaryMenu=function(){navElement.removeClass("tertiary-visible-pf"),bodyContentElement.removeClass("tertiary-visible-pf"),navElement.find(".tertiary-nav-item-pf.is-hover").length<=1&&navElement.removeClass("hover-tertiary-nav-pf"),navElement.find(".mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")}),navElement.find(".is-hover").each(function(index,item){$(item).removeClass("is-hover")})},setActiveItem=function(item){$(".nav-pf-vertical .list-group-item.active").removeClass("active"),item.addClass("active").parents(".list-group-item").addClass("active")},updateSecondaryMenuDisplayAfterSelection=function(){inMobileState()?(navElement.removeClass("show-mobile-nav"),hideSecondaryMenu(),navElement.find(".mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")})):showSecondaryMenu()},updateSecondaryCollapsedState=function(setCollapsed,collapsedItem){setCollapsed?(collapsedItem.addClass("collapsed"),navElement.addClass("collapsed-secondary-nav-pf"),bodyContentElement.addClass("collapsed-secondary-nav-pf")):(collapsedItem?collapsedItem.removeClass("collapsed"):navElement.find('[data-toggle="collapse-secondary-nav"]').each(function(index,element){$(element).removeClass("collapsed")}),navElement.removeClass("collapsed-secondary-nav-pf"),bodyContentElement.removeClass("collapsed-secondary-nav-pf"))},updateTertiaryCollapsedState=function(setCollapsed,collapsedItem){setCollapsed?(collapsedItem.addClass("collapsed"),navElement.addClass("collapsed-tertiary-nav-pf"),bodyContentElement.addClass("collapsed-tertiary-nav-pf"),updateSecondaryCollapsedState(!1)):(collapsedItem?collapsedItem.removeClass("collapsed"):navElement.find('[data-toggle="collapse-tertiary-nav"]').each(function(index,element){$(element).removeClass("collapsed")}),navElement.removeClass("collapsed-tertiary-nav-pf"),bodyContentElement.removeClass("collapsed-tertiary-nav-pf"))},updateMobileMenu=function(selected,secondaryItem){$(document).find(".list-group-item.mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")}),$(document).find(".list-group-item.mobile-secondary-item-pf").each(function(index,item){$(item).removeClass("mobile-secondary-item-pf")}),selected?(selected.addClass("mobile-nav-item-pf"),secondaryItem?(secondaryItem.addClass("mobile-secondary-item-pf"),navElement.removeClass("show-mobile-secondary"),navElement.addClass("show-mobile-tertiary")):(navElement.addClass("show-mobile-secondary"),navElement.removeClass("show-mobile-tertiary"))):(navElement.removeClass("show-mobile-secondary"),navElement.removeClass("show-mobile-tertiary"))},enterMobileState=function(){navElement.hasClass("hidden")||(navElement.addClass("hidden"),navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),bodyContentElement.addClass("hidden-nav"),updateSecondaryCollapsedState(!1),updateTertiaryCollapsedState(!1),explicitCollapse=!1)},exitMobileState=function(){navElement.removeClass("hidden show-mobile-nav"),bodyContentElement.removeClass("hidden-nav")},checkNavState=function(){var makeSecondaryVisible,width=$(window).width();handleResize&&(width<$.pfBreakpoints.tablet&&!explicitCollapse?enterMobileState():navElement.hasClass("hidden")&&exitMobileState(),width<$.pfBreakpoints.desktop?(subDesktop||(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")),width>=$.pfBreakpoints.tablet&&hideSecondaryMenu(),subDesktop=!0):(makeSecondaryVisible=subDesktop&&navElement.find(".secondary-nav-item-pf.active").length>0,subDesktop=!1,makeSecondaryVisible&&showSecondaryMenu()),explicitCollapse?(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")):(navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav")))},collapseMenu=function(){navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav"),subDesktop&&hideSecondaryMenu(),explicitCollapse=!0},enableTransitions=function(){$("html").addClass("transitions")},expandMenu=function(){navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),explicitCollapse=!1,subDesktop||forceResize(100)},bindMenuBehavior=function(){toggleNavBarButton.on("click",function(e){var $drawer;enableTransitions(),inMobileState()?navElement.hasClass("show-mobile-nav")?navElement.removeClass("show-mobile-nav"):(updateMobileMenu(),navElement.addClass("show-mobile-nav"),ignoreDrawer||($drawer=$(".drawer-pf"),$drawer.length&&($(".drawer-pf-trigger").removeClass("open"),$drawer.addClass("hide")))):navElement.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-primary","expanded"),expandMenu()):(window.localStorage.setItem("patternfly-navigation-primary","collapsed"),collapseMenu())})},forceHideSecondaryMenu=function(){navElement.addClass("force-hide-secondary-nav-pf"),setTimeout(function(){navElement.removeClass("force-hide-secondary-nav-pf")},500)},bindMenuItemsBehavior=function(handleSelection){$(document).find(".nav-pf-vertical .list-group-item").each(function(index,item){var onClickFn,$item=$(item),$nav=$item.closest('[class*="nav-pf-"]');$nav.hasClass("nav-pf-vertical")?onClickFn=function(event){var $secondaryItem,$activeItem,$this=$(this);$this.hasClass("secondary-nav-item-pf")?inMobileState()?updateMobileMenu($this):handleSelection&&($activeItem=$secondaryItem=$item.find(".nav-pf-secondary-nav > .list-group > .list-group-item").eq(0),$secondaryItem.hasClass("tertiary-nav-item-pf")&&($activeItem=$secondaryItem.find(".nav-pf-tertiary-nav > .list-group > .list-group-item").eq(0)),setActiveItem($activeItem),event.stopImmediatePropagation()):(hideSecondaryMenu(),inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),handleSelection&&(setActiveItem($this),event.stopImmediatePropagation()))}:$nav.hasClass("nav-pf-secondary-nav")?onClickFn=function(event){var $tertiaryItem,$primaryItem,$this=$(this);$this.hasClass("tertiary-nav-item-pf")?inMobileState()?($primaryItem=$item.parents(".list-group-item"),updateMobileMenu($this,$primaryItem),event.stopImmediatePropagation()):handleSelection&&($tertiaryItem=$item.find(".nav-pf-tertiary-nav > .list-group > .list-group-item").eq(0),setActiveItem($tertiaryItem),event.stopImmediatePropagation()):(inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),updateSecondaryMenuDisplayAfterSelection(),handleSelection&&(setActiveItem($item),hideSecondaryMenu(),event.stopImmediatePropagation()))}:$nav.hasClass("nav-pf-tertiary-nav")&&(onClickFn=function(event){inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),updateSecondaryMenuDisplayAfterSelection(),handleSelection&&(setActiveItem($item),hideTertiaryMenu(),hideSecondaryMenu(),event.stopImmediatePropagation())}),$item.on("click.pf.secondarynav.data-api",onClickFn)}),$(document).find(".secondary-nav-item-pf").each(function(index,secondaryItem){var $secondaryItem=$(secondaryItem);$secondaryItem.on("click.pf.secondarynav.data-api",'[data-toggle="collapse-secondary-nav"]',function(e){var $this=$(this);inMobileState()?(updateMobileMenu(),e.stopImmediatePropagation()):$this.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-secondary","expanded"),window.localStorage.setItem("patternfly-navigation-tertiary","expanded"),updateSecondaryCollapsedState(!1,$this),forceHideSecondaryMenu()):(window.localStorage.setItem("patternfly-navigation-secondary","collapsed"),updateSecondaryCollapsedState(!0,$this)),navElement.removeClass("hover-secondary-nav-pf"),handleSelection&&e.stopImmediatePropagation()}),$secondaryItem.find(".tertiary-nav-item-pf").each(function(index,primaryItem){$(primaryItem).on("click.pf.tertiarynav.data-api",'[data-toggle="collapse-tertiary-nav"]',function(e){var $this=$(this);inMobileState()?(updateMobileMenu($secondaryItem),e.stopImmediatePropagation()):$this.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-secondary","expanded"),window.localStorage.setItem("patternfly-navigation-tertiary","expanded"),updateTertiaryCollapsedState(!1,$this),forceHideSecondaryMenu()):(window.localStorage.setItem("patternfly-navigation-tertiary","collapsed"),updateTertiaryCollapsedState(!0,$this)),navElement.removeClass("hover-secondary-nav-pf"),navElement.removeClass("hover-tertiary-nav-pf"),handleSelection&&e.stopImmediatePropagation()})})}),$(document).on("mouseenter.pf.tertiarynav.data-api",".secondary-nav-item-pf",function(e){var $this=$(this);inMobileState()||(void 0!==$this[0].navUnHoverTimeout?(clearTimeout($this[0].navUnHoverTimeout),$this[0].navUnHoverTimeout=void 0):void 0===$this[0].navHoverTimeout&&($this[0].navHoverTimeout=setTimeout(function(){navElement.addClass("hover-secondary-nav-pf"),$this.addClass("is-hover"),$this[0].navHoverTimeout=void 0},500)))}),$(document).on("mouseleave.pf.tertiarynav.data-api",".secondary-nav-item-pf",function(e){var $this=$(this);void 0!==$this[0].navHoverTimeout?(clearTimeout($this[0].navHoverTimeout),$this[0].navHoverTimeout=void 0):void 0===$this[0].navUnHoverTimeout&&navElement.find(".secondary-nav-item-pf.is-hover").length>0&&($this[0].navUnHoverTimeout=setTimeout(function(){navElement.find(".secondary-nav-item-pf.is-hover").length<=1&&navElement.removeClass("hover-secondary-nav-pf"),$this.removeClass("is-hover"),$this[0].navUnHoverTimeout=void 0},700))}),$(document).on("mouseover.pf.tertiarynav.data-api",".tertiary-nav-item-pf",function(e){var $this=$(this);inMobileState()||(void 0!==$this[0].navUnHoverTimeout?(clearTimeout($this[0].navUnHoverTimeout),$this[0].navUnHoverTimeout=void 0):void 0===$this[0].navHoverTimeout&&($this[0].navHoverTimeout=setTimeout(function(){navElement.addClass("hover-tertiary-nav-pf"),$this.addClass("is-hover"),$this[0].navHoverTimeout=void 0},500)))}),$(document).on("mouseout.pf.tertiarynav.data-api",".tertiary-nav-item-pf",function(e){var $this=$(this);void 0!==$this[0].navHoverTimeout?(clearTimeout($this[0].navHoverTimeout),$this[0].navHoverTimeout=void 0):void 0===$this[0].navUnHoverTimeout&&($this[0].navUnHoverTimeout=setTimeout(function(){navElement.find(".tertiary-nav-item-pf.is-hover").length<=1&&navElement.removeClass("hover-tertiary-nav-pf"),$this.removeClass("is-hover"),$this[0].navUnHoverTimeout=void 0},700))})},loadFromLocalStorage=function(){inMobileState()||("collapsed"===window.localStorage.getItem("patternfly-navigation-primary")&&collapseMenu(),$(".nav-pf-vertical.nav-pf-vertical-collapsible-menus").length>0&&("collapsed"===window.localStorage.getItem("patternfly-navigation-secondary")&&updateSecondaryCollapsedState(!0,$(".secondary-nav-item-pf.active [data-toggle=collapse-secondary-nav]")),"collapsed"===window.localStorage.getItem("patternfly-navigation-tertiary")&&updateTertiaryCollapsedState(!0,$(".tertiary-nav-item-pf.active [data-toggle=collapse-tertiary-nav]"))))},setTooltips=function(){var tooltipOptions={container:"body",placement:"bottom",delay:{show:"500",hide:"200"},template:'<div class="nav-pf-vertical-tooltip tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'};$('.nav-pf-vertical [data-toggle="tooltip"]').tooltip(tooltipOptions),$(".nav-pf-vertical").on("show.bs.tooltip",function(e){return $(this).hasClass("collapsed")})},self={hideMenu:function(){handleResize=!1,enterMobileState()},showMenu:function(){handleResize=!0,exitMobileState()},isVisible:function(){return handleResize}};return $.fn.setupVerticalNavigation.self||($.fn.setupVerticalNavigation.self=self,$(window).on("resize",function(){checkNavState(),enableTransitions()}),function(handleItemSelections){navElement.addClass("hide-nav-pf"),bodyContentElement.addClass("hide-nav-pf"),checkNavState(),bindMenuBehavior(),bindMenuItemsBehavior(handleItemSelections),setTooltips(),loadFromLocalStorage(),navElement.removeClass("hide-nav-pf"),bodyContentElement.removeClass("hide-nav-pf"),forceResize(250)}(handleItemSelections)),$.fn.setupVerticalNavigation.self}}(jQuery);
@@ -0,0 +1,16 @@
1
+ (function (window) {
2
+ 'use strict';
3
+
4
+ var patternfly = {
5
+ version: "3.31.0"
6
+ };
7
+
8
+ // definition of breakpoint sizes for tablet and desktop modes
9
+ patternfly.pfBreakpoints = {
10
+ 'tablet': 768,
11
+ 'desktop': 1200
12
+ };
13
+
14
+ window.patternfly = patternfly;
15
+
16
+ })(window);
@@ -0,0 +1,423 @@
1
+ (function (window) {
2
+ 'use strict';
3
+
4
+ // Util: PatternFly C3 Chart Defaults
5
+ patternfly.pfSetDonutChartTitle = function (selector, primary, secondary) {
6
+ var donutChartRightTitle = window.d3.select(selector).select('text.c3-chart-arcs-title');
7
+ donutChartRightTitle.text("");
8
+ donutChartRightTitle.insert('tspan').text(primary).classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
9
+ donutChartRightTitle.insert('tspan').text(secondary).classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
10
+ };
11
+
12
+ patternfly.pfDonutTooltipContents = function (d, defaultTitleFormat, defaultValueFormat, color) {
13
+ return '<table class="c3-tooltip">' +
14
+ ' <tr>' +
15
+ ' <td><span style="background-color:' + color(d[0].id) + '"></span>' + '<strong>' + d[0].value + '</strong> ' + d[0].name + '</td>' +
16
+ ' <td>' + (Math.round(d[0].ratio * 1000) / 10) + '%</td>' +
17
+ ' </tr>' +
18
+ '</table>';
19
+ };
20
+
21
+ patternfly.pfGetUtilizationDonutTooltipContentsFn = function (units) {
22
+ return function (d) {
23
+ return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
24
+ (Math.round(d[0].ratio * 1000) / 10) + '%' + ' ' + units + ' ' + d[0].name +
25
+ '</span>';
26
+ };
27
+ };
28
+
29
+ patternfly.pfGetBarChartTooltipContentsFn = function (categories) {
30
+ return function (d) {
31
+ var name = categories ? categories[d[0].index] : d[0].index;
32
+ return '<table class="c3-tooltip">' +
33
+ ' <tr>' +
34
+ ' <td><strong>' + name + ':</td>' +
35
+ ' <td>' + d[0].value + '</td>' +
36
+ ' </tr>' +
37
+ '</table>';
38
+ };
39
+ };
40
+
41
+ patternfly.pfSingleLineChartTooltipContentsFn = function (categories) {
42
+ return function (d) {
43
+ var name = categories ? categories[d[0].index] : d[0].index;
44
+ return '<table class="c3-tooltip">' +
45
+ ' <tr>' +
46
+ ' <td><strong>' + name + ':</td>' +
47
+ ' <td>' + d[0].value + '</td>' +
48
+ ' </tr>' +
49
+ '</table>';
50
+ };
51
+ };
52
+
53
+ patternfly.pfPieTooltipContents = function (d, defaultTitleFormat, defaultValueFormat, color) {
54
+ return patternfly.pfDonutTooltipContents(d, defaultTitleFormat, defaultValueFormat, color);
55
+ };
56
+
57
+ patternfly.c3ChartDefaults = function () {
58
+ var
59
+ getDefaultColors = function () {
60
+ return {
61
+ pattern: [
62
+ patternfly.pfPaletteColors.blue,
63
+ patternfly.pfPaletteColors.blue300,
64
+ patternfly.pfPaletteColors.green,
65
+ patternfly.pfPaletteColors.orange,
66
+ patternfly.pfPaletteColors.red
67
+ ]
68
+ };
69
+ },
70
+ getDefaultBarGrid = function () {
71
+ return {
72
+ y: {
73
+ show: true
74
+ }
75
+ };
76
+ },
77
+ getDefaultBarTooltip = function (categories) {
78
+ return {
79
+ contents: patternfly.pfGetBarChartTooltipContentsFn(categories)
80
+ };
81
+ },
82
+ getDefaultBarLegend = function () {
83
+ return {
84
+ show: false
85
+ };
86
+ },
87
+ getDefaultBarConfig = function (categories) {
88
+ return {
89
+ color: this.getDefaultColors(),
90
+ grid: this.getDefaultBarGrid(),
91
+ tooltip: this.getDefaultBarTooltip(categories),
92
+ legend: this.getDefaultBarLegend()
93
+ };
94
+ },
95
+ getDefaultGroupedBarGrid = function () {
96
+ return {
97
+ y: {
98
+ show: true
99
+ }
100
+ };
101
+ },
102
+ getDefaultGroupedBarLegend = function () {
103
+ return {
104
+ show: true,
105
+ position: 'bottom'
106
+ };
107
+ },
108
+ getDefaultGroupedBarConfig = function () {
109
+ return {
110
+ color: this.getDefaultColors(),
111
+ grid: this.getDefaultGroupedBarGrid(),
112
+ legend: this.getDefaultGroupedBarLegend()
113
+ };
114
+ },
115
+ getDefaultStackedBarGrid = function () {
116
+ return {
117
+ y: {
118
+ show: true
119
+ }
120
+ };
121
+ },
122
+ getDefaultStackedBarLegend = function () {
123
+ return {
124
+ show: true,
125
+ position: 'bottom'
126
+ };
127
+ },
128
+ getDefaultStackedBarConfig = function () {
129
+ return {
130
+ color: this.getDefaultColors(),
131
+ grid: this.getDefaultStackedBarGrid(),
132
+ legend: this.getDefaultStackedBarLegend()
133
+ };
134
+ },
135
+ getDefaultDonut = function (title) {
136
+ return {
137
+ title: title,
138
+ label: {
139
+ show: false
140
+ },
141
+ width: 11
142
+ };
143
+ },
144
+ getDefaultDonutSize = function () {
145
+ return {
146
+ height: 171 // produces a diameter of 150 and a centered chart when there is no legend
147
+ // Don't set a width here, the default is to center horizontally in the parent container
148
+ };
149
+ },
150
+ getDefaultDonutColors = function () {
151
+ return {
152
+ pattern: [
153
+ patternfly.pfPaletteColors.blue,
154
+ patternfly.pfPaletteColors.black300
155
+ ]
156
+ };
157
+ },
158
+ getDefaultDonutTooltip = function () {
159
+ return {
160
+ show: false
161
+ };
162
+ },
163
+ getDefaultDonutLegend = function () {
164
+ return {
165
+ show: false
166
+ };
167
+ },
168
+ getDefaultDonutConfig = function (title) {
169
+ return {
170
+ donut: this.getDefaultDonut(title),
171
+ size: this.getDefaultDonutSize(),
172
+ legend: this.getDefaultDonutLegend(),
173
+ color: this.getDefaultDonutColors(),
174
+ tooltip: this.getDefaultDonutTooltip()
175
+ };
176
+ },
177
+ getDefaultPie = function () {
178
+ return {
179
+ expand: true,
180
+ label: {
181
+ show: false
182
+ }
183
+ };
184
+ },
185
+ getDefaultPieSize = function () {
186
+ return {
187
+ height: 171 // produces a diameter of 150 and a centered chart when there is no legend
188
+ // Don't set a width here, default is to center horizontally in the parent container
189
+ };
190
+ },
191
+ getDefaultPieColors = function () {
192
+ return {
193
+ pattern: [
194
+ patternfly.pfPaletteColors.blue,
195
+ patternfly.pfPaletteColors.black300
196
+ ]
197
+ };
198
+ },
199
+ getDefaultPieTooltip = function () {
200
+ return {
201
+ contents: patternfly.pfPieTooltipContents
202
+ };
203
+ },
204
+ getDefaultPieLegend = function () {
205
+ return {
206
+ show: false
207
+ };
208
+ },
209
+ getDefaultPieConfig = function () {
210
+ return {
211
+ pie: this.getDefaultPie(),
212
+ size: this.getDefaultPieSize(),
213
+ legend: this.getDefaultPieLegend(),
214
+ color: this.getDefaultPieColors(),
215
+ tooltip: this.getDefaultPieTooltip()
216
+ };
217
+ },
218
+ getDefaultSparklineArea = function () {
219
+ return {
220
+ zerobased: true
221
+ };
222
+ },
223
+ getDefaultSparklineSize = function () {
224
+ return {
225
+ height: 60
226
+ };
227
+ },
228
+ getDefaultSparklineAxis = function () {
229
+ return {
230
+ x: {
231
+ show: false
232
+ },
233
+ y: {
234
+ show: false
235
+ }
236
+ };
237
+ },
238
+ getDefaultSparklineLegend = function () {
239
+ return {
240
+ show: false
241
+ };
242
+ },
243
+ getDefaultSparklinePoint = function () {
244
+ return {
245
+ r: 1,
246
+ focus: {
247
+ expand: {
248
+ r: 4
249
+ }
250
+ }
251
+ };
252
+ },
253
+ getDefaultSparklineTooltip = function () {
254
+ return {
255
+ // because a sparkline should only contain a single data column,
256
+ // the tooltip will only work for a single data column
257
+ contents: function (d) {
258
+ return '<span class="c3-tooltip-sparkline">' + d[0].value + ' ' + d[0].name + '</span>';
259
+ }
260
+ };
261
+ },
262
+ getDefaultSparklineConfig = function () {
263
+ return {
264
+ area: getDefaultSparklineArea(),
265
+ size: getDefaultSparklineSize(),
266
+ axis: getDefaultSparklineAxis(),
267
+ color: getDefaultColors(),
268
+ legend: getDefaultSparklineLegend(),
269
+ point: getDefaultSparklinePoint(),
270
+ tooltip: getDefaultSparklineTooltip()
271
+ };
272
+ },
273
+ getDefaultLineAxis = function () {
274
+ return {
275
+ x: {
276
+ show: true
277
+ },
278
+ y: {
279
+ show: true
280
+ }
281
+ };
282
+ },
283
+ getDefaultLineGrid = function () {
284
+ return {
285
+ x: {
286
+ show: false
287
+ },
288
+ y: {
289
+ show: true
290
+ }
291
+ };
292
+ },
293
+ getDefaultLineLegend = function () {
294
+ return {
295
+ show: true
296
+ };
297
+ },
298
+ getDefaultLinePoint = function () {
299
+ return {
300
+ r: 3,
301
+ focus: {
302
+ expand: {
303
+ r: 5
304
+ }
305
+ }
306
+ };
307
+ },
308
+ getDefaultLineConfig = function () {
309
+ return {
310
+ axis: getDefaultLineAxis(),
311
+ grid: getDefaultLineGrid(),
312
+ color: getDefaultColors(),
313
+ legend: getDefaultLineLegend(),
314
+ point: getDefaultLinePoint()
315
+ };
316
+ },
317
+ getDefaultSingleLineTooltip = function () {
318
+ return {
319
+ contents: patternfly.pfGetBarChartTooltipContentsFn()
320
+ };
321
+ },
322
+ getDefaultSingleLineLegend = function () {
323
+ return {
324
+ show: false
325
+ };
326
+ },
327
+ getDefaultSingleLineConfig = function () {
328
+ return {
329
+ axis: getDefaultLineAxis(),
330
+ grid: getDefaultLineGrid(),
331
+ color: getDefaultColors(),
332
+ legend: getDefaultSingleLineLegend(),
333
+ point: getDefaultLinePoint(),
334
+ tooltip: getDefaultSingleLineTooltip()
335
+ };
336
+ },
337
+ getDefaultAreaAxis = function () {
338
+ return getDefaultLineAxis();
339
+ },
340
+ getDefaultAreaGrid = function () {
341
+ return getDefaultLineGrid();
342
+ },
343
+ getDefaultAreaLegend = function () {
344
+ return getDefaultLineLegend();
345
+ },
346
+ getDefaultAreaPoint = function () {
347
+ return getDefaultLinePoint();
348
+ },
349
+ getDefaultAreaConfig = function () {
350
+ return {
351
+ axis: getDefaultAreaAxis(),
352
+ grid: getDefaultAreaGrid(),
353
+ color: getDefaultColors(),
354
+ legend: getDefaultAreaLegend(),
355
+ point: getDefaultAreaPoint()
356
+ };
357
+ },
358
+ getDefaultSingleAreaTooltip = function () {
359
+ return {
360
+ contents: patternfly.pfGetBarChartTooltipContentsFn()
361
+ };
362
+ },
363
+ getDefaultSingleAreaLegend = function () {
364
+ return getDefaultSingleLineLegend();
365
+ },
366
+ getDefaultSingleAreaConfig = function () {
367
+ return {
368
+ axis: getDefaultAreaAxis(),
369
+ grid: getDefaultAreaGrid(),
370
+ color: getDefaultColors(),
371
+ legend: getDefaultSingleAreaLegend(),
372
+ point: getDefaultAreaPoint(),
373
+ tooltip: getDefaultSingleAreaTooltip()
374
+ };
375
+ };
376
+ return {
377
+ getDefaultColors: getDefaultColors,
378
+ getDefaultBarGrid: getDefaultBarGrid,
379
+ getDefaultBarTooltip: getDefaultBarTooltip,
380
+ getDefaultBarLegend: getDefaultBarLegend,
381
+ getDefaultBarConfig: getDefaultBarConfig,
382
+ getDefaultGroupedBarGrid: getDefaultGroupedBarGrid,
383
+ getDefaultGroupedBarLegend: getDefaultGroupedBarLegend,
384
+ getDefaultGroupedBarConfig: getDefaultGroupedBarConfig,
385
+ getDefaultStackedBarGrid: getDefaultStackedBarGrid,
386
+ getDefaultStackedBarLegend: getDefaultStackedBarLegend,
387
+ getDefaultStackedBarConfig: getDefaultStackedBarConfig,
388
+ getDefaultDonut: getDefaultDonut,
389
+ getDefaultDonutSize: getDefaultDonutSize,
390
+ getDefaultDonutColors: getDefaultDonutColors,
391
+ getDefaultDonutTooltip: getDefaultDonutTooltip,
392
+ getDefaultDonutLegend: getDefaultDonutLegend,
393
+ getDefaultDonutConfig: getDefaultDonutConfig,
394
+ getDefaultPie: getDefaultPie,
395
+ getDefaultPieSize: getDefaultPieSize,
396
+ getDefaultPieColors: getDefaultPieColors,
397
+ getDefaultPieTooltip: getDefaultPieTooltip,
398
+ getDefaultPieLegend: getDefaultPieLegend,
399
+ getDefaultPieConfig: getDefaultPieConfig,
400
+ getDefaultSparklineArea: getDefaultSparklineArea,
401
+ getDefaultSparklineSize: getDefaultSparklineSize,
402
+ getDefaultSparklineAxis: getDefaultSparklineAxis,
403
+ getDefaultSparklineLegend: getDefaultSparklineLegend,
404
+ getDefaultSparklinePoint: getDefaultSparklinePoint,
405
+ getDefaultSparklineTooltip: getDefaultSparklineTooltip,
406
+ getDefaultSparklineConfig: getDefaultSparklineConfig,
407
+ getDefaultLineAxis: getDefaultLineAxis,
408
+ getDefaultLineGrid: getDefaultLineGrid,
409
+ getDefaultLineLegend: getDefaultLineLegend,
410
+ getDefaultLinePoint: getDefaultLinePoint,
411
+ getDefaultLineConfig: getDefaultLineConfig,
412
+ getDefaultSingleLineTooltip: getDefaultSingleLineTooltip,
413
+ getDefaultSingleLineConfig: getDefaultSingleLineConfig,
414
+ getDefaultAreaAxis: getDefaultAreaAxis,
415
+ getDefaultAreaGrid: getDefaultAreaGrid,
416
+ getDefaultAreaLegend: getDefaultAreaLegend,
417
+ getDefaultAreaPoint: getDefaultAreaPoint,
418
+ getDefaultAreaConfig: getDefaultAreaConfig,
419
+ getDefaultSingleAreaTooltip: getDefaultSingleAreaTooltip,
420
+ getDefaultSingleAreaConfig: getDefaultSingleAreaConfig
421
+ };
422
+ };
423
+ })(window);