add login template

This commit is contained in:
Yisroel Baum 2026-04-24 13:29:16 +03:00
parent 74a0e5980f
commit 6e0cda7f3e
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

26
views/templates/login.php Normal file
View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Daily Goals - Login</title>
</head>
<body>
<h1>Login</h1>
<form id="login-form">
<label>Email
<input type="email" id="email" name="email" required />
</label>
<label>Password
<input
type="password"
id="password"
name="password"
required
/>
</label>
<button type="submit">Login</button>
</form>
<p id="login-error" hidden></p>
<p><a href="/register">Register</a></p>
<script src="/js/auth.js"></script>
</body>
</html>