summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/fragments.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/fragments.html')
-rw-r--r--src/main/resources/templates/fragments.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/resources/templates/fragments.html b/src/main/resources/templates/fragments.html
new file mode 100644
index 0000000..369add3
--- /dev/null
+++ b/src/main/resources/templates/fragments.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org">
+<head>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" th:href="@{/style.css}" />
+</head>
+<body>
+ <div th:fragment="nav">
+ <nav>
+ <ul>
+ <li><a th:href="@{/}">Übersicht</a></li>
+ <li><a th:href="@{/statistics}">Statistiken</a></li>
+ </ul>
+ </nav>
+ </div>
+</body>
+</html> \ No newline at end of file