summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/login.html')
-rw-r--r--src/main/resources/templates/login.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html
new file mode 100644
index 0000000..018122d
--- /dev/null
+++ b/src/main/resources/templates/login.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="de" xmlns:th="http://www.thymeleaf.org">
+<head>
+ <meta charset="UTF-8">
+ <title>ETL-Prozessor</title>
+ <link rel="stylesheet" th:href="@{/style.css}" />
+</head>
+<body>
+ <div th:replace="~{fragments.html :: nav}"></div>
+ <main>
+ <div class="login-form">
+ <h2 class="centered">Anmelden</h2>
+ <div class="centered notification error" th:if="${param.error}">Anmeldung nicht erfolgreich</div>
+ <div class="centered notification success" th:if="${param.logout}">Sie haben sich abgemeldet</div>
+ <form method="post" th:action="@{/login}">
+ <input type="text" id="username" name="username" class="form-control" placeholder="Username" required="" autofocus="">
+ <input type="password" id="password" name="password" class="form-control" placeholder="Password" required="">
+ <button class="" type="submit">Anmelden</button>
+ </form>
+ </div>
+ </main>
+</body>
+</html> \ No newline at end of file