From 3154a22500c7c85efcbd5577a948cc69d36c94d8 Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 30 Mar 2026 18:22:14 +0500 Subject: [PATCH] fix(errors): redesign all Caddy error pages with consistent branded layout Add header/footer, LibNovel wordmark, pulsing status indicator, faint watermark code, and auto-refresh countdown (20s for 502/504, 30s for 503). Fix two-tone background by setting background on html+body. 404 is static with no auto-refresh. Co-Authored-By: Claude Sonnet 4.6 --- caddy/errors/404.html | 126 ++++++++++++++++++++++++++++------ caddy/errors/502.html | 149 +++++++++++++++++++++++++++++++++++------ caddy/errors/503.html | 152 ++++++++++++++++++++++++++++++++++++------ caddy/errors/504.html | 149 +++++++++++++++++++++++++++++++++++------ 4 files changed, 500 insertions(+), 76 deletions(-) diff --git a/caddy/errors/404.html b/caddy/errors/404.html index 206fc24..9cb506b 100644 --- a/caddy/errors/404.html +++ b/caddy/errors/404.html @@ -3,49 +3,137 @@ - 404 — Page Not Found + 404 — Page Not Found — LibNovel -
404
-

Page Not Found

-

The page you're looking for doesn't exist or has been moved.

- Go home + +
+ +
+ +
+
404
+ +
+
+ Page not found +
+ +

Nothing here

+

The page you're looking for doesn't exist or has been moved.

+ + Go home +
+ +
+ © LibNovel +
+ diff --git a/caddy/errors/502.html b/caddy/errors/502.html index 74148be..0187409 100644 --- a/caddy/errors/502.html +++ b/caddy/errors/502.html @@ -3,49 +3,160 @@ - 502 — Service Unavailable + 502 — Service Unavailable — LibNovel -
502
-

Service Unavailable

-

The server is temporarily unreachable. Please try again in a moment.

- Go home + +
+ +
+ +
+
502
+ +
+
+ Service unavailable +
+ +

Something went wrong

+

The server is temporarily unreachable. This usually resolves itself quickly.

+ + Try again +

Page refreshes automatically in 20s

+
+ +
+ © LibNovel +
+ + + diff --git a/caddy/errors/503.html b/caddy/errors/503.html index 1080cf9..8b694ae 100644 --- a/caddy/errors/503.html +++ b/caddy/errors/503.html @@ -3,49 +3,163 @@ - 503 — Maintenance + Under Maintenance — LibNovel -
503
-

Under Maintenance

-

LibNovel is briefly offline for maintenance. We’ll be back shortly.

- Try again + +
+ +
+ +
+
503
+ +
+
+ Maintenance in progress +
+ +

We'll be right back

+

LibNovel is briefly offline for scheduled maintenance. No data is being changed — hang tight.

+ + Try again +

Page refreshes automatically in 30s

+
+ +
+ © LibNovel +
+ + + diff --git a/caddy/errors/504.html b/caddy/errors/504.html index 53faf9c..89e1528 100644 --- a/caddy/errors/504.html +++ b/caddy/errors/504.html @@ -3,49 +3,160 @@ - 504 — Gateway Timeout + 504 — Gateway Timeout — LibNovel -
504
-

Gateway Timeout

-

The request took too long to complete. Please refresh and try again.

- Go home + +
+ +
+ +
+
504
+ +
+
+ Gateway timeout +
+ +

Request timed out

+

The server took too long to respond. Please refresh and try again.

+ + Try again +

Page refreshes automatically in 20s

+
+ +
+ © LibNovel +
+ + +