Issue #160: Provide Async Error Handling

Added Toast notification for unexpected errors
    On 401 and 403 Errors, user is redirected to login
This commit is contained in:
Mario Zupan
2016-12-01 19:28:28 +01:00
parent e5ed24fcf7
commit feb38eef8c
8 changed files with 160 additions and 4 deletions

View File

@ -977,4 +977,23 @@ font-size: 1.3em;
border: 2px solid #a66;
border-radius: 12px;
padding: 7px;
}
/* ERROR NOTIFICATION */
#error-notification-container {
display: none;
position: absolute;
right: 20px;
width: 35%;
}
#error-notification {
text-align: center;
border-radius: 4px;
color: #ffffff;
background-color: #eb6154;
border-color: #eb6154;
font-weight: bold;
font-size: 12px;
padding: 10px;
}