Skip to content

Commit

Permalink
error-container
Browse files Browse the repository at this point in the history
  • Loading branch information
getrebuild committed Nov 7, 2023
1 parent 252016a commit ab60fef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Binary file added src/main/resources/web/assets/img/browser-bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion src/main/resources/web/error/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
max-width: 100%;
}
}
.rb-error .error-container {
background: #fff url(../assets/img/browser-bar.png) 0 0 no-repeat;
max-width: 888px;
margin: 60px auto;
padding: 80px 20px 35px;
border-radius: 6px 6px 0 0;
}
</style>
</head>
<body class="rb-splash-screen">
Expand Down Expand Up @@ -75,7 +82,7 @@
} else if (location.href.indexOf('/f/') > -1 || location.href.indexOf('/s/') > -1) {
$btn.parentNode.removeChild($btn)
}
if (document.getElementsByClassName('err600')) {
if (document.getElementsByClassName('err600').length > 0) {
setTimeout(() => location.reload(), 15000)
}
</script>
Expand Down

0 comments on commit ab60fef

Please sign in to comment.