Initial commit: Korea Tourism Agency website with AdminJS
- Full-stack Node.js/Express application with PostgreSQL - Modern ES modules architecture - AdminJS admin panel with Sequelize ORM - Tourism routes, guides, articles, bookings management - Responsive Bootstrap 5 frontend - Docker containerization with docker-compose - Complete database schema with migrations - Authentication system for admin panel - Dynamic placeholder images for tour categories
This commit is contained in:
34
views/error.ejs
Normal file
34
views/error.ejs
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Ошибка - Корея Тур Агентство</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/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">
|
||||
</head>
|
||||
<body class="bg-light">
|
||||
<div class="container py-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6">
|
||||
<div class="card border-0 shadow">
|
||||
<div class="card-body text-center p-5">
|
||||
<i class="fas fa-exclamation-triangle text-warning display-1 mb-4"></i>
|
||||
<h2 class="mb-3"><%= title || 'Произошла ошибка' %></h2>
|
||||
<p class="text-muted mb-4"><%= message || 'При загрузке страницы произошла ошибка.' %></p>
|
||||
<% if (error && error.status === 404) { %>
|
||||
<p class="small text-muted mb-4">Страница, которую вы ищете, не существует или была перемещена.</p>
|
||||
<% } %>
|
||||
<a href="/" class="btn btn-primary">
|
||||
<i class="fas fa-home me-1"></i>Вернуться на главную
|
||||
</a>
|
||||
<a href="javascript:history.back()" class="btn btn-outline-secondary ms-2">
|
||||
<i class="fas fa-arrow-left me-1"></i>Назад
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user