Explorar o código

Adding default error page.

Lucas Albertins %!s(int64=2) %!d(string=hai) anos
pai
achega
9c4f0bd73f

BIN=BIN
src/main/resources/static/img/home-button.png


BIN=BIN
src/main/resources/static/img/home.png


BIN=BIN
src/main/resources/static/img/slip-and-fall.png


+ 13 - 0
src/main/resources/templates/error.html

@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<body>
+<center>
+<h1>Sorry, WEE have weeed and something went wrong </h1>
+<img id="img" class="wee-meme-image" src="../static/img/slip-and-fall.png" th:src="@{/img/slip-and-fall.png}" alt="Logo of person slipping">
+<h2>Let us know about it and we will try to fix ASAP </h2>
+<a href="/" >
+<img id="home" src="../static/img/home-button.png" th:src="@{/img/home-button.png}" alt="Home icon"> 
+</a>
+</center>
+</body>
+</html>