rails_modular_admin 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +0 -0
  3. data/README.md +10 -35
  4. data/Rakefile +1 -1
  5. data/app/assets/config/rails_modular_admin_manifest.js +0 -0
  6. data/app/assets/javascripts/rails_modular_admin.js +3 -2
  7. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/code-helper.js +0 -0
  8. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/for-helper.js +0 -0
  9. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/is-helper.js +0 -0
  10. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/times-helper.js +0 -0
  11. data/app/assets/javascripts/rails_modular_admin/_common/animations/animations.js +0 -0
  12. data/app/assets/javascripts/rails_modular_admin/_common/items-list/items-list.js +0 -0
  13. data/app/assets/javascripts/rails_modular_admin/_common/nprogress/nprogress.js +0 -0
  14. data/app/assets/javascripts/rails_modular_admin/_common/sameheight-items/sameheight-items.js +0 -0
  15. data/app/assets/javascripts/rails_modular_admin/app.js +0 -0
  16. data/app/assets/javascripts/rails_modular_admin/app/_common/editor/editor-helper.js +0 -0
  17. data/app/assets/javascripts/rails_modular_admin/app/_common/editor/editor.js +0 -0
  18. data/app/assets/javascripts/rails_modular_admin/app/_common/header/nav/nav.js +0 -0
  19. data/app/assets/javascripts/rails_modular_admin/app/_common/modals/modal-media/modal-media.js +0 -0
  20. data/app/assets/javascripts/rails_modular_admin/app/_common/sidebar/customize/customize.js +0 -0
  21. data/app/assets/javascripts/rails_modular_admin/app/_common/sidebar/sidebar.js +0 -0
  22. data/app/assets/javascripts/rails_modular_admin/app/charts/charts-flot/charts-flot.js +0 -0
  23. data/app/assets/javascripts/rails_modular_admin/app/charts/charts-morris/charts-morris.js +0 -0
  24. data/app/assets/javascripts/rails_modular_admin/app/dashboard/history/history.js +0 -0
  25. data/app/assets/javascripts/rails_modular_admin/app/dashboard/items/items.js +0 -0
  26. data/app/assets/javascripts/rails_modular_admin/app/dashboard/sales-breakdown/sales-breakdown.js +0 -0
  27. data/app/assets/javascripts/rails_modular_admin/app/dashboard/sales-by-countries/sales-by-countries.js +0 -0
  28. data/app/assets/javascripts/rails_modular_admin/app/dashboard/tasks/tasks.js +0 -0
  29. data/app/assets/javascripts/rails_modular_admin/app/forms/input-groups/input-groups.js +0 -0
  30. data/app/assets/javascripts/rails_modular_admin/app/items/editor/item-editor.js +0 -0
  31. data/app/assets/javascripts/rails_modular_admin/app/items/list/items-list.js +0 -0
  32. data/app/assets/javascripts/rails_modular_admin/app/pages/error.js +0 -0
  33. data/app/assets/javascripts/rails_modular_admin/auth/login/login.js +0 -0
  34. data/app/assets/javascripts/rails_modular_admin/auth/reset/reset.js +0 -0
  35. data/app/assets/javascripts/rails_modular_admin/auth/signup/signup.js +0 -0
  36. data/app/assets/javascripts/rails_modular_admin/vendor.js +0 -0
  37. data/app/assets/stylesheets/rails_modular_admin.scss +0 -0
  38. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/_mixins.scss +0 -0
  39. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/layout.scss +0 -0
  40. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/misc.scss +0 -0
  41. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/typography.scss +0 -0
  42. data/app/assets/stylesheets/rails_modular_admin/_common/alert/alert.scss +0 -0
  43. data/app/assets/stylesheets/rails_modular_admin/_common/animations/animations.scss +0 -0
  44. data/app/assets/stylesheets/rails_modular_admin/_common/button/button.scss +0 -0
  45. data/app/assets/stylesheets/rails_modular_admin/_common/card/card.scss +0 -0
  46. data/app/assets/stylesheets/rails_modular_admin/_common/chart/chart.scss +0 -0
  47. data/app/assets/stylesheets/rails_modular_admin/_common/dropdown/dropdown.scss +0 -0
  48. data/app/assets/stylesheets/rails_modular_admin/_common/flex/flex.scss +0 -0
  49. data/app/assets/stylesheets/rails_modular_admin/_common/form/form.scss +0 -0
  50. data/app/assets/stylesheets/rails_modular_admin/_common/images-container/images-container.scss +0 -0
  51. data/app/assets/stylesheets/rails_modular_admin/_common/items-list/items-list.scss +0 -0
  52. data/app/assets/stylesheets/rails_modular_admin/_common/logo/logo.scss +0 -0
  53. data/app/assets/stylesheets/rails_modular_admin/_common/modal/modal-tabs.scss +0 -0
  54. data/app/assets/stylesheets/rails_modular_admin/_common/navigation/navigation.scss +0 -0
  55. data/app/assets/stylesheets/rails_modular_admin/_common/nprogress/nprogress.scss +0 -0
  56. data/app/assets/stylesheets/rails_modular_admin/_common/pagination/pagination.scss +0 -0
  57. data/app/assets/stylesheets/rails_modular_admin/_common/sameheight-items/sameheight-items.scss +0 -0
  58. data/app/assets/stylesheets/rails_modular_admin/_common/scrollbar/scrollbar.scss +0 -0
  59. data/app/assets/stylesheets/rails_modular_admin/_common/table/table.scss +0 -0
  60. data/app/assets/stylesheets/rails_modular_admin/_main.scss +0 -0
  61. data/app/assets/stylesheets/rails_modular_admin/_variables.scss +0 -0
  62. data/app/assets/stylesheets/rails_modular_admin/app/_common/editor/editor.scss +0 -0
  63. data/app/assets/stylesheets/rails_modular_admin/app/_common/footer/footer.scss +0 -0
  64. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/buttons/buttons.scss +0 -0
  65. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/collapse/collapse.scss +0 -0
  66. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/header.scss +0 -0
  67. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/nav.scss +0 -0
  68. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/notifications/notifications.scss +0 -0
  69. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/profile/profile.scss +0 -0
  70. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss +0 -0
  71. data/app/assets/stylesheets/rails_modular_admin/app/_common/modals/modal-media/modal-media.scss +0 -0
  72. data/app/assets/stylesheets/rails_modular_admin/app/_common/modals/modals.scss +0 -0
  73. data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/customize/customize.scss +0 -0
  74. data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/header/header.scss +0 -0
  75. data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/sidebar.scss +0 -0
  76. data/app/assets/stylesheets/rails_modular_admin/app/app.scss +0 -0
  77. data/app/assets/stylesheets/rails_modular_admin/app/charts/charts-flot/charts-flot.scss +0 -0
  78. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/dashboard.scss +0 -0
  79. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/history/history.scss +0 -0
  80. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/items/items-header.scss +0 -0
  81. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/items/items-list.scss +0 -0
  82. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/sales-breakdown/sales-breakdown.scss +0 -0
  83. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/sales-by-countries/sales-by-countries.scss +0 -0
  84. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/stats/stats.scss +0 -0
  85. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/tasks/tasks.scss +0 -0
  86. data/app/assets/stylesheets/rails_modular_admin/app/items/editor/item-editor.scss +0 -0
  87. data/app/assets/stylesheets/rails_modular_admin/app/items/list/items-list.scss +0 -0
  88. data/app/assets/stylesheets/rails_modular_admin/app/pages/error.scss +0 -0
  89. data/app/assets/stylesheets/rails_modular_admin/app/pages/screenful/screenful.scss +0 -0
  90. data/app/assets/stylesheets/rails_modular_admin/app/tables/responsive-tables/responsive-tables.scss +0 -0
  91. data/app/assets/stylesheets/rails_modular_admin/application.scss +0 -1
  92. data/app/assets/stylesheets/rails_modular_admin/auth/auth.scss +0 -0
  93. data/app/controllers/rails_modular_admin/application_controller.rb +0 -0
  94. data/app/helpers/rails_modular_admin/application_helper.rb +0 -0
  95. data/app/jobs/rails_modular_admin/application_job.rb +0 -0
  96. data/app/mailers/rails_modular_admin/application_mailer.rb +0 -0
  97. data/app/models/rails_modular_admin/application_record.rb +0 -0
  98. data/app/views/layouts/rails_modular_admin/application.html.erb +0 -0
  99. data/config/initializers/assets.rb +2 -2
  100. data/config/routes.rb +0 -0
  101. data/lib/generators/rails_modular_admin/USAGE +0 -0
  102. data/lib/generators/rails_modular_admin/install_generator.rb +0 -0
  103. data/lib/generators/rails_modular_admin/templates/application.html.erb +27 -0
  104. data/lib/generators/rails_modular_admin/templates/custom-theme.scss +0 -0
  105. data/lib/generators/rails_modular_admin/templates/dashboard.html.erb +1450 -0
  106. data/lib/generators/rails_modular_admin/templates/devise/confirmations/new.html.erb +16 -0
  107. data/lib/generators/rails_modular_admin/templates/devise/passwords/edit.html.erb +25 -0
  108. data/lib/generators/rails_modular_admin/templates/devise/passwords/new.html.erb +39 -0
  109. data/lib/generators/rails_modular_admin/templates/devise/registrations/edit.html.erb +43 -0
  110. data/lib/generators/rails_modular_admin/templates/devise/registrations/new.html.erb +29 -0
  111. data/lib/generators/rails_modular_admin/templates/devise/sessions/new.html.erb +73 -0
  112. data/lib/generators/rails_modular_admin/templates/devise/shared/_links.html.erb +25 -0
  113. data/lib/generators/rails_modular_admin/templates/devise/unlocks/new.html.erb +16 -0
  114. data/lib/generators/rails_modular_admin/templates/login.html.erb +85 -0
  115. data/lib/generators/rails_modular_admin/templates/recover.html.erb +77 -0
  116. data/lib/generators/rails_modular_admin/templates/signup.html.erb +101 -0
  117. data/lib/generators/rails_modular_admin/views_generator.rb +15 -0
  118. data/lib/rails_modular_admin.rb +0 -4
  119. data/lib/rails_modular_admin/engine.rb +4 -1
  120. data/lib/rails_modular_admin/version.rb +1 -1
  121. data/lib/tasks/rails_modular_admin_tasks.rake +0 -0
  122. metadata +73 -3
@@ -0,0 +1,15 @@
1
+ require 'rails/generators/base'
2
+ module RailsModularAdmin
3
+ module Generators
4
+ class ViewsGenerator < Rails::Generators::NamedBase
5
+ source_root File.expand_path('templates', __dir__)
6
+
7
+ def copy_dashboard_view
8
+ end
9
+
10
+ def copy_layout
11
+ copy_file "application.html.erb", "app/views/layouts/application.html.erb"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,9 +1,5 @@
1
1
  require "rails_modular_admin/engine"
2
2
 
3
3
  module RailsModularAdmin
4
-
5
4
 
6
- def self.root
7
- File.dirname __dir__
8
- end
9
5
  end
@@ -1,9 +1,12 @@
1
1
  module RailsModularAdmin
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace RailsModularAdmin
4
-
4
+ require "sass-rails"
5
+ require "font-awesome-rails"
5
6
  initializer "RailsModularAdmin.precompile" do |app|
6
7
  app.config.assets.precompile += %w(rails_modular_admin.js)
8
+ # config.browserify_rails.paths << -> (p) { p.start_with?(Engine.root.join("app").to_s) }
9
+ # config.browserify_rails.node_bin = "node_modules"
7
10
  end
8
11
  end
9
12
  end
@@ -1,3 +1,3 @@
1
1
  module RailsModularAdmin
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_modular_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Payne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-28 00:00:00.000000000 Z
11
+ date: 2018-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -39,7 +39,35 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jquery-rails
42
+ name: sass-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: uglifier
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coffee-rails
43
71
  requirement: !ruby/object:Gem::Requirement
44
72
  requirements:
45
73
  - - ">="
@@ -66,6 +94,34 @@ dependencies:
66
94
  - - ">="
67
95
  - !ruby/object:Gem::Version
68
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
69
125
  description: his plugin is designed to quickly generate views for Rails applications
70
126
  in need of dashboard functionality. This includes admin panels and SaaS applications.
71
127
  I found that over the course of my projects, I needed Dashboard pages very often,
@@ -177,7 +233,21 @@ files:
177
233
  - config/routes.rb
178
234
  - lib/generators/rails_modular_admin/USAGE
179
235
  - lib/generators/rails_modular_admin/install_generator.rb
236
+ - lib/generators/rails_modular_admin/templates/application.html.erb
180
237
  - lib/generators/rails_modular_admin/templates/custom-theme.scss
238
+ - lib/generators/rails_modular_admin/templates/dashboard.html.erb
239
+ - lib/generators/rails_modular_admin/templates/devise/confirmations/new.html.erb
240
+ - lib/generators/rails_modular_admin/templates/devise/passwords/edit.html.erb
241
+ - lib/generators/rails_modular_admin/templates/devise/passwords/new.html.erb
242
+ - lib/generators/rails_modular_admin/templates/devise/registrations/edit.html.erb
243
+ - lib/generators/rails_modular_admin/templates/devise/registrations/new.html.erb
244
+ - lib/generators/rails_modular_admin/templates/devise/sessions/new.html.erb
245
+ - lib/generators/rails_modular_admin/templates/devise/shared/_links.html.erb
246
+ - lib/generators/rails_modular_admin/templates/devise/unlocks/new.html.erb
247
+ - lib/generators/rails_modular_admin/templates/login.html.erb
248
+ - lib/generators/rails_modular_admin/templates/recover.html.erb
249
+ - lib/generators/rails_modular_admin/templates/signup.html.erb
250
+ - lib/generators/rails_modular_admin/views_generator.rb
181
251
  - lib/rails_modular_admin.rb
182
252
  - lib/rails_modular_admin/engine.rb
183
253
  - lib/rails_modular_admin/version.rb