educollab / evaluation.html
progitanas1's picture
creez les html lies - Initial Deployment
18f57ad verified
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Évaluation - EduCollab</title>
<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://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
}
.rating-star {
cursor: pointer;
transition: transform 0.2s, color 0.2s;
}
.rating-star:hover {
transform: scale(1.2);
}
.progress-ring {
transform: rotate(-90deg);
}
.progress-ring__circle {
transition: stroke-dashoffset 0.5s;
transform-origin: 50% 50%;
}
.evaluation-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.animate-bounce-slow {
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
</style>
</head>
<body class="text-gray-800">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="index.html" class="flex-shrink-0 flex items-center">
<i data-feather="users" class="text-indigo-600"></i>
<span class="ml-2 text-xl font-bold text-indigo-600">EduCollab</span>
</a>
</div>
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
<a href="index.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Accueil</a>
<a href="projets.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Projets</a>
<a href="calendrier.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Calendrier</a>
<a href="evaluation.html" class="text-indigo-600 px-3 py-2 text-sm font-medium">Évaluation</a>
</div>
<div class="flex items-center">
<button class="bg-indigo-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-indigo-700">
Mon compte
</button>
</div>
</div>
</div>
</nav>
<!-- Header -->
<div class="bg-white shadow">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center">
<h1 class="text-2xl font-bold text-gray-900">Évaluation collaborative</h1>
<div class="flex items-center space-x-2 text-sm text-gray-500">
<i data-feather="info" class="w-4 h-4"></i>
<span>Système d'évaluation par les pairs et enseignants</span>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
<div class="px-4 py-6 sm:px-0">
<!-- Stats Overview -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-white rounded-lg shadow-sm p-6">
<div class="flex items-center">
<div class="flex-shrink-0">
<div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center">
<i data-feather="clipboard" class="w-6 h-6 text-indigo-600"></i>
</div>
</div>
<div class="ml-4">
<h3 class="text-lg font-semibold text-gray-900">12</h3>
<p class="text-sm text-gray-500">Projets évalués</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-6">
<div class="flex items-center">
<div class="flex-shrink-0">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center">
<i data-feather="star" class="w-6 h-6 text-green-600"></i>
</div>
</div>
<div class="ml-4">
<h3 class="text-lg font-semibold text-gray-900">4.2/5</h3>
<p class="text-sm text-gray-500">Moyenne générale</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-6">
<div class="flex items-center">
<div class="flex-shrink-0">
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center">
<i data-feather="users" class="w-6 h-6 text-blue-600"></i>
</div>
</div>
<div class="ml-4">
<h3 class="text-lg font-semibold text-gray-900">8</h3>
<p class="text-sm text-gray-500">Évaluations en attente</p>
</div>
</div>
</div>
</div>
<!-- Evaluation Tabs -->
<div class="bg-white rounded-lg shadow-sm mb-8">
<div class="border-b border-gray-200">
<nav class="flex -mb-px">
<a href="#" class="border-b-2 border-indigo-500 text-indigo-600 px-4 py-4 text-sm font-medium">À évaluer</a>
<a href="#" class="border-b-2 border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 px-4 py-4 text-sm font-medium">Évaluations reçues</a>
<a href="#" class="border-b-2 border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 px-4 py-4 text-sm font-medium">Historique</a>
</nav>
</div>
</div>
<!-- Evaluation Cards -->
<div class="grid grid-cols-1 gap-6">
<!-- Evaluation Card 1 -->
<div class="bg-white rounded-lg shadow-sm border border-gray-200 evaluation-card transition-all duration-300">
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-lg font-semibold text-gray-900">Projet IA & Machine Learning</h3>
<p class="text-sm text-gray-500">Développement d'un système de recommandation intelligent</p>
</div>
<span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full">En attente</span>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<!-- Team Members -->
<div>
<h4 class="text-sm font-medium text-gray-900 mb-3">Membres de l'équipe</h4>
<div class="space-y-3">
<div class="flex items-center">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/32.jpg" alt="">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Sophie Martin</p>
<p class="text-xs text-gray-500">Design UI/UX</p>
</div>
</div>
<div class="flex items-center">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/41.jpg" alt="">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Thomas Leroy</p>
<p class="text-xs text-gray-500">Développement Backend</p>
</div>
</div>
<div class="flex items-center">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/68.jpg" alt="">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Camille Dubois</p>
<p class="text-xs text-gray-500">Data Science</p>
</div>
</div>
</div>
</div>
<!-- Evaluation Progress -->
<div>
<h4 class="text-sm font-medium text-gray-900 mb-3">Progression de l'évaluation</h4>
<div class="space-y-4">
<div>
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Évaluations complétées</span>
<span>1/3</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-indigo-600 h-2 rounded-full" style="width: 33%"></div>
</div>
</div>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="clock" class="w-4 h-4 mr-1"></i>
<span>Échéance: 25/12/2023</span>
</div>
</div>
</div>
</div>
<div class="flex justify-end space-x-3">
<button class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 hover:bg-gray-50">
Voir le projet
</button>
<button class="px-4 py-2 bg-indigo-600 text-white rounded-md text-sm font-medium hover:bg-indigo-700 flex items-center">
<i data-feather="edit" class="w-4 h-4 mr-2"></i>
Commencer l'évaluation
</button>
</div>
</div>
</div>
<!-- Evaluation Card 2 -->
<div class="bg-white rounded-lg shadow-sm border border-gray-200 evaluation-card transition-all duration-300">
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-lg font-semibold text-gray-900">Application Mobile Éducative</h3>
<p class="text-sm text-gray-500">Création d'une application pour l'apprentissage des langues</p>
</div>
<span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full">En attente</span>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<!-- Team Members -->
<div>
<h4 class="text-sm font-medium text-gray-900 mb-3">Membres de l'équipe</h4>
<div class="space-y-3">
<div class="flex items-center">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/22.jpg" alt="">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Lucas Bernard</p>
<p class="text-xs text-gray-500">Développement Mobile</p>
</div>
</div>
<div class="flex items-center">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/45.jpg" alt="">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Émilie Petit</p>
<p class="text-xs text-gray-500">Contenu Pédagogique</p>
</div>
</div>
</div>
</div>
<!-- Evaluation Progress -->
<div>
<h4 class="text-sm font-medium text-gray-900 mb-3">Progression de l'évaluation</h4>
<div class="space-y-4">
<div>
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Évaluations complétées</span>
<span>0/2</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-indigo-600 h-2 rounded-full" style="width: 0%"></div>
</div>
</div>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="clock" class="w-4 h-4 mr-1"></i>
<span>Échéance: 02/01/2024</span>
</div>
</div>
</div>
</div>
<div class="flex justify-end space-x-3">
<button class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 hover:bg-gray-50">
Voir le projet
</button>
<button class="px-4 py-2 bg-indigo-600 text-white rounded-md text-sm font-medium hover:bg-indigo-700 flex items-center">
<i data-feather="edit" class="w-4 h-4 mr-2"></i>
Commencer l'évaluation
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
feather.replace();
// Star rating functionality
document.querySelectorAll('.rating-star').forEach(star => {
star.addEventListener('click', function() {
const rating = this.getAttribute('data-rating');
const container = this.closest('.rating-container');
// Update all stars up to the clicked one
container.querySelectorAll('.rating-star').forEach(s => {
if (s.getAttribute('data-rating') <= rating) {
s.classList.add('text-yellow-400');
s.classList.remove('text-gray-300');
} else {
s.classList.remove('text-yellow-400');
s.classList.add('text-gray-300');
}
});
});
});
</script>
</body>
</html>