mirror of
https://dev.s-ul.net/Galexion/MaiMaiDXNet.git
synced 2024-11-30 20:44:28 +01:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
<% var rootPath='../' ; %>
|
|
<%- include(rootPath + 'templates/header.ejs' ); %>
|
|
<div class="wrapper">
|
|
<div class="error">
|
|
<% if(error == "Error: SQLITE_BUSY: database is locked") {
|
|
%>
|
|
<h1 style="word-wrap: break-word; max-width:800px;">It appears that the database is currently unavailable. Please try again later.</h1>
|
|
<p style="word-wrap: break-word; max-width:800px;">If you accidentally disconnect from the server, this error typically resolves itself. However, if you continue to encounter the error, try restarting the server. If you're playing on a Private Server with other users, you should ask a Network Admin to restart it for you.</p>
|
|
<%} else {%>
|
|
|
|
<h1>Fuck. Something Went Wrong or you got 404'd.</h1>
|
|
<%}%>
|
|
<%=error%>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
.error {
|
|
display: inline-block;
|
|
margin: 1em;
|
|
border: 2px dashed red;
|
|
border-radius: 10px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
</style>
|
|
</body>
|
|
|
|
</html> |