personalweb

Archived
git clone git://git.wimdupont.com/personalweb.git
Log | Files | Refs | README | LICENSE

commit b3c9b12256b1ee97d85d1e57effecf0f4b316f97
parent 83682d7b6e5428a7a328580d9988ecf2dd573050
Author: WimDupont <WimDupont@users.noreply.gitlab.com>
Date:   Sat,  6 Nov 2021 13:06:51 +0100

Added error fallback page


Former-commit-id: 59d98bbec67cffc697a50d366a7f569a0bed1c9e
Diffstat:
Asrc/main/resources/templates/error.html | 48++++++++++++++++++++++++++++++++++++++++++++++++
Msrc/main/resources/templates/home.html | 2+-
Msrc/main/resources/templates/links.html | 6+++---
3 files changed, 52 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head> + <meta charset="UTF-8"> + <title>Error - Wim Dupont</title> + <link href="/css/main.css" rel="stylesheet"> +</head> +<body> +<div class="container wrapper"> + <header> + <h1>Error</h1> + <div th:insert="navigation"/> + </header> + <table> + <tr> + <td>Date</td> + <td th:text="${timestamp}"/> + </tr> + <tr> + <td>Path</td> + <td th:text="${path}"/> + </tr> + <tr> + <td>Error</td> + <td th:text="${error}"/> + </tr> + <tr> + <td>Status</td> + <td th:text="${status}"/> + </tr> + <tr> + <td>Message</td> + <td th:text="${message}"/> + </tr> + <tr> + <td>Exception</td> + <td th:text="${exception}"/> + </tr> + <tr> + <td>Trace</td> + <td> + <pre th:text="${trace}"/> + </td> + </tr> + </table> +</div> +</body> +</html> diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html @@ -15,7 +15,7 @@ <p class="subheader" th:text="${affirmation.affirmation}"/> </div> <video width="960" autoplay loop> - <source title="The Way of Kings" src="/images/WoK-wallpaper-animated.mp4" type="video/mp4"> + <source title="The Way Of Kings" src="/images/WoK-wallpaper-animated.mp4" type="video/mp4"> <img title="The Way Of Kings" src="/images/TheWayOfKings.png" width="960"> </video> <div class="source-credit"> diff --git a/src/main/resources/templates/links.html b/src/main/resources/templates/links.html @@ -11,12 +11,12 @@ <h1>Links</h1> <div th:insert="navigation"/> </header> - <p class="subheader">Links to websites on different topics</p> + <p class="subheader">Links to websites on various topics</p> <h3>Privacy</h3> <ul> <li> <a target="_blank" href="https://privacyguides.org">Privacy Guides</a> - - general useful information about digital privacy with software recommendations and tips + - useful information about digital privacy including software recommendations and tips </li> </ul> @@ -28,7 +28,7 @@ </li> <li> <a target="_blank" href="https://www.signal.org/">Signal</a> - - my recommended encrypted instant messaging service + - encrypted instant messaging service </li> <li> <a target="_blank" href="https://newsboat.org/">Newsboat</a>