-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add error template to access so that we can see the sidebar even if you don't have permissions * identity template cleanup * make the token expiry warning friendlier and style it
- Loading branch information
Showing
8 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.token-expire-warning { | ||
position: absolute; | ||
z-index: 200; | ||
display: flex; | ||
justify-content: center; | ||
box-shadow: $box-shadow-highest; | ||
top: 1rem; | ||
left: 1rem; | ||
right: 1rem; | ||
} | ||
.token-expire-warning .content p { | ||
padding-right: $size-6; | ||
} | ||
.token-expire-warning .message-in-page { | ||
margin: 0; | ||
} | ||
.token-expire-warning .message { | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{{#if (eq model.httpStatus 404)}} | ||
{{not-found model=model}} | ||
{{else}} | ||
<header class="page-header"> | ||
<div class="level"> | ||
<div class="level-left"> | ||
<h1 class="title is-3 has-text-grey"> | ||
{{#if (eq model.httpStatus 403)}} | ||
Not authorized | ||
{{else}} | ||
Error | ||
{{/if}} | ||
</h1> | ||
</div> | ||
</div> | ||
</header> | ||
<div class="box is-sideless has-background-white-bis has-text-grey has-text-centered"> | ||
{{#if model.message}} | ||
<p>{{model.message}}</p> | ||
{{/if}} | ||
{{#each model.errors as |error|}} | ||
<p>{{error}}</p> | ||
{{/each}} | ||
</div> | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters