|
|
<!DOCTYPE html> |
|
|
<html lang="fr"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Remorquage Pro - Modifier Employé</title> |
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> |
|
|
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
<script src="https://unpkg.com/feather-icons"></script> |
|
|
<style> |
|
|
.sidebar { |
|
|
transition: all 0.3s ease; |
|
|
} |
|
|
.active-menu { |
|
|
background-color: #3B82F6; |
|
|
color: white; |
|
|
} |
|
|
</style> |
|
|
</head> |
|
|
<body class="bg-gray-100 flex h-screen"> |
|
|
|
|
|
<div class="sidebar bg-blue-800 text-white w-64 space-y-6 py-7 px-2 absolute inset-y-0 left-0 transform -translate-x-full md:relative md:translate-x-0 transition duration-200 ease-in-out" id="sidebar"> |
|
|
<div class="text-white flex items-center space-x-2 px-4"> |
|
|
<i data-feather="truck" class="h-8 w-8"></i> |
|
|
<span class="text-2xl font-extrabold">Remorquage Pro</span> |
|
|
</div> |
|
|
<nav> |
|
|
<a href="index.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 hover:bg-blue-700"> |
|
|
<i data-feather="home"></i> |
|
|
<span>Dashboard</span> |
|
|
</a> |
|
|
<a href="clients.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 hover:bg-blue-700"> |
|
|
<i data-feather="users"></i> |
|
|
<span>Clients</span> |
|
|
</a> |
|
|
<a href="employes.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 active-menu"> |
|
|
<i data-feather="user-check"></i> |
|
|
<span>Employés</span> |
|
|
</a> |
|
|
<a href="vehicules.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 hover:bg-blue-700"> |
|
|
<i data-feather="truck"></i> |
|
|
<span>Véhicules</span> |
|
|
</a> |
|
|
<a href="missions.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 hover:bg-blue-700"> |
|
|
<i data-feather="map-pin"></i> |
|
|
<span>Missions</span> |
|
|
</a> |
|
|
<a href="assurances.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 hover:bg-blue-700"> |
|
|
<i data-feather="shield"></i> |
|
|
<span>Assurances</span> |
|
|
</a> |
|
|
<a href="reglements.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 hover:bg-blue-700"> |
|
|
<i data-feather="credit-card"></i> |
|
|
<span>Règlements</span> |
|
|
</a> |
|
|
<a href="rapports.html" class="py-2.5 px-4 rounded transition duration-200 flex items-center space-x-2 hover:bg-blue-700"> |
|
|
<i data-feather="bar-chart-2"></i> |
|
|
<span>Rapports</span> |
|
|
</a> |
|
|
</nav> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="flex-1 flex flex-col overflow-hidden"> |
|
|
|
|
|
<header class="bg-white shadow-sm"> |
|
|
<div class="flex items-center justify-between p-4"> |
|
|
<div class="flex items-center"> |
|
|
<button id="menu-toggle" class="text-gray-500 focus:outline-none md:hidden"> |
|
|
<i data-feather="menu"></i> |
|
|
</button> |
|
|
<h1 class="text-2xl font-semibold text-gray-800 ml-4">Modifier Employé</h1> |
|
|
</div> |
|
|
<div class="flex items-center space-x-4"> |
|
|
<div class="relative"> |
|
|
<i data-feather="bell" class="text-gray-500"></i> |
|
|
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span> |
|
|
</div> |
|
|
<div class="flex items-center"> |
|
|
<img src="http://static.photos/people/40x40/10" alt="Profile" class="h-10 w-10 rounded-full"> |
|
|
<span class="ml-2 text-gray-700">Admin</span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</header> |
|
|
|
|
|
|
|
|
<main class="flex-1 overflow-y-auto p-6 bg-gray-100"> |
|
|
<div class="bg-white rounded-lg shadow overflow-hidden p-6" data-aos="fade-up"> |
|
|
<form> |
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> |
|
|
<div class="col-span-2 flex items-center space-x-4"> |
|
|
<div class="h-24 w-24 rounded-full overflow-hidden border-2 border-gray-200"> |
|
|
<img src="http://static.photos/people/120x120/1" alt="Profile" class="h-full w-full object-cover"> |
|
|
</div> |
|
|
<div> |
|
|
<button type="button" class="bg-gray-100 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-200 transition duration-200"> |
|
|
<i data-feather="upload" class="inline mr-2"></i>Changer photo |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">Nom complet</label> |
|
|
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" value="Jean Martin"> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">ID Employé</label> |
|
|
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" value="EMP001" readonly> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">Poste</label> |
|
|
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> |
|
|
<option>Chauffeur remorqueur</option> |
|
|
<option>Chauffeur dépannage</option> |
|
|
<option>Technicien dépannage</option> |
|
|
<option>Administratif</option> |
|
|
</select> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">Téléphone</label> |
|
|
<input type="tel" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" value="06 12 34 56 78"> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">Email</label> |
|
|
<input type="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" value="jean.martin@remorquagepro.fr"> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">Date d'embauche</label> |
|
|
<input type="date" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" value="2020-05-15"> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">Statut</label> |
|
|
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> |
|
|
<option>Actif</option> |
|
|
<option>En congé</option> |
|
|
<option>Inactif</option> |
|
|
</select> |
|
|
</div> |
|
|
|
|
|
<div class="col-span-2"> |
|
|
<label class="block text-sm font-medium text-gray-700 mb-1">Adresse</label> |
|
|
<textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" rows="3">15 Rue des Remorqueurs, 75001 Paris</textarea> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="flex justify-end space-x-4 mt-6"> |
|
|
<a href="employes.html" class="bg-gray-200 text-gray-800 px-6 py-2 rounded-lg hover:bg-gray-300 transition duration-200"> |
|
|
Annuler |
|
|
</a> |
|
|
<button type="submit" class="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition duration-200 flex items-center space-x-2"> |
|
|
<i data-feather="save"></i> |
|
|
<span>Enregistrer</span> |
|
|
</button> |
|
|
</div> |
|
|
</form> |
|
|
</div> |
|
|
</main> |
|
|
</div> |
|
|
|
|
|
<script> |
|
|
|
|
|
document.getElementById('menu-toggle').addEventListener('click', function() { |
|
|
document.getElementById('sidebar').classList.toggle('-translate-x-full'); |
|
|
}); |
|
|
</script> |
|
|
<script>AOS.init();</script> |
|
|
<script>feather.replace();</script> |
|
|
</body> |
|
|
</html> |