22 - python & all web labs

This commit is contained in:
2026-05-02 20:27:02 +05:00
parent ef77f101fa
commit 19af922baf
5781 changed files with 770492 additions and 96 deletions

227
labWeb/lab4-6/doctors.html Normal file
View File

@@ -0,0 +1,227 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Наши врачи | МедСэйв</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/lucide@latest"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body { font-family: 'Inter', sans-serif; }
.gradient-bg { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); }
.medical-pattern { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0); background-size: 20px 20px; }
ol.doctor-categories {
list-style: none;
counter-reset: category;
padding-left: 0;
}
ol.doctor-categories > li {
counter-increment: category;
position: relative;
margin-bottom: 2rem;
}
ol.doctor-categories > li::before {
content: counter(category);
display: inline-block;
width: 32px;
height: 32px;
background-image: url('https://static.photos/medical/200x200/777');
background-size: contain;
background-repeat: no-repeat;
color: white;
font-weight: bold;
text-align: center;
line-height: 32px;
margin-right: 12px;
vertical-align: middle;
border-radius: 50%;
font-size: 14px;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
ul.doctor-list {
list-style: none;
padding-left: 3rem;
margin-top: 0.75rem;
}
ul.doctor-list li {
position: relative;
padding-left: 1.5rem;
margin-bottom: 0.5rem;
color: #475569;
}
ul.doctor-list li::before {
content: "✓";
position: absolute;
left: 0;
color: #0ea5e9;
font-weight: bold;
}
</style>
</head>
<body class="bg-slate-50 text-slate-800">
<header class="bg-sky-100 medical-pattern text-sky-900 shadow-lg sticky top-0 z-50">
<div class="container mx-auto px-4 py-4">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-3">
<div class="bg-sky-200 p-2 rounded-xl">
<i data-lucide="heart-pulse" class="w-8 h-8 text-sky-700"></i>
</div>
<div>
<h1 class="text-2xl font-bold tracking-tight">МедСэйв</h1>
<p class="text-sky-600 text-sm">Медицинский центр</p>
</div>
</div>
<nav class="hidden md:flex items-center space-x-1">
<a href="index.html" class="px-4 py-2 rounded-lg hover:bg-sky-200 transition text-sky-900">Новости</a>
<a href="doctors.html" class="px-4 py-2 rounded-lg bg-sky-200 font-medium transition hover:bg-sky-300 text-sky-900">Наши врачи</a>
<a href="prices.html" class="px-4 py-2 rounded-lg hover:bg-sky-200 transition text-sky-900">Цены</a>
<a href="schedule.html" class="px-4 py-2 rounded-lg hover:bg-sky-200 transition text-sky-900">Расписание</a>
<a href="contacts.html" class="px-4 py-2 rounded-lg hover:bg-sky-200 transition text-sky-900">Контакты</a>
</nav>
<button onclick="toggleMobileMenu()" class="md:hidden p-2 rounded-lg bg-sky-200 hover:bg-sky-300 transition text-sky-900">
<i data-lucide="menu" class="w-6 h-6"></i>
</button>
</div>
<div id="mobileMenu" class="hidden md:hidden mt-4 pb-4 space-y-2 border-t border-sky-300 pt-4">
<a href="index.html" class="block px-4 py-2 rounded-lg hover:bg-sky-200 text-sky-900">Новости</a>
<a href="doctors.html" class="block px-4 py-2 rounded-lg bg-sky-200 font-medium text-sky-900">Наши врачи</a>
<a href="prices.html" class="block px-4 py-2 rounded-lg hover:bg-sky-200 text-sky-900">Цены</a>
<a href="schedule.html" class="block px-4 py-2 rounded-lg hover:bg-sky-200 text-sky-900">Расписание</a>
<a href="contacts.html" class="block px-4 py-2 rounded-lg hover:bg-sky-200 text-sky-900">Контакты</a>
</div>
</div>
</header>
<main class="container mx-auto px-4 py-8 max-w-4xl">
<div class="mb-8">
<h2 class="text-3xl font-bold text-slate-800 mb-2">Наши специалисты</h2>
<p class="text-slate-600">Квалифицированные врачи с многолетним опытом работы</p>
</div>
<div class="bg-white rounded-2xl shadow-lg p-8 border border-slate-100">
<ol class="doctor-categories">
<li>
<span class="text-xl font-semibold text-slate-800">Терапевты</span>
<ul class="doctor-list">
<li>Иванов И.И.</li>
<li>Сидорова Е.Л.</li>
</ul>
</li>
<li>
<span class="text-xl font-semibold text-slate-800">Неврологи</span>
<ul class="doctor-list">
<li>Петрова Л.Д.</li>
<li>Орлова Г.Д.</li>
</ul>
</li>
<li>
<span class="text-xl font-semibold text-slate-800">УЗИ-специалисты</span>
<ul class="doctor-list">
<li>Гордеев О.Т.</li>
<li>Арбатова Е.К.</li>
</ul>
</li>
<li>
<span class="text-xl font-semibold text-slate-800">Кардиологи</span>
<ul class="doctor-list">
<li>Смирнов А.В.</li>
<li>Козлова Н.П.</li>
</ul>
</li>
<li>
<span class="text-xl font-semibold text-slate-800">Эндокринологи</span>
<ul class="doctor-list">
<li>Морозов П.С.</li>
<li>Васильева Т.А.</li>
</ul>
</li>
<li>
<span class="text-xl font-semibold text-slate-800">Хирурги</span>
<ul class="doctor-list">
<li>Новиков Д.Г.</li>
<li>Лебедева С.М.</li>
</ul>
</li>
</ol>
</div>
<div class="mt-8 grid md:grid-cols-2 gap-6">
<div class="bg-gradient-to-br from-sky-500 to-blue-600 rounded-2xl shadow-lg p-6 text-white">
<h3 class="font-semibold text-lg mb-3 flex items-center gap-2">
<i data-lucide="graduation-cap" class="w-5 h-5"></i>
Высшая категория
</h3>
<p class="text-sky-100 text-sm">Более 70% наших врачей имеют высшую и первую квалификационную категорию.</p>
</div>
<div class="bg-white rounded-2xl shadow-lg p-6 border border-slate-100">
<h3 class="font-semibold text-lg mb-3 flex items-center gap-2 text-slate-800">
<i data-lucide="calendar-check" class="w-5 h-5 text-sky-600"></i>
Запись к врачу
</h3>
<p class="text-slate-600 text-sm mb-4">Запишитесь на прием к нужному специалисту через наш колл-центр.</p>
<a href="contacts.html" class="inline-flex items-center text-sky-600 font-medium hover:text-sky-700 transition">
Перейти к контактам <i data-lucide="arrow-right" class="w-4 h-4 ml-2"></i>
</a>
</div>
</div>
</main>
<footer class="bg-slate-900 text-slate-300 mt-16">
<div class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row items-center justify-between gap-4">
<div class="flex items-center space-x-3">
<i data-lucide="heart-pulse" class="w-6 h-6 text-sky-400"></i>
<span class="font-semibold text-white">МедСэйв</span>
</div>
<div class="flex items-center gap-2 text-slate-300 mb-2 md:mb-0">
<i data-lucide="phone" class="w-4 h-4 text-sky-400"></i>
<span class="font-medium text-white">+7 (123) 123-12-31</span>
</div>
<div class="flex items-center space-x-4">
<span class="text-sm">Мы в социальных сетях:</span>
<div class="flex space-x-3">
<a href="#" class="w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-sky-500 hover:text-white transition" title="Telegram">
<i data-lucide="send" class="w-5 h-5"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-green-500 hover:text-white transition" title="WhatsApp">
<i data-lucide="message-circle" class="w-5 h-5"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-purple-600 hover:text-white transition" title="Viber">
<i data-lucide="phone-call" class="w-5 h-5"></i>
</a>
</div>
</div>
<p class="text-sm text-slate-500">© 2024 МедСэйв. Все права защищены.</p>
</div>
</div>
</footer>
<script>
lucide.createIcons();
function toggleMobileMenu() {
document.getElementById('mobileMenu').classList.toggle('hidden');
}
</script>
</body>
</html>