Files
WeightTracker/app/templates/login.html
Peter Stockings ccdb3d8dc7 Initial commit
2026-02-22 22:53:22 +11:00

29 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% block title %}Log In — WeightTracker{% endblock %}
{% block content %}
<div class="auth-page">
<div class="auth-card">
<h1>⚖️ WeightTracker</h1>
<p class="auth-subtitle">Welcome back. Let's check your progress.</p>
<form method="POST" action="{{ url_for('auth.login') }}">
<div class="form-group">
<label class="form-label" for="username">Username</label>
<input class="form-input" type="text" id="username" name="username" placeholder="Your username" required
autofocus>
</div>
<div class="form-group">
<label class="form-label" for="password">Password</label>
<input class="form-input" type="password" id="password" name="password" placeholder="Your password"
required>
</div>
<button type="submit" class="btn btn-primary btn-block btn-lg" style="margin-top: 0.5rem;">Log In</button>
</form>
<p class="auth-footer">Don't have an account? <a href="{{ url_for('auth.signup') }}">Sign up</a></p>
</div>
</div>
{% endblock %}