-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
option to clear the local and session data on fatal
- Loading branch information
Spencer Alger
committed
Sep 25, 2014
1 parent
0259ab8
commit 97c5b75
Showing
4 changed files
with
32 additions
and
14 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
22 changes: 22 additions & 0 deletions
22
src/kibana/components/notify/partials/fatal_splash_screen.html
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,22 @@ | ||
<div id="fatal-splash-screen-header" class="container"> | ||
<center> | ||
<h1>Oops!</h1> | ||
<p> | ||
Looks like something went wrong. Refreshing may do the trick. | ||
</p> | ||
|
||
<p> | ||
<button class="btn btn-success" onclick="window.location.reload();"> | ||
<i class="refresh fa fa-refresh"></i> Reload | ||
</button> | ||
or | ||
<a | ||
onclick="localStorage.clear(); sessionStorage.clear(); window.location.hash = ''; window.location.reload();" | ||
href="#" > | ||
clear your session | ||
</a> | ||
</p> | ||
</center> | ||
<div id="fatal-splash-screen"> | ||
</div> | ||
</div> |
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#fatal-splash-screen { | ||
margin: 15px; | ||
} | ||
|
||
.toaster-container { | ||
visibility: visible; | ||
width: 100%; | ||
|