thecore_ui_rails_admin 2.4.5 → 2.4.9

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: fbeec44a568d1280467c29b7f7aef455539cd54e3ac8c0dd370ef48f15284e57
4
- data.tar.gz: 70cc9008ab5ed9074b6e41c6215a222933a4cf9108812cbe8c8fb44db5ad9d27
3
+ metadata.gz: 14bdb6160aca1882b729575497b0abb493eddc365876cb37349a9ec0b533e34d
4
+ data.tar.gz: 51cd264d6b0e0d02bb7ca4fcc33758cfebdaa22e4ba5222d2ea69feeff3c1ab1
5
5
  SHA512:
6
- metadata.gz: 9c1d7221a47b9b5ab4b40c5c24ca2c18439fefd26c5bfbcf929f72ec70e606f844a2a48603fe3ddcc915a7b3716f06220f15bf73cf5e4bba83a6003e1172e845
7
- data.tar.gz: 103eb13868203ee8afaa40e8960231f08867374058a6fc8ac31a0315a497a184dc440f8a3a3f4048e7bb999a11b5bdf008c685b3ff74818d2a544eb160349cbf
6
+ metadata.gz: 327878bdc3ed67ce9de90f535df968ca0566e0dab938fe39e57f23fd2c39f2bf960dbad099ecc9b2f6f093d7c6f66897b0a9f1b86ff70d1b3f8584e5b20097d3
7
+ data.tar.gz: d94acdfe705cff53ab43b8f85914dcac0156b35e9c6783338bf67e5f5d95c7fca423fb0bd2385aa7f6f44f39d0e047372a7424e634afdc4eb891a73d7375c4c6
@@ -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,3 +1,28 @@
1
1
  //= require selectize
2
2
  //= require thecore_ui_commons/thecore
3
- //= require rails_admin/custom/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,7 +1,138 @@
1
1
  @import 'selectize';
2
2
  @import 'selectize.bootstrap3';
3
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';
9
+
10
+ body.rails_admin .sidebar-nav {
11
+ background-color: $shadows !important;
12
+
13
+ a {
14
+
15
+ color: white !important;
16
+
17
+ i,
18
+ span {
19
+ padding-right: .5em !important;
20
+ color: white !important;
21
+ }
22
+ }
23
+ }
24
+
25
+ body.rails_admin .sidebar-nav>.nav-stacked>li>a {
26
+ padding: 6px 15px 6px 25px !important;
27
+
28
+ &:hover,
29
+ &:focus {
30
+ background-color: $text !important;
31
+ }
32
+ }
33
+
34
+ body {
35
+ background-color: $background !important;
36
+ }
37
+
38
+ .navbar-default {
39
+ background-color: $background !important;
40
+ border-color: $background !important;
41
+
42
+ .navbar-brand {
43
+ color: $primary !important;
44
+ font-weight: bold;
45
+ text-transform: uppercase;
46
+ font-size: 2em;
47
+ }
48
+
49
+ }
50
+
51
+ .content {
52
+ padding-right: 1em;
53
+ padding-left: 1em;
54
+ }
4
55
 
5
56
  .form-control.selectize-control {
6
57
  width: 62%;
7
58
  }
59
+
60
+ #secondary-navigation .navbar-nav li {
61
+ display: none;
62
+
63
+ &:nth-last-of-type(2),
64
+ &:last-of-type {
65
+ display: block !important;
66
+ }
67
+ }
68
+
69
+ #list form .well {
70
+ background-color: transparent;
71
+ border: none;
72
+ -webkit-box-shadow: none;
73
+ box-shadow: none;
74
+ }
75
+
76
+ .row {
77
+ margin-left: 0 !important;
78
+ margin-right: 0.5em !important;
79
+ }
80
+
81
+ .pagination>li>a,
82
+ .pagination>li>span,
83
+ a {
84
+ color: $primary;
85
+ }
86
+
87
+ .pagination>.active>a,
88
+ .pagination>.active>a:hover,
89
+ .pagination>.active>a:focus,
90
+ .pagination>.active>span,
91
+ .pagination>.active>span:hover,
92
+ .pagination>.active>span:focus,
93
+ .btn-primary {
94
+ color: $background;
95
+ background-color: $primary;
96
+ border-color: $primary;
97
+ }
98
+
99
+ .btn-primary:hover {
100
+ background-color: $text;
101
+ border-color: $text;
102
+ }
103
+
104
+ .btn-info {
105
+ color: $background;
106
+ background-color: $shadows;
107
+ border-color: $shadows;
108
+ &:hover {
109
+ background-color: $primary;
110
+ }
111
+ }
112
+
113
+ li a .label-danger {
114
+ background-color: $primary;
115
+ margin-right: 1em;
116
+ }
117
+
118
+ .breadcrumb {
119
+ // margin-top: 1em;
120
+ // margin-bottom: 2.5em;
121
+ background-color: $primary;
122
+ text-transform: uppercase;
123
+ color: $background !important;
124
+ border-radius: 2em;
125
+ }
126
+
127
+ .breadcrumb .active, .breadcrumb .active:before {
128
+ color: $background !important;
129
+ }
130
+
131
+ .breadcrumb .false a, .breadcrumb .false:before {
132
+ color: white !important;
133
+ }
134
+
135
+ #fields_to_export .form-group {
136
+ margin-left: 0;
137
+ margin-right: 0;
138
+ }
@@ -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.5
4
+ version: 2.4.9
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-27 00:00:00.000000000 Z
11
+ date: 2021-09-07 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