diff options
| author | Paul-Christian Volkmer | 2024-01-11 13:09:55 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2024-01-11 13:29:33 +0100 |
| commit | 8a11e6e85b2b2cb4f860ddca010386cb3f701f9b (patch) | |
| tree | e5e21d21cba3f6d5845b185bce26a5d80e126b42 /src/main/resources/templates/login.html | |
| parent | 5579ad14534111db6954b772ccd0ea72a09e4c15 (diff) | |
feat #18: initial support for authentication
Diffstat (limited to 'src/main/resources/templates/login.html')
| -rw-r--r-- | src/main/resources/templates/login.html | 23 |
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 |
