add dashboard and login templates
This commit is contained in:
parent
3f21ddeab1
commit
859cde777a
2 changed files with 24 additions and 0 deletions
10
templates/dashboard.html.twig
Normal file
10
templates/dashboard.html.twig
Normal 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
14
templates/login.html.twig
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue