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,61 +0,0 @@
1
- (function() {
2
- var $confirm;
3
-
4
- $confirm = null;
5
-
6
- $(function() {
7
- var $createDestroy, $window, sectionTop;
8
- $window = $(window);
9
- sectionTop = $(".top").outerHeight() + 20;
10
- $createDestroy = $("#switch-create-destroy");
11
- // hljs.initHighlightingOnLoad();
12
- $("a[href*=\"#\"]").on("click", function(event) {
13
- var $target;
14
- event.preventDefault();
15
- $target = $($(this).attr("href").slice("#"));
16
- if ($target.length) {
17
- return $window.scrollTop($target.offset().top - sectionTop);
18
- }
19
- });
20
- $("input[type=\"checkbox\"], input[type=\"radio\"]").not("[data-switch-no-init]").bootstrapSwitch();
21
- $("[data-switch-get]").on("click", function() {
22
- var type;
23
- type = $(this).data("switch-get");
24
- return alert($("#switch-" + type).bootstrapSwitch(type));
25
- });
26
- $("[data-switch-set]").on("click", function() {
27
- var type;
28
- type = $(this).data("switch-set");
29
- return $("#switch-" + type).bootstrapSwitch(type, $(this).data("switch-value"));
30
- });
31
- $("[data-switch-toggle]").on("click", function() {
32
- var type;
33
- type = $(this).data("switch-toggle");
34
- return $("#switch-" + type).bootstrapSwitch("toggle" + type.charAt(0).toUpperCase() + type.slice(1));
35
- });
36
- $("[data-switch-set-value]").on("input", function(event) {
37
- var type, value;
38
- event.preventDefault();
39
- type = $(this).data("switch-set-value");
40
- value = $.trim($(this).val());
41
- if ($(this).data("value") === value) {
42
- return;
43
- }
44
- return $("#switch-" + type).bootstrapSwitch(type, value);
45
- });
46
- $("[data-switch-create-destroy]").on("click", function() {
47
- var isSwitch;
48
- isSwitch = $createDestroy.data("bootstrap-switch");
49
- $createDestroy.bootstrapSwitch((isSwitch ? "destroy" : null));
50
- return $(this).button((isSwitch ? "reset" : "destroy"));
51
- });
52
- return $confirm = $("#confirm").bootstrapSwitch({
53
- size: "large",
54
- onSwitchChange: function(event, state) {
55
- event.preventDefault();
56
- return console.log(state, event.isDefaultPrevented());
57
- }
58
- });
59
- });
60
-
61
- }).call(this);
@@ -1,210 +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>Bootstrap Touchspin - 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="//rawgit.com/istvan-ujjmeszaros/bootstrap-touchspin/3.1.1/dist/jquery.bootstrap-touchspin.min.js"></script>
32
- <script src="./../../dist/js/patternfly.min.js"></script>
33
- </head>
34
-
35
- <body>
36
- <div class="container">
37
- <div class="page-header">
38
- <h1>Bootstrap Touchspin</h1>
39
- </div>
40
- <div class="alert alert-warning">
41
- <span class="pficon pficon-warning-triangle-o"></span>
42
- 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://www.virtuosoft.eu/code/bootstrap-touchspin/">http://www.virtuosoft.eu/code/bootstrap-touchspin/</a>.
43
- </div>
44
- <hr>
45
- <h2>Example with postfix</h2>
46
- <input id="demo1" type="text" value="55" name="demo1">
47
- <script>
48
- $("input[name='demo1']").TouchSpin({
49
- min: 0,
50
- max: 100,
51
- step: 0.1,
52
- decimals: 2,
53
- boostat: 5,
54
- maxboostedstep: 10,
55
- postfix: '%'
56
- });
57
- </script>
58
- <h2>With prefix</h2>
59
- <form class="form-horizontal" role="form">
60
- <div class="form-group">
61
- <label for="demo2" class="col-md-3 control-label">Example:</label>
62
- <div class="col-md-9">
63
- <input id="demo2" type="text" value="0" name="demo2" class="col-md-8 form-control">
64
- </div>
65
- </div>
66
- </form>
67
- <script>
68
- $("input[name='demo2']").TouchSpin({
69
- min: -1000000000,
70
- max: 1000000000,
71
- stepinterval: 50,
72
- maxboostedstep: 10000000,
73
- prefix: '$'
74
- });
75
- </script>
76
- <h2>Vertical button alignment</h2>
77
- <input id="demo_vertical" type="text" value="" name="demo_vertical">
78
- <script>
79
- $("input[name='demo_vertical']").TouchSpin({
80
- verticalbuttons: true
81
- });
82
- </script>
83
- <h2>Vertical buttons with custom icons</h2>
84
- <input id="demo_vertical2" type="text" value="" name="demo_vertical2">
85
- <script>
86
- $("input[name='demo_vertical2']").TouchSpin({
87
- verticalbuttons: true,
88
- verticalupclass: 'glyphicon glyphicon-plus',
89
- verticaldownclass: 'glyphicon glyphicon-minus'
90
- });
91
- </script>
92
- <h2>Init with empty value</h2>
93
- <input id="demo3" type="text" value="" name="demo3">
94
- <script>
95
- $("input[name='demo3']").TouchSpin();
96
- </script>
97
- <h2>Value attribute is not set <small>(applying settings.initval)</small></h2>
98
- <input id="demo3_21" type="text" value="" name="demo3_21">
99
- <script>
100
- $("input[name='demo3_21']").TouchSpin({
101
- initval: 40
102
- });
103
- </script>
104
- <h2>Value is set explicitly to 33 <small>(skipping settings.initval)</small></h2>
105
- <input id="demo3_22" type="text" value="33" name="demo3_22">
106
- <script>
107
- $("input[name='demo3_22']").TouchSpin({
108
- initval: 40
109
- });
110
- </script>
111
- <h2>Button postfix (small)</h2>
112
- <input id="demo4" type="text" value="" name="demo4" class="input-sm">
113
- <script>
114
- $("input[name='demo4']").TouchSpin({
115
- postfix: "a button",
116
- postfix_extraclass: "btn btn-default"
117
- });
118
- </script>
119
- <h2>Button postfix (large)</h2>
120
- <div class="input-group input-group-lg">
121
- <input id="demo4_2" type="text" value="" name="demo4_2" class="form-control input-lg">
122
- </div>
123
- <script>
124
- $("input[name='demo4_2']").TouchSpin({
125
- postfix: "a button",
126
- postfix_extraclass: "btn btn-default"
127
- });
128
- </script>
129
- <h2>Button group</h2>
130
- <div class="input-group">
131
- <input id="demo5" type="text" class="form-control" name="demo5" value="50">
132
- <div class="input-group-btn">
133
- <button type="button" class="btn btn-default">Action</button>
134
- <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
135
- <span class="caret"></span>
136
- <span class="sr-only">Toggle Dropdown</span>
137
- </button>
138
- <ul class="dropdown-menu pull-right" role="menu">
139
- <li><a href="#">Action</a></li>
140
- <li><a href="#">Another action</a></li>
141
- <li><a href="#">Something else here</a></li>
142
- <li class="divider"></li>
143
- <li><a href="#">Separated link</a></li>
144
- </ul>
145
- </div>
146
- </div>
147
- <script>
148
- $("input[name='demo5']").TouchSpin({
149
- prefix: "pre",
150
- postfix: "post"
151
- });
152
- </script>
153
- <h2>Change button class</h2>
154
- <input id="demo6" type="text" value="50" name="demo6">
155
- <script>
156
- $("input[name='demo6']").TouchSpin({
157
- buttondown_class: "btn btn-link",
158
- buttonup_class: "btn btn-link"
159
- });
160
- </script>
161
- <h2>Event demo</h2>
162
- <div class="row">
163
- <div class="col-md-3">
164
- <input id="demo7" type="text" value="50" name="demo7">
165
- </div>
166
- <div class="col-md-9">
167
- <pre id="demo7textarea" style="height:200px;overflow:auto;"></pre>
168
- </div>
169
- <script>
170
- var i = $("input[name='demo7']"),
171
- demoarea = $("#demo7textarea"),
172
- text = "";
173
- function writeLine(line) {
174
- text += line + "\n";
175
- demoarea.text(text);
176
- demoarea.scrollTop(
177
- demoarea[0].scrollHeight - demoarea.height()
178
- );
179
- }
180
- i.TouchSpin({});
181
- i.on("touchspin.on.startspin", function() {
182
- writeLine("touchspin.on.startspin");
183
- });
184
- i.on("touchspin.on.startupspin", function() {
185
- writeLine("touchspin.on.startupspin");
186
- });
187
- i.on("touchspin.on.startdownspin", function() {
188
- writeLine("touchspin.on.startdownspin");
189
- });
190
- i.on("touchspin.on.stopspin", function() {
191
- writeLine("touchspin.on.stopspin");
192
- });
193
- i.on("touchspin.on.stopupspin", function() {
194
- writeLine("touchspin.on.stopupspin");
195
- });
196
- i.on("touchspin.on.stopdownspin", function() {
197
- writeLine("touchspin.on.stopdownspin");
198
- });
199
- i.on("touchspin.on.min", function() {
200
- writeLine("touchspin.on.min");
201
- });
202
- i.on("touchspin.on.max", function() {
203
- writeLine("touchspin.on.max");
204
- });
205
- </script>
206
- </div>
207
-
208
- </div><!-- /container -->
209
- </body>
210
- </html>
@@ -1,296 +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>Tree 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="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
32
- <script src="//rawgit.com/patternfly/patternfly-bootstrap-treeview/v2.1.0/dist/bootstrap-treeview.min.js"></script>
33
- <script src="./../../dist/js/patternfly.min.js"></script>
34
- </head>
35
- <div class="toast-notifications-list-pf">
36
- <div class="toast-pf alert alert-warning alert-dismissable">
37
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">
38
- <span class="pficon pficon-close"></span>
39
- </button>
40
- <span class="pficon pficon-warning-triangle-o"></span>
41
- 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> and <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>.
42
- </div>
43
- </div>
44
-
45
- <body>
46
- <nav class="navbar navbar-default navbar-pf" role="navigation">
47
- <div class="navbar-header">
48
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
49
- <span class="sr-only">Toggle navigation</span>
50
- <span class="icon-bar"></span>
51
- <span class="icon-bar"></span>
52
- <span class="icon-bar"></span>
53
- </button>
54
- <a class="navbar-brand" href="/">
55
- <img src="./../../dist/img/brand.svg" alt="PatternFly Enterprise Application" />
56
- </a>
57
- </div>
58
- <div class="collapse navbar-collapse navbar-collapse-1">
59
- <ul class="nav navbar-nav navbar-utility">
60
- <li>
61
- <a href="#">Status</a>
62
- </li>
63
- <li class="dropdown">
64
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
65
- <span class="pficon pficon-user"></span>
66
- Brian Johnson <b class="caret"></b>
67
- </a>
68
- <ul class="dropdown-menu">
69
- <li>
70
- <a href="#">Link</a>
71
- </li>
72
- <li>
73
- <a href="#">Another link</a>
74
- </li>
75
- <li>
76
- <a href="#">Something else here</a>
77
- </li>
78
- <li class="divider"></li>
79
- <li class="dropdown-submenu">
80
- <a tabindex="-1" href="#">More options</a>
81
- <ul class="dropdown-menu">
82
- <li>
83
- <a href="#">Link</a>
84
- </li>
85
- <li>
86
- <a href="#">Another link</a>
87
- </li>
88
- <li>
89
- <a href="#">Something else here</a>
90
- </li>
91
- <li class="divider"></li>
92
- <li class="dropdown-header">Nav header</li>
93
- <li>
94
- <a href="#">Separated link</a>
95
- </li>
96
- <li class="divider"></li>
97
- <li>
98
- <a href="#">One more separated link</a>
99
- </li>
100
- </ul>
101
- </li>
102
- <li class="divider"></li>
103
- <li>
104
- <a href="#">One more separated link</a>
105
- </li>
106
- </ul>
107
- </li>
108
- </ul>
109
- <ul class="nav navbar-nav navbar-primary">
110
- <li>
111
- <a href="basic.html">Basic</a>
112
- </li>
113
- <li class="active">
114
- <a href="bootstrap-treeview-2.html" class="active">Tree View</a>
115
- </li>
116
- <li>
117
- <a href="dashboard.html">Dashboard</a>
118
- </li>
119
- <li>
120
- <a href="form.html">Form</a>
121
- </li>
122
- <li>
123
- <a href="tab.html">Tab</a>
124
- </li>
125
- <li>
126
- <a href="typography-2.html">Typography</a>
127
- </li>
128
- <li>
129
- <a href="card-view-multi-select.html">Card View - Multi Select</a>
130
- </li>
131
- <li>
132
- <a href="card-view-single-select.html">Card View - Single Select</a>
133
- </li>
134
- <li>
135
- <a href="cards.html">Cards</a>
136
- </li>
137
- <li>
138
- <a href="pagination-card-view.html">Pagination - Card View</a>
139
- </li>
140
- </ul>
141
- </div>
142
- </nav>
143
-
144
- <div class="container-fluid">
145
- <div class="row">
146
- <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
147
- <ol class="breadcrumb">
148
- <li><a href="#">Home</a></li>
149
- <li>Tree View</li>
150
- </ol>
151
- <h1>Tree View</h1>
152
- <form class="form-horizontal">
153
- <div class="form-group">
154
- <label class="col-md-2 control-label" for="textInput">Praesent urna</label>
155
- <div class="col-md-6">
156
- <input type="text" id="textInput" class="form-control">
157
- </div>
158
- </div>
159
- <div class="form-group">
160
- <label class="col-md-2 control-label" for="textInput2">Augue</label>
161
- <div class="col-md-6">
162
- <input type="text" id="textInput2" class="form-control">
163
- </div>
164
- </div>
165
- <div class="form-group">
166
- <label class="col-md-2 control-label" for="textInput3">Pharetra vel</label>
167
- <div class="col-md-6">
168
- <input type="text" id="textInput3" class="form-control">
169
- </div>
170
- </div>
171
- <div class="form-group">
172
- <label class="col-md-2 control-label" for="textInput4">Arcu ac</label>
173
- <div class="col-md-6">
174
- <input type="text" id="textInput4" class="form-control">
175
- </div>
176
- </div>
177
- <div class="form-group">
178
- <label class="col-md-2 control-label">Posuere</label>
179
- <div class="col-md-6">
180
- <div class="radio">
181
- <label>
182
- <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
183
- Proin lobortis auctor tortor et posuere
184
- </label>
185
- </div>
186
- <div class="radio">
187
- <label>
188
- <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
189
- Duis eu ipsum metus
190
- </label>
191
- </div>
192
- </div>
193
- </div>
194
- <div class="form-group">
195
- <label class="col-md-2 control-label" for="boostrapSelect">Vestibulum</label>
196
- <div class="col-md-10">
197
- <select class="selectpicker" multiple data-selected-text-format="count>3" id="boostrapSelect">
198
- <option>Mustard</option>
199
- <option>Ketchup</option>
200
- <option>Relish</option>
201
- <option>Onions</option>
202
- <option>Mushrooms</option>
203
- <option>Pickles</option>
204
- <option>Mayonnaise</option>
205
- <option data-divider="true"></option>
206
- <option data-subtext="Hot">Tabasco</option>
207
- <option data-subtext="Hotter">Sriracha</option>
208
- <option data-subtext="Hottest">Wasabi</option>
209
- </select>
210
- </div>
211
- </div>
212
- <div class="form-group">
213
- <div class="col-md-10 col-md-offset-2">
214
- <button type="button" class="btn btn-primary">Save</button>
215
- <button type="button" class="btn btn-default">Cancel</button>
216
- </div>
217
- </div>
218
- </form>
219
- </div><!-- /col -->
220
- <div class="col-sm-3 col-md-2 col-sm-pull-9 col-md-pull-10 sidebar-pf sidebar-pf-left">
221
- <div id="treeview1"></div>
222
- </div><!-- /col -->
223
- </div><!-- /row -->
224
- </div><!-- /container -->
225
- <script>
226
- // Intialize Boostrap-Treeview
227
- $(function() {
228
- var defaultData = [
229
- {
230
- text: 'Parent 1',
231
- href: '#parent1',
232
- tags: ['4'],
233
- nodes: [
234
- {
235
- text: 'Child 1',
236
- href: '#child1',
237
- icon: 'fa fa-file-o',
238
- tags: ['2'],
239
- nodes: [
240
- {
241
- text: 'Grandchild 1',
242
- href: '#grandchild1',
243
- icon: 'fa fa-file-o',
244
- tags: ['0']
245
- },
246
- {
247
- text: 'Grandchild 2',
248
- href: '#grandchild2',
249
- icon: 'fa fa-file-o',
250
- tags: ['0']
251
- }
252
- ]
253
- },
254
- {
255
- text: 'Child 2',
256
- href: '#child2',
257
- icon: 'fa fa-file-o',
258
- tags: ['0']
259
- }
260
- ]
261
- },
262
- {
263
- text: 'Parent 2',
264
- href: '#parent2',
265
- tags: ['0']
266
- },
267
- {
268
- text: 'Parent 3',
269
- href: '#parent3',
270
- tags: ['0']
271
- },
272
- {
273
- text: 'Parent 4',
274
- href: '#parent4',
275
- tags: ['0']
276
- },
277
- {
278
- text: 'Parent 5',
279
- href: '#parent5' ,
280
- tags: ['0']
281
- }
282
- ];
283
- $('#treeview1').treeview({
284
- collapseIcon: "fa fa-angle-down",
285
- data: defaultData,
286
- expandIcon: "fa fa-angle-right",
287
- nodeIcon: "fa fa-folder",
288
- showBorder: false
289
- });
290
- // set selected menu item
291
- $('.list-group-item[data-nodeid="3"]').addClass('node-selected');
292
- });
293
- </script>
294
-
295
- </body>
296
- </html>