Files
leonapp/error_pages/500.html

62 lines
1.7 KiB
HTML
Raw Normal View History

2025-09-20 22:20:08 +08:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>500 - 服务器内部错误</title>
<link href="/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f8f9fa;
}
.error-container {
text-align: center;
padding: 2rem;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
font-size: 5rem;
margin: 0;
color: #dc3545;
}
p {
font-size: 1.2rem;
margin: 1rem 0;
}
.page-transition {
animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body class="page-transition">
<div class="error-container">
<h1>500</h1>
<h2>服务器内部错误</h2>
<p>服务器遇到意外错误,无法完成您的请求。</p>
<p>我们的技术团队已收到通知,正在处理此问题。</p>
<a href="/" class="btn btn-primary mt-3">返回首页</a>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
document.body.classList.add('page-transition');
});
</script>
</body>
</html>