softwear-lib 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/softwear.css +12 -1
- data/app/controllers/softwear/error_reports_controller.rb +1 -1
- data/app/helpers/softwear/application_helper.rb +9 -0
- data/app/views/softwear/errors/internal_server_error.html.erb +1 -1
- data/lib/softwear/auth/emails_helper.rb +0 -1
- data/lib/softwear/library/version.rb +1 -1
- data/vendor/assets/stylesheets/animate/animate.css +2752 -0
- data/vendor/assets/stylesheets/lanceng/style.css.scss +2733 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbf95365428efabffabd7bf0a1f74991c0f15bfe
|
4
|
+
data.tar.gz: 53b59c528071a2565141d1faaa3863904dee0c82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35f53b0606efc3536b4669da91221e6826988bb84a66ab4931e6c7ae9977070f1963858c5336655c8ff3096e57979f1458e157d91daa7faf326bcb1bc402ae3b
|
7
|
+
data.tar.gz: 9c8a286ad8f0c0e5c4455cad696e5245f304a92cbbb101765d50d1c77607f37751b836ba5e90378b6da633b89fc7011b1db88235ca2207d9fc2d9243f50d1546
|
@@ -1,4 +1,15 @@
|
|
1
|
-
.box-info{
|
1
|
+
.box-info-error-grey{
|
2
|
+
position:relative;
|
3
|
+
padding: 15px;
|
4
|
+
background: #D3D3D3;
|
5
|
+
color: #5b5b5b;
|
6
|
+
margin-bottom: 20px;
|
7
|
+
-webkit-transition:All 0.4s ease;
|
8
|
+
-moz-transition:All 0.4s ease;
|
9
|
+
-o-transition:All 0.4s ease;
|
10
|
+
}
|
11
|
+
|
12
|
+
.box-info-error-white{
|
2
13
|
position:relative;
|
3
14
|
padding: 15px;
|
4
15
|
background: #fff;
|
@@ -1,4 +1,13 @@
|
|
1
1
|
module Softwear
|
2
2
|
module ApplicationHelper
|
3
|
+
def grey_or_white_box_info
|
4
|
+
case Rails.application.class.parent.to_s
|
5
|
+
when "CrmSoftwearcrmCom" then return "box-info-error-white"
|
6
|
+
else
|
7
|
+
return "box-info-error-grey"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
extend self
|
3
12
|
end
|
4
13
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div class="full-content-center animated fadeInDownBig">
|
2
|
-
<div class
|
2
|
+
<div class=<%= Softwear::ApplicationHelper.grey_or_white_box_info %>>
|
3
3
|
<h2 class='text-center'>You have encountered an error!</h2>
|
4
4
|
<%= render 'softwear/errors/error', error: @error, additional_info: @additional_info %>
|
5
5
|
</div>
|