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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -10,9 +10,10 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/502error"></script> --> <!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/502error"></script> -->
</head> </head>
<body> <body>
<h5 hidden id='Maintenance' class="center"></h5>
<h1 class="center warning">502 Server Offline</h1> <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> <p class="center warning">It's probably just brief maintenance, try refreshing.</p>
<script src="/footer.js"></script> <script src="/script.js"></script>
</body> </body>
</html> </html>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -52,6 +52,6 @@
<h5 hidden id='Maintenance' class=center></h5> <h5 hidden id='Maintenance' class=center></h5>
<script src="hidden2.js"></script> <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" 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> </body>
</html> </html>

View file

@ -10,14 +10,15 @@
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/modpack"></script> --> <!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/modpack"></script> -->
</head> </head>
<body> <body>
<h5 hidden id='Maintenance' class="center"></h5>
<span class=center> <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.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.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.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.3.zip" class=cyan>V1.0.3</a><br/>
<a href="/raw/modpack-v1.0.4.zip" class=cyan>V1.0.4</a> <a href="/raw/modpack-v1.0.4.zip" class=cyan>V1.0.4</a>
</span=> </span>
<script src="/script.js"></script> <script src="/script.js"></script>
</body> </body>
</html> </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="403error">0</span> error 403s.</h4>
<h4 class="rainbow">This website has had <span id="500error">0</span> error 500s.</h4> <h4 class="rainbow">This website has had <span id="500error">0</span> error 500s.</h4>
</span> </span>
<script src="/footer.js"></script> <script src="/script.js"></script>
</body> </body>
</html> </html>