inboxer/web/templates/login.html
cclohmar a942afc52c Move web templates and static assets to web/ dir alongside binary; update install.sh to deploy them
- Moved templates from src/web/templates/ to web/templates/ and
  static CSS from src/web/static/ to web/static/
- Updated handlers.go paths (src/web/ → web/) so the binary looks
  for templates at the correct deployment location
- Updated install.sh to create web/templates/ and web/static/
  directories and download the files from the repo
- Removed old src/web/ directory (dead code)
- Rebuilt inboxer binary with corrected template paths
2026-04-23 20:53:42 +00:00

29 lines
No EOL
958 B
HTML

{{ define "content" }}
<div class="card">
<div class="card-header">
<h1 class="card-title">Login to inBOXER</h1>
<p class="card-subtitle">Enter your email address to receive a one-time password</p>
</div>
<form method="POST" action="/login">
<div class="form-group">
<label for="email" class="form-label">Email Address</label>
<input type="email" id="email" name="email" class="form-input"
placeholder="you@example.com" required autofocus>
{{ if .Error }}
<p class="form-error">{{ .Error }}</p>
{{ end }}
</div>
<button type="submit" class="btn btn-primary btn-block">
Send Login Code
</button>
</form>
<div class="text-center mt-4">
<p class="text-light">You'll receive a 6-digit code via email to complete login.</p>
</div>
</div>
{{ end }}
{{ template "base" . }}