rails_admin 2.3.1 → 3.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails_admin might be problematic. Click here for more details.

Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -11
  3. data/README.md +37 -31
  4. data/Rakefile +2 -2
  5. data/app/assets/javascripts/rails_admin.js +21 -0
  6. data/app/assets/stylesheets/rails_admin/custom/mixins.scss +1 -1
  7. data/app/assets/stylesheets/rails_admin/custom/variables.scss +1 -1
  8. data/app/assets/stylesheets/rails_admin.scss.erb +76 -0
  9. data/app/controllers/rails_admin/application_controller.rb +4 -3
  10. data/app/controllers/rails_admin/main_controller.rb +43 -24
  11. data/app/helpers/rails_admin/application_helper.rb +69 -52
  12. data/app/helpers/rails_admin/form_builder.rb +5 -4
  13. data/app/helpers/rails_admin/main_helper.rb +27 -43
  14. data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.erb +5 -0
  15. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb +9 -0
  16. data/app/views/kaminari/ra-twitter-bootstrap/_page.html.erb +9 -0
  17. data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.erb +13 -0
  18. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb +9 -0
  19. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.erb +9 -0
  20. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.erb +6 -0
  21. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.erb +9 -0
  22. data/app/views/layouts/rails_admin/_head.html.erb +17 -0
  23. data/app/views/layouts/rails_admin/_navigation.html.erb +21 -0
  24. data/app/views/layouts/rails_admin/_secondary_navigation.html.erb +24 -0
  25. data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +9 -0
  26. data/app/views/layouts/rails_admin/application.html.erb +27 -0
  27. data/app/views/layouts/rails_admin/modal.js.erb +7 -0
  28. data/app/views/layouts/rails_admin/pjax.html.erb +20 -0
  29. data/app/views/rails_admin/main/_dashboard_history.html.erb +45 -0
  30. data/app/views/rails_admin/main/_delete_notice.html.erb +35 -0
  31. data/app/views/rails_admin/main/_form_action_text.html.erb +7 -0
  32. data/app/views/rails_admin/main/_form_boolean.html.erb +16 -0
  33. data/app/views/rails_admin/main/{_form_ck_editor.html.haml → _form_ck_editor.html.erb} +3 -3
  34. data/app/views/rails_admin/main/_form_code_mirror.html.erb +9 -0
  35. data/app/views/rails_admin/main/_form_colorpicker.html.erb +1 -0
  36. data/app/views/rails_admin/main/_form_datetime.html.erb +9 -0
  37. data/app/views/rails_admin/main/_form_enumeration.html.erb +21 -0
  38. data/app/views/rails_admin/main/_form_field.html.erb +1 -0
  39. data/app/views/rails_admin/main/_form_file_upload.html.erb +17 -0
  40. data/app/views/rails_admin/main/{_form_filtering_multiselect.html.haml → _form_filtering_multiselect.html.erb} +11 -11
  41. data/app/views/rails_admin/main/{_form_filtering_select.html.haml → _form_filtering_select.html.erb} +13 -12
  42. data/app/views/rails_admin/main/_form_froala.html.erb +8 -0
  43. data/app/views/rails_admin/main/_form_multiple_file_upload.html.erb +20 -0
  44. data/app/views/rails_admin/main/_form_nested_many.html.erb +21 -0
  45. data/app/views/rails_admin/main/_form_nested_one.html.erb +21 -0
  46. data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +27 -0
  47. data/app/views/rails_admin/main/_form_simple_mde.html.erb +8 -0
  48. data/app/views/rails_admin/main/_form_text.html.erb +1 -0
  49. data/app/views/rails_admin/main/_form_wysihtml5.html.erb +8 -0
  50. data/app/views/rails_admin/main/_submit_buttons.html.erb +25 -0
  51. data/app/views/rails_admin/main/bulk_delete.html.erb +19 -0
  52. data/app/views/rails_admin/main/dashboard.html.erb +64 -0
  53. data/app/views/rails_admin/main/delete.html.erb +21 -0
  54. data/app/views/rails_admin/main/edit.html.erb +3 -0
  55. data/app/views/rails_admin/main/export.html.erb +146 -0
  56. data/app/views/rails_admin/main/history.html.erb +78 -0
  57. data/app/views/rails_admin/main/index.html.erb +193 -0
  58. data/app/views/rails_admin/main/new.html.erb +3 -0
  59. data/app/views/rails_admin/main/show.html.erb +28 -0
  60. data/config/initializers/active_record_extensions.rb +3 -1
  61. data/config/initializers/mongoid_extensions.rb +1 -1
  62. data/config/locales/rails_admin.en.yml +5 -1
  63. data/lib/generators/rails_admin/install_generator.rb +51 -3
  64. data/lib/generators/rails_admin/templates/environment.js +6 -0
  65. data/lib/generators/rails_admin/templates/initializer.erb +2 -1
  66. data/lib/generators/rails_admin/templates/rails_admin.js.erb +2 -0
  67. data/lib/generators/rails_admin/templates/rails_admin.scss +1 -0
  68. data/lib/generators/rails_admin/templates/webpack.config.js +32 -0
  69. data/lib/rails_admin/abstract_model.rb +24 -10
  70. data/lib/rails_admin/adapters/active_record/association.rb +20 -1
  71. data/lib/rails_admin/adapters/active_record/object_extension.rb +29 -0
  72. data/lib/rails_admin/adapters/active_record/property.rb +1 -1
  73. data/lib/rails_admin/adapters/active_record.rb +19 -21
  74. data/lib/rails_admin/adapters/mongoid/association.rb +38 -9
  75. data/lib/rails_admin/adapters/mongoid/bson.rb +4 -5
  76. data/lib/rails_admin/adapters/mongoid/extension.rb +3 -1
  77. data/lib/rails_admin/adapters/mongoid/object_extension.rb +32 -0
  78. data/lib/rails_admin/adapters/mongoid/property.rb +2 -2
  79. data/lib/rails_admin/adapters/mongoid.rb +25 -19
  80. data/lib/rails_admin/config/actions/base.rb +7 -2
  81. data/lib/rails_admin/config/actions/bulk_delete.rb +2 -2
  82. data/lib/rails_admin/config/actions/dashboard.rb +4 -3
  83. data/lib/rails_admin/config/actions/delete.rb +5 -9
  84. data/lib/rails_admin/config/actions/edit.rb +7 -7
  85. data/lib/rails_admin/config/actions/export.rb +2 -2
  86. data/lib/rails_admin/config/actions/history_index.rb +2 -2
  87. data/lib/rails_admin/config/actions/history_show.rb +2 -2
  88. data/lib/rails_admin/config/actions/index.rb +5 -7
  89. data/lib/rails_admin/config/actions/new.rb +9 -9
  90. data/lib/rails_admin/config/actions/show.rb +1 -1
  91. data/lib/rails_admin/config/actions/show_in_app.rb +6 -2
  92. data/lib/rails_admin/config/actions.rb +4 -4
  93. data/lib/rails_admin/config/configurable.rb +2 -2
  94. data/lib/rails_admin/config/fields/association.rb +15 -12
  95. data/lib/rails_admin/config/fields/base.rb +44 -24
  96. data/lib/rails_admin/config/fields/factories/active_storage.rb +1 -0
  97. data/lib/rails_admin/config/fields/factories/association.rb +6 -8
  98. data/lib/rails_admin/config/fields/factories/carrierwave.rb +2 -1
  99. data/lib/rails_admin/config/fields/factories/devise.rb +2 -1
  100. data/lib/rails_admin/config/fields/factories/dragonfly.rb +2 -1
  101. data/lib/rails_admin/config/fields/factories/paperclip.rb +2 -1
  102. data/lib/rails_admin/config/fields/factories/shrine.rb +1 -1
  103. data/lib/rails_admin/config/fields/group.rb +1 -2
  104. data/lib/rails_admin/config/fields/types/active_record_enum.rb +2 -0
  105. data/lib/rails_admin/config/fields/types/active_storage.rb +9 -7
  106. data/lib/rails_admin/config/fields/types/all.rb +1 -0
  107. data/lib/rails_admin/config/fields/types/belongs_to_association.rb +4 -12
  108. data/lib/rails_admin/config/fields/types/boolean.rb +32 -8
  109. data/lib/rails_admin/config/fields/types/carrierwave.rb +1 -0
  110. data/lib/rails_admin/config/fields/types/citext.rb +13 -0
  111. data/lib/rails_admin/config/fields/types/color.rb +6 -2
  112. data/lib/rails_admin/config/fields/types/date.rb +5 -8
  113. data/lib/rails_admin/config/fields/types/datetime.rb +18 -21
  114. data/lib/rails_admin/config/fields/types/decimal.rb +9 -2
  115. data/lib/rails_admin/config/fields/types/dragonfly.rb +3 -1
  116. data/lib/rails_admin/config/fields/types/enum.rb +1 -1
  117. data/lib/rails_admin/config/fields/types/file_upload.rb +4 -3
  118. data/lib/rails_admin/config/fields/types/float.rb +9 -2
  119. data/lib/rails_admin/config/fields/types/has_many_association.rb +1 -5
  120. data/lib/rails_admin/config/fields/types/has_one_association.rb +1 -13
  121. data/lib/rails_admin/config/fields/types/integer.rb +2 -6
  122. data/lib/rails_admin/config/fields/types/multiple_active_storage.rb +8 -6
  123. data/lib/rails_admin/config/fields/types/multiple_carrierwave.rb +1 -0
  124. data/lib/rails_admin/config/fields/types/multiple_file_upload.rb +4 -3
  125. data/lib/rails_admin/config/fields/types/numeric.rb +18 -0
  126. data/lib/rails_admin/config/fields/types/polymorphic_association.rb +3 -2
  127. data/lib/rails_admin/config/fields/types/string.rb +1 -1
  128. data/lib/rails_admin/config/fields/types/time.rb +1 -4
  129. data/lib/rails_admin/config/fields/types/timestamp.rb +0 -4
  130. data/lib/rails_admin/config/fields/types.rb +1 -1
  131. data/lib/rails_admin/config/fields.rb +3 -1
  132. data/lib/rails_admin/config/has_fields.rb +5 -6
  133. data/lib/rails_admin/config/hideable.rb +1 -1
  134. data/lib/rails_admin/config/inspectable.rb +1 -3
  135. data/lib/rails_admin/config/model.rb +10 -10
  136. data/lib/rails_admin/config/sections/base.rb +2 -3
  137. data/lib/rails_admin/config/sections/list.rb +4 -15
  138. data/lib/rails_admin/config/sections.rb +1 -1
  139. data/lib/rails_admin/config.rb +73 -38
  140. data/lib/rails_admin/engine.rb +36 -23
  141. data/lib/rails_admin/extension.rb +6 -14
  142. data/lib/rails_admin/extensions/cancancan/authorization_adapter.rb +4 -2
  143. data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +12 -7
  144. data/lib/rails_admin/extensions/pundit/authorization_adapter.rb +6 -7
  145. data/lib/rails_admin/support/csv_converter.rb +12 -13
  146. data/lib/rails_admin/support/datetime.rb +40 -74
  147. data/lib/rails_admin/support/esmodule_preprocessor.rb +32 -0
  148. data/lib/rails_admin/support/hash_helper.rb +6 -5
  149. data/lib/rails_admin/version.rb +8 -4
  150. data/lib/rails_admin.rb +1 -4
  151. data/lib/tasks/rails_admin.rake +3 -3
  152. data/package.json +28 -0
  153. data/src/rails_admin/base.js +21 -0
  154. data/src/rails_admin/filter-box.js +405 -0
  155. data/src/rails_admin/filtering-multiselect.js +394 -0
  156. data/src/rails_admin/filtering-select.js +302 -0
  157. data/src/rails_admin/i18n.js +19 -0
  158. data/src/rails_admin/nested-form-hooks.js +100 -0
  159. data/src/rails_admin/remote-form.js +190 -0
  160. data/src/rails_admin/sidescroll.js +20 -0
  161. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/theming.scss +93 -34
  162. data/src/rails_admin/styles/base.scss +64 -0
  163. data/src/rails_admin/styles/filtering-multiselect.scss +53 -0
  164. data/src/rails_admin/styles/filtering-select.scss +70 -0
  165. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/theming.scss +23 -21
  166. data/src/rails_admin/styles/themes/cerulean/variables.scss +830 -0
  167. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/mixins.scss +1 -1
  168. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/variables.scss +1 -1
  169. data/src/rails_admin/styles/widgets.scss +35 -0
  170. data/src/rails_admin/ui.js +172 -0
  171. data/src/rails_admin/vendor/jquery.pjax.js +899 -0
  172. data/src/rails_admin/vendor/jquery_nested_form.js +122 -0
  173. data/src/rails_admin/widgets.js +512 -0
  174. data/vendor/assets/fonts/rails_admin/fa-solid-900.eot +0 -0
  175. data/vendor/assets/fonts/rails_admin/fa-solid-900.svg +5034 -0
  176. data/vendor/assets/fonts/rails_admin/fa-solid-900.ttf +0 -0
  177. data/vendor/assets/fonts/rails_admin/fa-solid-900.woff +0 -0
  178. data/vendor/assets/fonts/rails_admin/fa-solid-900.woff2 +0 -0
  179. data/vendor/assets/javascripts/rails_admin/jquery-ui/data.js +41 -0
  180. data/vendor/assets/javascripts/rails_admin/jquery-ui/effect.js +1637 -0
  181. data/vendor/assets/javascripts/rails_admin/jquery-ui/ie.js +17 -0
  182. data/vendor/assets/javascripts/rails_admin/jquery-ui/keycode.js +47 -0
  183. data/vendor/assets/javascripts/rails_admin/jquery-ui/position.js +500 -0
  184. data/vendor/assets/javascripts/rails_admin/jquery-ui/safe-active-element.js +42 -0
  185. data/vendor/assets/javascripts/rails_admin/jquery-ui/scroll-parent.js +47 -0
  186. data/vendor/assets/javascripts/rails_admin/jquery-ui/unique-id.js +51 -0
  187. data/vendor/assets/javascripts/rails_admin/jquery-ui/version.js +17 -0
  188. data/vendor/assets/javascripts/rails_admin/jquery-ui/widget.js +735 -0
  189. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/autocomplete.js +689 -0
  190. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/menu.js +680 -0
  191. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/mouse.js +230 -0
  192. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/sortable.js +1561 -0
  193. data/vendor/assets/javascripts/rails_admin/jquery3.js +10872 -0
  194. data/vendor/assets/stylesheets/rails_admin/font-awesome.scss +4476 -2216
  195. metadata +118 -263
  196. data/app/assets/images/rails_admin/aristo/images/bg_fallback.png +0 -0
  197. data/app/assets/images/rails_admin/aristo/images/icon_sprite.png +0 -0
  198. data/app/assets/images/rails_admin/aristo/images/progress_bar.gif +0 -0
  199. data/app/assets/images/rails_admin/aristo/images/slider_handles.png +0 -0
  200. data/app/assets/images/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
  201. data/app/assets/images/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
  202. data/app/assets/images/rails_admin/bullet_black.png +0 -0
  203. data/app/assets/images/rails_admin/bullet_white.png +0 -0
  204. data/app/assets/images/rails_admin/calendar.png +0 -0
  205. data/app/assets/images/rails_admin/clock.png +0 -0
  206. data/app/assets/images/rails_admin/logo.png +0 -0
  207. data/app/assets/images/rails_admin/magnifier.png +0 -0
  208. data/app/assets/images/rails_admin/multiselect/icon_sprite.png +0 -0
  209. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-dark.png +0 -0
  210. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-light.png +0 -0
  211. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-dark.png +0 -0
  212. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-light.png +0 -0
  213. data/app/assets/javascripts/rails_admin/jquery-ui.js.erb +0 -8
  214. data/app/assets/javascripts/rails_admin/jquery.migrate.js +0 -3
  215. data/app/assets/javascripts/rails_admin/ra.filter-box.js +0 -253
  216. data/app/assets/javascripts/rails_admin/ra.filtering-multiselect.js +0 -331
  217. data/app/assets/javascripts/rails_admin/ra.filtering-select.js +0 -294
  218. data/app/assets/javascripts/rails_admin/ra.i18n.js +0 -28
  219. data/app/assets/javascripts/rails_admin/ra.nested-form-hooks.js +0 -59
  220. data/app/assets/javascripts/rails_admin/ra.remote-form.js +0 -155
  221. data/app/assets/javascripts/rails_admin/ra.sidescroll.js +0 -31
  222. data/app/assets/javascripts/rails_admin/ra.widgets.js +0 -379
  223. data/app/assets/javascripts/rails_admin/rails_admin.js +0 -21
  224. data/app/assets/javascripts/rails_admin/ui.js +0 -135
  225. data/app/assets/stylesheets/rails_admin/aristo/images/bg_fallback.png +0 -0
  226. data/app/assets/stylesheets/rails_admin/aristo/images/icon_sprite.png +0 -0
  227. data/app/assets/stylesheets/rails_admin/aristo/images/progress_bar.gif +0 -0
  228. data/app/assets/stylesheets/rails_admin/aristo/images/slider_handles.png +0 -0
  229. data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
  230. data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
  231. data/app/assets/stylesheets/rails_admin/aristo/jquery-ui-1.8.7.custom.scss +0 -733
  232. data/app/assets/stylesheets/rails_admin/base/font-awesome-4-compability.scss +0 -153
  233. data/app/assets/stylesheets/rails_admin/ra.filtering-multiselect.scss +0 -88
  234. data/app/assets/stylesheets/rails_admin/ra.sidescroll.scss +0 -29
  235. data/app/assets/stylesheets/rails_admin/ra.widgets.scss +0 -17
  236. data/app/assets/stylesheets/rails_admin/rails_admin.scss.erb +0 -110
  237. data/app/assets/stylesheets/rails_admin/themes/cerulean/variables.scss +0 -857
  238. data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.haml +0 -2
  239. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.haml +0 -4
  240. data/app/views/kaminari/ra-twitter-bootstrap/_page.html.haml +0 -4
  241. data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.haml +0 -9
  242. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.haml +0 -4
  243. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.haml +0 -4
  244. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.haml +0 -4
  245. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.haml +0 -4
  246. data/app/views/layouts/rails_admin/_head.html.haml +0 -7
  247. data/app/views/layouts/rails_admin/_navigation.html.haml +0 -12
  248. data/app/views/layouts/rails_admin/_secondary_navigation.html.haml +0 -10
  249. data/app/views/layouts/rails_admin/_sidebar_navigation.html.haml +0 -3
  250. data/app/views/layouts/rails_admin/application.html.haml +0 -16
  251. data/app/views/layouts/rails_admin/pjax.html.haml +0 -12
  252. data/app/views/rails_admin/main/_dashboard_history.html.haml +0 -21
  253. data/app/views/rails_admin/main/_delete_notice.html.haml +0 -24
  254. data/app/views/rails_admin/main/_form_action_text.html.haml +0 -7
  255. data/app/views/rails_admin/main/_form_boolean.html.haml +0 -3
  256. data/app/views/rails_admin/main/_form_code_mirror.html.haml +0 -9
  257. data/app/views/rails_admin/main/_form_colorpicker.html.haml +0 -1
  258. data/app/views/rails_admin/main/_form_datetime.html.haml +0 -5
  259. data/app/views/rails_admin/main/_form_enumeration.html.haml +0 -19
  260. data/app/views/rails_admin/main/_form_field.html.haml +0 -1
  261. data/app/views/rails_admin/main/_form_file_upload.html.haml +0 -17
  262. data/app/views/rails_admin/main/_form_froala.html.haml +0 -8
  263. data/app/views/rails_admin/main/_form_multiple_file_upload.html.haml +0 -16
  264. data/app/views/rails_admin/main/_form_nested_many.html.haml +0 -15
  265. data/app/views/rails_admin/main/_form_nested_one.html.haml +0 -17
  266. data/app/views/rails_admin/main/_form_polymorphic_association.html.haml +0 -26
  267. data/app/views/rails_admin/main/_form_simple_mde.haml +0 -8
  268. data/app/views/rails_admin/main/_form_text.html.haml +0 -1
  269. data/app/views/rails_admin/main/_form_wysihtml5.html.haml +0 -8
  270. data/app/views/rails_admin/main/_submit_buttons.html.haml +0 -16
  271. data/app/views/rails_admin/main/bulk_delete.html.haml +0 -11
  272. data/app/views/rails_admin/main/dashboard.html.haml +0 -34
  273. data/app/views/rails_admin/main/delete.html.haml +0 -18
  274. data/app/views/rails_admin/main/edit.html.haml +0 -2
  275. data/app/views/rails_admin/main/export.html.haml +0 -92
  276. data/app/views/rails_admin/main/history.html.haml +0 -51
  277. data/app/views/rails_admin/main/index.html.haml +0 -126
  278. data/app/views/rails_admin/main/new.html.haml +0 -2
  279. data/app/views/rails_admin/main/show.html.haml +0 -15
  280. data/config/initializers/haml.rb +0 -5
  281. data/lib/rails_admin/adapters/active_record/abstract_object.rb +0 -38
  282. data/lib/rails_admin/adapters/active_record.rb.bak +0 -348
  283. data/lib/rails_admin/adapters/mongoid/abstract_object.rb +0 -42
  284. data/lib/rails_admin/bootstrap-sass/compass_functions.rb +0 -28
  285. data/lib/rails_admin/bootstrap-sass/sass_functions.rb +0 -16
  286. data/lib/rails_admin/bootstrap-sass.rb +0 -49
  287. data/lib/rails_admin/config/lazy_model.rb +0 -68
  288. data/lib/rails_admin/extensions/history/auditing_adapter.rb +0 -37
  289. data/lib/rails_admin/extensions/history/history.rb +0 -44
  290. data/lib/rails_admin/extensions/history.rb +0 -3
  291. data/lib/rails_admin/support/i18n.rb +0 -43
  292. data/vendor/assets/fonts/rails_admin/FontAwesome.otf +0 -0
  293. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.eot +0 -0
  294. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.svg +0 -2671
  295. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.ttf +0 -0
  296. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff +0 -0
  297. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff2 +0 -0
  298. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_background.png +0 -0
  299. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hex.png +0 -0
  300. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_b.png +0 -0
  301. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_h.png +0 -0
  302. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_s.png +0 -0
  303. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_indic.gif +0 -0
  304. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_overlay.png +0 -0
  305. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_b.png +0 -0
  306. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_g.png +0 -0
  307. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_r.png +0 -0
  308. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_select.gif +0 -0
  309. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_submit.png +0 -0
  310. data/vendor/assets/images/rails_admin/colorpicker/custom_background.png +0 -0
  311. data/vendor/assets/images/rails_admin/colorpicker/custom_hex.png +0 -0
  312. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_b.png +0 -0
  313. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_h.png +0 -0
  314. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_s.png +0 -0
  315. data/vendor/assets/images/rails_admin/colorpicker/custom_indic.gif +0 -0
  316. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_b.png +0 -0
  317. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_g.png +0 -0
  318. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_r.png +0 -0
  319. data/vendor/assets/images/rails_admin/colorpicker/custom_submit.png +0 -0
  320. data/vendor/assets/images/rails_admin/colorpicker/select.png +0 -0
  321. data/vendor/assets/images/rails_admin/colorpicker/select2.png +0 -0
  322. data/vendor/assets/images/rails_admin/colorpicker/slider.png +0 -0
  323. data/vendor/assets/javascripts/rails_admin/jquery.colorpicker.js +0 -484
  324. data/vendor/assets/stylesheets/rails_admin/jquery.colorpicker.scss +0 -182
  325. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/README.txt +0 -0
  326. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/mixins.scss +0 -0
  327. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/variables.scss +0 -0
  328. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/mixins.scss +0 -0
  329. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/theming.scss +0 -0
@@ -1,153 +0,0 @@
1
- [class^="icon-"],
2
- [class*=" icon-"] {
3
- @extend .fa !optional;
4
- }
5
-
6
- .icon-glass { @extend .fa-glass !optional; }
7
- .icon-music { @extend .fa-music !optional; }
8
- .icon-search { @extend .fa-search !optional; }
9
- .icon-envelope { @extend .fa-envelope !optional; }
10
- .icon-heart { @extend .fa-heart !optional; }
11
- .icon-star { @extend .fa-star !optional; }
12
- .icon-star-empty { @extend .fa-star-o !optional; }
13
- .icon-user { @extend .fa-user !optional; }
14
- .icon-film { @extend .fa-film !optional; }
15
- .icon-th-large { @extend .fa-th-large !optional; }
16
- .icon-th { @extend .fa-th !optional; }
17
- .icon-th-list { @extend .fa-th-list !optional; }
18
- .icon-ok { @extend .fa-check !optional; }
19
- .icon-remove { @extend .fa-times !optional; }
20
- .icon-zoom-in { @extend .fa-search-plus !optional; }
21
- .icon-zoom-out { @extend .fa-search-minus !optional; }
22
- .icon-off { @extend .fa-power-off !optional; }
23
- .icon-signal { @extend .fa-signal !optional; }
24
- .icon-cog { @extend .fa-cog !optional; }
25
- .icon-trash { @extend .fa-trash-o !optional; }
26
-
27
- .icon-home { @extend .fa-home !optional; }
28
- .icon-file { @extend .fa-file !optional; }
29
- .icon-time { @extend .fa-clock-o !optional; }
30
- .icon-road { @extend .fa-road !optional; }
31
- .icon-download-alt { @extend .fa-download !optional; }
32
- .icon-download { @extend .fa-download !optional; }
33
- .icon-upload { @extend .fa-upload !optional; }
34
- .icon-inbox { @extend .fa-inbox !optional; }
35
- .icon-play-circle { @extend .fa-play-circle !optional; }
36
- .icon-repeat { @extend .fa-repeat !optional; }
37
- .icon-refresh { @extend .fa-refresh !optional; }
38
- .icon-list-alt { @extend .fa-list-alt !optional; }
39
- .icon-lock { @extend .fa-lock !optional; }
40
- .icon-flag { @extend .fa-flag !optional; }
41
- .icon-headphones { @extend .fa-headphones !optional; }
42
- .icon-volume-off { @extend .fa-volume-off !optional; }
43
- .icon-volume-down { @extend .fa-volume-down !optional; }
44
- .icon-volume-up { @extend .fa-volume-up !optional; }
45
- .icon-qrcode { @extend .fa-qrcode !optional; }
46
- .icon-barcode { @extend .fa-barcode !optional; }
47
-
48
- .icon-tag { @extend .fa-tag !optional; }
49
- .icon-tags { @extend .fa-tags !optional; }
50
- .icon-book { @extend .fa-book !optional; }
51
- .icon-bookmark { @extend .fa-bookmark !optional; }
52
- .icon-print { @extend .fa-print !optional; }
53
- .icon-camera { @extend .fa-camera !optional; }
54
- .icon-font { @extend .fa-font !optional; }
55
- .icon-bold { @extend .fa-bold !optional; }
56
- .icon-italic { @extend .fa-italic !optional; }
57
- .icon-text-height { @extend .fa-text-height !optional; }
58
- .icon-text-width { @extend .fa-text-width !optional; }
59
- .icon-align-left { @extend .fa-align-left !optional; }
60
- .icon-align-center { @extend .fa-align-center !optional; }
61
- .icon-align-right { @extend .fa-align-right !optional; }
62
- .icon-align-justify { @extend .fa-align-justify !optional; }
63
- .icon-list { @extend .fa-list !optional; }
64
- .icon-indent-left { @extend .fa-indent !optional; }
65
- .icon-indent-right { @extend .fa-dedent !optional; }
66
- .icon-facetime-video { @extend .fa-video-camera !optional; }
67
- .icon-picture { @extend .fa-picture-o !optional; }
68
-
69
- .icon-pencil { @extend .fa-pencil !optional; }
70
- .icon-map-marker { @extend .fa-map-marker !optional; }
71
- .icon-adjust { @extend .fa-adjust !optional; }
72
- .icon-tint { @extend .fa-tint !optional; }
73
- .icon-edit { @extend .fa-edit !optional; }
74
- .icon-share { @extend .fa-share-square-o !optional; }
75
- .icon-check { @extend .fa-check !optional; }
76
- .icon-move { @extend .fa-arrows !optional; }
77
- .icon-step-backward { @extend .fa-step-backward !optional; }
78
- .icon-fast-backward { @extend .fa-fast-backward !optional; }
79
- .icon-backward { @extend .fa-backward !optional; }
80
- .icon-play { @extend .fa-play !optional; }
81
- .icon-pause { @extend .fa-pause !optional; }
82
- .icon-stop { @extend .fa-stop !optional; }
83
- .icon-forward { @extend .fa-forward !optional; }
84
- .icon-fast-forward { @extend .fa-fast-forward !optional; }
85
- .icon-step-forward { @extend .fa-step-forward !optional; }
86
- .icon-eject { @extend .fa-eject !optional; }
87
- .icon-chevron-left { @extend .fa-chevron-left !optional; }
88
- .icon-chevron-right { @extend .fa-chevron-right !optional; }
89
-
90
- .icon-plus-sign { @extend .fa-plus-circle !optional; }
91
- .icon-minus-sign { @extend .fa-minus-circle !optional; }
92
- .icon-remove-sign { @extend .fa-times-circle !optional; }
93
- .icon-ok-sign { @extend .fa-check-circle !optional; }
94
- .icon-question-sign { @extend .fa-question-circle !optional; }
95
- .icon-info-sign { @extend .fa-info-circle !optional; }
96
- .icon-screenshot { @extend .fa-crosshairs !optional; }
97
- .icon-remove-circle { @extend .fa-times-circle-o !optional; }
98
- .icon-ok-circle { @extend .fa-check-circle-o !optional; }
99
- .icon-ban-circle { @extend .fa-ban !optional; }
100
- .icon-arrow-left { @extend .fa-arrow-left !optional; }
101
- .icon-arrow-right { @extend .fa-arrow-right !optional; }
102
- .icon-arrow-up { @extend .fa-arrow-up !optional; }
103
- .icon-arrow-down { @extend .fa-arrow-down !optional; }
104
- .icon-share-alt { @extend .fa-share !optional; }
105
- .icon-resize-full { @extend .fa-expand !optional; }
106
- .icon-resize-small { @extend .fa-compress !optional; }
107
- .icon-plus { @extend .fa-plus !optional; }
108
- .icon-minus { @extend .fa-minus !optional; }
109
- .icon-asterisk { @extend .fa-asterisk !optional; }
110
-
111
- .icon-exclamation-sign { @extend .fa-exclamation-circle !optional; }
112
- .icon-gift { @extend .fa-gift !optional; }
113
- .icon-leaf { @extend .fa-leaf !optional; }
114
- .icon-fire { @extend .fa-fire !optional; }
115
- .icon-eye-open { @extend .fa-eye !optional; }
116
- .icon-eye-close { @extend .fa-eye-slash !optional; }
117
- .icon-warning-sign { @extend .fa-warning !optional; }
118
- .icon-plane { @extend .fa-plane !optional; }
119
- .icon-calendar { @extend .fa-calendar !optional; }
120
- .icon-random { @extend .fa-random !optional; }
121
- .icon-comment { @extend .fa-comment !optional; }
122
- .icon-magnet { @extend .fa-magnet !optional; }
123
- .icon-chevron-up { @extend .fa-chevron-up !optional; }
124
- .icon-chevron-down { @extend .fa-chevron-down !optional; }
125
- .icon-retweet { @extend .fa-retweet !optional; }
126
- .icon-shopping-cart { @extend .fa-shopping-cart !optional; }
127
- .icon-folder-close { @extend .fa-folder !optional; }
128
- .icon-folder-open { @extend .fa-folder-open !optional; }
129
- .icon-resize-vertical { @extend .fa-arrows-v !optional; }
130
- .icon-resize-horizontal { @extend .fa-arrows-h !optional; }
131
-
132
- .icon-hdd { @extend .fa-hdd-o !optional; }
133
- .icon-bullhorn { @extend .fa-bullhorn !optional; }
134
- .icon-bell { @extend .fa-bell !optional; }
135
- .icon-certificate { @extend .fa-certificate !optional; }
136
- .icon-thumbs-up { @extend .fa-thumbs-up !optional; }
137
- .icon-thumbs-down { @extend .fa-thumbs-down !optional; }
138
- .icon-hand-right { @extend .fa-hand-o-right !optional; }
139
- .icon-hand-left { @extend .fa-hand-o-left !optional; }
140
- .icon-hand-up { @extend .fa-hand-o-up !optional; }
141
- .icon-hand-down { @extend .fa-hand-o-down !optional; }
142
- .icon-circle-arrow-right { @extend .fa-arrow-circle-right !optional; }
143
- .icon-circle-arrow-left { @extend .fa-arrow-circle-left !optional; }
144
- .icon-circle-arrow-up { @extend .fa-arrow-circle-up !optional; }
145
- .icon-circle-arrow-down { @extend .fa-arrow-circle-down !optional; }
146
- .icon-globe { @extend .fa-globe !optional; }
147
- .icon-wrench { @extend .fa-wrench !optional; }
148
- .icon-tasks { @extend .fa-tasks !optional; }
149
- .icon-filter { @extend .fa-filter !optional; }
150
- .icon-briefcase { @extend .fa-briefcase !optional; }
151
- .icon-fullscreen { @extend .fa-arrows-alt !optional; }
152
-
153
- .icon-white { color:white; }
@@ -1,88 +0,0 @@
1
- .ra-multiselect {
2
-
3
- .ra-multiselect-header {
4
- margin-bottom: 5px;
5
- clear: right;
6
- .help {
7
- float: left;
8
- font-size: 10px;
9
- }
10
- .ui-icon {
11
- position: relative;
12
- top: 10px;
13
- left: 3px;
14
- }
15
- }
16
-
17
- .ra-multiselect-search {
18
- width: 180px;
19
- }
20
-
21
- .ra-multiselect-column {
22
- float: left;
23
- .wrapper {
24
- overflow-x: auto;
25
- select {
26
- height: auto;
27
- min-height: 120px;
28
- margin-bottom: 5px;
29
- min-width: 200px;
30
- }
31
- }
32
- }
33
-
34
- .ra-multiselect-center {
35
- width: 30px;
36
- padding-top: 15px;
37
- text-align: center;
38
- .ui-icon {
39
- margin: 5px auto;
40
- }
41
- }
42
-
43
- span.ui-icon {
44
- margin-right: 4px;
45
- }
46
- .ui-icon {
47
- cursor: pointer;
48
- display: inline-block;
49
- vertical-align: top;
50
- &.ui-icon-circle-triangle-e {
51
- background-position: -16px -32px !important;
52
- background-image: image-url("rails_admin/multiselect/icon_sprite.png");
53
- }
54
- &.ui-icon-circle-triangle-e:hover {
55
- background-position: -16px -48px !important;
56
- background-image: image-url('rails_admin/multiselect/icon_sprite.png');
57
- }
58
- &.ui-icon-circle-triangle-w {
59
- background-position: 0px -32px !important;
60
- background-image: image-url('rails_admin/multiselect/icon_sprite.png');
61
- }
62
- &.ui-icon-circle-triangle-w:hover {
63
- background-position: 0px -48px !important;
64
- background-image: image-url('rails_admin/multiselect/icon_sprite.png');
65
- }
66
- &.ui-icon-circle-triangle-n {
67
- background-position: 0px 0px !important;
68
- margin-left: 1px;
69
- background-image: image-url('rails_admin/multiselect/ui-icon-circle-triangle-n-light.png');
70
- }
71
- &.ui-icon-circle-triangle-n:hover {
72
- background-position: 0px 0px !important;
73
- margin-left: 1px;
74
- background-image: image-url('rails_admin/multiselect/ui-icon-circle-triangle-n-dark.png');
75
- }
76
- &.ui-icon-circle-triangle-s {
77
- background-position: 0px 0px !important;
78
- margin-left: 1px;
79
- background-image: image-url('rails_admin/multiselect/ui-icon-circle-triangle-s-light.png');
80
- }
81
- &.ui-icon-circle-triangle-s:hover {
82
- background-position: 0px 0px !important;
83
- margin-left: 1px;
84
- background-image: image-url('rails_admin/multiselect/ui-icon-circle-triangle-s-dark.png');
85
- }
86
- }
87
- }
88
-
@@ -1,29 +0,0 @@
1
- .ra-sidescroll {
2
- margin-bottom: 20px;
3
- overflow-x: auto;
4
- .table {
5
- margin-bottom: 0;
6
- }
7
-
8
- .ra-sidescroll-frozen {
9
- position: sticky;
10
-
11
- // border-right isn't sticky
12
- &.last-of-frozen {
13
- box-shadow: -1px 0 0 0 $table-border-color inset;
14
- padding-right: $table-condensed-cell-padding + 1px;
15
- }
16
- }
17
-
18
- // Remove transparency on frozen cells.
19
- $table-bg-default: if($table-bg == transparent, if($body-bg == transparent, #fff, $body-bg), $table-bg) !default;
20
- .table-striped > tbody > tr:nth-child(even) > td, .table-striped > thead > tr > th {
21
- background-color: $table-bg-default;
22
- }
23
- $table-bg-header-sort: #e2eff6 !default;
24
- .table .ra-sidescroll-frozen {
25
- &.headerSortUp, &.headerSortDown {
26
- background-color: $table-bg-header-sort;
27
- }
28
- }
29
- }
@@ -1,17 +0,0 @@
1
- iframe.wysihtml5-sandbox{
2
- height: 250px !important;
3
- width: 99.7% !important;
4
- }
5
-
6
- iframe.wysihtml5-sandbox, .wysihtml5-editor{
7
- border: 1px solid #ccc !important;
8
- }
9
-
10
- .controls img.preview{
11
- max-height: 200px;
12
- max-width: 300px;
13
- }
14
-
15
- .controls.ui-sortable .sortables{
16
- cursor: move;
17
- }
@@ -1,110 +0,0 @@
1
- // Issue 1956 (https://github.com/sferik/rails_admin/issues/1956)
2
- //= depend_on_asset "rails_admin/bootstrap/glyphicons-halflings.png"
3
- //= depend_on_asset "rails_admin/bootstrap/glyphicons-halflings-white.png"
4
- //= depend_on_asset "rails_admin/aristo/images/bg_fallback.png"
5
- //= depend_on_asset "rails_admin/aristo/images/ui-icons_222222_256x240.png"
6
- //= depend_on_asset "rails_admin/aristo/images/ui-icons_454545_256x240.png"
7
- //= depend_on_asset "rails_admin/aristo/images/icon_sprite.png"
8
- //= depend_on_asset "rails_admin/aristo/images/slider_handles.png"
9
- //= depend_on_asset "rails_admin/aristo/images/progress_bar.gif"
10
- //= depend_on_asset "rails_admin/multiselect/icon_sprite.png"
11
- //= depend_on_asset "rails_admin/multiselect/ui-icon-circle-triangle-n-light.png"
12
- //= depend_on_asset "rails_admin/multiselect/ui-icon-circle-triangle-n-dark.png"
13
- //= depend_on_asset "rails_admin/multiselect/ui-icon-circle-triangle-s-light.png"
14
- //= depend_on_asset "rails_admin/multiselect/ui-icon-circle-triangle-s-dark.png"
15
- //= depend_on_asset "rails_admin/colorpicker/select2.png"
16
- //= depend_on_asset "rails_admin/colorpicker/custom_background.png"
17
- //= depend_on_asset "rails_admin/colorpicker/colorpicker_overlay.png"
18
- //= depend_on_asset "rails_admin/colorpicker/colorpicker_select.gif"
19
- //= depend_on_asset "rails_admin/colorpicker/custom_indic.gif"
20
- //= depend_on_asset "rails_admin/colorpicker/custom_hex.png"
21
- //= depend_on_asset "rails_admin/colorpicker/custom_rgb_r.png"
22
- //= depend_on_asset "rails_admin/colorpicker/custom_rgb_g.png"
23
- //= depend_on_asset "rails_admin/colorpicker/custom_rgb_b.png"
24
- //= depend_on_asset "rails_admin/colorpicker/custom_hsb_h.png"
25
- //= depend_on_asset "rails_admin/colorpicker/custom_hsb_s.png"
26
- //= depend_on_asset "rails_admin/colorpicker/custom_hsb_b.png"
27
- //= depend_on_asset "rails_admin/colorpicker/custom_submit.png"
28
-
29
-
30
- @charset "UTF-8";
31
-
32
- <%
33
- theme = ENV['RAILS_ADMIN_THEME'] || :default
34
- %>
35
-
36
- /*** Variables ***/
37
-
38
- @import "rails_admin/custom/variables";
39
- @import "rails_admin/bootstrap/variables";
40
- @import "rails_admin/base/variables";
41
- @import "rails_admin/themes/<%= theme %>/variables";
42
-
43
- /*** Mixins ***/
44
-
45
- @import "rails_admin/bootstrap/mixins";
46
- @import "rails_admin/base/mixins";
47
- @import "rails_admin/themes/<%= theme %>/mixins";
48
- @import "rails_admin/custom/mixins";
49
-
50
- /*** Reset ***/
51
- <%# @import "rails_admin/bootstrap/reset"; %>
52
- /*** Libraries ***/
53
-
54
- @import "rails_admin/aristo/jquery-ui-1.8.7.custom";
55
- @import "rails_admin/bootstrap-datetimepicker-build";
56
- @import "rails_admin/ra.filtering-multiselect";
57
- @import "rails_admin/ra.widgets";
58
- @import "rails_admin/ra.sidescroll";
59
- @import "rails_admin/jquery.colorpicker";
60
-
61
-
62
- /*** Font-awesome ***/
63
-
64
- @import 'rails_admin/font-awesome';
65
- @import 'rails_admin/base/font-awesome-4-compability';
66
-
67
- /*** Bootstrap Theming ***/
68
-
69
- @import "rails_admin/bootstrap/normalize";
70
- @import "rails_admin/bootstrap/scaffolding";
71
- @import "rails_admin/bootstrap/grid";
72
- <%# @import "rails_admin/bootstrap/layouts"; %>
73
- @import "rails_admin/bootstrap/type";
74
- @import "rails_admin/bootstrap/forms";
75
- @import "rails_admin/bootstrap/tables";
76
- @import "rails_admin/bootstrap/dropdowns";
77
- @import "rails_admin/bootstrap/wells";
78
- @import "rails_admin/bootstrap/component-animations";
79
- @import "rails_admin/bootstrap/close";
80
- @import "rails_admin/bootstrap/buttons";
81
- @import "rails_admin/bootstrap/button-groups";
82
- @import "rails_admin/bootstrap/input-groups";
83
- @import "rails_admin/bootstrap/alerts";
84
- @import "rails_admin/bootstrap/navs";
85
- @import "rails_admin/bootstrap/navbar";
86
- @import "rails_admin/bootstrap/breadcrumbs";
87
- @import "rails_admin/bootstrap/pagination";
88
- @import "rails_admin/bootstrap/pager";
89
- @import "rails_admin/bootstrap/modals";
90
- @import "rails_admin/bootstrap/tooltip";
91
- @import "rails_admin/bootstrap/popovers";
92
- @import "rails_admin/bootstrap/thumbnails";
93
- @import "rails_admin/bootstrap/labels";
94
- @import "rails_admin/bootstrap/panels";
95
- @import "rails_admin/bootstrap/badges";
96
- @import "rails_admin/bootstrap/progress-bars";
97
- <%# @import "rails_admin/bootstrap/accordion"; %>
98
- @import "rails_admin/bootstrap/carousel";
99
- <%# @import "rails_admin/bootstrap/hero-unit"; %>
100
- @import "rails_admin/bootstrap/utilities";
101
- @import "rails_admin/bootstrap/responsive-utilities";
102
-
103
- /*** RailsAdmin Theming ***/
104
-
105
- @import "rails_admin/base/theming";
106
- @import "rails_admin/themes/<%= theme %>/theming";
107
- @import "rails_admin/custom/theming";
108
-
109
-
110
-