thecore_ui_rails_admin 3.0.4 → 3.0.6

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: 5afa284d409ab8a16158a674bcf1e19f8bdeb7614be8d3cbfbe46a3ea11a08c8
4
- data.tar.gz: 3abfe6e38a0f83ab08609e2fbc49213d34eafc1be06677f029218f0f72311f30
3
+ metadata.gz: 953f3462757f91a3434f925f7d49f39b222a3121ec19023cf820d4e7de446834
4
+ data.tar.gz: f889522a830f2a8ef4b1a546c7b7b1bbc734e1480acbd1744240c3d979686220
5
5
  SHA512:
6
- metadata.gz: f6f5064b30e77e6174fd6f486d9e5ee2b2ba3a6e8f91f3f414e71105644f4d1075ac250536eb047613795eaac37f41fb5dd5e65467447a60aff12743456e1073
7
- data.tar.gz: a2e3ad11b532cc53693317da5c625078829fa71ceec7edb48584ef739c8f263fecc568b5b111ff31c6f3ae4e01603309788b4089cc2ba591b0be4c57b3d1db15
6
+ metadata.gz: e49d5bf6d19e4a6031602cf33f03f51eb8ada43b53861383a8d05bc82ba54232e4663d73a5c51460c5e44821ce62c94f90e38891166b80c96c253bd830cf04ec
7
+ data.tar.gz: 5ac31d81add4e6dc88175b725ea15c5b110e4f1693aded0790df0024b5f2a4ed18f474ec3faabdc7b3b0f8cf9c3c428be8ba817805ade646be57b1854e8390de
@@ -1,23 +1 @@
1
- // Override this file in your Thcore based application to add specific styles
2
- .alert {
3
- position: absolute;
4
- bottom: 1em !important;
5
- top: auto !important;
6
- right: 2.5em !important;
7
- width: auto !important;
8
- z-index: 9999 !important;
9
- border-radius: 2em !important;
10
- animation: hideMe 5s 1;
11
- animation-fill-mode: forwards;
12
- animation-delay: 2s;
13
- }
14
-
15
- @keyframes hideMe {
16
- 0% {
17
- opacity: 1;
18
- }
19
-
20
- 100% {
21
- opacity: 0;
22
- }
23
- }
1
+ // Override this file in your Thcore based application to add specific styles
@@ -14,4 +14,27 @@
14
14
 
15
15
  /* Thecore Theming */
16
16
 
17
+ .alert {
18
+ position: absolute;
19
+ bottom: 1em !important;
20
+ top: auto !important;
21
+ right: 2.5em !important;
22
+ width: auto !important;
23
+ z-index: 9999 !important;
24
+ border-radius: 2em !important;
25
+ animation: hideMe 5s 1;
26
+ animation-fill-mode: forwards;
27
+ animation-delay: 2s;
28
+ }
29
+
30
+ @keyframes hideMe {
31
+ 0% {
32
+ opacity: 1;
33
+ }
34
+
35
+ 100% {
36
+ opacity: 0;
37
+ }
38
+ }
39
+
17
40
  @import 'thecore/theming';
@@ -7,6 +7,7 @@ module ThecoreUiRailsAdminConcern
7
7
  # Prevent CSRF attacks by raising an exception.
8
8
  # For APIs, you may want to use :null_session instead.
9
9
  # layout 'thecore'
10
+ puts "Protecting from Forgery with exception and prepend"
10
11
  protect_from_forgery with: :exception, prepend: true
11
12
  rescue_from CanCan::AccessDenied do |exception|
12
13
  redirect_to main_app.root_url, alert: exception.message
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: 3.0.4
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_commons