rademade_admin 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  3. data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  4. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  5. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  6. data/app/assets/images/rademade_admin/ico/btn-attach.png +0 -0
  7. data/app/assets/images/rademade_admin/logos/logo.png +0 -0
  8. data/app/assets/javascripts/rademade_admin.coffee +8 -4
  9. data/app/assets/javascripts/rademade_admin/app/app.coffee +2 -1
  10. data/app/assets/javascripts/rademade_admin/app/common/datetime-picker.coffee +7 -0
  11. data/app/assets/javascripts/rademade_admin/app/common/dnd-sort.coffee +23 -32
  12. data/app/assets/javascripts/rademade_admin/app/common/droplist.coffee +8 -0
  13. data/app/assets/javascripts/rademade_admin/app/common/lang-panel.coffee +6 -0
  14. data/app/assets/javascripts/rademade_admin/app/common/related-index.coffee +6 -9
  15. data/app/assets/javascripts/rademade_admin/app/common/sort-list.coffee +10 -14
  16. data/app/assets/javascripts/rademade_admin/app/common/uploader.coffee +3 -3
  17. data/app/assets/javascripts/rademade_admin/app/form-popup/initializer.coffee +24 -37
  18. data/app/assets/javascripts/rademade_admin/app/form-popup/view.coffee +32 -18
  19. data/app/assets/javascripts/rademade_admin/app/forms/remove.coffee +4 -3
  20. data/app/assets/javascripts/rademade_admin/app/select2/model.coffee +7 -0
  21. data/app/assets/javascripts/rademade_admin/app/select2/related/collection-view.coffee +35 -0
  22. data/app/assets/javascripts/rademade_admin/app/select2/related/collection.coffee +28 -0
  23. data/app/assets/javascripts/rademade_admin/app/select2/related/model.coffee +15 -0
  24. data/app/assets/javascripts/rademade_admin/app/select2/related/view.coffee +40 -0
  25. data/app/assets/javascripts/rademade_admin/app/select2/view.coffee +78 -0
  26. data/app/assets/javascripts/rademade_admin/form/form-ajax.coffee +48 -0
  27. data/app/assets/javascripts/rademade_admin/form/form-initializater.coffee +45 -0
  28. data/app/assets/javascripts/rademade_admin/form/form-validation.coffee +42 -0
  29. data/app/assets/javascripts/rademade_admin/form/form.coffee +62 -0
  30. data/app/assets/javascripts/rademade_admin/library/ckeditor/config.js +14 -12
  31. data/app/assets/stylesheets/{rademade_admin/bootstrap → old/-bootstrap}/bootstrap-overrides.css.erb +0 -0
  32. data/app/assets/stylesheets/{rademade_admin/bootstrap → old/-bootstrap}/main.scss.erb +0 -0
  33. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/chart-showcase.scss.erb +0 -0
  34. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/datatables.scss.erb +0 -0
  35. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/elements.scss.erb +0 -0
  36. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/error.scss.erb +0 -0
  37. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/form-showcase.scss.erb +0 -0
  38. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/form-wizard.scss.erb +0 -0
  39. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/gallery.scss.erb +0 -0
  40. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/grids.scss.erb +0 -0
  41. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/icons.scss.erb +0 -0
  42. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/index.scss.erb +0 -0
  43. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/layout.scss.erb +0 -0
  44. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/new-user.scss.erb +0 -0
  45. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/personal-info.scss.erb +0 -0
  46. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/popup.scss.erb +0 -0
  47. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/signin.scss.erb +0 -0
  48. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/tables.scss.erb +0 -0
  49. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/ui-elements.scss.erb +0 -0
  50. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/user-list.scss.erb +0 -0
  51. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/user-profile.scss.erb +0 -0
  52. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/web-app-icons.scss.erb +0 -0
  53. data/app/assets/stylesheets/{rademade_admin/lib → old/-lib}/bootstrap.datepicker.css.erb +0 -0
  54. data/app/assets/stylesheets/{rademade_admin/lib → old/-lib}/morris.css.erb +0 -0
  55. data/app/assets/stylesheets/{rademade_admin → old}/base.scss.erb +0 -0
  56. data/app/assets/stylesheets/{rademade_admin → old}/edit.css +0 -0
  57. data/app/assets/stylesheets/{rademade_admin → old}/file-upload.scss.erb +0 -0
  58. data/app/assets/stylesheets/{rademade_admin → old}/notifier.custom.css.erb +0 -0
  59. data/app/assets/stylesheets/{rademade_admin → old}/scaffolds.scss.erb +0 -0
  60. data/app/assets/stylesheets/rademade_admin.sass.erb +96 -0
  61. data/app/assets/stylesheets/rademade_admin/base/main.sass +71 -0
  62. data/app/assets/stylesheets/rademade_admin/blocks/buttons/main.sass +81 -0
  63. data/app/assets/stylesheets/rademade_admin/blocks/form/input.sass +29 -0
  64. data/app/assets/stylesheets/rademade_admin/blocks/form/label.sass +31 -0
  65. data/app/assets/stylesheets/rademade_admin/blocks/form/select.sass +26 -0
  66. data/app/assets/stylesheets/rademade_admin/blocks/form/select2.sass +67 -0
  67. data/app/assets/stylesheets/rademade_admin/blocks/form/table.sass +42 -0
  68. data/app/assets/stylesheets/rademade_admin/blocks/form/texarea.sass +20 -0
  69. data/app/assets/stylesheets/rademade_admin/blocks/header/_logo.sass +7 -0
  70. data/app/assets/stylesheets/rademade_admin/blocks/header/_menu.sass +80 -0
  71. data/app/assets/stylesheets/rademade_admin/blocks/header/_search.sass +37 -0
  72. data/app/assets/stylesheets/rademade_admin/blocks/page/content/_main.sass +11 -0
  73. data/app/assets/stylesheets/rademade_admin/blocks/page/headline/main.sass +44 -0
  74. data/app/assets/stylesheets/rademade_admin/blocks/page/menu/_main.sass +31 -0
  75. data/app/assets/stylesheets/rademade_admin/lib/datepicker.sass +373 -0
  76. data/app/assets/stylesheets/rademade_admin/lib/glyphicon.sass.erb +618 -0
  77. data/app/assets/stylesheets/rademade_admin/lib/notifier.css.erb +661 -0
  78. data/app/assets/stylesheets/rademade_admin/lib/uploader.sass +66 -0
  79. data/app/assets/stylesheets/rademade_admin/mixins/clear.sass +5 -0
  80. data/app/assets/stylesheets/rademade_admin/mixins/fonts.sass +8 -0
  81. data/app/assets/stylesheets/rademade_admin/mixins/sprite.sass +7 -0
  82. data/app/assets/stylesheets/rademade_admin/mixins/text-overflow.sass +6 -0
  83. data/app/assets/stylesheets/rademade_admin/mixins/user-select.sass +5 -0
  84. data/app/assets/stylesheets/rademade_admin/modules/breadcrumbs/main.sass +30 -0
  85. data/app/assets/stylesheets/rademade_admin/modules/errors/error.sass.erb +19 -0
  86. data/app/assets/stylesheets/rademade_admin/modules/form/main.sass +15 -0
  87. data/app/assets/stylesheets/rademade_admin/modules/header/main.sass +6 -0
  88. data/app/assets/stylesheets/rademade_admin/modules/login/_main.sass +79 -0
  89. data/app/assets/stylesheets/rademade_admin/modules/main-menu/main.sass +0 -0
  90. data/app/assets/stylesheets/rademade_admin/modules/page/main.sass +16 -0
  91. data/app/assets/stylesheets/rademade_admin/modules/pagination/main.sass +51 -0
  92. data/app/assets/stylesheets/rademade_admin/modules/popup/new.sass +18 -0
  93. data/app/assets/stylesheets/rademade_admin/var/colors.sass +0 -0
  94. data/app/assets/stylesheets/rademade_admin/var/images.sass +2 -0
  95. data/app/assets/stylesheets/rademade_admin/var/width.sass +13 -0
  96. data/app/controllers/rademade_admin/abstract_controller.rb +18 -2
  97. data/app/controllers/rademade_admin/application_controller.rb +1 -1
  98. data/app/controllers/rademade_admin/dashboard_controller.rb +1 -1
  99. data/app/controllers/rademade_admin/file_controller.rb +25 -0
  100. data/app/controllers/rademade_admin/model_controller.rb +66 -47
  101. data/app/controllers/rademade_admin/sessions_controller.rb +3 -3
  102. data/app/helpers/rademade_admin/field_helper.rb +21 -32
  103. data/app/helpers/rademade_admin/form_helper.rb +57 -27
  104. data/app/helpers/rademade_admin/menu_helper.rb +12 -5
  105. data/app/helpers/rademade_admin/uri_helper.rb +50 -62
  106. data/app/inputs/rademade_admin/date_time_input.rb +13 -0
  107. data/app/inputs/rademade_admin/file_input.rb +72 -0
  108. data/app/inputs/rademade_admin/related_select_input.rb +78 -0
  109. data/app/serializers/autocomplete/link_serializer.rb +6 -4
  110. data/app/services/linker.rb +8 -14
  111. data/app/services/login.rb +5 -3
  112. data/app/services/model_controller/breadcrumbs.rb +36 -0
  113. data/app/services/model_controller/instance_options.rb +7 -5
  114. data/app/services/model_controller/model_options.rb +10 -7
  115. data/app/services/model_controller/notifier.rb +10 -6
  116. data/app/services/model_controller/templates.rb +4 -3
  117. data/app/services/relation_service.rb +11 -0
  118. data/app/services/saver.rb +59 -24
  119. data/app/services/search/conditions/abstract.rb +15 -14
  120. data/app/services/search/conditions/autocomplete.rb +11 -9
  121. data/app/services/search/conditions/list.rb +6 -5
  122. data/app/services/search/conditions/related_list.rb +17 -13
  123. data/app/services/search/{conditions/part/where.rb → part/abstract.rb} +7 -9
  124. data/app/services/search/part/order.rb +17 -0
  125. data/app/services/search/part/where.rb +19 -0
  126. data/app/services/sortable_service.rb +27 -27
  127. data/app/services/template_service.rb +68 -0
  128. data/app/services/upload/preview_service.rb +86 -0
  129. data/app/views/layouts/rademade_admin.html.erb +13 -4
  130. data/app/views/rademade_admin/_blocks/_header.html.erb +35 -28
  131. data/app/views/rademade_admin/_blocks/_menu.html.erb +20 -23
  132. data/app/views/rademade_admin/_blocks/_on_page_select.html.erb +15 -0
  133. data/app/views/rademade_admin/_blocks/_pagination.html.erb +1 -18
  134. data/app/views/rademade_admin/_blocks/_sub_menu.html.erb +3 -3
  135. data/app/views/rademade_admin/_blocks/form/_control.html.erb +3 -0
  136. data/app/views/rademade_admin/_blocks/form/_lang_panel.html.erb +19 -0
  137. data/app/views/rademade_admin/_blocks/sub_menu/_link.html.erb +6 -5
  138. data/app/views/rademade_admin/_blocks/table/_head.html.erb +13 -0
  139. data/app/views/rademade_admin/_layouts/inner.html.erb +21 -33
  140. data/app/views/rademade_admin/_layouts/inner/form.html.erb +6 -13
  141. data/app/views/rademade_admin/_layouts/inner/index_table.html.erb +31 -55
  142. data/app/views/rademade_admin/_layouts/inner/related_index_table.html.erb +26 -54
  143. data/app/views/rademade_admin/abstract/_form.html.erb +6 -9
  144. data/app/views/rademade_admin/abstract/edit.html.erb +3 -8
  145. data/app/views/rademade_admin/abstract/index.html.erb +38 -67
  146. data/app/views/rademade_admin/abstract/new.html.erb +3 -8
  147. data/app/views/rademade_admin/abstract/related.html.erb +48 -0
  148. data/app/views/rademade_admin/dashboard/index.html.erb +4 -5
  149. data/app/views/rademade_admin/dashboard/login.html.erb +19 -30
  150. data/config/initializers/carrier_wave/mongoid.rb +48 -0
  151. data/config/initializers/ckeditor.rb +3 -0
  152. data/config/initializers/kaminari_route_proxy.rb +16 -0
  153. data/config/initializers/simple_form.rb +147 -0
  154. data/config/initializers/simple_form/rademade_component.rb +9 -0
  155. data/config/initializers/simple_form/wrappers.rb +28 -0
  156. data/config/locales/rademade_admin.en.yml +28 -0
  157. data/config/locales/simple_form.en.yml +26 -0
  158. data/config/routes.rb +1 -2
  159. data/lib/rademade_admin.rb +7 -5
  160. data/lib/rademade_admin/bower/performer.rb +1 -1
  161. data/lib/rademade_admin/breadcrumbs/render/rademade.rb +31 -0
  162. data/lib/rademade_admin/engine.rb +2 -2
  163. data/lib/rademade_admin/input/related_select_input/model_data.rb +40 -0
  164. data/lib/rademade_admin/input/related_select_input/related_list.rb +60 -0
  165. data/lib/rademade_admin/model/adapter/data.rb +119 -0
  166. data/lib/rademade_admin/model/adapter/data/active_record.rb +109 -0
  167. data/lib/rademade_admin/model/adapter/data/mongoid.rb +77 -0
  168. data/{app/services/search/query_adapter/abstract.rb → lib/rademade_admin/model/adapter/query.rb} +15 -5
  169. data/lib/rademade_admin/model/adapter/query/active_record.rb +50 -0
  170. data/lib/rademade_admin/model/adapter/query/mongoid.rb +57 -0
  171. data/lib/rademade_admin/model/configuration.rb +43 -16
  172. data/lib/rademade_admin/model/configuration/field_label.rb +16 -0
  173. data/lib/rademade_admin/model/configuration/fields.rb +47 -21
  174. data/lib/rademade_admin/model/configuration/fields_labels.rb +31 -0
  175. data/lib/rademade_admin/model/configuration/form_field.rb +27 -0
  176. data/lib/rademade_admin/model/configuration/form_fields.rb +18 -0
  177. data/lib/rademade_admin/model/configuration/list_field.rb +21 -0
  178. data/lib/rademade_admin/model/configuration/list_fields.rb +18 -0
  179. data/lib/rademade_admin/model/graph.rb +9 -9
  180. data/lib/rademade_admin/model/info.rb +53 -68
  181. data/lib/rademade_admin/model/info/data_item.rb +130 -0
  182. data/lib/rademade_admin/model/info/data_items.rb +130 -0
  183. data/lib/rademade_admin/model/info/field.rb +39 -0
  184. data/lib/rademade_admin/model/info/fields.rb +87 -0
  185. data/lib/rademade_admin/model/info/relation.rb +49 -0
  186. data/lib/rademade_admin/model/info/relations.rb +40 -0
  187. data/lib/rademade_admin/model/info/uploader.rb +16 -0
  188. data/lib/rademade_admin/model/info/uploaders.rb +35 -0
  189. data/lib/rademade_admin/model/reflection.rb +38 -9
  190. data/lib/rademade_admin/routing/mapper.rb +9 -5
  191. data/lib/rademade_admin/search/searcher.rb +22 -0
  192. data/lib/rademade_admin/sortable.rb +1 -0
  193. data/lib/rademade_admin/uploader/photo.rb +1 -0
  194. data/lib/rademade_admin/user.rb +7 -6
  195. data/lib/rademade_admin/version.rb +1 -1
  196. data/lib/tasks/rademade_bower_install.rake +10 -2
  197. data/lib/templates/erb/scaffold/_form.html.erb +13 -0
  198. metadata +195 -109
  199. data/app/assets/javascripts/rademade_admin/app/common/relation-list.coffee +0 -109
  200. data/app/assets/javascripts/rademade_admin/app/form-popup/collection.coffee +0 -20
  201. data/app/assets/javascripts/rademade_admin/app/form-popup/model.coffee +0 -4
  202. data/app/assets/javascripts/rademade_admin/detail_admin/theme.js +0 -56
  203. data/app/assets/javascripts/rademade_admin/form/form-ajax-submit.coffee +0 -157
  204. data/app/assets/stylesheets/rademade_admin.scss.erb +0 -19
  205. data/app/helpers/rademade_admin/name_helper.rb +0 -18
  206. data/app/helpers/rademade_admin/upload_preview_helper.rb +0 -60
  207. data/app/inputs/rademade_admin/admin_file_input.rb +0 -71
  208. data/app/inputs/rademade_admin/admin_select_input.rb +0 -82
  209. data/app/inputs/rademade_admin/admin_textarea_input.rb +0 -6
  210. data/app/inputs/rademade_admin/boolean_input.rb +0 -14
  211. data/app/services/form_builder.rb +0 -4
  212. data/app/services/search/query_adapter/active_record.rb +0 -45
  213. data/app/services/search/query_adapter/mongoid.rb +0 -51
  214. data/app/services/search/searcher.rb +0 -20
  215. data/app/views/rademade_admin/_blocks/_form_control.html.erb +0 -5
  216. data/app/views/rademade_admin/abstract/related_index.html.erb +0 -85
  217. data/config/initializers/devise.rb +0 -251
  218. data/config/initializers/formtastic.rb +0 -13
  219. data/lib/rademade_admin/model/data_adapter.rb +0 -64
  220. data/lib/rademade_admin/model/data_adapter/active_record.rb +0 -59
  221. data/lib/rademade_admin/model/data_adapter/mongoid.rb +0 -54
  222. data/lib/rademade_admin/model/reflection/data.rb +0 -48
  223. data/lib/rademade_admin/model/reflection/uploader.rb +0 -18
@@ -0,0 +1,13 @@
1
+ <%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
2
+ <%%= f.error_notification %>
3
+
4
+ <div class="form-inputs">
5
+ <%- attributes.each do |attribute| -%>
6
+ <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
7
+ <%- end -%>
8
+ </div>
9
+
10
+ <div class="form-actions">
11
+ <%%= f.button :submit %>
12
+ </div>
13
+ <%% end %>
metadata CHANGED
@@ -1,28 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rademade_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Melanitskiy
8
8
  - Denis Sergienko
9
+ - Sergey Kuzhavskiy
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2014-07-21 00:00:00.000000000 Z
13
+ date: 2014-10-06 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: rails
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  requirements:
18
- - - "~>"
19
+ - - ">="
19
20
  - !ruby/object:Gem::Version
20
21
  version: '4.0'
21
22
  type: :runtime
22
23
  prerelease: false
23
24
  version_requirements: !ruby/object:Gem::Requirement
24
25
  requirements:
25
- - - "~>"
26
+ - - ">="
26
27
  - !ruby/object:Gem::Version
27
28
  version: '4.0'
28
29
  - !ruby/object:Gem::Dependency
@@ -57,30 +58,16 @@ dependencies:
57
58
  name: bower-rails
58
59
  requirement: !ruby/object:Gem::Requirement
59
60
  requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '0.7'
63
- type: :runtime
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '0.7'
70
- - !ruby/object:Gem::Dependency
71
- name: sprockets
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
61
+ - - ">="
75
62
  - !ruby/object:Gem::Version
76
- version: '2.1'
63
+ version: 0.8.2
77
64
  type: :runtime
78
65
  prerelease: false
79
66
  version_requirements: !ruby/object:Gem::Requirement
80
67
  requirements:
81
- - - "~>"
68
+ - - ">="
82
69
  - !ruby/object:Gem::Version
83
- version: '2.1'
70
+ version: 0.8.2
84
71
  - !ruby/object:Gem::Dependency
85
72
  name: sprockets-sass
86
73
  requirement: !ruby/object:Gem::Requirement
@@ -99,14 +86,14 @@ dependencies:
99
86
  name: sass-rails
100
87
  requirement: !ruby/object:Gem::Requirement
101
88
  requirements:
102
- - - "~>"
89
+ - - ">="
103
90
  - !ruby/object:Gem::Version
104
91
  version: '4.0'
105
92
  type: :runtime
106
93
  prerelease: false
107
94
  version_requirements: !ruby/object:Gem::Requirement
108
95
  requirements:
109
- - - "~>"
96
+ - - ">="
110
97
  - !ruby/object:Gem::Version
111
98
  version: '4.0'
112
99
  - !ruby/object:Gem::Dependency
@@ -137,6 +124,20 @@ dependencies:
137
124
  - - "~>"
138
125
  - !ruby/object:Gem::Version
139
126
  version: '4.0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: i18n-js
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
140
141
  - !ruby/object:Gem::Dependency
141
142
  name: turbolinks
142
143
  requirement: !ruby/object:Gem::Requirement
@@ -152,101 +153,115 @@ dependencies:
152
153
  - !ruby/object:Gem::Version
153
154
  version: '2.2'
154
155
  - !ruby/object:Gem::Dependency
155
- name: magnific-popup-rails
156
+ name: simple_form
156
157
  requirement: !ruby/object:Gem::Requirement
157
158
  requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: '0.9'
161
159
  - - ">="
162
160
  - !ruby/object:Gem::Version
163
- version: 0.9.9
161
+ version: '3.0'
164
162
  type: :runtime
165
163
  prerelease: false
166
164
  version_requirements: !ruby/object:Gem::Requirement
167
165
  requirements:
168
- - - "~>"
169
- - !ruby/object:Gem::Version
170
- version: '0.9'
171
166
  - - ">="
172
167
  - !ruby/object:Gem::Version
173
- version: 0.9.9
168
+ version: '3.0'
174
169
  - !ruby/object:Gem::Dependency
175
- name: formtastic
170
+ name: ckeditor
176
171
  requirement: !ruby/object:Gem::Requirement
177
172
  requirements:
178
173
  - - "~>"
179
174
  - !ruby/object:Gem::Version
180
- version: '2.2'
175
+ version: '4.0'
181
176
  type: :runtime
182
177
  prerelease: false
183
178
  version_requirements: !ruby/object:Gem::Requirement
184
179
  requirements:
185
180
  - - "~>"
186
181
  - !ruby/object:Gem::Version
187
- version: '2.2'
182
+ version: '4.0'
188
183
  - !ruby/object:Gem::Dependency
189
- name: ckeditor
184
+ name: cancan
190
185
  requirement: !ruby/object:Gem::Requirement
191
186
  requirements:
192
187
  - - "~>"
193
188
  - !ruby/object:Gem::Version
194
- version: '4.0'
189
+ version: '1.6'
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: 1.6.8
195
193
  type: :runtime
196
194
  prerelease: false
197
195
  version_requirements: !ruby/object:Gem::Requirement
198
196
  requirements:
199
197
  - - "~>"
200
198
  - !ruby/object:Gem::Version
201
- version: '4.0'
199
+ version: '1.6'
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: 1.6.8
202
203
  - !ruby/object:Gem::Dependency
203
- name: devise
204
+ name: breadcrumbs
204
205
  requirement: !ruby/object:Gem::Requirement
205
206
  requirements:
206
- - - "~>"
207
+ - - ">="
207
208
  - !ruby/object:Gem::Version
208
- version: '3.2'
209
+ version: '0'
209
210
  type: :runtime
210
211
  prerelease: false
211
212
  version_requirements: !ruby/object:Gem::Requirement
212
213
  requirements:
213
- - - "~>"
214
+ - - ">="
214
215
  - !ruby/object:Gem::Version
215
- version: '3.2'
216
+ version: '0'
216
217
  - !ruby/object:Gem::Dependency
217
- name: cancan
218
+ name: mongoid_sortable_relation
218
219
  requirement: !ruby/object:Gem::Requirement
219
220
  requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: '1.6'
223
221
  - - ">="
224
222
  - !ruby/object:Gem::Version
225
- version: 1.6.8
223
+ version: '0'
226
224
  type: :runtime
227
225
  prerelease: false
228
226
  version_requirements: !ruby/object:Gem::Requirement
229
227
  requirements:
230
- - - "~>"
228
+ - - ">="
231
229
  - !ruby/object:Gem::Version
232
- version: '1.6'
230
+ version: '0'
231
+ - !ruby/object:Gem::Dependency
232
+ name: activerecord_sortable
233
+ requirement: !ruby/object:Gem::Requirement
234
+ requirements:
233
235
  - - ">="
234
236
  - !ruby/object:Gem::Version
235
- version: 1.6.8
237
+ version: '0'
238
+ type: :runtime
239
+ prerelease: false
240
+ version_requirements: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
236
245
  description: Best rails admin panel. Great mechanism for customization and rapid development
237
246
  email:
238
247
  - co@rademade.com
239
248
  - olol.toor@gmail.com
249
+ - kuzh@rademade.com
240
250
  executables: []
241
251
  extensions: []
242
252
  extra_rdoc_files: []
243
253
  files:
244
254
  - Rakefile
255
+ - app/assets/fonts/glyphicons-halflings-regular.eot
256
+ - app/assets/fonts/glyphicons-halflings-regular.svg
257
+ - app/assets/fonts/glyphicons-halflings-regular.ttf
258
+ - app/assets/fonts/glyphicons-halflings-regular.woff
245
259
  - app/assets/images/rademade_admin/backgrounds/back-blue.jpg
246
260
  - app/assets/images/rademade_admin/backgrounds/back-green.jpg
247
261
  - app/assets/images/rademade_admin/backgrounds/back-orange.png
248
262
  - app/assets/images/rademade_admin/backgrounds/blueish.jpg
249
263
  - app/assets/images/rademade_admin/backgrounds/select-bg.png
264
+ - app/assets/images/rademade_admin/ico/btn-attach.png
250
265
  - app/assets/images/rademade_admin/icons/btn-attach.png
251
266
  - app/assets/images/rademade_admin/icons/btn-setting.png
252
267
  - app/assets/images/rademade_admin/icons/btn-shuffle.png
@@ -276,102 +291,147 @@ files:
276
291
  - app/assets/images/rademade_admin/placeholders/no-img-gallery.png
277
292
  - app/assets/javascripts/rademade_admin.coffee
278
293
  - app/assets/javascripts/rademade_admin/app/app.coffee
294
+ - app/assets/javascripts/rademade_admin/app/common/datetime-picker.coffee
279
295
  - app/assets/javascripts/rademade_admin/app/common/dnd-sort.coffee
296
+ - app/assets/javascripts/rademade_admin/app/common/droplist.coffee
297
+ - app/assets/javascripts/rademade_admin/app/common/lang-panel.coffee
280
298
  - app/assets/javascripts/rademade_admin/app/common/pagination.coffee
281
299
  - app/assets/javascripts/rademade_admin/app/common/related-index.coffee
282
- - app/assets/javascripts/rademade_admin/app/common/relation-list.coffee
283
300
  - app/assets/javascripts/rademade_admin/app/common/sort-list.coffee
284
301
  - app/assets/javascripts/rademade_admin/app/common/uploader.coffee
285
- - app/assets/javascripts/rademade_admin/app/form-popup/collection.coffee
286
302
  - app/assets/javascripts/rademade_admin/app/form-popup/initializer.coffee
287
- - app/assets/javascripts/rademade_admin/app/form-popup/model.coffee
288
303
  - app/assets/javascripts/rademade_admin/app/form-popup/view.coffee
289
304
  - app/assets/javascripts/rademade_admin/app/forms/insert.coffee
290
305
  - app/assets/javascripts/rademade_admin/app/forms/login.coffee
291
306
  - app/assets/javascripts/rademade_admin/app/forms/remove.coffee
292
307
  - app/assets/javascripts/rademade_admin/app/notifier/initialize.js
293
- - app/assets/javascripts/rademade_admin/detail_admin/theme.js
294
- - app/assets/javascripts/rademade_admin/form/form-ajax-submit.coffee
308
+ - app/assets/javascripts/rademade_admin/app/select2/model.coffee
309
+ - app/assets/javascripts/rademade_admin/app/select2/related/collection-view.coffee
310
+ - app/assets/javascripts/rademade_admin/app/select2/related/collection.coffee
311
+ - app/assets/javascripts/rademade_admin/app/select2/related/model.coffee
312
+ - app/assets/javascripts/rademade_admin/app/select2/related/view.coffee
313
+ - app/assets/javascripts/rademade_admin/app/select2/view.coffee
314
+ - app/assets/javascripts/rademade_admin/form/form-ajax.coffee
315
+ - app/assets/javascripts/rademade_admin/form/form-initializater.coffee
316
+ - app/assets/javascripts/rademade_admin/form/form-validation.coffee
317
+ - app/assets/javascripts/rademade_admin/form/form.coffee
295
318
  - app/assets/javascripts/rademade_admin/library/ckeditor/config.js
296
319
  - app/assets/javascripts/rademade_admin/library/jquery/jquery.tablednd.js
297
320
  - app/assets/javascripts/rademade_admin/library/notifier.custom.min.js
298
- - app/assets/stylesheets/rademade_admin.scss.erb
299
- - app/assets/stylesheets/rademade_admin/base.scss.erb
300
- - app/assets/stylesheets/rademade_admin/bootstrap/bootstrap-overrides.css.erb
301
- - app/assets/stylesheets/rademade_admin/bootstrap/main.scss.erb
302
- - app/assets/stylesheets/rademade_admin/detail_admin/chart-showcase.scss.erb
303
- - app/assets/stylesheets/rademade_admin/detail_admin/datatables.scss.erb
304
- - app/assets/stylesheets/rademade_admin/detail_admin/elements.scss.erb
305
- - app/assets/stylesheets/rademade_admin/detail_admin/error.scss.erb
306
- - app/assets/stylesheets/rademade_admin/detail_admin/form-showcase.scss.erb
307
- - app/assets/stylesheets/rademade_admin/detail_admin/form-wizard.scss.erb
308
- - app/assets/stylesheets/rademade_admin/detail_admin/gallery.scss.erb
309
- - app/assets/stylesheets/rademade_admin/detail_admin/grids.scss.erb
310
- - app/assets/stylesheets/rademade_admin/detail_admin/icons.scss.erb
311
- - app/assets/stylesheets/rademade_admin/detail_admin/index.scss.erb
312
- - app/assets/stylesheets/rademade_admin/detail_admin/layout.scss.erb
313
- - app/assets/stylesheets/rademade_admin/detail_admin/new-user.scss.erb
314
- - app/assets/stylesheets/rademade_admin/detail_admin/personal-info.scss.erb
315
- - app/assets/stylesheets/rademade_admin/detail_admin/popup.scss.erb
316
- - app/assets/stylesheets/rademade_admin/detail_admin/signin.scss.erb
317
- - app/assets/stylesheets/rademade_admin/detail_admin/tables.scss.erb
318
- - app/assets/stylesheets/rademade_admin/detail_admin/ui-elements.scss.erb
319
- - app/assets/stylesheets/rademade_admin/detail_admin/user-list.scss.erb
320
- - app/assets/stylesheets/rademade_admin/detail_admin/user-profile.scss.erb
321
- - app/assets/stylesheets/rademade_admin/detail_admin/web-app-icons.scss.erb
322
- - app/assets/stylesheets/rademade_admin/edit.css
323
- - app/assets/stylesheets/rademade_admin/file-upload.scss.erb
324
- - app/assets/stylesheets/rademade_admin/lib/bootstrap.datepicker.css.erb
325
- - app/assets/stylesheets/rademade_admin/lib/morris.css.erb
326
- - app/assets/stylesheets/rademade_admin/notifier.custom.css.erb
327
- - app/assets/stylesheets/rademade_admin/scaffolds.scss.erb
321
+ - app/assets/stylesheets/old/-bootstrap/bootstrap-overrides.css.erb
322
+ - app/assets/stylesheets/old/-bootstrap/main.scss.erb
323
+ - app/assets/stylesheets/old/-detail_admin/chart-showcase.scss.erb
324
+ - app/assets/stylesheets/old/-detail_admin/datatables.scss.erb
325
+ - app/assets/stylesheets/old/-detail_admin/elements.scss.erb
326
+ - app/assets/stylesheets/old/-detail_admin/error.scss.erb
327
+ - app/assets/stylesheets/old/-detail_admin/form-showcase.scss.erb
328
+ - app/assets/stylesheets/old/-detail_admin/form-wizard.scss.erb
329
+ - app/assets/stylesheets/old/-detail_admin/gallery.scss.erb
330
+ - app/assets/stylesheets/old/-detail_admin/grids.scss.erb
331
+ - app/assets/stylesheets/old/-detail_admin/icons.scss.erb
332
+ - app/assets/stylesheets/old/-detail_admin/index.scss.erb
333
+ - app/assets/stylesheets/old/-detail_admin/layout.scss.erb
334
+ - app/assets/stylesheets/old/-detail_admin/new-user.scss.erb
335
+ - app/assets/stylesheets/old/-detail_admin/personal-info.scss.erb
336
+ - app/assets/stylesheets/old/-detail_admin/popup.scss.erb
337
+ - app/assets/stylesheets/old/-detail_admin/signin.scss.erb
338
+ - app/assets/stylesheets/old/-detail_admin/tables.scss.erb
339
+ - app/assets/stylesheets/old/-detail_admin/ui-elements.scss.erb
340
+ - app/assets/stylesheets/old/-detail_admin/user-list.scss.erb
341
+ - app/assets/stylesheets/old/-detail_admin/user-profile.scss.erb
342
+ - app/assets/stylesheets/old/-detail_admin/web-app-icons.scss.erb
343
+ - app/assets/stylesheets/old/-lib/bootstrap.datepicker.css.erb
344
+ - app/assets/stylesheets/old/-lib/morris.css.erb
345
+ - app/assets/stylesheets/old/base.scss.erb
346
+ - app/assets/stylesheets/old/edit.css
347
+ - app/assets/stylesheets/old/file-upload.scss.erb
348
+ - app/assets/stylesheets/old/notifier.custom.css.erb
349
+ - app/assets/stylesheets/old/scaffolds.scss.erb
350
+ - app/assets/stylesheets/rademade_admin.sass.erb
351
+ - app/assets/stylesheets/rademade_admin/base/main.sass
352
+ - app/assets/stylesheets/rademade_admin/blocks/buttons/main.sass
353
+ - app/assets/stylesheets/rademade_admin/blocks/form/input.sass
354
+ - app/assets/stylesheets/rademade_admin/blocks/form/label.sass
355
+ - app/assets/stylesheets/rademade_admin/blocks/form/select.sass
356
+ - app/assets/stylesheets/rademade_admin/blocks/form/select2.sass
357
+ - app/assets/stylesheets/rademade_admin/blocks/form/table.sass
358
+ - app/assets/stylesheets/rademade_admin/blocks/form/texarea.sass
359
+ - app/assets/stylesheets/rademade_admin/blocks/header/_logo.sass
360
+ - app/assets/stylesheets/rademade_admin/blocks/header/_menu.sass
361
+ - app/assets/stylesheets/rademade_admin/blocks/header/_search.sass
362
+ - app/assets/stylesheets/rademade_admin/blocks/page/content/_main.sass
363
+ - app/assets/stylesheets/rademade_admin/blocks/page/headline/main.sass
364
+ - app/assets/stylesheets/rademade_admin/blocks/page/menu/_main.sass
365
+ - app/assets/stylesheets/rademade_admin/lib/datepicker.sass
366
+ - app/assets/stylesheets/rademade_admin/lib/glyphicon.sass.erb
367
+ - app/assets/stylesheets/rademade_admin/lib/notifier.css.erb
368
+ - app/assets/stylesheets/rademade_admin/lib/uploader.sass
369
+ - app/assets/stylesheets/rademade_admin/mixins/clear.sass
370
+ - app/assets/stylesheets/rademade_admin/mixins/fonts.sass
371
+ - app/assets/stylesheets/rademade_admin/mixins/sprite.sass
372
+ - app/assets/stylesheets/rademade_admin/mixins/text-overflow.sass
373
+ - app/assets/stylesheets/rademade_admin/mixins/user-select.sass
374
+ - app/assets/stylesheets/rademade_admin/modules/breadcrumbs/main.sass
375
+ - app/assets/stylesheets/rademade_admin/modules/errors/error.sass.erb
376
+ - app/assets/stylesheets/rademade_admin/modules/form/main.sass
377
+ - app/assets/stylesheets/rademade_admin/modules/header/main.sass
378
+ - app/assets/stylesheets/rademade_admin/modules/login/_main.sass
379
+ - app/assets/stylesheets/rademade_admin/modules/main-menu/main.sass
380
+ - app/assets/stylesheets/rademade_admin/modules/page/main.sass
381
+ - app/assets/stylesheets/rademade_admin/modules/pagination/main.sass
382
+ - app/assets/stylesheets/rademade_admin/modules/popup/new.sass
383
+ - app/assets/stylesheets/rademade_admin/var/colors.sass
384
+ - app/assets/stylesheets/rademade_admin/var/images.sass
385
+ - app/assets/stylesheets/rademade_admin/var/width.sass
328
386
  - app/controllers/rademade_admin/abstract_controller.rb
329
387
  - app/controllers/rademade_admin/admin_users_controller.rb
330
388
  - app/controllers/rademade_admin/application_controller.rb
331
389
  - app/controllers/rademade_admin/dashboard_controller.rb
390
+ - app/controllers/rademade_admin/file_controller.rb
332
391
  - app/controllers/rademade_admin/model_controller.rb
333
392
  - app/controllers/rademade_admin/sessions_controller.rb
334
393
  - app/helpers/rademade_admin/field_helper.rb
335
394
  - app/helpers/rademade_admin/form_helper.rb
336
395
  - app/helpers/rademade_admin/menu_helper.rb
337
- - app/helpers/rademade_admin/name_helper.rb
338
- - app/helpers/rademade_admin/upload_preview_helper.rb
339
396
  - app/helpers/rademade_admin/uri_helper.rb
340
- - app/inputs/rademade_admin/admin_file_input.rb
341
- - app/inputs/rademade_admin/admin_select_input.rb
342
- - app/inputs/rademade_admin/admin_textarea_input.rb
343
- - app/inputs/rademade_admin/boolean_input.rb
397
+ - app/inputs/rademade_admin/date_time_input.rb
398
+ - app/inputs/rademade_admin/file_input.rb
399
+ - app/inputs/rademade_admin/related_select_input.rb
344
400
  - app/models/rademade_admin/ability.rb
345
401
  - app/serializers/autocomplete/base_serializer.rb
346
402
  - app/serializers/autocomplete/link_serializer.rb
347
- - app/services/form_builder.rb
348
403
  - app/services/linker.rb
349
404
  - app/services/loader_service.rb
350
405
  - app/services/login.rb
351
406
  - app/services/login/error.rb
407
+ - app/services/model_controller/breadcrumbs.rb
352
408
  - app/services/model_controller/instance_options.rb
353
409
  - app/services/model_controller/model_options.rb
354
410
  - app/services/model_controller/notifier.rb
355
411
  - app/services/model_controller/templates.rb
412
+ - app/services/relation_service.rb
356
413
  - app/services/saver.rb
357
414
  - app/services/search/conditions/abstract.rb
358
415
  - app/services/search/conditions/autocomplete.rb
359
416
  - app/services/search/conditions/list.rb
360
- - app/services/search/conditions/part/where.rb
361
417
  - app/services/search/conditions/related_list.rb
362
- - app/services/search/query_adapter/abstract.rb
363
- - app/services/search/query_adapter/active_record.rb
364
- - app/services/search/query_adapter/mongoid.rb
365
- - app/services/search/searcher.rb
418
+ - app/services/search/part/abstract.rb
419
+ - app/services/search/part/order.rb
420
+ - app/services/search/part/where.rb
366
421
  - app/services/sortable_service.rb
422
+ - app/services/template_service.rb
423
+ - app/services/upload/preview_service.rb
367
424
  - app/services/video_service.rb
368
425
  - app/views/layouts/rademade_admin.html.erb
369
- - app/views/rademade_admin/_blocks/_form_control.html.erb
370
426
  - app/views/rademade_admin/_blocks/_header.html.erb
371
427
  - app/views/rademade_admin/_blocks/_menu.html.erb
428
+ - app/views/rademade_admin/_blocks/_on_page_select.html.erb
372
429
  - app/views/rademade_admin/_blocks/_pagination.html.erb
373
430
  - app/views/rademade_admin/_blocks/_sub_menu.html.erb
431
+ - app/views/rademade_admin/_blocks/form/_control.html.erb
432
+ - app/views/rademade_admin/_blocks/form/_lang_panel.html.erb
374
433
  - app/views/rademade_admin/_blocks/sub_menu/_link.html.erb
434
+ - app/views/rademade_admin/_blocks/table/_head.html.erb
375
435
  - app/views/rademade_admin/_layouts/inner.html.erb
376
436
  - app/views/rademade_admin/_layouts/inner/form.html.erb
377
437
  - app/views/rademade_admin/_layouts/inner/index_table.html.erb
@@ -381,34 +441,59 @@ files:
381
441
  - app/views/rademade_admin/abstract/form.html.erb
382
442
  - app/views/rademade_admin/abstract/index.html.erb
383
443
  - app/views/rademade_admin/abstract/new.html.erb
384
- - app/views/rademade_admin/abstract/related_index.html.erb
444
+ - app/views/rademade_admin/abstract/related.html.erb
385
445
  - app/views/rademade_admin/dashboard/index.html.erb
386
446
  - app/views/rademade_admin/dashboard/login.html.erb
387
447
  - config/initializers/bower_rails.rb
388
- - config/initializers/devise.rb
389
- - config/initializers/formtastic.rb
448
+ - config/initializers/carrier_wave/mongoid.rb
449
+ - config/initializers/ckeditor.rb
450
+ - config/initializers/kaminari_route_proxy.rb
390
451
  - config/initializers/routes.rb
452
+ - config/initializers/simple_form.rb
453
+ - config/initializers/simple_form/rademade_component.rb
454
+ - config/initializers/simple_form/wrappers.rb
391
455
  - config/locales/devise.en.yml
456
+ - config/locales/rademade_admin.en.yml
457
+ - config/locales/simple_form.en.yml
392
458
  - config/routes.rb
393
459
  - lib/rademade_admin.rb
394
460
  - lib/rademade_admin/bower/performer.rb
461
+ - lib/rademade_admin/breadcrumbs/render/rademade.rb
395
462
  - lib/rademade_admin/configuration.rb
396
463
  - lib/rademade_admin/engine.rb
397
464
  - lib/rademade_admin/file_info_formatter.rb
398
465
  - lib/rademade_admin/hrml_buffer.rb
466
+ - lib/rademade_admin/input/related_select_input/model_data.rb
467
+ - lib/rademade_admin/input/related_select_input/related_list.rb
468
+ - lib/rademade_admin/model/adapter/data.rb
469
+ - lib/rademade_admin/model/adapter/data/active_record.rb
470
+ - lib/rademade_admin/model/adapter/data/mongoid.rb
471
+ - lib/rademade_admin/model/adapter/query.rb
472
+ - lib/rademade_admin/model/adapter/query/active_record.rb
473
+ - lib/rademade_admin/model/adapter/query/mongoid.rb
399
474
  - lib/rademade_admin/model/configuration.rb
475
+ - lib/rademade_admin/model/configuration/field_label.rb
400
476
  - lib/rademade_admin/model/configuration/fields.rb
401
- - lib/rademade_admin/model/data_adapter.rb
402
- - lib/rademade_admin/model/data_adapter/active_record.rb
403
- - lib/rademade_admin/model/data_adapter/mongoid.rb
477
+ - lib/rademade_admin/model/configuration/fields_labels.rb
478
+ - lib/rademade_admin/model/configuration/form_field.rb
479
+ - lib/rademade_admin/model/configuration/form_fields.rb
480
+ - lib/rademade_admin/model/configuration/list_field.rb
481
+ - lib/rademade_admin/model/configuration/list_fields.rb
404
482
  - lib/rademade_admin/model/graph.rb
405
483
  - lib/rademade_admin/model/info.rb
484
+ - lib/rademade_admin/model/info/data_item.rb
485
+ - lib/rademade_admin/model/info/data_items.rb
486
+ - lib/rademade_admin/model/info/field.rb
487
+ - lib/rademade_admin/model/info/fields.rb
488
+ - lib/rademade_admin/model/info/relation.rb
489
+ - lib/rademade_admin/model/info/relations.rb
490
+ - lib/rademade_admin/model/info/uploader.rb
491
+ - lib/rademade_admin/model/info/uploaders.rb
406
492
  - lib/rademade_admin/model/reflection.rb
407
- - lib/rademade_admin/model/reflection/data.rb
408
- - lib/rademade_admin/model/reflection/uploader.rb
409
493
  - lib/rademade_admin/routing.rb
410
494
  - lib/rademade_admin/routing/mapper.rb
411
495
  - lib/rademade_admin/routing/resource.rb
496
+ - lib/rademade_admin/search/searcher.rb
412
497
  - lib/rademade_admin/sortable.rb
413
498
  - lib/rademade_admin/uploader/photo.rb
414
499
  - lib/rademade_admin/uploader/video.rb
@@ -416,6 +501,7 @@ files:
416
501
  - lib/rademade_admin/version.rb
417
502
  - lib/tasks/rademade_admin_tasks.rake
418
503
  - lib/tasks/rademade_bower_install.rake
504
+ - lib/templates/erb/scaffold/_form.html.erb
419
505
  homepage: https://github.com/Rademade/rademade_admin
420
506
  licenses:
421
507
  - MIT
@@ -436,7 +522,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
436
522
  version: '0'
437
523
  requirements: []
438
524
  rubyforge_project:
439
- rubygems_version: 2.4.1
525
+ rubygems_version: 2.2.2
440
526
  signing_key:
441
527
  specification_version: 4
442
528
  summary: Rails admin panel engine