add dashboard and login templates

This commit is contained in:
Yisroel Baum 2025-10-31 12:10:16 +02:00
parent 3f21ddeab1
commit 859cde777a
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Dashboard</title>
</head>
<body>
<h1>Dashboard</h1>
<h2>Only visible when logged in</h2>
</body>
</html>

14
templates/login.html.twig Normal file
View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
</head>
<body>
<form method="post" action="/login">
<input type="hidden" name="{{ csrf.name }}" value="{{ csrf.value }}">
<label>Email <input type="email" name="email" required></label><br>
<label>Password <input type="password" name="password" required></label><br>
<button type="submit">Sign in</button>
</form>
</body>
</html>