Add Maintenence banner to many pages, swap many from using footer.js directly to using script.js.

This commit is contained in:
Firepup Sixfifty 2024-05-04 23:28:59 -05:00
parent 3e6a3328d3
commit 2d816d534d
No known key found for this signature in database
GPG key ID: 7C92E2ABBBFAB9BA
20 changed files with 42 additions and 26 deletions

View file

@ -10,6 +10,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/403error"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<h1 class="center warning">403 Forbidden</h1>
<% if (typeof message !== 'undefined') { %>
<h2 class="center warning">Error message:</h2>
@ -17,6 +18,6 @@
<% } else { %>
<p class="center warning">The requested page is forbidden to access on the server.</p>
<% } %>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -10,6 +10,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/404error"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<h1 class="center warning">404 Not Found</h1>
<% if (typeof message !== 'undefined') { %>
<h2 class="center warning">Error message:</h2>
@ -17,6 +18,6 @@
<% } else { %>
<p class="center warning">The requested page was not found on the server.</p>
<% } %>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -8,6 +8,7 @@
<link href="/styles/bounce.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<h1 class="center warning">422 Unprocessable Entity</h1>
<% if (typeof message !== 'undefined') { %>
<h2 class="center warning">Error message:</h2>
@ -15,6 +16,6 @@
<% } else { %>
<p class="center warning">The requested url did not match a valid image request format.</p>
<% } %>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -10,6 +10,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/500error"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<h1 class="center warning">500 Internal Server Error</h1>
<p class="center warning">An error has occurred on the server.</p>
<% if (error) { %>
@ -18,6 +19,6 @@
<h2 class="center warning">Stack trace:</h2>
<pre class="center warning"><%= error.stack %></pre>
<% } %>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>
</html>

View file

@ -10,9 +10,10 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/502error"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<h1 class="center warning">502 Server Offline</h1>
<p class="center warning">Whoops! Looks like the webserver is down.</p>
<p class="center warning">Whoops! Looks like the requested server is down.</p>
<p class="center warning">It's probably just brief maintenance, try refreshing.</p>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>