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 +4 -4
- data/app/assets/javascripts/rails_admin/custom/thecore-custom-1.js +1 -0
- data/app/assets/javascripts/rails_admin/custom/thecore-custom-2.js +1 -0
- data/app/assets/javascripts/rails_admin/custom/thecore-custom-3.js +1 -0
- data/app/assets/javascripts/rails_admin/custom/thecore-custom-4.js +1 -0
- data/app/assets/javascripts/rails_admin/custom/thecore-custom-5.js +1 -0
- data/app/assets/javascripts/rails_admin/custom/thecore.js +1 -0
- data/app/assets/javascripts/rails_admin/custom/ui.js +8 -1
- data/app/assets/javascripts/rails_admin/{ra.widgets.coffee → ra.widgets.coffee.older} +0 -0
- data/app/assets/stylesheets/rails_admin/custom/theming-custom-1.scss +1 -0
- data/app/assets/stylesheets/rails_admin/custom/theming-custom-2.scss +1 -0
- data/app/assets/stylesheets/rails_admin/custom/theming-custom-3.scss +1 -0
- data/app/assets/stylesheets/rails_admin/custom/theming-custom-4.scss +1 -0
- data/app/assets/stylesheets/rails_admin/custom/theming-custom-5.scss +1 -0
- data/app/assets/stylesheets/rails_admin/custom/theming.scss +7 -1
- data/app/assets/stylesheets/{thecore_ui_rails_admin/colors.scss → rails_admin/custom/variables.scss} +0 -0
- data/app/assets/stylesheets/thecore_ui_rails_admin/thecore.scss +3 -2
- data/app/assets/stylesheets/thecore_ui_rails_admin/togglable-sidebar.scss +11 -11
- data/config/initializers/rails_admin.rb +1 -0
- data/config/initializers/thecore_concern.rb +7 -7
- metadata +15 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ef4b54f86853afd25dc7c934a183c5db1c6c9e86eee1189057ae5304a0c7c7c
|
4
|
+
data.tar.gz: 2382624cc4b86a900d4ea8818bd11b8f40106cda2b71fc6363697c0825c5747b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
File without changes
|
@@ -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
|
+
}
|
data/app/assets/stylesheets/{thecore_ui_rails_admin/colors.scss → rails_admin/custom/variables.scss}
RENAMED
File without changes
|
@@ -16,8 +16,9 @@
|
|
16
16
|
*= require rails_admin_selectize/index
|
17
17
|
*= require_self
|
18
18
|
*/
|
19
|
-
@import '
|
20
|
-
@import '
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
-
|
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.
|
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-
|
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
|