fix task error icon
This commit is contained in:
parent
d4155a9771
commit
a86dd6ddf1
5 changed files with 13 additions and 6 deletions
|
@ -168,15 +168,15 @@ class App.TicketZoom extends App.Controller
|
||||||
# show error message
|
# show error message
|
||||||
if status is 401 || statusText is 'Unauthorized'
|
if status is 401 || statusText is 'Unauthorized'
|
||||||
@taskHead = '» ' + App.i18n.translateInline('Unauthorized') + ' «'
|
@taskHead = '» ' + App.i18n.translateInline('Unauthorized') + ' «'
|
||||||
@taskIconClass = 'error'
|
@taskIconClass = 'diagonal-cross'
|
||||||
@html App.view('generic/error/unauthorized')( objectName: 'Ticket' )
|
@html App.view('generic/error/unauthorized')( objectName: 'Ticket' )
|
||||||
else if status is 404 || statusText is 'Not Found'
|
else if status is 404 || statusText is 'Not Found'
|
||||||
@taskHead = '» ' + App.i18n.translateInline('Not Found') + ' «'
|
@taskHead = '» ' + App.i18n.translateInline('Not Found') + ' «'
|
||||||
@taskIconClass = 'error'
|
@taskIconClass = 'diagonal-cross'
|
||||||
@html App.view('generic/error/not_found')( objectName: 'Ticket' )
|
@html App.view('generic/error/not_found')( objectName: 'Ticket' )
|
||||||
else
|
else
|
||||||
@taskHead = '» ' + App.i18n.translateInline('Error') + ' «'
|
@taskHead = '» ' + App.i18n.translateInline('Error') + ' «'
|
||||||
@taskIconClass = 'error'
|
@taskIconClass = 'diagonal-cross'
|
||||||
|
|
||||||
if !detail
|
if !detail
|
||||||
detail = 'General communication error, maybe internet is not available!'
|
detail = 'General communication error, maybe internet is not available!'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="fullscreenMessage">
|
<div class="fullscreenMessage">
|
||||||
<svg class="icon icon-error"><use xlink:href="#icon-diagonal-cross" /></svg>
|
<svg class="icon-error icon-diagonal-cross"><use xlink:href="#icon-diagonal-cross" /></svg>
|
||||||
<h2><%- @T('Status Code') %>: <%= @status %>. <%= @detail %></h2>
|
<h2><%- @T('Status Code') %>: <%= @status %>. <%= @detail %></h2>
|
||||||
</div>
|
</div>
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="flex fullscreenMessage">
|
<div class="flex fullscreenMessage">
|
||||||
<svg class="icon icon-error"><use xlink:href="#icon-diagonal-cross" /></svg>
|
<svg class="icon-error 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>
|
<h2><%- @T('Opps.. I\'m sorry, but I can\'t find this %s.', @objectName ) %></h2>
|
||||||
</div>
|
</div>
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="flex fullscreenMessage">
|
<div class="flex fullscreenMessage">
|
||||||
<svg class="icon icon-error"><use xlink:href="#icon-diagonal-cross" /></svg>
|
<svg class="icon-error 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>
|
<h2><%- @T('Opps.. I\'m sorry, but you have insufficient rights to open this %s.', @objectName ) %></h2>
|
||||||
</div>
|
</div>
|
|
@ -1808,6 +1808,7 @@ footer {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-tab-icon .icon {
|
.nav-tab-icon .icon {
|
||||||
|
@ -1816,6 +1817,12 @@ footer {
|
||||||
fill: #808080;
|
fill: #808080;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-tab-icon .icon-diagonal-cross {
|
||||||
|
fill: #F35910;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-tab-icon .modified-inner-circle {
|
.nav-tab-icon .modified-inner-circle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
Loading…
Reference in a new issue