first commit

This commit is contained in:
2026-04-11 14:08:27 +07:00
parent e86e5d2c46
commit 6b7655aa16
389 changed files with 5387 additions and 60861 deletions

View File

@@ -1,83 +1,103 @@
<div class="error-page">
<div class="error-container">
<h1 class="error-title">404</h1>
<h2 class="error-subtitle">Oops! Page Not Found</h2>
<p class="error-text">Sorry, the page you are looking for does not exist or has been moved.</p>
<div class="error-actions">
<a href="/" class="btn btn-primary">Back to Home</a>
<a href="/contact" class="btn btn-outline-primary">Contact Support</a>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 — Page Not Found | ULDP Management</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="/assets/css/variables.css">
<style>
body {
font-family: var(--font-family, "Inter", sans-serif);
background: var(--bg-body, #f0f2f7);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
}
.error-wrap {
text-align: center;
padding: 2rem 1.5rem;
max-width: 480px;
}
.error-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 120px;
height: 120px;
border-radius: 50%;
background: var(--primary-soft, rgba(10,35,71,0.07));
margin-bottom: 1.5rem;
}
.error-badge i {
font-size: 3rem;
color: var(--primary-color, #0a2347);
opacity: 0.6;
}
.error-code {
font-size: 5rem;
font-weight: 800;
color: var(--primary-color, #0a2347);
line-height: 1;
letter-spacing: -0.03em;
margin-bottom: 0.5rem;
}
.error-title {
font-size: 1.25rem;
font-weight: 600;
color: #1e293b;
margin-bottom: 0.5rem;
}
.error-desc {
color: #64748b;
font-size: 0.9rem;
margin-bottom: 2rem;
line-height: 1.6;
}
.btn-home {
background: var(--primary-color, #0a2347);
color: #fff;
border: none;
padding: 0.6rem 1.5rem;
border-radius: 6px;
font-weight: 500;
font-size: 0.9rem;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: all 0.2s;
}
.btn-home:hover {
background: #1a3a6b;
color: #fff;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(10,35,71,0.25);
}
</style>
</head>
<body>
<div class="error-wrap">
<div class="error-badge">
<i class="fas fa-map-signs"></i>
</div>
<div class="error-code">404</div>
<h1 class="error-title">Page Not Found</h1>
<p class="error-desc">The page you're looking for doesn't exist or has been moved.</p>
<a href="/admin/dashboard" class="btn-home">
<i class="fas fa-arrow-left"></i> Back to Dashboard
</a>
</div>
</div>
<style>
.error-page {
min-height: calc(100vh - 200px); /* Trừ đi header và footer */
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.error-container {
text-align: center;
max-width: 600px;
padding: 40px 20px;
}
.error-title {
font-size: 120px;
color: linear-gradient(90deg, #067f3f, #056633, #044e27);
background: -webkit-linear-gradient(90deg, #067f3f, #056633, #044e27);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin: 0;
line-height: 1;
font-weight: 700;
}
.error-subtitle {
font-size: 28px;
color: #333;
margin: 20px 0;
}
.error-text {
font-size: 18px;
color: #666;
margin-bottom: 30px;
}
.error-actions {
display: flex;
justify-content: center;
gap: 20px;
}
.btn-outline-primary:hover {
border-color: white;
}
@media (max-width: 768px) {
.error-title {
font-size: 80px;
}
.error-subtitle {
font-size: 24px;
}
.error-text {
font-size: 16px;
}
.error-actions {
flex-direction: column;
gap: 10px;
}
.error-actions .btn {
width: 100%;
}
}
</style>
</body>
</html>

View File

@@ -1,14 +0,0 @@
<div class="container py-5">
<div class="row justify-content-center">
<div class="col-md-8 text-center">
<div class="mb-4">
<i class="fas fa-exclamation-circle fa-5x" style="color: var(--primary-color);"></i>
</div>
<h1 class="display-4 mb-4">Đã xảy ra lỗi</h1>
<p class="lead mb-4"><%= message %></p>
<a href="/" class="btn btn-primary">
<i class="fas fa-home me-2"></i>Quay lại trang chủ
</a>
</div>
</div>
</div>