File size: 18,366 Bytes
1ff31b8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | <!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AutoService DB - Панель управления</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #f8fafc;
}
.sidebar {
transition: all 0.3s;
}
.card-hover:hover {
transform: translateY(-5px);
transition: all 0.3s;
}
</style>
</head>
<body class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-64 bg-gray-800">
<div class="flex items-center h-16 px-4 bg-gray-900">
<div class="flex items-center">
<i data-feather="tool" class="h-8 w-8 text-blue-400"></i>
<span class="ml-2 text-white text-xl font-bold">AutoService DB</span>
</div>
</div>
<div class="flex flex-col flex-grow pt-5 pb-4 overflow-y-auto">
<div class="px-4 space-y-1">
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-white bg-gray-900 rounded-md group">
<i data-feather="home" class="mr-3 h-5 w-5 text-gray-300"></i>
Главная
</a>
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="users" class="mr-3 h-5 w-5 text-gray-400"></i>
Клиенты
</a>
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="car" class="mr-3 h-5 w-5 text-gray-400"></i>
Автомобили
</a>
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="settings" class="mr-3 h-5 w-5 text-gray-400"></i>
Услуги
</a>
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="calendar" class="mr-3 h-5 w-5 text-gray-400"></i>
Записи
</a>
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="dollar-sign" class="mr-3 h-5 w-5 text-gray-400"></i>
Финансы
</a>
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="package" class="mr-3 h-5 w-5 text-gray-400"></i>
Запчасти
</a>
</div>
<div class="mt-auto px-4 pt-4">
<div class="border-t border-gray-700 pt-4">
<a href="#" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="user" class="mr-3 h-5 w-5 text-gray-400"></i>
Профиль
</a>
<a href="index.html" class="flex items-center px-2 py-2 text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700 rounded-md group">
<i data-feather="log-out" class="mr-3 h-5 w-5 text-gray-400"></i>
Выйти
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Main content -->
<div class="flex flex-col flex-1 overflow-hidden">
<!-- Top navigation -->
<div class="flex items-center justify-between h-16 bg-white border-b border-gray-200 px-4">
<div class="flex items-center md:hidden">
<button class="text-gray-500 hover:text-gray-600 focus:outline-none">
<i data-feather="menu" class="h-6 w-6"></i>
</button>
</div>
<div class="flex items-center">
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="search" class="h-4 w-4 text-gray-400"></i>
</div>
<input type="text" placeholder="Поиск..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm">
</div>
</div>
<div class="flex items-center">
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none">
<i data-feather="bell" class="h-6 w-6"></i>
</button>
<div class="ml-3 relative">
<div class="flex items-center">
<img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/32" alt="">
<span class="ml-2 text-sm font-medium text-gray-700">Администратор</span>
</div>
</div>
</div>
</div>
<!-- Content area -->
<div class="flex-1 overflow-y-auto p-6 bg-gray-50">
<div class="pb-5 border-b border-gray-200 mb-5">
<h3 class="text-lg leading-6 font-medium text-gray-900">Панель управления</h3>
<p class="mt-2 text-sm text-gray-600">Обзорная информация по вашему автосервису</p>
</div>
<!-- Stats cards -->
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-6">
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-500 rounded-md p-3">
<i data-feather="calendar" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">Записи сегодня</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">8</div>
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
<i data-feather="arrow-up" class="h-4 w-4"></i>
<span class="sr-only">Increased by</span>
2
</div>
</dd>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-4 sm:px-6">
<div class="text-sm">
<a href="#" class="font-medium text-blue-600 hover:text-blue-500">Посмотреть все<span class="sr-only"> Записи сегодня stats</span></a>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-500 rounded-md p-3">
<i data-feather="dollar-sign" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">Выручка за месяц</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">254,920 ₽</div>
</dd>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-4 sm:px-6">
<div class="text-sm">
<a href="#" class="font-medium text-blue-600 hover:text-blue-500">Аналитика<span class="sr-only"> Выручка за месяц stats</span></a>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
<i data-feather="users" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">Новые клиенты</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">24</div>
</dd>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-4 sm:px-6">
<div class="text-sm">
<a href="#" class="font-medium text-blue-600 hover:text-blue-500">Посмотреть всех<span class="sr-only"> Новые клиенты stats</span></a>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-red-500 rounded-md p-3">
<i data-feather="package" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">Товары на складе</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">143</div>
<div class="ml-2 flex items-baseline text-sm font-semibold text-red-600">
<i data-feather="alert-circle" class="h-4 w-4"></i>
<span class="ml-1">12 заканчиваются</span>
</div>
</dd>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-4 sm:px-6">
<div class="text-sm">
<a href="#" class="font-medium text-blue-600 hover:text-blue-500">Управление<span class="sr-only"> Товары на складе stats</span></a>
</div>
</div>
</div>
</div>
<!-- Recent orders -->
<div class="bg-white shadow overflow-hidden sm:rounded-lg mb-6">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">Последние заказы</h3>
<p class="mt-1 text-sm text-gray-500">Список последних 10 заказов</p>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ID</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Клиент</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Автомобиль</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Услуга</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Стоимость</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Статус</th>
<th scope="col" class="relative px-6 py-3"><span class="sr-only">Действия</span></th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#2345</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Иванов А.В.</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Toyota Camry</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Замена масла</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">4,500 ₽</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Завершен</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900">Подробнее</a>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#2344</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Петров С.К.</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Honda CR-V</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Диагностика</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">7,200 ₽</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">В работе</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900">Подробнее</a>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#2343</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Сидоров П.М.</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Ford Focus</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Ремонт подвески</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15,800 ₽</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Ожидает</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900">Подробнее</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="bg-gray-50 px-4 py-4 sm:px-6 text-right">
<button type="button" class="inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Посмотреть все заказы
</button>
</div>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>
|