bastion 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (278) hide show
  1. checksums.yaml +15 -0
  2. data/.jshintrc +35 -0
  3. data/Gruntfile.js +24 -0
  4. data/LICENSE +339 -0
  5. data/README.md +8 -0
  6. data/Rakefile +53 -0
  7. data/app/assets/javascripts/bastion/auth/auth.module.js +87 -0
  8. data/app/assets/javascripts/bastion/auth/authorization.service.js +48 -0
  9. data/app/assets/javascripts/bastion/bastion-bootstrap.js +32 -0
  10. data/app/assets/javascripts/bastion/bastion-resource.factory.js +39 -0
  11. data/app/assets/javascripts/bastion/bastion.js +52 -0
  12. data/app/assets/javascripts/bastion/bastion.module.js +213 -0
  13. data/app/assets/javascripts/bastion/i18n/README +9 -0
  14. data/app/assets/javascripts/bastion/i18n/i18n.module.js +24 -0
  15. data/app/assets/javascripts/bastion/i18n/katello.pot +968 -0
  16. data/app/assets/javascripts/bastion/i18n/locale/README +1 -0
  17. data/app/assets/javascripts/bastion/i18n/translate.service.js +14 -0
  18. data/app/assets/javascripts/bastion/i18n/translations.js +3 -0
  19. data/app/assets/javascripts/bastion/i18n/zanata.xml +28 -0
  20. data/app/assets/javascripts/bastion/incubator/alch-alert.directive.js +67 -0
  21. data/app/assets/javascripts/bastion/incubator/alch-container-scroll.directive.js +44 -0
  22. data/app/assets/javascripts/bastion/incubator/alch-dropdown.directive.js +28 -0
  23. data/app/assets/javascripts/bastion/incubator/alch-edit.directive.js +361 -0
  24. data/app/assets/javascripts/bastion/incubator/alch-flyout.directive.js +19 -0
  25. data/app/assets/javascripts/bastion/incubator/alch-form-buttons.directive.js +60 -0
  26. data/app/assets/javascripts/bastion/incubator/alch-form-group.directive.js +87 -0
  27. data/app/assets/javascripts/bastion/incubator/alch-infinite-scroll.directive.js +84 -0
  28. data/app/assets/javascripts/bastion/incubator/alch-menu.directive.js +56 -0
  29. data/app/assets/javascripts/bastion/incubator/alch-modal.directive.js +80 -0
  30. data/app/assets/javascripts/bastion/incubator/alch-save-control.directive.js +42 -0
  31. data/app/assets/javascripts/bastion/incubator/alch-table.directive.js +295 -0
  32. data/app/assets/javascripts/bastion/incubator/format/alch-format.module.js +21 -0
  33. data/app/assets/javascripts/bastion/incubator/format/array-to-string.filter.js +30 -0
  34. data/app/assets/javascripts/bastion/incubator/format/boolean-to-yes-no.filter.js +34 -0
  35. data/app/assets/javascripts/bastion/incubator/format/capitalize.filter.js +32 -0
  36. data/app/assets/javascripts/bastion/incubator/format/key-value-to-string.filter.js +40 -0
  37. data/app/assets/javascripts/bastion/incubator/format/unlimitedFilter.filter.js +35 -0
  38. data/app/assets/javascripts/bastion/incubator/stylesheets/alch-edit.scss +34 -0
  39. data/app/assets/javascripts/bastion/incubator/stylesheets/header.scss +207 -0
  40. data/app/assets/javascripts/bastion/incubator/views/alch-alert.html +6 -0
  41. data/app/assets/javascripts/bastion/incubator/views/alch-dropdown.html +19 -0
  42. data/app/assets/javascripts/bastion/incubator/views/alch-edit-add-item.html +21 -0
  43. data/app/assets/javascripts/bastion/incubator/views/alch-edit-add-remove-cancel.html +28 -0
  44. data/app/assets/javascripts/bastion/incubator/views/alch-edit-checkbox.html +6 -0
  45. data/app/assets/javascripts/bastion/incubator/views/alch-edit-custom.html +8 -0
  46. data/app/assets/javascripts/bastion/incubator/views/alch-edit-multiselect.html +17 -0
  47. data/app/assets/javascripts/bastion/incubator/views/alch-edit-save-cancel.html +20 -0
  48. data/app/assets/javascripts/bastion/incubator/views/alch-edit-select.html +10 -0
  49. data/app/assets/javascripts/bastion/incubator/views/alch-edit-text.html +6 -0
  50. data/app/assets/javascripts/bastion/incubator/views/alch-edit-textarea.html +6 -0
  51. data/app/assets/javascripts/bastion/incubator/views/alch-edit.html +18 -0
  52. data/app/assets/javascripts/bastion/incubator/views/alch-flyout.html +10 -0
  53. data/app/assets/javascripts/bastion/incubator/views/alch-form-buttons.html +10 -0
  54. data/app/assets/javascripts/bastion/incubator/views/alch-form-group.html +9 -0
  55. data/app/assets/javascripts/bastion/incubator/views/alch-menu.html +18 -0
  56. data/app/assets/javascripts/bastion/incubator/views/alch-modal-remove.html +13 -0
  57. data/app/assets/javascripts/bastion/incubator/views/alch-save-control.html +18 -0
  58. data/app/assets/javascripts/bastion/layouts/details-nutupane.html +73 -0
  59. data/app/assets/javascripts/bastion/layouts/nutupane.html +63 -0
  60. data/app/assets/javascripts/bastion/layouts/select-all-results.html +9 -0
  61. data/app/assets/javascripts/bastion/menu/menu-expander.service.js +51 -0
  62. data/app/assets/javascripts/bastion/menu/menu.module.js +26 -0
  63. data/app/assets/javascripts/bastion/utils/as.filter.js +33 -0
  64. data/app/assets/javascripts/bastion/utils/form-utils.service.js +53 -0
  65. data/app/assets/javascripts/bastion/utils/utils.module.js +21 -0
  66. data/app/assets/javascripts/bastion/widgets/current-tasks.directive.js +67 -0
  67. data/app/assets/javascripts/bastion/widgets/nutupane-table.directive.js +59 -0
  68. data/app/assets/javascripts/bastion/widgets/nutupane.factory.js +316 -0
  69. data/app/assets/javascripts/bastion/widgets/page-title.directive.js +61 -0
  70. data/app/assets/javascripts/bastion/widgets/page-title.service.js +42 -0
  71. data/app/assets/javascripts/bastion/widgets/path-selector.directive.js +109 -0
  72. data/app/assets/javascripts/bastion/widgets/views/current-tasks.html +23 -0
  73. data/app/assets/javascripts/bastion/widgets/views/path-selector.html +11 -0
  74. data/app/assets/javascripts/bastion/widgets/widgets.module.js +24 -0
  75. data/app/assets/stylesheets/bastion/animations.less +15 -0
  76. data/app/assets/stylesheets/bastion/bastion.less +160 -0
  77. data/app/assets/stylesheets/bastion/forms.less +41 -0
  78. data/app/assets/stylesheets/bastion/gpg-keys.less +36 -0
  79. data/app/assets/stylesheets/bastion/helpers.less +6 -0
  80. data/app/assets/stylesheets/bastion/mixins.less +15 -0
  81. data/app/assets/stylesheets/bastion/nutupane.less +382 -0
  82. data/app/assets/stylesheets/bastion/overrides.less +54 -0
  83. data/app/assets/stylesheets/bastion/path-selector.less +123 -0
  84. data/app/assets/stylesheets/bastion/systems.less +35 -0
  85. data/app/assets/stylesheets/bastion/tasks.less +23 -0
  86. data/app/assets/stylesheets/bastion/typography.less +31 -0
  87. data/app/assets/stylesheets/bastion/variables.less +3 -0
  88. data/app/controllers/bastion/bastion_controller.rb +24 -0
  89. data/app/views/bastion/layouts/application.html.erb +32 -0
  90. data/app/views/bastion/layouts/application_ie.html.erb +5 -0
  91. data/bastion.js +26 -0
  92. data/bower.json +94 -0
  93. data/config/routes.rb +25 -0
  94. data/config/routes/mount_engine.rb +3 -0
  95. data/grunt/bower.js +20 -0
  96. data/grunt/htmlhint.js +15 -0
  97. data/grunt/jshint.js +9 -0
  98. data/grunt/karma.js +83 -0
  99. data/lib/bastion.rb +17 -0
  100. data/lib/bastion/engine.rb +37 -0
  101. data/lib/bastion/version.rb +3 -0
  102. data/package.json +29 -0
  103. data/test/auth/authorization.service.test.js +63 -0
  104. data/test/bastion/bastion-resource.factory.test.js +31 -0
  105. data/test/bastion/test-constants.js +30 -0
  106. data/test/i18n/translate.service.test.js +31 -0
  107. data/test/incubator/alch-alert.directive.test.js +84 -0
  108. data/test/incubator/alch-container-scroll.directive.test.js +68 -0
  109. data/test/incubator/alch-dropdown.directive.test.js +113 -0
  110. data/test/incubator/alch-edit.directive.test.js +320 -0
  111. data/test/incubator/alch-flyout.directive.test.js +73 -0
  112. data/test/incubator/alch-form-buttons.directive.test.js +55 -0
  113. data/test/incubator/alch-form-group.directive.test.js +76 -0
  114. data/test/incubator/alch-infinite-scroll.directive.test.js +123 -0
  115. data/test/incubator/alch-menu.directive.test.js +94 -0
  116. data/test/incubator/alch-modal.directive.test.js +81 -0
  117. data/test/incubator/alch-table.directive.test.js +270 -0
  118. data/test/incubator/format/array-to-string.filter.test.js +38 -0
  119. data/test/incubator/format/boolean-to-yes-no.filter.test.js +41 -0
  120. data/test/incubator/format/capitalize.filter.test.js +35 -0
  121. data/test/incubator/format/key-value-to-string.filter.test.js +60 -0
  122. data/test/incubator/format/unlimited-filter.filter.test.js +31 -0
  123. data/test/incubator/nutupane-table.directive.test.js +69 -0
  124. data/test/incubator/nutupane.factory.test.js +307 -0
  125. data/test/menu/menu-expander.service.test.js +74 -0
  126. data/test/test-mocks.module.js +268 -0
  127. data/test/utils/as.filter.test.js +33 -0
  128. data/test/utils/form-utils.service.test.js +52 -0
  129. data/test/widgets/page-title.directive.test.js +54 -0
  130. data/test/widgets/page-title.service.test.js +51 -0
  131. data/test/widgets/path-selector.directive.test.js +136 -0
  132. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.eot +0 -0
  133. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.svg +229 -0
  134. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  135. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.woff +0 -0
  136. data/vendor/assets/fonts/bastion/font-awesome/FontAwesome.otf +0 -0
  137. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.eot +0 -0
  138. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.svg +399 -0
  139. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.ttf +0 -0
  140. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.woff +0 -0
  141. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.eot +0 -0
  142. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.svg +146 -0
  143. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.ttf +0 -0
  144. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.woff +0 -0
  145. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.eot +0 -0
  146. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.svg +146 -0
  147. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.ttf +0 -0
  148. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.woff +0 -0
  149. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.eot +0 -0
  150. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.svg +146 -0
  151. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.ttf +0 -0
  152. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.woff +0 -0
  153. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
  154. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.svg +146 -0
  155. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
  156. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
  157. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.eot +0 -0
  158. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.svg +146 -0
  159. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.ttf +0 -0
  160. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.woff +0 -0
  161. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.eot +0 -0
  162. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.svg +146 -0
  163. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.ttf +0 -0
  164. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.woff +0 -0
  165. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.eot +0 -0
  166. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.svg +146 -0
  167. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.ttf +0 -0
  168. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.woff +0 -0
  169. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.eot +0 -0
  170. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.svg +146 -0
  171. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.ttf +0 -0
  172. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.woff +0 -0
  173. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.eot +0 -0
  174. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.svg +146 -0
  175. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.ttf +0 -0
  176. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.woff +0 -0
  177. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.eot +0 -0
  178. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.svg +146 -0
  179. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  180. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.woff +0 -0
  181. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.eot +0 -0
  182. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.svg +454 -0
  183. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.ttf +0 -0
  184. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.woff +0 -0
  185. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.eot +0 -0
  186. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.svg +454 -0
  187. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.ttf +0 -0
  188. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.woff +0 -0
  189. data/vendor/assets/javascripts/bastion/alchemy/alchemy.js +20 -0
  190. data/vendor/assets/javascripts/bastion/angular-animate/angular-animate.js +1226 -0
  191. data/vendor/assets/javascripts/bastion/angular-blocks/angular-blocks.js +79 -0
  192. data/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap-tpls.js +3677 -0
  193. data/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap.js +3427 -0
  194. data/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js +345 -0
  195. data/vendor/assets/javascripts/bastion/angular-resource/angular-resource.js +594 -0
  196. data/vendor/assets/javascripts/bastion/angular-route/angular-route.js +920 -0
  197. data/vendor/assets/javascripts/bastion/angular-sanitize/angular-sanitize.js +622 -0
  198. data/vendor/assets/javascripts/bastion/angular-ui-bootstrap/datepicker.js +447 -0
  199. data/vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js +232 -0
  200. data/vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js +3223 -0
  201. data/vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js +21 -0
  202. data/vendor/assets/javascripts/bastion/angular/angular.js +20560 -0
  203. data/vendor/assets/javascripts/bastion/es5-shim/es5-shim.js +1216 -0
  204. data/vendor/assets/javascripts/bastion/json3/json3.js +861 -0
  205. data/vendor/assets/javascripts/bastion/ngUpload/ng-upload.js +205 -0
  206. data/vendor/assets/javascripts/bastion/underscore/underscore.js +1276 -0
  207. data/vendor/assets/stylesheets/bastion/alchemy/_colors.scss +99 -0
  208. data/vendor/assets/stylesheets/bastion/alchemy/_media_object.scss +22 -0
  209. data/vendor/assets/stylesheets/bastion/alchemy/_mixins.scss +24 -0
  210. data/vendor/assets/stylesheets/bastion/alchemy/_normalize.scss +396 -0
  211. data/vendor/assets/stylesheets/bastion/alchemy/_vars.scss +31 -0
  212. data/vendor/assets/stylesheets/bastion/alchemy/alchemy.scss +8 -0
  213. data/vendor/assets/stylesheets/bastion/bootstrap/alerts.less +67 -0
  214. data/vendor/assets/stylesheets/bastion/bootstrap/badges.less +51 -0
  215. data/vendor/assets/stylesheets/bastion/bootstrap/bootstrap.less +49 -0
  216. data/vendor/assets/stylesheets/bastion/bootstrap/breadcrumbs.less +23 -0
  217. data/vendor/assets/stylesheets/bastion/bootstrap/button-groups.less +227 -0
  218. data/vendor/assets/stylesheets/bastion/bootstrap/buttons.less +155 -0
  219. data/vendor/assets/stylesheets/bastion/bootstrap/carousel.less +232 -0
  220. data/vendor/assets/stylesheets/bastion/bootstrap/close.less +33 -0
  221. data/vendor/assets/stylesheets/bastion/bootstrap/code.less +53 -0
  222. data/vendor/assets/stylesheets/bastion/bootstrap/component-animations.less +29 -0
  223. data/vendor/assets/stylesheets/bastion/bootstrap/dropdowns.less +187 -0
  224. data/vendor/assets/stylesheets/bastion/bootstrap/forms.less +375 -0
  225. data/vendor/assets/stylesheets/bastion/bootstrap/glyphicons.less +237 -0
  226. data/vendor/assets/stylesheets/bastion/bootstrap/grid.less +79 -0
  227. data/vendor/assets/stylesheets/bastion/bootstrap/input-groups.less +136 -0
  228. data/vendor/assets/stylesheets/bastion/bootstrap/jumbotron.less +46 -0
  229. data/vendor/assets/stylesheets/bastion/bootstrap/labels.less +64 -0
  230. data/vendor/assets/stylesheets/bastion/bootstrap/list-group.less +88 -0
  231. data/vendor/assets/stylesheets/bastion/bootstrap/media.less +56 -0
  232. data/vendor/assets/stylesheets/bastion/bootstrap/mixins.less +845 -0
  233. data/vendor/assets/stylesheets/bastion/bootstrap/modals.less +129 -0
  234. data/vendor/assets/stylesheets/bastion/bootstrap/navbar.less +612 -0
  235. data/vendor/assets/stylesheets/bastion/bootstrap/navs.less +242 -0
  236. data/vendor/assets/stylesheets/bastion/bootstrap/normalize.less +406 -0
  237. data/vendor/assets/stylesheets/bastion/bootstrap/pager.less +55 -0
  238. data/vendor/assets/stylesheets/bastion/bootstrap/pagination.less +85 -0
  239. data/vendor/assets/stylesheets/bastion/bootstrap/panels.less +182 -0
  240. data/vendor/assets/stylesheets/bastion/bootstrap/popovers.less +133 -0
  241. data/vendor/assets/stylesheets/bastion/bootstrap/print.less +105 -0
  242. data/vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less +80 -0
  243. data/vendor/assets/stylesheets/bastion/bootstrap/responsive-utilities.less +209 -0
  244. data/vendor/assets/stylesheets/bastion/bootstrap/scaffolding.less +119 -0
  245. data/vendor/assets/stylesheets/bastion/bootstrap/tables.less +231 -0
  246. data/vendor/assets/stylesheets/bastion/bootstrap/theme.less +247 -0
  247. data/vendor/assets/stylesheets/bastion/bootstrap/thumbnails.less +36 -0
  248. data/vendor/assets/stylesheets/bastion/bootstrap/tooltip.less +95 -0
  249. data/vendor/assets/stylesheets/bastion/bootstrap/type.less +281 -0
  250. data/vendor/assets/stylesheets/bastion/bootstrap/utilities.less +56 -0
  251. data/vendor/assets/stylesheets/bastion/bootstrap/variables.less +642 -0
  252. data/vendor/assets/stylesheets/bastion/bootstrap/wells.less +29 -0
  253. data/vendor/assets/stylesheets/bastion/font-awesome/less/bootstrap.less +84 -0
  254. data/vendor/assets/stylesheets/bastion/font-awesome/less/core.less +129 -0
  255. data/vendor/assets/stylesheets/bastion/font-awesome/less/extras.less +93 -0
  256. data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome-ie7.less +1953 -0
  257. data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome.less +33 -0
  258. data/vendor/assets/stylesheets/bastion/font-awesome/less/icons.less +381 -0
  259. data/vendor/assets/stylesheets/bastion/font-awesome/less/mixins.less +48 -0
  260. data/vendor/assets/stylesheets/bastion/font-awesome/less/path.less +14 -0
  261. data/vendor/assets/stylesheets/bastion/font-awesome/less/variables.less +735 -0
  262. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_bootstrap.scss +84 -0
  263. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_core.scss +129 -0
  264. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_extras.scss +93 -0
  265. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_icons.scss +381 -0
  266. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_mixins.scss +48 -0
  267. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_path.scss +14 -0
  268. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_variables.scss +734 -0
  269. data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome-ie7.scss +1953 -0
  270. data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome.scss +33 -0
  271. data/vendor/assets/stylesheets/bastion/rcue/buttons.less +44 -0
  272. data/vendor/assets/stylesheets/bastion/rcue/fonts.less +52 -0
  273. data/vendor/assets/stylesheets/bastion/rcue/forms.less +19 -0
  274. data/vendor/assets/stylesheets/bastion/rcue/mixins.less +50 -0
  275. data/vendor/assets/stylesheets/bastion/rcue/navbar.less +481 -0
  276. data/vendor/assets/stylesheets/bastion/rcue/rcue.less +15 -0
  277. data/vendor/assets/stylesheets/bastion/rcue/variables.less +47 -0
  278. metadata +376 -0
@@ -0,0 +1,33 @@
1
+ /*!
2
+ * Font Awesome 3.2.1
3
+ * the iconic font designed for Bootstrap
4
+ * ------------------------------------------------------------------------------
5
+ * The full suite of pictographic icons, examples, and documentation can be
6
+ * found at http://fontawesome.io. Stay up to date on Twitter at
7
+ * http://twitter.com/fontawesome.
8
+ *
9
+ * License
10
+ * ------------------------------------------------------------------------------
11
+ * - The Font Awesome font is licensed under SIL OFL 1.1 -
12
+ * http://scripts.sil.org/OFL
13
+ * - Font Awesome CSS, LESS, and SASS files are licensed under MIT License -
14
+ * http://opensource.org/licenses/mit-license.html
15
+ * - Font Awesome documentation licensed under CC BY 3.0 -
16
+ * http://creativecommons.org/licenses/by/3.0/
17
+ * - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
18
+ * "Font Awesome by Dave Gandy - http://fontawesome.io"
19
+ *
20
+ * Author - Dave Gandy
21
+ * ------------------------------------------------------------------------------
22
+ * Email: dave@fontawesome.io
23
+ * Twitter: http://twitter.com/byscuits
24
+ * Work: Lead Product Designer @ Kyruus - http://kyruus.com
25
+ */
26
+
27
+ @import "variables";
28
+ @import "mixins";
29
+ @import "path";
30
+ @import "core";
31
+ @import "./bootstrap";
32
+ @import "extras";
33
+ @import "icons";
@@ -0,0 +1,44 @@
1
+ .btn {
2
+ .box-shadow(0 2px 3px rgba(0,0,0,.1));
3
+ &:active {
4
+ .box-shadow(inset 0 2px 8px rgba(0,0,0,.2));
5
+ }
6
+ &.disabled,
7
+ &[disabled],
8
+ fieldset[disabled] & {
9
+ background-color: #f8f8f8 !important;
10
+ background-image: none !important;
11
+ border-color: #d1d1d1 !important;
12
+ color: #969696 !important;
13
+ opacity: 1;
14
+ &:active {
15
+ .box-shadow(none);
16
+ }
17
+ &.btn-link {
18
+ background-color: transparent !important;
19
+ border: 0;
20
+ }
21
+ }
22
+ }
23
+
24
+ .btn-danger {
25
+ .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-bg-img-start; @btn-danger-bg-img-stop; @btn-danger-border);
26
+ }
27
+
28
+ .btn-default {
29
+ .button-variant(@btn-default-color; @btn-default-bg; @btn-default-bg-img-start; @btn-default-bg-img-stop; @btn-default-border);
30
+ }
31
+
32
+ .btn-link {
33
+ &, &:active {
34
+ .box-shadow(none);
35
+ }
36
+ }
37
+
38
+ .btn-primary {
39
+ .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-bg-img-start; @btn-primary-bg-img-stop; @btn-primary-border);
40
+ }
41
+
42
+ .btn-xs, .btn-group-xs .btn {
43
+ font-weight: @btn-xs-font-weight;
44
+ }
@@ -0,0 +1,52 @@
1
+ /* Open Sans */
2
+
3
+ @font-face {
4
+ font-family: 'Open Sans';
5
+ font-style: normal;
6
+ font-weight: 300;
7
+ src: url('@{font-path}/OpenSans-Light-webfont.eot');
8
+ src: url('@{font-path}/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
9
+ url('@{font-path}/OpenSans-Light-webfont.woff') format('woff'),
10
+ url('@{font-path}/OpenSans-Light-webfont.ttf') format('truetype'),
11
+ url('@{font-path}/OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
12
+ }
13
+ @font-face {
14
+ font-family: 'Open Sans';
15
+ font-style: normal;
16
+ font-weight: 400;
17
+ src: url('@{font-path}/OpenSans-Regular-webfont.eot');
18
+ src: url('@{font-path}/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
19
+ url('@{font-path}/OpenSans-Regular-webfont.woff') format('woff'),
20
+ url('@{font-path}/OpenSans-Regular-webfont.ttf') format('truetype'),
21
+ url('@{font-path}/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
22
+ }
23
+ @font-face {
24
+ font-family: 'Open Sans';
25
+ font-style: normal;
26
+ font-weight: 600;
27
+ src: url('@{font-path}/OpenSans-Semibold-webfont.eot');
28
+ src: url('@{font-path}/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
29
+ url('@{font-path}/OpenSans-Semibold-webfont.woff') format('woff'),
30
+ url('@{font-path}/OpenSans-Semibold-webfont.ttf') format('truetype'),
31
+ url('@{font-path}/OpenSans-Semibold-webfont.svg#OpenSansSemibold') format('svg');
32
+ }
33
+ @font-face {
34
+ font-family: 'Open Sans';
35
+ font-style: normal;
36
+ font-weight: 700;
37
+ src: url('@{font-path}/OpenSans-Bold-webfont.eot');
38
+ src: url('@{font-path}/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
39
+ url('@{font-path}/OpenSans-Bold-webfont.woff') format('woff'),
40
+ url('@{font-path}/OpenSans-Bold-webfont.ttf') format('truetype'),
41
+ url('@{font-path}/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
42
+ }
43
+ @font-face {
44
+ font-family: 'Open Sans';
45
+ font-style: normal;
46
+ font-weight: 800;
47
+ src: url('@{font-path}/OpenSans-ExtraBold-webfont.eot');
48
+ src: url('@{font-path}/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
49
+ url('@{font-path}/OpenSans-ExtraBold-webfont.woff') format('woff'),
50
+ url('@{font-path}/OpenSans-ExtraBold-webfont.ttf') format('truetype'),
51
+ url('@{font-path}/OpenSans-ExtraBold-webfont.svg#OpenSansExtrabold') format('svg');
52
+ }
@@ -0,0 +1,19 @@
1
+ .form-control {
2
+ &[disabled], &[readonly], fieldset[disabled] & {
3
+ border-color: #D4D4D4 !important;
4
+ .box-shadow(none);
5
+ color: #969696;
6
+ }
7
+ &:hover {
8
+ border-color: #7BB2DD;
9
+ }
10
+ }
11
+
12
+ .help-block {
13
+ font-size: @font-size-base;
14
+ }
15
+
16
+ label {
17
+ font-size: @font-size-base;
18
+ font-weight: 600;
19
+ }
@@ -0,0 +1,50 @@
1
+ /* Red Hat Common User Experience (RCUE) */
2
+ /* Bootstrap overrides and RCUE-specific mixins */
3
+
4
+ /* Bootstrap overrides */
5
+
6
+ // Button variants
7
+ .button-variant(@color; @background; @background-image-start; @background-image-stop; @border) {
8
+ background-color: @background;
9
+ #gradient .vertical(@background-image-start, @background-image-stop);
10
+ border-color: @border;
11
+ color: @color;
12
+
13
+ &:hover,
14
+ &:focus,
15
+ &:active,
16
+ &.active,
17
+ .open .dropdown-toggle& {
18
+ color: @color;
19
+ background-color: @background;
20
+ background-image: none;
21
+ border-color: @border;
22
+ }
23
+ &:active,
24
+ &.active,
25
+ .open .dropdown-toggle& {
26
+ background-image: none;
27
+ }
28
+ &.disabled,
29
+ &[disabled],
30
+ fieldset[disabled] & {
31
+ &,
32
+ &:hover,
33
+ &:focus,
34
+ &:active,
35
+ &.active {
36
+ background-color: @background;
37
+ border-color: @border
38
+ }
39
+ }
40
+ }
41
+
42
+ // Placeholder text
43
+ .placeholder(@color: @input-color-placeholder) {
44
+ &:-moz-placeholder { color: @color; font-style: italic; } // Firefox 4-18
45
+ &::-moz-placeholder { color: @color; font-style: italic;} // Firefox 19+
46
+ &:-ms-input-placeholder { color: @color; font-style: italic; } // Internet Explorer 10+
47
+ &::-webkit-input-placeholder { color: @color; font-style: italic; } // Safari and Chrome
48
+ }
49
+
50
+ /* RCUE-specific */
@@ -0,0 +1,481 @@
1
+ .navbar-rcue {
2
+ background: #393F45;
3
+ border: 0;
4
+ border-radius: 0;
5
+ border-top: 3px solid @navbar-rcue-border-color;
6
+ margin-bottom: 0;
7
+ min-height: 0;
8
+ z-index: auto;
9
+ .navbar-brand {
10
+ color: #fff;
11
+ padding: 12px 0;
12
+ margin: 0 0 0 20px;
13
+ .ie8 & {
14
+ background: url('@{img-path}/brand.png') no-repeat 0 49%;
15
+ min-width: 300px;
16
+ }
17
+ img {
18
+ display: block;
19
+ .ie8 & {
20
+ height: 10px;
21
+ width: 0;
22
+ }
23
+ }
24
+ }
25
+ .navbar-collapse {
26
+ border-top: 0;
27
+ .box-shadow(none);
28
+ padding: 0;
29
+ }
30
+ .navbar-header {
31
+ border-bottom: 1px solid #53565b;
32
+ float: none;
33
+ }
34
+ .navbar-nav {
35
+ font-size: @font-size-base;
36
+ margin: 0;
37
+ > .active > a, > .active > a:hover, > .active > a:focus {
38
+ color: #fff;
39
+ background-color: #454C53;
40
+ }
41
+ > li > a {
42
+ color: #dbdada;
43
+ line-height: 1;
44
+ padding: 10px 20px;
45
+ text-shadow: none;
46
+ &:hover, &:focus {
47
+ color: #fff;
48
+ }
49
+ }
50
+ > .open {
51
+ > a {
52
+ &, &:hover, &:focus {
53
+ background-color: #454C53;
54
+ color: #fff;
55
+ }
56
+ }
57
+ }
58
+ .dropdown > .dropdown-toggle .caret {
59
+ border: none;
60
+ font-family: @icon-font-name-rcue;
61
+ font-weight: normal;
62
+ height: 10px;
63
+ vertical-align: baseline;
64
+ width: auto;
65
+ &:before {
66
+ content: '\f107';
67
+ }
68
+ }
69
+ @media (max-width: @screen-xs-max) {
70
+ .active .navbar-persistent, .open .dropdown-menu {
71
+ background-color: #3c434a;
72
+ padding-bottom: 0;
73
+ padding-top: 0;
74
+ > .active > a {
75
+ &, &:hover, &:focus {
76
+ background-color: #424950;
77
+ color: #fff;
78
+ }
79
+ }
80
+ > li > a {
81
+ color: #DBDADA;
82
+ padding-left: 30px;
83
+ &:hover {
84
+ color: #fff;
85
+ }
86
+ }
87
+ .dropdown-header {
88
+ padding-left: 30px;
89
+ }
90
+ .dropdown-submenu {
91
+ &.pull-left {
92
+ float: none !important;
93
+ }
94
+ .dropdown-header {
95
+ padding-left: 45px;
96
+ }
97
+ .dropdown-menu {
98
+ > li > a {
99
+ padding-left: 45px;
100
+ }
101
+ .dropdown-menu > li > a {
102
+ padding-left: 60px;
103
+ }
104
+ }
105
+ }
106
+ }
107
+ .open .dropdown-menu .dropdown-submenu .dropdown-menu {
108
+ display: block;
109
+ }
110
+ }
111
+ }
112
+ .navbar-persistent {
113
+ display: none;
114
+ }
115
+ .active > .navbar-persistent {
116
+ display: block;
117
+ }
118
+ .navbar-primary {
119
+ float: none;
120
+ .context {
121
+ border-bottom: 1px solid #53565B;
122
+ }
123
+ > li > .navbar-persistent > .dropdown-submenu > a {
124
+ position: relative;
125
+ &:after {
126
+ content: '\f107';
127
+ display: inline-block;
128
+ font-family: @icon-font-name-rcue;
129
+ font-weight: normal;
130
+ @media (max-width: @screen-xs-max) {
131
+ height: 10px;
132
+ margin-left: 4px;
133
+ vertical-align: baseline;
134
+ }
135
+ }
136
+ }
137
+ }
138
+ .navbar-toggle {
139
+ border: 0;
140
+ margin: 0;
141
+ padding: 10px 20px;
142
+ &:hover, &:focus {
143
+ background-color: transparent;
144
+ outline: none;
145
+ .icon-bar {
146
+ .box-shadow(0 0 3px rgba(255,255,255,1));
147
+ }
148
+ }
149
+ .icon-bar {
150
+ background-color: #fff;
151
+ }
152
+ }
153
+ .navbar-utility {
154
+ border-bottom: 1px solid #53565B;
155
+ li.dropdown > .dropdown-toggle {
156
+ padding-left: 36px;
157
+ position: relative;
158
+ .glyphicon-user {
159
+ font-size: @font-size-small;
160
+ left: 20px;
161
+ position: absolute;
162
+ top: 11px;
163
+ }
164
+ }
165
+ @media (max-width: @screen-xs-max) {
166
+ > li + li {
167
+ border-top: 1px solid #53565B;
168
+ }
169
+ }
170
+ }
171
+ .open {
172
+ .dropdown-menu {
173
+ .divider {
174
+ background-color: #475057;
175
+ margin: 0 1px;
176
+ }
177
+ .dropdown-header {
178
+ margin-top: 0;
179
+ padding-left: 10px;
180
+ padding-right: 10px;
181
+ text-transform: uppercase;
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+ @media (min-width: @grid-float-breakpoint) {
188
+ .navbar-rcue {
189
+ .navbar-brand {
190
+ padding: 7px 0 8px;
191
+ }
192
+ .navbar-nav > li > a {
193
+ padding-bottom: 14px;
194
+ padding-top: 14px;
195
+ }
196
+ .navbar-persistent {
197
+ font-size: @font-size-large;
198
+ }
199
+ .navbar-primary {
200
+ font-size: @font-size-large;
201
+ #gradient .vertical(#474c50, #383f43);
202
+ &.persistent-secondary {
203
+ .context .dropdown-menu {
204
+ top: auto;
205
+ }
206
+ .dropup .dropdown-menu {
207
+ bottom: 0;
208
+ top: auto;
209
+ }
210
+ > li {
211
+ position: static;
212
+ &.active {
213
+ margin-bottom: 32px;
214
+ > .navbar-persistent {
215
+ display: block;
216
+ left: 0;
217
+ position: absolute;
218
+ }
219
+ }
220
+ > .navbar-persistent {
221
+ background: #f6f6f6;
222
+ border-bottom: 1px solid #cecdcd;
223
+ padding: 0;
224
+ width: 100%;
225
+ a {
226
+ text-decoration: none !important;
227
+ }
228
+ > .dropdown-submenu {
229
+ &.open > a {
230
+ color: #222;
231
+ &:after {
232
+ border-top-color: #222;
233
+ }
234
+ }
235
+ > a {
236
+ padding-right: 35px;
237
+ &:after {
238
+ font-size: @font-size-large + 1;
239
+ position: absolute;
240
+ right: 20px;
241
+ top: 9px;
242
+ }
243
+ }
244
+ > .dropdown-menu {
245
+ margin-top: 1px;
246
+ left: 20px;
247
+ }
248
+ }
249
+ > li {
250
+ float: left;
251
+ position: relative;
252
+ &.active {
253
+ &:before, &:hover:before {
254
+ background: #409cd3 !important;
255
+ bottom: -1px;
256
+ content: '';
257
+ display: block;
258
+ height: 2px;
259
+ left: 20px;
260
+ position: absolute;
261
+ right: 20px;
262
+ z-index: 1;
263
+ }
264
+ > a, > a:hover, &:hover > a {
265
+ color: #0092c7 !important;
266
+ }
267
+ .active > a {
268
+ color: #fff;
269
+ }
270
+ }
271
+ &:hover, &.open {
272
+ &:before {
273
+ background: #aaa;
274
+ bottom: -1px;
275
+ content: '';
276
+ display: block;
277
+ height: 2px;
278
+ left: 20px;
279
+ position: absolute;
280
+ right: 20px;
281
+ z-index: 1;
282
+ }
283
+ > a {
284
+ color: #222;
285
+ &:after {
286
+ border-top-color: #222;
287
+ }
288
+ }
289
+ }
290
+ a {
291
+ color: #4d5258;
292
+ &:hover {
293
+ color: #fff;
294
+ }
295
+ }
296
+ > a {
297
+ background-color: transparent;
298
+ display: block;
299
+ line-height: 1;
300
+ padding: 9px 20px;
301
+ &:hover {
302
+ color: #222;
303
+ }
304
+ }
305
+ li:hover > a {
306
+ color: #fff;
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ > li > a {
313
+ border-bottom: 1px solid transparent;
314
+ border-top: 1px solid transparent;
315
+ position: relative;
316
+ margin: -1px 0 0;
317
+ z-index: 1;
318
+ &:hover {
319
+ background-color: #4b5053;
320
+ border-top-color: #949699;
321
+ color: #DBDADA;
322
+ #gradient .vertical(#5c6165, #4b5053);
323
+ }
324
+ }
325
+ > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
326
+ background-color: #64686c;
327
+ border-bottom-color: #64686c;
328
+ border-top-color: #949699;
329
+ .box-shadow(none);
330
+ color: #fff;
331
+ #gradient .vertical(#72757a, #64686c);
332
+ }
333
+ li.dropdown.context {
334
+ border-bottom: 0;
335
+ > a {
336
+ background-color: #505458;
337
+ border-bottom-color: #65696d;
338
+ border-right: 1px solid #65696d;
339
+ border-top-color: #64696d;
340
+ font-weight: 600;
341
+ z-index: 0;
342
+ #gradient .vertical(#585d61, #505458);
343
+ &:hover {
344
+ background-color: #5a5e62;
345
+ border-bottom-color: #6e7276;
346
+ border-right-color: #6e7276;
347
+ border-top-color: #6c7276;
348
+ #gradient .vertical(#62676b, #5a5e62);
349
+ }
350
+ }
351
+ &.open > a {
352
+ background-color: #65696d;
353
+ border-bottom-color: #6e7276;
354
+ border-right-color: #777a7e;
355
+ border-top-color: #767a7e;
356
+ #gradient .vertical(#6b7175, #65696d);
357
+ }
358
+ }
359
+ }
360
+ .navbar-utility {
361
+ border-bottom: 0;
362
+ font-size: @font-size-base;
363
+ position: absolute;
364
+ right: 0;
365
+ top: 0;
366
+ > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
367
+ background: #5b6165;
368
+ color: #fff;
369
+ }
370
+ > li > a {
371
+ border-left: 1px solid #53565b;
372
+ color: #fff !important;
373
+ padding: 7px 10px;
374
+ &:hover {
375
+ background: #4a5053;
376
+ border-left-color: #636466;
377
+ }
378
+ }
379
+ > li.open > a {
380
+ border-left-color: #6c6e70;
381
+ }
382
+ li.dropdown > .dropdown-toggle {
383
+ padding-left: 26px;
384
+ .glyphicon-user {
385
+ left: 10px;
386
+ top: 7px;
387
+ }
388
+ }
389
+ .open .dropdown-menu {
390
+ left: auto;
391
+ right: 0;
392
+ .dropdown-menu {
393
+ left: auto;
394
+ right: 100%;
395
+ }
396
+ }
397
+ }
398
+ .open {
399
+ .dropdown-menu {
400
+ background: #fff;
401
+ border: 1px solid #b6b6b6 !important;
402
+ border-top-width: 0 !important;
403
+ .box-shadow(0 3px 7px rgba(0,0,0,.15));
404
+ font-size: @font-size-base;
405
+ left: 0;
406
+ margin-top: 0;
407
+ position: absolute;
408
+ .divider {
409
+ background-color: #e5e5e5;
410
+ margin-bottom: 4px;
411
+ margin-top: 4px;
412
+ }
413
+ li > a {
414
+ line-height: 22px;
415
+ padding: 0 10px;
416
+ }
417
+ }
418
+ .dropdown-menu > .active > a,
419
+ .dropdown-menu > .active > a:hover,
420
+ .dropdown-menu > .active > a:focus,
421
+ .dropdown-menu > li > a:hover,
422
+ .dropdown-menu > li > a:focus,
423
+ .dropdown-submenu:hover > a,
424
+ .dropdown-submenu:focus > a {
425
+ background-color: #2b99c0;
426
+ color: #fff !important;
427
+ #gradient .vertical(#2ea1ca, #2792b6);
428
+ }
429
+ .dropdown-submenu {
430
+ position:relative;
431
+ &:hover > .dropdown-menu {
432
+ display: block;
433
+ }
434
+ &.pull-left {
435
+ float: none !important;
436
+ > .dropdown-menu {
437
+ left: auto;
438
+ margin-left: 10px;
439
+ right: 100%;
440
+ }
441
+ }
442
+ > a {
443
+ padding-right: 20px !important;
444
+ &:after {
445
+ content: '\f105';
446
+ font-family: @icon-font-name-rcue;
447
+ display: block;
448
+ position: absolute;
449
+ right: 10px;
450
+ top: 0;
451
+ }
452
+ }
453
+ > .dropdown-menu {
454
+ border-top-width: 1px !important;
455
+ left: 100%;
456
+ margin-left: -1px;
457
+ top: 0;
458
+ }
459
+ }
460
+ .dropup .dropdown-submenu > .dropdown-menu {
461
+ bottom: 0;
462
+ top: auto;
463
+ }
464
+ }
465
+ }
466
+ }
467
+ @media (max-width: 360px) {
468
+ .navbar-rcue {
469
+ .navbar-brand {
470
+ margin-left: 10px;
471
+ width: 75%;
472
+ img {
473
+ height: auto;
474
+ max-width: 100%;
475
+ }
476
+ }
477
+ .navbar-toggle {
478
+ padding-left: 0;
479
+ }
480
+ }
481
+ }