Tried to add a static welcome page -- without success :/
authorKai Moritz <kai@juplo.de>
Fri, 7 Apr 2023 11:41:49 +0000 (13:41 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 7 Apr 2023 12:13:22 +0000 (14:13 +0200)
src/main/resources/templates/index.html [new file with mode: 0644]

diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html
new file mode 100644 (file)
index 0000000..262d765
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="en" xmlns:th="http://www.thymeleaf.org">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+    <title>Demo: TEMPLATE</title>
+    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
+  </head>
+  <body>
+    <nav class="navbar navbar-dark bg-primary navbar-expand navbar-dark flex-column">
+      <h1 class="navbar-brand">Demo: TEMPLATE</h1>
+    </nav>
+    <main class="container mt-5">
+      <form action="#" th:action="@{/}" th:object="${form}" method="get">
+        <div class="card my-3">
+          <div class="card-header">Card Header</div>
+          <div class="card-body">
+            <div class="card-text">Card Text</div>
+          </div>
+          <div class="card-footer">Card Footer</div>
+        </div>
+      </form>
+    </main>
+  </body>
+</html>