Update HTTP status pages

This commit is contained in:
askiiart 2023-11-20 10:57:02 -06:00
parent b6e41a4f38
commit 6d36a345a2
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
23 changed files with 143 additions and 142 deletions

5
add-better-http-status-codes.sh Normal file → Executable file
View file

@ -1,8 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
rm -rf error/
git clone https://git.askiiart.net/askiiart/http-status-codes.git git clone https://git.askiiart.net/askiiart/http-status-codes.git
cp -r http-status-codes/pages/ . cp -r http-status-codes/pages/ .
mv pages/ error/ mv pages/ error/
cp http-status-codes/you.gif assets/ cp http-status-codes/you.gif assets/
cp http-status-codes/boykisser.jpg assets/ cp http-status-codes/boykisser.png assets/
rm -rf http-status-codes/ rm -rf http-status-codes/
find error/ -type f | xargs sed -i 's/img src=\\//img src=\https:\/\/askiiart.net\/error\//g' find error/ -type f | xargs sed -i 's/img src=\//img src=\/assets\//g'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

BIN
assets/boykisser.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>202 You In My Heart</title></head> <head><title>202 You In My Heart</title></head>
<body> <body>
<center><h1>202 You In My Heart</h1></center> <center><h1>202 You In My Heart</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>204 Head Empty No Thoughts</title></head> <head><title>204 Head Empty No Thoughts</title></head>
<body> <body>
<center><h1>204 Head Empty No Thoughts</h1></center> <center><h1>204 Head Empty No Thoughts</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>300 Poll</title></head> <head><title>300 Poll</title></head>
<body> <body>
<center><h1>300 Poll</h1><br>57% Yes, 43% No<br>(300 Multiple Choices is the actual error code? Geddit?)</center> <center><h1>300 Poll</h1><br>57% Yes, 43% No<br>(300 Multiple Choices is the actual error code? Geddit?)</center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>301 Your Princess Is In Another Castle</title></head> <head><title>301 Your Princess Is In Another Castle</title></head>
<body> <body>
<center><h1>301 Your Princess Is In Another Castle</h1></center> <center><h1>301 Your Princess Is In Another Castle</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>401 This Is Against TOS You've Been Reported</title></head> <head><title>401 This Is Against TOS You've Been Reported</title></head>
<body> <body>
<center><h1>401 This Is Against TOS You've Been Reported</h1></center> <center><h1>401 This Is Against TOS You've Been Reported</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>402 Come Back When You're a Little MMMMMM Richer</title></head> <head><title>402 Come Back When You're a Little MMMMMM Richer</title></head>
<body> <body>
<center><h1>402 Come Back When You're a Little MMMMMM Richer</h1></center> <center><h1>402 Come Back When You're a Little MMMMMM Richer</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>403 You Shall Not Pass</title></head> <head><title>403 You Shall Not Pass</title></head>
<body> <body>
<center><h1>403 You Shall Not Pass</h1><br><img src=https://askiiart.net/error/you.gif alt="gandalf saying you looped infinitely" width="350"</center> <center><h1>403 You Shall Not Pass</h1><br><img src=/assets/you.gif alt="gandalf saying you looped infinitely" width="350"</center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>404 You Made A Typo In The URL, Didn't You?</title></head> <head><title>404 You Made A Typo In The URL, Didn't You?</title></head>
<body> <body>
<center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=https://askiiart.net/assets/boykisser.jpg alt="boykisser" width="350"</center> <center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=/assets/boykisser.png alt="boykisser" width="350"</center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>406 I Can't Believe You've Done This</title></head> <head><title>406 I Can't Believe You've Done This</title></head>
<body> <body>
<center><h1>406 I Can't Believe You've Done This</h1></center> <center><h1>406 I Can't Believe You've Done This</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>410 Your Father</title></head> <head><title>410 Your Father</title></head>
<body> <body>
<center><h1>410 Your Father</h1></center> <center><h1>410 Your Father</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>413 Me After a Night With Your Mother</title></head> <head><title>413 Me After a Night With Your Mother</title></head>
<body> <body>
<center><h1>413 Me After a Night With Your Mother</h1></center> <center><h1>413 Me After a Night With Your Mother</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>417 Me After 20-something Years With My Mother</title></head> <head><title>417 Me After 20-something Years With My Mother</title></head>
<body> <body>
<center><h1>417 Me After 20-something Years With My Mother</h1></center> <center><h1>417 Me After 20-something Years With My Mother</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>418 I'm a Teapot</title></head> <head><title>418 I'm a Teapot</title></head>
<body> <body>
<center><h1>418 I'm a Teapot</h1></center> <center><h1>418 I'm a Teapot</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>423 Fine Then, Keep Your Secrets</title></head> <head><title>423 Fine Then, Keep Your Secrets</title></head>
<body> <body>
<center><h1>423 Fine Then, Keep Your Secrets</h1></center> <center><h1>423 Fine Then, Keep Your Secrets</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>425 Sorry This Never Happens With Other Women</title></head> <head><title>425 Sorry This Never Happens With Other Women</title></head>
<body> <body>
<center><h1>425 Sorry This Never Happens With Other Women</h1></center> <center><h1>425 Sorry This Never Happens With Other Women</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>429 i'm scared stop asking me q.q</title></head> <head><title>429 i'm scared stop asking me q.q</title></head>
<body> <body>
<center><h1>429 i'm scared stop asking me q.q</h1></center> <center><h1>429 i'm scared stop asking me q.q</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>451 Oi, You Got a Loicense For That Mate?</title></head> <head><title>451 Oi, You Got a Loicense For That Mate?</title></head>
<body> <body>
<center><h1>451 Oi, You Got a Loicense For That Mate?</h1></center> <center><h1>451 Oi, You Got a Loicense For That Mate?</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>502 Forgive Me Father For My Gateway Has Sinned</title></head> <head><title>502 Forgive Me Father For My Gateway Has Sinned</title></head>
<body> <body>
<center><h1>502 Forgive Me Father For My Gateway Has Sinned</h1></center> <center><h1>502 Forgive Me Father For My Gateway Has Sinned</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>504 Gateway died on the way back from its home planet</title></head> <head><title>504 Gateway died on the way back from its home planet</title></head>
<body> <body>
<center><h1>504 Gateway died on the way back from its home planet</h1></center> <center><h1>504 Gateway died on the way back from its home planet</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>

View file

@ -1,7 +1,7 @@
<html> <html>
<head><title>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</title></head> <head><title>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</title></head>
<body> <body>
<center><h1>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</h1></center> <center><h1>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</h1></center>
<hr><center>nginx/1.25.3</center> <hr><center>nginx/1.25.3</center>
</body> </body>
</html> </html>