Browse Source

add fullscreenMessage error icon

Felix Niklas 9 years ago
parent
commit
703ee373ce

+ 3 - 2
app/assets/javascripts/app/views/generic/error/generic.jst.eco

@@ -1,3 +1,4 @@
-<div class="flex fullscreenMessage">
-  <div class="error icon"></div><h2><%- @T('Status Code') %>: <%= @status %>. <%= @detail %></h2>
+<div class="fullscreenMessage">
+  <svg class="icon icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
+  <h2><%- @T('Status Code') %>: <%= @status %>. <%= @detail %></h2>
 </div>

+ 2 - 1
app/assets/javascripts/app/views/generic/error/not_found.jst.eco

@@ -1,3 +1,4 @@
 <div class="flex fullscreenMessage">
-  <div class="error icon"></div><h2><%- @T('Opps.. I\'m sorry, but I can\'t find this %s.', @objectName ) %></h2>
+  <svg class="icon icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
+  <h2><%- @T('Opps.. I\'m sorry, but I can\'t find this %s.', @objectName ) %></h2>
 </div>

+ 2 - 1
app/assets/javascripts/app/views/generic/error/unauthorized.jst.eco

@@ -1,3 +1,4 @@
 <div class="flex fullscreenMessage">
-  <div class="error icon"></div><h2><%- @T('Opps.. I\'m sorry, but you have insufficient rights to open this %s.', @objectName ) %></h2>
+  <svg class="icon icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
+  <h2><%- @T('Opps.. I\'m sorry, but you have insufficient rights to open this %s.', @objectName ) %></h2>
 </div>

+ 1 - 1
app/assets/javascripts/app/views/layout_ref/error.jst.eco

@@ -1,4 +1,4 @@
-<div class="flex fullscreenMessage">
+<div class="fullscreenMessage">
   <svg class="icon icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
   <h2><%- @T('Status Code') %>: 1234. Check your internet connection...</h2>
 </div>

+ 2 - 1
app/assets/javascripts/app/views/layout_ref/insufficient_rights.jst.eco

@@ -1,3 +1,4 @@
 <div class="flex fullscreenMessage">
-  <div class="error icon"></div><h2>Opps.. I'm sorry, but you have insufficient rights to open this ticket.</h2>
+  <svg class="icon icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
+  <h2>Opps.. I'm sorry, but you have insufficient rights to open this ticket.</h2>
 </div>

File diff suppressed because it is too large
+ 0 - 0
app/assets/stylesheets/svg-dimensions.css


+ 2 - 1
app/assets/stylesheets/zammad.css.scss

@@ -867,9 +867,10 @@ textarea,
   display: flex;
   align-items: center;
   justify-content: center;
+  flex: 1;
 
   .icon {
-    margin: -5px 14px 0 0;
+    margin-right: 14px;
     fill: #F35910;
   }
 

File diff suppressed because it is too large
+ 0 - 0
public/assets/images/icons.svg


Some files were not shown because too many files changed in this diff