Files
palladium-monitor/ticket-system/templates/login.html
T
AI Agent 26940c4574 feat: initial commit - lightweight ticket system with Flask+SQLite
Features:
- User authentication (login/register)
- Ticket CRUD with status/priority/category
- Rich text description with paste-to-image
- File attachment upload (images/documents)
- Multi-select CC recipients
- Role-based permission control (admin/user)
- In-app notifications
- Statistics dashboard
- Gunicorn production deployment
2026-07-02 15:31:27 +08:00

32 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登录 - 工单系统</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="auth-page">
<div class="auth-card">
<h1>📋 工单系统</h1>
{% if error %}
<div class="error">{{ error }}</div>
{% endif %}
<form method="post">
<div class="form-group">
<label>用户名</label>
<input name="username" type="text" required value="{{ username or '' }}" autofocus>
</div>
<div class="form-group">
<label>密码</label>
<input name="password" type="password" required>
</div>
<button type="submit" class="btn btn-primary" style="width:100%;">登录</button>
</form>
<p class="auth-link">没有账号?<a href="/register">注册</a></p>
</div>
</div>
</body>
</html>