- Portfolio CRUD: добавление, редактирование, удаление, переключение публикации - Services CRUD: полное управление услугами с возможностью активации/деактивации - Banner system: новая модель Banner с CRUD операциями и аналитикой кликов - Telegram integration: расширенные настройки бота, обнаружение чатов, отправка сообщений - Media management: улучшенная загрузка файлов с оптимизацией изображений и превью - UI improvements: обновлённые админ-панели с rich-text редактором и drag&drop загрузкой - Database: добавлена таблица banners с полями для баннеров и аналитики
81 lines
3.8 KiB
Plaintext
81 lines
3.8 KiB
Plaintext
о<!DOCTYPE html>
|
||
<html lang="<%= currentLanguage %>">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Вход в админ панель - SmartSolTech</title>
|
||
|
||
<!-- Tailwind CSS -->
|
||
<script src="https://cdn.tailwindcss.com"></script>
|
||
|
||
<!-- Font Awesome -->
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
||
|
||
<!-- Custom CSS -->
|
||
<link rel="stylesheet" href="/css/main.css">
|
||
<link rel="stylesheet" href="/css/fixes.css">
|
||
</head>
|
||
<body class="bg-gray-50 flex items-center justify-center min-h-screen">
|
||
<div class="max-w-md w-full space-y-8">
|
||
<div>
|
||
<div class="mx-auto h-12 w-12 flex items-center justify-center rounded-full bg-blue-100">
|
||
<i class="fas fa-lock text-blue-600 text-xl"></i>
|
||
</div>
|
||
<h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">
|
||
Вход в админ панель
|
||
</h2>
|
||
<p class="mt-2 text-center text-sm text-gray-600">
|
||
Войдите в свой аккаунт для управления сайтом
|
||
</p>
|
||
</div>
|
||
|
||
<form class="mt-8 space-y-6" action="/admin/login" method="POST">
|
||
<% if (typeof error !== 'undefined') { %>
|
||
<div class="bg-red-50 border border-red-200 text-red-600 px-4 py-3 rounded">
|
||
<i class="fas fa-exclamation-triangle mr-2"></i>
|
||
<%= error %>
|
||
</div>
|
||
<% } %>
|
||
|
||
<div class="rounded-md shadow-sm space-y-4">
|
||
<div>
|
||
<label for="email" class="block text-sm font-medium text-gray-700">
|
||
Email
|
||
</label>
|
||
<input id="email" name="email" type="email" required
|
||
class="mt-1 appearance-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm"
|
||
placeholder="admin@smartsoltech.com">
|
||
</div>
|
||
<div>
|
||
<label for="password" class="block text-sm font-medium text-gray-700">
|
||
Пароль
|
||
</label>
|
||
<input id="password" name="password" type="password" required
|
||
class="mt-1 appearance-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm"
|
||
placeholder="Введите пароль">
|
||
</div>
|
||
</div>
|
||
|
||
<div>
|
||
<button type="submit"
|
||
class="group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
||
<span class="absolute left-0 inset-y-0 flex items-center pl-3">
|
||
<i class="fas fa-sign-in-alt text-blue-500 group-hover:text-blue-400"></i>
|
||
</span>
|
||
Войти
|
||
</button>
|
||
</div>
|
||
|
||
<div class="text-center">
|
||
<a href="/" class="text-blue-600 hover:text-blue-500 text-sm">
|
||
<i class="fas fa-arrow-left mr-1"></i>
|
||
Вернуться на сайт
|
||
</a>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
|
||
<!-- JavaScript -->
|
||
<script src="/js/main.js"></script>
|
||
</body>
|
||
</html> |