swt23w23/src/main/resources/templates/layout.html
Theo Reichert eec4066dd0
Add layout.html and navigation.html
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-21 18:00:18 +01:00

24 lines
760 B
HTML

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link th:href="@{/resources/css/style.css}" rel="stylesheet"
href="../static/resources/css/style.css" type="text/css"/>
<title th:text="${#strings.isEmpty(title)} ? #{home.title} : ${title}">Catering</title>
</head>
<body>
<div class="ui container">
<header>
<h1 th:text="${#strings.isEmpty(title)} ? #{home.title} : ${title}">Catering</h1>
</header>
<nav th:include="navigation :: navigation"></nav>
<section layout:fragment="content"></section>
</div>
</body>
</html>