Update the image and message position to center

Previously the image and the error messages showed at left side of error.html page. After updating, those are showing at center of this page.
This commit is contained in:
Suvash Kumar 2024-12-29 00:45:16 +06:00
parent 3ab697933f
commit 5fb1b32fe6

View file

@ -3,9 +3,13 @@
<html xmlns:th="https://www.thymeleaf.org" th:replace="~{fragments/layout :: layout (~{::body},'error')}">
<body>
<img src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
<h2>Something happened...</h2>
<p th:text="${message}">Exception message</p>
<div class="row">
<div class="text-center">
<img src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
<h2>Something happened...</h2>
<p th:text="${message}">Exception message</p>
</div>
</div>
</body>
</html>
</html>