First not working app skeleton with nix support and dependency setup and generated logo not final structure
This commit is contained in:
13
templates/login.html
Normal file
13
templates/login.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{define "login"}}{{template "base" .}}{{end}}
|
||||
{{define "content"}}
|
||||
<div class="card">
|
||||
<h2>Sign in with your email</h2>
|
||||
<p class="small">No password needed. We'll send you a magic link (for now it prints in the server logs).</p>
|
||||
<form method="POST" action="/login">
|
||||
<label class="label">Email</label>
|
||||
<input class="input" type="email" name="email" placeholder="you@example.com" required>
|
||||
<div style="height:8px"></div>
|
||||
<button class="btn btn-primary" type="submit">Send magic link</button>
|
||||
</form>
|
||||
</div>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user