From 1a1caf753c1dc1183078a6c43772f513ad02ae1f Mon Sep 17 00:00:00 2001 From: Johannes Wilhelm <johannes.wilhelm2@stud.th-deg.de> Date: Tue, 30 Jun 2020 13:11:44 +0200 Subject: [PATCH] sd Signed-off-by: Johannes Wilhelm <johannes.wilhelm2@stud.th-deg.de> --- .../src/main/resources/templates/home.html | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/schleicherhof_pms/src/main/resources/templates/home.html b/schleicherhof_pms/src/main/resources/templates/home.html index 3bb3114..bf26e88 100644 --- a/schleicherhof_pms/src/main/resources/templates/home.html +++ b/schleicherhof_pms/src/main/resources/templates/home.html @@ -1,15 +1,23 @@ <!DOCTYPE html> <html lang="de" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> -<head> - <meta charset="UTF-8" /> - <title>Home</title> -</head> -<body> +<head th:include="head::head"></head> +<body class="container" style="background-image: url('photos/background.jpg'); background-repeat:no-repeat; background-size:100%;" > + <div class="container-fluid"> - <h1>Schleicherhof</h1> + <h1><img th:src="@{/photos/logo.png}" alt="Logo" width="470" height="150"/></h1> </div> - <nav th:include="menu::menu"></nav> - <div class="container-fluid"><h2 th:text="${title}">Titel</h2></div> - <div class="container-fluid"><p th:text="${message}">Nachricht</p></div> + + + <nav th:include="menu::menu" ></nav> + + + <div class="container" style="background-color: white; opacity:0.5;"> + <div class="container"><h2 th:text="${title}">Titel</h2></div> + <div class="container"><h3 th:text="${title2}">Titel</h3></div> + <div class="container"><p style="color: red" th:text="${message}">Nachricht</p></div> + </div> + + <div th:include="foot::foot"></div> + </body> </html> -- GitLab