thecore_ui_rails_admin 2.4.4 → 2.4.8

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: 5e2ea2b4ecdff581783f0361437eedd3e52f12f57e3278bc2d4b9d2196a61c96
4
- data.tar.gz: 667b44bf2c4a71709daff4c08861f4480d77241a2739c80c39f8a12b9375e5d8
3
+ metadata.gz: 8c297f81a85b647ff5bc8369ac1522bcc9be787234b5cc2b6f391e73b62b653c
4
+ data.tar.gz: 0cde220b727ad5cb1e864d44ac5879fc16dfc0c28747c75d6421dcdb30eca823
5
5
  SHA512:
6
- metadata.gz: '034695022cad9c9b02a218ce458fcdb31417aa61a405dbcf5c0f66b4654af0b63a0e7e4aaab95a1a1e2cd1020d46504a9c35ae23bffbb87b94e0f4dd7681918b'
7
- data.tar.gz: 983984c18588850501e2c748a3a928965c59284e6c88c6d49dea9cef29c5a387eec5ddd525640d8666f9de96346d72193f43595878260592ab5b63054f3fff6a
6
+ metadata.gz: 00bd988974a0fd7d57fb48d3a5551cfbeac4cff7a9d610cc826fe1f22aa7a02180410e66181300b0f9b19047ae6cf19e83cd68dded005ce824055cebaf7ac6ca
7
+ data.tar.gz: c05c76654872aa77c1bc237c56d761d243ce5fb67746ea56c8d00d625eaf95b367889568ce848a6e124796fbd8205ee9a733c12786120457f85db02989475b05
@@ -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,2 +1,28 @@
1
1
  //= require selectize
2
- //= require rails_admin/custom/thecore
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
9
+
10
+ function hideBreadCrumbAndToolbar() {
11
+ // If the page loaded has a tag like <span class="hide-breadcrumb hide-toolbar"></span>
12
+ // then hide the elements
13
+
14
+ // var actionName = "#{action_name}"
15
+ // var isRoot = "#{RailsAdmin::Config::Actions.find(action_name.to_sym).root?}"
16
+
17
+ // console.log(actionName, isRoot)
18
+
19
+ if($(".hide-breadcrumb").length) $(".breadcrumb").hide()
20
+ else $(".breadcrumb").show()
21
+
22
+ if($(".hide-toolbar").length) $(".breadcrumb + .nav.nav-tabs").hide()
23
+ else $(".breadcrumb + .nav.nav-tabs").show()
24
+ }
25
+
26
+ // Re evaluate at each iteraction
27
+ $(document).off('ready pjax:success', hideBreadCrumbAndToolbar);
28
+ $(document).on('ready pjax:success', hideBreadCrumbAndToolbar);
@@ -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,26 @@
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
  }
13
+
14
+ #secondary-navigation .navbar-nav li {
15
+ display: none;
16
+ &:nth-last-of-type(2), &:last-of-type {
17
+ display: block !important;
18
+ }
19
+ }
20
+
21
+ #list form .well {
22
+ background-color: transparent;
23
+ border: none;
24
+ -webkit-box-shadow: none;
25
+ box-shadow: none;
26
+ }
@@ -69,7 +69,9 @@ RailsAdmin.config do |config|
69
69
 
70
70
  config.actions do
71
71
  # show_in_app
72
- dashboard # mandatory
72
+ dashboard do
73
+ show_in_sidebar true
74
+ end# mandatory
73
75
  index # mandatory
74
76
  new
75
77
  export
@@ -15,6 +15,6 @@ it:
15
15
  add_filter: ⋔
16
16
  add_new: ⋔
17
17
  refresh: Apply Filters
18
- bulk_menu_title: ☰✔
18
+ bulk_menu_title:
19
19
  select:
20
- toggle:
20
+ toggle:
@@ -10,6 +10,8 @@ it:
10
10
  question: Domanda
11
11
  root_actions: "Operazioni"
12
12
  admin:
13
+ misc:
14
+ root_navigation: Azioni
13
15
  flash:
14
16
  error: "Impossibile eseguire l'azione %{action} (%{name})"
15
17
  model_not_found: Impossibile trovare il modello '%{model}'
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
4
+ version: 2.4.8
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-26 00:00:00.000000000 Z
11
+ date: 2021-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_commons
@@ -134,10 +134,20 @@ 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
137
142
  - app/assets/javascripts/rails_admin/custom/thecore.js
138
143
  - app/assets/javascripts/rails_admin/custom/ui.js
139
- - app/assets/javascripts/rails_admin/ra.widgets.coffee
144
+ - app/assets/javascripts/rails_admin/ra.widgets.coffee.older
140
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
141
151
  - app/assets/stylesheets/rails_admin/custom/theming.scss
142
152
  - app/assets/stylesheets/rails_admin/custom/variables.scss
143
153
  - app/assets/stylesheets/thecore_ui_rails_admin/animate.css