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
Signed by: Firepup650
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/abtbrow"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class=center>
<h1 class="rainbow block">About Your Browser</h1>
<p class="rainbow block">User Agent: <%= userAgent %></p>
@ -22,6 +23,6 @@
<p class="rainbow block">Device Vendor: <%= deviceVendor %></p>
<p class="rainbow block">Cookies Enabled: <%= cookiesEnabled %></p>
</span>
<script src="footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -11,10 +11,11 @@
</head>
<body>
<% if (!raw) { %>
<h5 hidden id='Maintenance' class="center"></h5>
<p class=force-color><%- fileData %></p>
<script src="/script.js"></script>
<% } else { %>
<p class="force-color left"><%- fileData %></p>
<% } %>
</body>
</html>
</html>

View file

@ -9,6 +9,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/abtserv"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class=center>
<h3 class=rainbow>Server Info:</h3>
<p class=rainbow>Author: <%= author %></p>
@ -16,6 +17,6 @@
<p class=rainbow>Node Uptime: <%= uptime %></p>
<p class=rainbow>Total Pages: <%= images %></p>
</span>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -9,6 +9,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/YCSP"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class=center>
<h3 class=rainbow>Youngchief's Spotify History:</h3>
<% if (typeof err == 'undefined') { %>
@ -22,6 +23,6 @@
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
</span>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -9,6 +9,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/YCSP"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class=center>
<h3 class=rainbow>Youngchief's Spotify Queue:</h3>
<% if (typeof err == 'undefined') { %>
@ -22,6 +23,6 @@
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
</span>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -9,6 +9,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/YCSP"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class=center>
<h3 class=rainbow>Youngchief's Spotify:</h3>
<% if (typeof err == 'undefined') { %>
@ -27,6 +28,6 @@
<p class=rainbow>Cover Art:</p>
<img src="<%= cal %>" class="no-bounce">
</span>
<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/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>

View file

@ -51,6 +51,6 @@
move();
</script>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>
</html>

View file

@ -10,6 +10,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/construction"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class="center force-color">
<h5>Code of Hexics</h5>
<p>1. All hail jinn6</p>

View file

@ -10,7 +10,10 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/construction"></script> -->
</head>
<body>
<h3 id='Construction' class=center><span class="warning">Page under construction.</span></h3>
<h5 hidden id='Maintenance' class="center"></h5>
<span class="center force-color">
<h3 id='Construction' class=center><span class="warning">Page under construction.</span></h3>
</span>
<script src="/script.js"></script>
</body>
</html>
</html>

View file

@ -87,6 +87,6 @@
}
move();
</script>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>

View file

@ -10,7 +10,7 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/construction"></script> -->
</head>
<body>
<h5 hidden="" id="Maintenance" class="center"></h5>
<h5 hidden id='Maintenance' class="center"></h5>
<span class="center">
<h5 id='Construction' class="force-color">Error Debugging</h5>
<a href="/cause-error-500" class="cyan">Error 500</a>

View file

@ -12,6 +12,6 @@
<body>
<h5 hidden id='Maintenance' class=center></h5>
<h4 class="center rainbow">You shouldn't be here.</h4>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>
</html>

View file

@ -52,6 +52,6 @@
<h5 hidden id='Maintenance' class=center></h5>
<script src="hidden2.js"></script>
<span class="center rainbow" id='shh'>There should be stuff here in a second. If there's not, then reload. (Or, you know, you have javascript turned off.)</span>
<span class="center rainbow">Note: if you can't see anything after the page loads, it might be that you have "auto-dark" extension on, or you're using some builtin browser feature that darkens webpages, and decided to invert the images. If that is the case, sorry! Can't fix that and have the page not be blinding. -\(-_-)/-</span>
<span class="center rainbow">Note: if you can't see anything after the page loads, it might be that you have some "auto-dark" extension on, or you're using some builtin browser feature that darkens webpages, and decided to invert the images. If that is the case, sorry! Can't fix that and have the page not be blinding. ¯\_(ツ)_/¯</span>
</body>
</html>
</html>

View file

@ -10,14 +10,15 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/modpack"></script> -->
</head>
<body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class=center>
<h3 id='Construction' class=force-color>Modpack downloads</h3>
<h3 class=force-color>Modpack downloads</h3>
<a href="/raw/modpack-v1.0.0.zip" class=cyan>V1.0.0</a><br/>
<a href="/raw/modpack-v1.0.1.zip" class=cyan>V1.0.1</a><br/>
<a href="/raw/modpack-v1.0.2.zip" class=cyan>V1.0.2</a><br/>
<a href="/raw/modpack-v1.0.3.zip" class=cyan>V1.0.3</a><br/>
<a href="/raw/modpack-v1.0.4.zip" class=cyan>V1.0.4</a>
</span=>
</span>
<script src="/script.js"></script>
</body>
</html>

View file

@ -68,6 +68,6 @@
<h4 class="rainbow">This website has had <span id="403error">0</span> error 403s.</h4>
<h4 class="rainbow">This website has had <span id="500error">0</span> error 500s.</h4>
</span>
<script src="/footer.js"></script>
<script src="/script.js"></script>
</body>
</html>