mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 03:13:09 +02:00
[Client] Improve error screen rendering
This commit is contained in:
parent
fe808b5609
commit
72b7c84139
2 changed files with 1 additions and 7 deletions
|
@ -30,14 +30,7 @@ html
|
|||
cursor progress !important
|
||||
|
||||
#error
|
||||
position fixed
|
||||
z-index 32768
|
||||
top 0
|
||||
left 0
|
||||
width 100%
|
||||
height 100%
|
||||
padding 32px
|
||||
background #1269e2
|
||||
color #fff
|
||||
|
||||
hr
|
||||
|
|
|
@ -175,6 +175,7 @@ function panic(e) {
|
|||
console.error(e);
|
||||
|
||||
// Display blue screen
|
||||
document.documentElement.style.background = '#1269e2';
|
||||
document.body.innerHTML =
|
||||
'<div id="error">'
|
||||
+ '<h1>:( 致命的な問題が発生しました。</h1>'
|
||||
|
|
Loading…
Reference in a new issue