Files
ewoooc/templates/403.html
ogt 1b4f3a7bbe
Some checks failed
CD Pipeline / deploy (push) Failing after 59s
feat: EwoooC 初始化 — 完整專案推版至 Gitea
- 建立 Gitea Actions CD pipeline (.gitea/workflows/cd.yaml)
- 部署模式: rsync Python 檔案至 188 → docker restart (volume mount)
- Dockerfile/requirements 變動時自動重建 Docker image
- 部署通知: Telegram (開始/成功/失敗)
- 健康檢查: https://mo.wooo.work/health (最多 5 次重試)
- 同步最新 CLAUDE.md / ADR-008 / memory (2026-04-19)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 01:21:13 +08:00

88 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>權限不足 - WOOO TECH</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.error-card {
background: white;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
overflow: hidden;
width: 100%;
max-width: 500px;
text-align: center;
padding: 3rem;
}
.error-icon {
font-size: 5rem;
color: #dc3545;
margin-bottom: 1rem;
}
.error-code {
font-size: 4rem;
font-weight: 700;
color: #333;
margin-bottom: 0.5rem;
}
.error-title {
font-size: 1.5rem;
color: #666;
margin-bottom: 1rem;
}
.error-message {
color: #888;
margin-bottom: 2rem;
}
.btn-back {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 10px;
padding: 0.75rem 2rem;
font-weight: 600;
color: white;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
}
.btn-back:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
color: white;
}
</style>
</head>
<body>
<div class="error-card">
<i class="fas fa-ban error-icon"></i>
<div class="error-code">403</div>
<div class="error-title">權限不足</div>
<p class="error-message">
您沒有權限存取此頁面。<br>
如需存取,請聯繫系統管理員。
</p>
<a href="{{ url_for('index') }}" class="btn-back">
<i class="fas fa-home me-2"></i>返回首頁
</a>
</div>
</body>
</html>