- Implement anonymous access control with ALLOW_ANONYMOUS_ACCESS env var - Add complete password reset workflow with token-based validation - Add username recovery functionality for better UX - Implement full-text search API with relevance scoring and highlighting - Add Docker compatibility improvements with permission handling and fallback storage - Add quick stats API for real-time dashboard updates - Improve security with proper token expiration and input validation - Add search result pagination and navigation - Enhance error handling and logging throughout the application 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
67 lines
2.5 KiB
HTML
67 lines
2.5 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Log In - BalanceBoard{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="auth-container">
|
|
<div class="auth-card">
|
|
<div class="auth-logo">
|
|
<img src="{{ url_for('serve_logo') }}" alt="BalanceBoard Logo">
|
|
<h1><span class="balance">balance</span>Board</h1>
|
|
<p style="color: var(--text-secondary); margin-top: 8px;">Welcome back!</p>
|
|
</div>
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
<div class="flash-messages">
|
|
{% for category, message in messages %}
|
|
<div class="flash-message {{ category }}">{{ message }}</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
<form method="POST" class="auth-form">
|
|
<div class="form-group">
|
|
<label for="username">Username or Email</label>
|
|
<input type="text" id="username" name="username" required autofocus>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" required>
|
|
</div>
|
|
|
|
<div class="form-group checkbox-group">
|
|
<input type="checkbox" id="remember" name="remember">
|
|
<label for="remember" style="margin-bottom: 0;">Remember me</label>
|
|
</div>
|
|
|
|
<button type="submit">Log In</button>
|
|
</form>
|
|
|
|
<div class="social-auth-separator">
|
|
<span>or</span>
|
|
</div>
|
|
|
|
<div class="social-auth-buttons">
|
|
<a href="{{ url_for('auth0_login') }}" class="social-btn auth0-btn">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
|
|
<path d="M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.537c3.785-2.809 5.167-7.703 3.815-12.015z"/>
|
|
</svg>
|
|
Continue with Auth0
|
|
</a>
|
|
</div>
|
|
|
|
<div class="auth-footer">
|
|
<p>Don't have an account? <a href="{{ url_for('signup') }}">Sign up</a></p>
|
|
<div class="auth-links">
|
|
<a href="{{ url_for('forgot_username') }}">Forgot username?</a>
|
|
<span>·</span>
|
|
<a href="{{ url_for('forgot_password') }}">Forgot password?</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|