thecore_ui_rails_admin 3.0.15 → 3.0.16

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: d48c04b42300e653636097808d6a3d4721480015ebaea0292a82f39af1d6d8ed
4
- data.tar.gz: 0a0f496e99f43270f600b47534dd4e412048988a747f91a9a98b7174e6906a66
3
+ metadata.gz: 076d9b03596e0d703df184be8980fe202fbfb627e15361d6cd5ce56174365bdf
4
+ data.tar.gz: 55ac3031b57ef446ddfc430a846350a41101f97fee1cd3a26a56dfbcc0ad0e6e
5
5
  SHA512:
6
- metadata.gz: 0e9eaeabe87645879913b323513fba2f5e99df09fb4c6419131d9ea3599d559fb019ad3e52a3030be80e1dddf6f1e751816896e2d6c3e80359c01d529f605c03
7
- data.tar.gz: 066cc9590e129784e1fc93d6d4fb0bd24ed1e33f303323927ceb614bb7b69468bc0be310270af24b80de8dfd1e2655861ac5c1b46eb97dac8ba5c22442e28257
6
+ metadata.gz: 1b8e8c94db0459f7c276ed713f67a673ce69cf49bb8746f42efd1731404421202dc179113d2e657355f451003449f1a356621959b64651698c89e45c468ee86f
7
+ data.tar.gz: cbd6d28b4ddfac6da452a03735929d67cb9f0e458bd8f4f73b8986e37fc9811e299abff9826adcad80c93da9ae98fd1a47e3a8db530b5e3b70524b06d6109580
@@ -26,6 +26,10 @@ $(document).on('turbo:load', function (event) {
26
26
  console.log(` - ${k}: ${v}`);
27
27
  })
28
28
  console.log(" - Hash:", currentURL.hash);
29
+
30
+ // Add the customer_logo before the Title
31
+ const customer_logo_path = "<%= asset_path('customer_logo.png') %>";
32
+ $(".navbar-brand").prepend(`<img class="navbar-brand-logo" alt="Customer Logo" src="${customer_logo_path}"/>`);
29
33
  });
30
34
 
31
35
  const sidepanel = "body > div.container-fluid > div > div.col-sm-3.col-md-2.flex-wrap.p-0"
@@ -68,4 +68,8 @@ body > div.container-fluid > div > div.col-sm-9.col-sm-offset-3.col-md-10.col-md
68
68
  transition: all 1s ease-in-out;
69
69
  }
70
70
 
71
+ .navbar-brand-logo {
72
+ height: 1.7em;
73
+ }
74
+
71
75
  @import 'rails_admin/custom/thecore/theming';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.15
4
+ version: 3.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
@@ -65,7 +65,7 @@ files:
65
65
  - app/assets/config/thecore_ui_rails_admin_manifest.js
66
66
  - app/assets/javascripts/devise/sessions.js
67
67
  - app/assets/javascripts/rails_admin/custom/thecore/ui.js
68
- - app/assets/javascripts/rails_admin/custom/ui.js
68
+ - app/assets/javascripts/rails_admin/custom/ui.js.erb
69
69
  - app/assets/javascripts/selectize.min.js
70
70
  - app/assets/stylesheets/devise/custom/sessions.scss
71
71
  - app/assets/stylesheets/devise/custom/thecore/sessions.scss