thecore_ui_rails_admin 2.4.3 → 2.4.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f742f063e5493a754e1ed5986469072828eab6b56e4010f47a590b14e53788ea
4
- data.tar.gz: d294bf1efcc345e73c919d77e2f41683f5b84740516d216e50f04e544a2d5258
3
+ metadata.gz: 3ef4b54f86853afd25dc7c934a183c5db1c6c9e86eee1189057ae5304a0c7c7c
4
+ data.tar.gz: 2382624cc4b86a900d4ea8818bd11b8f40106cda2b71fc6363697c0825c5747b
5
5
  SHA512:
6
- metadata.gz: 5b2fe54852594f3896777869d9cd17df703b82d143c3f0351f72a67e2848fe6aff35c4156c3c09d1576e91bbe341ad72c3c3e2b1565138db090eda7aab0044b3
7
- data.tar.gz: f185205ca2a05e139d8e5b8d4ccb0f22361ac2feb22f4f02000c54bb3b2be57c54cb3034e45da2511e31ac1571602df843c7c0ad0e5ed92a2ade43b1d421eee7
6
+ metadata.gz: 026b7a5c4b279be06048812e3df24044fce75633b7a27b4c0f67afa593936b9351f5d7c0a533488503f1e5920ee52021b68291edca7f339d546d68c7ba426418
7
+ data.tar.gz: 1f8a44bb36e3db87aefe095acb99b9379b292908fef5e831d5a4d0e649bb1ddcd1756f827a5e11ab8c7636b19830cfe67c873beb7a3a43f676e4843d8b5fedd8
@@ -0,0 +1 @@
1
+ /* Please Override in your application or in a wrapper gem */
@@ -0,0 +1 @@
1
+ /* Please Override in your application or in a wrapper gem */
@@ -0,0 +1 @@
1
+ /* Please Override in your application or in a wrapper gem */
@@ -0,0 +1 @@
1
+ /* Please Override in your application or in a wrapper gem */
@@ -0,0 +1 @@
1
+ /* Please Override in your application or in a wrapper gem */
@@ -0,0 +1 @@
1
+ /* Please Override in your application or in a wrapper gem */
@@ -1 +1,8 @@
1
- //= require selectize
1
+ //= require selectize
2
+ //= require thecore_ui_commons/thecore
3
+ //= require rails_admin/custom/thecore
4
+ //= require rails_admin/custom/thecore-custom-1
5
+ //= require rails_admin/custom/thecore-custom-2
6
+ //= require rails_admin/custom/thecore-custom-3
7
+ //= require rails_admin/custom/thecore-custom-4
8
+ //= require rails_admin/custom/thecore-custom-5
@@ -0,0 +1 @@
1
+ // Please override in your application or wrapper engine
@@ -0,0 +1 @@
1
+ // Please override in your application or wrapper engine
@@ -0,0 +1 @@
1
+ // Please override in your application or wrapper engine
@@ -0,0 +1 @@
1
+ // Please override in your application or wrapper engine
@@ -0,0 +1 @@
1
+ // Please override in your application or wrapper engine
@@ -1,6 +1,12 @@
1
1
  @import 'selectize';
2
2
  @import 'selectize.bootstrap3';
3
+ @import 'thecore_ui_commons/thecore';
4
+ @import 'rails_admin/custom/theming-custom-1';
5
+ @import 'rails_admin/custom/theming-custom-2';
6
+ @import 'rails_admin/custom/theming-custom-3';
7
+ @import 'rails_admin/custom/theming-custom-4';
8
+ @import 'rails_admin/custom/theming-custom-5';
3
9
 
4
10
  .form-control.selectize-control {
5
11
  width: 62%;
6
- }
12
+ }
@@ -16,8 +16,9 @@
16
16
  *= require rails_admin_selectize/index
17
17
  *= require_self
18
18
  */
19
- @import 'overrides';
20
- @import 'colors';
19
+ @import 'rails_admin/custom/variables';
20
+ @import 'rails_admin/custom/theming';
21
+ @import 'rails_admin/custom/mixins';
21
22
  @import "jquery-ui";
22
23
  @import "jquery-ui/dialog";
23
24
  @import 'bootstrap-sprockets';
@@ -41,14 +41,14 @@
41
41
  }
42
42
  /* Sidebar Styles */
43
43
 
44
- .sidebar-nav {
45
- position: absolute;
46
- top: 0;
47
- width: 250px;
48
- margin: 0;
49
- padding: 0;
50
- list-style: none;
51
- }
44
+ // .sidebar-nav {
45
+ // position: absolute;
46
+ // top: 0;
47
+ // width: 250px;
48
+ // margin: 0;
49
+ // padding: 0;
50
+ // list-style: none;
51
+ // }
52
52
  .sidebar-nav li {
53
53
  text-indent: 20px;
54
54
  line-height: 40px;
@@ -80,9 +80,9 @@
80
80
  background: none;
81
81
  }
82
82
 
83
- body.rails_admin .sidebar-nav {
84
- top: 0px;
85
- }
83
+ // body.rails_admin .sidebar-nav {
84
+ // top: 0px;
85
+ // }
86
86
 
87
87
  .sub-menu a {
88
88
  padding-left: 20px;
@@ -2,6 +2,7 @@ require 'rails_admin'
2
2
  require 'nested_form/builder_mixin'
3
3
 
4
4
  RailsAdmin.config do |config|
5
+ config.main_app_name = Proc.new { |controller| [ ((ENV["APP_NAME"].presence || Settings.app_name.presence) rescue "Thecore"), "" ] }
5
6
  # Link for background Job
6
7
  (config.navigation_static_links ||= {}).merge! "Background Monitor" => "#{ENV['RAILS_RELATIVE_URL_ROOT']}/app/sidekiq"
7
8
 
@@ -33,16 +33,16 @@ module ThecoreConcern
33
33
  action = root_actions.collect(&:action_name).first
34
34
  # REDIRECT TO THAT ACTION
35
35
 
36
- Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path"
36
+ # Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path"
37
37
  stored_location = stored_location_for(resource)
38
38
  if !stored_location.blank? && can?(resource, :all)
39
- Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path: I'm in the IF stored_location_for(resource): #{stored_location}"
39
+ # Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path: I'm in the IF stored_location_for(resource): #{stored_location}"
40
40
  return stored_location
41
41
  elsif action
42
- Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path: I'm in the ELSIF with action name: #{action}"
42
+ # Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path: I'm in the ELSIF with action name: #{action}"
43
43
  return rails_admin.send("#{action}_path").sub("#{ENV['RAILS_RELATIVE_URL_ROOT']}#{ENV['RAILS_RELATIVE_URL_ROOT']}", "#{ENV['RAILS_RELATIVE_URL_ROOT']}")
44
44
  else
45
- Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path: I'm in the ELSE with root_path: #{root_path}"
45
+ # Rails.logger.info "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Checking redirect path: I'm in the ELSE with root_path: #{root_path}"
46
46
  sign_out current_user
47
47
  user_session = nil
48
48
  current_user = nil
@@ -105,9 +105,9 @@ module ThecoreConcern
105
105
 
106
106
  # Auto-sign out locked users
107
107
  def reject_locked!
108
- Rails.logger.info "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB reject_locked"
108
+ # Rails.logger.info "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB reject_locked"
109
109
  if !current_user.blank? && current_user.locked?
110
- Rails.logger.info "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB is locked"
110
+ # Rails.logger.info "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB is locked"
111
111
  sign_out current_user
112
112
  user_session = nil
113
113
  current_user = nil
@@ -115,7 +115,7 @@ module ThecoreConcern
115
115
  flash[:notice] = nil
116
116
  redirect_to root_url
117
117
  end
118
- Rails.logger.info "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB is not locked = ok"
118
+ # Rails.logger.info "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB is not locked = ok"
119
119
  end
120
120
 
121
121
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-25 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_commons
@@ -134,13 +134,24 @@ files:
134
134
  - README.md
135
135
  - Rakefile
136
136
  - app/assets/config/thecore_ui_rails_admin_manifest.js
137
+ - app/assets/javascripts/rails_admin/custom/thecore-custom-1.js
138
+ - app/assets/javascripts/rails_admin/custom/thecore-custom-2.js
139
+ - app/assets/javascripts/rails_admin/custom/thecore-custom-3.js
140
+ - app/assets/javascripts/rails_admin/custom/thecore-custom-4.js
141
+ - app/assets/javascripts/rails_admin/custom/thecore-custom-5.js
142
+ - app/assets/javascripts/rails_admin/custom/thecore.js
137
143
  - app/assets/javascripts/rails_admin/custom/ui.js
138
- - app/assets/javascripts/rails_admin/ra.widgets.coffee
144
+ - app/assets/javascripts/rails_admin/ra.widgets.coffee.older
139
145
  - app/assets/javascripts/thecore_ui_rails_admin/thecore_rails_admin.js
146
+ - app/assets/stylesheets/rails_admin/custom/theming-custom-1.scss
147
+ - app/assets/stylesheets/rails_admin/custom/theming-custom-2.scss
148
+ - app/assets/stylesheets/rails_admin/custom/theming-custom-3.scss
149
+ - app/assets/stylesheets/rails_admin/custom/theming-custom-4.scss
150
+ - app/assets/stylesheets/rails_admin/custom/theming-custom-5.scss
140
151
  - app/assets/stylesheets/rails_admin/custom/theming.scss
152
+ - app/assets/stylesheets/rails_admin/custom/variables.scss
141
153
  - app/assets/stylesheets/thecore_ui_rails_admin/animate.css
142
154
  - app/assets/stylesheets/thecore_ui_rails_admin/apexcharts.scss
143
- - app/assets/stylesheets/thecore_ui_rails_admin/colors.scss
144
155
  - app/assets/stylesheets/thecore_ui_rails_admin/common.scss
145
156
  - app/assets/stylesheets/thecore_ui_rails_admin/devise.scss
146
157
  - app/assets/stylesheets/thecore_ui_rails_admin/flashing.scss