From 1159824b12112ab0a81d97d4e3c5ead623c0693e Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 14 Oct 2023 16:04:23 +0200 Subject: [PATCH 1/2] Add 404 error page Signed-off-by: DL6ER --- error404.lp | 26 ++++++++++++++++++++++++++ style/pi-hole.css | 8 ++++++++ 2 files changed, 34 insertions(+) create mode 100644 error404.lp diff --git a/error404.lp b/error404.lp new file mode 100644 index 00000000..0403539d --- /dev/null +++ b/error404.lp @@ -0,0 +1,26 @@ + + + + + diff --git a/style/pi-hole.css b/style/pi-hole.css index 71765cb2..76c00114 100644 --- a/style/pi-hole.css +++ b/style/pi-hole.css @@ -1173,3 +1173,11 @@ table.dataTable tbody > tr > .selected { .button-pad { margin: 2px; } + +.error-headline { + float: none; + text-align: center; + font-size: 100px; + font-weight: 500; + padding-right: 20px; +} From 30dce2ec54f0a32f6b6eef834f029b4bff360c00 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 29 Oct 2023 21:00:24 +0100 Subject: [PATCH 2/2] Address review comments Signed-off-by: DL6ER --- error404.lp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error404.lp b/error404.lp index 0403539d..0113c462 100644 --- a/error404.lp +++ b/error404.lp @@ -17,7 +17,7 @@ mg.include('scripts/pi-hole/lua/header.lp','r')

Oops! Page not found.

We could not find the page you were looking for.
- Meanwhile, you may want toreturn to the dashboard . + Meanwhile, you may want to return to the dashboard .