Files
ewoooc/templates/403.html
OoO 71ea819d06 refactor(routes): 刪除 app.py 首頁重複路由
ADR-017 Phase 3f-1 dashboard sprint;首頁改由 dashboard_bp 接管,並更新 url_for('index') 相容引用。
2026-04-29 21:11:45 +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('dashboard.index') }}" class="btn-back">
<i class="fas fa-home me-2"></i>返回首頁
</a>
</div>
</body>
</html>