FirstCommit

This commit is contained in:
Carsten Graf
2026-01-22 01:13:28 +01:00
commit 17838c4f1e
17 changed files with 12225 additions and 0 deletions

35
views/login.ejs Normal file
View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Stundenerfassung</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<div class="login-container">
<div class="login-box">
<h1>Stundenerfassung</h1>
<h2>Anmeldung</h2>
<% if (error) { %>
<div class="error-message"><%= error %></div>
<% } %>
<form method="POST" action="/login">
<div class="form-group">
<label for="username">Benutzername</label>
<input type="text" id="username" name="username" required autofocus>
</div>
<div class="form-group">
<label for="password">Passwort</label>
<input type="password" id="password" name="password" required>
</div>
<button type="submit" class="btn btn-primary">Anmelden</button>
</form>
</div>
</div>
</body>
</html>