patrol-control-system / schedule.html
secutorpro's picture
en mes a jour se systeme pour l'instaler dans guhub et supabase
96d812c verified
Raw
History Blame Contribute Delete
7.01 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calendrier - Contrôle de Patrouille</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-50 min-h-screen">
<!-- Sidebar -->
<custom-sidebar></custom-sidebar>
<!-- Header -->
<custom-header></custom-header>
<!-- Main Content -->
<main class="ml-64 mt-16 p-6">
<div class="flex justify-between items-center mb-6">
<div>
<h1 class="text-2xl font-bold text-gray-800">Calendrier des Rondes</h1>
<p class="text-gray-600">Planifiez et gérez les rondes de sécurité</p>
</div>
<button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-lg flex items-center shadow-sm">
<i data-feather="plus" class="mr-2 w-4 h-4"></i>
Nouvelle Planification
</button>
</div>
<!-- Calendar Controls -->
<div class="bg-white rounded-xl shadow-sm p-6 mb-6">
<div class="flex flex-wrap items-center justify-between gap-4">
<div class="flex items-center space-x-4">
<button class="p-2 rounded-lg hover:bg-gray-100">
<i data-feather="chevron-left" class="w-5 h-5"></i>
</button>
<h2 class="text-xl font-semibold text-gray-800">Mars 2023</h2>
<button class="p-2 rounded-lg hover:bg-gray-100">
<i data-feather="chevron-right" class="w-5 h-5"></i>
</button>
</div>
<div class="flex space-x-2">
<button class="px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded-lg">
Jour
</button>
<button class="px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded-lg">
Semaine
</button>
<button class="px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded-lg">
Mois
</button>
</div>
<button class="px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded-lg">
Aujourd'hui
</button>
</div>
</div>
<!-- Calendar View -->
<div class="bg-white rounded-xl shadow-sm p-6">
<div class="grid grid-cols-7 gap-1 mb-2">
<div class="text-center py-2 text-sm font-medium text-gray-500">Lun</div>
<div class="text-center py-2 text-sm font-medium text-gray-500">Mar</div>
<div class="text-center py-2 text-sm font-medium text-gray-500">Mer</div>
<div class="text-center py-2 text-sm font-medium text-gray-500">Jeu</div>
<div class="text-center py-2 text-sm font-medium text-gray-500">Ven</div>
<div class="text-center py-2 text-sm font-medium text-gray-500">Sam</div>
<div class="text-center py-2 text-sm font-medium text-gray-500">Dim</div>
</div>
<div class="grid grid-cols-7 gap-1">
<!-- Empty days -->
<div class="h-24 border border-gray-100"></div>
<div class="h-24 border border-gray-100"></div>
<!-- Calendar days -->
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">1</div>
<div class="mt-1 space-y-1">
<div class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded truncate">
Ronde Nuit ZA
</div>
</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">2</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">3</div>
<div class="mt-1 space-y-1">
<div class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded truncate">
Jour Férié
</div>
</div>
</div>
<div class="h-24 border border-gray-100 p-1 bg-blue-50">
<div class="text-sm font-medium text-gray-900">4</div>
<div class="mt-1 space-y-1">
<div class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded truncate">
Ronde Matin
</div>
<div class="bg-amber-100 text-amber-800 text-xs px-2 py-1 rounded truncate">
Formation
</div>
</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">5</div>
</div>
<!-- More calendar days... -->
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">6</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">7</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">8</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">9</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">10</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">11</div>
</div>
<div class="h-24 border border-gray-100 p-1">
<div class="text-sm font-medium text-gray-900">12</div>
</div>
</div>
</div>
</main>
<script src="components/sidebar.js"></script>
<script src="components/header.js"></script>
<script type="module" src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>