add login template
This commit is contained in:
parent
74a0e5980f
commit
6e0cda7f3e
1 changed files with 26 additions and 0 deletions
26
views/templates/login.php
Normal file
26
views/templates/login.php
Normal 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>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue