feat: add temporal student gestion
This commit is contained in:
		| @@ -92,7 +92,7 @@ | ||||
|         </a> | ||||
|  | ||||
|         {# Action BLEUE - Gérer les élèves #} | ||||
|         <a href="{{ url_for('students') }}?class_id={{ class_group.id }}"  | ||||
|         <a href="{{ url_for('classes.students', id=class_group.id) }}"  | ||||
|            class="group bg-gradient-to-r from-blue-500 to-blue-600 text-white rounded-xl p-6 hover:from-blue-600 hover:to-blue-700 transition-all duration-300 transform hover:scale-[1.02] shadow-lg hover:shadow-xl"> | ||||
|             <div class="flex items-center"> | ||||
|                 <div class="w-12 h-12 bg-white/20 rounded-xl flex items-center justify-center mr-4 group-hover:bg-white/30 transition-colors"> | ||||
| @@ -102,7 +102,7 @@ | ||||
|                 </div> | ||||
|                 <div> | ||||
|                     <h3 class="text-lg font-bold mb-1">Gérer élèves</h3> | ||||
|                     <p class="text-sm opacity-90">{{ class_group.students|length }} élèves inscrits</p> | ||||
|                     <p class="text-sm opacity-90">{% if class_group._current_students %}{{ class_group._current_students|length }}{% else %}{{ class_group.students|length }}{% endif %} élèves inscrits</p> | ||||
|                 </div> | ||||
|             </div> | ||||
|         </a> | ||||
| @@ -410,7 +410,7 @@ | ||||
|                             Effectif complet : {{ class_group.students|length }} élèves | ||||
|                         </span> | ||||
|                     </div> | ||||
|                     <a href="{{ url_for('students') }}?class_id={{ class_group.id }}"  | ||||
|                     <a href="{{ url_for('classes.students', id=class_group.id) }}"  | ||||
|                        class="inline-flex items-center text-sm bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-4 py-2 rounded-lg transition-all duration-300 font-semibold shadow-lg hover:shadow-xl transform hover:scale-[1.02]"> | ||||
|                         <svg class="w-4 h-4 mr-2" fill="currentColor" viewBox="0 0 20 20"> | ||||
|                             <path d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z"/> | ||||
| @@ -427,7 +427,7 @@ | ||||
|                     </div> | ||||
|                     <h3 class="text-sm font-medium text-gray-900 mb-2">Aucun élève inscrit</h3> | ||||
|                     <p class="text-sm text-gray-500 mb-4">Ajoutez des élèves à cette classe pour commencer les évaluations</p> | ||||
|                     <a href="{{ url_for('students') }}?class_id={{ class_group.id }}"  | ||||
|                     <a href="{{ url_for('classes.students', id=class_group.id) }}"  | ||||
|                        class="inline-flex items-center text-sm bg-gradient-to-r from-green-500 to-green-600 hover:from-green-600 hover:to-green-700 text-white px-4 py-2 rounded-lg transition-all duration-300 font-semibold shadow-lg hover:shadow-xl transform hover:scale-[1.02]"> | ||||
|                         <svg class="w-4 h-4 mr-2" fill="currentColor" viewBox="0 0 20 20"> | ||||
|                             <path fill-rule="evenodd" d="M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z" clip-rule="evenodd"/> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user