Complete project files including setup.sh

This commit is contained in:
2026-01-11 14:17:26 +08:00
commit 0bbe394cb5
29 changed files with 3060 additions and 0 deletions

38
templates/login.html Normal file
View File

@@ -0,0 +1,38 @@
{% extends "base.html" %}
{% block title %}登录 - 泸州高中摄影社论坛{% endblock %}
{% block content %}
<div class="auth-container">
<div class="auth-card">
<div class="auth-header">
<h1>🔐 欢迎回来</h1>
<p>登录查看更多精彩作品</p>
</div>
<form method="POST" class="auth-form">
<div class="form-group">
<label for="username">用户名</label>
<input type="text" id="username" name="username" required placeholder="请输入用户名" class="form-control"
autofocus>
</div>
<div class="form-group">
<label for="password">密码</label>
<input type="password" id="password" name="password" required placeholder="请输入密码" class="form-control">
</div>
<div class="form-check">
<input type="checkbox" id="remember" name="remember" class="form-checkbox">
<label for="remember">记住我</label>
</div>
<button type="submit" class="btn btn-primary btn-block">登录</button>
</form>
<div class="auth-footer">
<p>还没有账号?<a href="{{ url_for('auth.register') }}">立即注册</a></p>
</div>
</div>
</div>
{% endblock %}