130 lines
5.9 KiB
HTML
130 lines
5.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Админ-панель</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
<!-- CSS Modules -->
|
|
<link rel="stylesheet" href="css/main.css">
|
|
<link rel="stylesheet" href="css/layout.css">
|
|
<link rel="stylesheet" href="css/components.css">
|
|
</head>
|
|
|
|
<body>
|
|
<!-- Sidebar -->
|
|
<aside class="sidebar">
|
|
<div class="sidebar-header">
|
|
<div class="logo">
|
|
<svg width="32" height="32" viewBox="0 0 40 40" fill="none">
|
|
<rect width="40" height="40" rx="12" fill="url(#lg)" />
|
|
<path d="M12 20L18 26L28 14" stroke="#fff" stroke-width="3" stroke-linecap="round"
|
|
stroke-linejoin="round" />
|
|
<defs>
|
|
<linearGradient id="lg" x1="0" y1="0" x2="40" y2="40">
|
|
<stop stop-color="#6366f1" />
|
|
<stop offset="1" stop-color="#8b5cf6" />
|
|
</linearGradient>
|
|
</defs>
|
|
</svg>
|
|
<span>Magistr</span>
|
|
</div>
|
|
</div>
|
|
<nav class="sidebar-nav">
|
|
<a href="#" class="nav-item" data-tab="users">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" />
|
|
<circle cx="9" cy="7" r="4" />
|
|
<path d="M23 21v-2a4 4 0 0 0-3-3.87" />
|
|
<path d="M16 3.13a4 4 0 0 1 0 7.75" />
|
|
</svg>
|
|
Пользователи
|
|
</a>
|
|
<a href="#" class="nav-item" data-tab="groups">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" />
|
|
<path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" />
|
|
</svg>
|
|
Группы
|
|
</a>
|
|
<a href="#" class="nav-item" data-tab="edu-forms">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20" />
|
|
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z" />
|
|
<line x1="9" y1="7" x2="17" y2="7" />
|
|
<line x1="9" y1="11" x2="15" y2="11" />
|
|
</svg>
|
|
Формы обучения
|
|
</a>
|
|
<a href="#" class="nav-item" data-tab="equipments">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect>
|
|
<path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path>
|
|
</svg>
|
|
Оборудование
|
|
</a>
|
|
<a href="#" class="nav-item" data-tab="classrooms">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M3 3h18v18H3zM9 3v18M15 3v18M3 9h18M3 15h18" />
|
|
</svg>
|
|
Аудитории
|
|
</a>
|
|
<a href="#" class="nav-item" data-tab="subjects">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M12 20h9" />
|
|
<path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z" />
|
|
</svg>
|
|
Дисциплины
|
|
</a>
|
|
</nav>
|
|
<div class="sidebar-footer">
|
|
<button class="btn-logout" id="btn-logout">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
|
|
<polyline points="16 17 21 12 16 7" />
|
|
<line x1="21" y1="12" x2="9" y2="12" />
|
|
</svg>
|
|
Выйти
|
|
</button>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- Sidebar overlay (mobile) -->
|
|
<div class="sidebar-overlay" id="sidebar-overlay"></div>
|
|
|
|
<!-- Main -->
|
|
<main class="main">
|
|
<header class="topbar">
|
|
<button class="menu-toggle" id="menu-toggle" aria-label="Меню">
|
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<line x1="3" y1="6" x2="21" y2="6" />
|
|
<line x1="3" y1="12" x2="21" y2="12" />
|
|
<line x1="3" y1="18" x2="21" y2="18" />
|
|
</svg>
|
|
</button>
|
|
<h1 id="page-title">Загрузка...</h1>
|
|
</header>
|
|
|
|
<!-- Dynamic Content Injected Here -->
|
|
<section class="content" id="app-content">
|
|
<!-- Content loaded via main.js -->
|
|
</section>
|
|
</main>
|
|
|
|
<script src="/theme-toggle.js"></script>
|
|
<script type="module" src="js/main.js"></script>
|
|
</body>
|
|
|
|
</html> |