You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.6 KiB
59 lines
1.6 KiB
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Profils des Alumnis</title>
|
|
<style>
|
|
.profiles-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
}
|
|
.profile {
|
|
margin: 10px;
|
|
text-align: center;
|
|
}
|
|
.profile img {
|
|
width: 100px; /* ou la taille que vous préférez */
|
|
border-radius: 50%;
|
|
}
|
|
.pagination {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
.pagination a {
|
|
margin: 0 5px;
|
|
text-decoration: none;
|
|
color: #333;
|
|
}
|
|
.pagination a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Les Alumnis :</h1>
|
|
|
|
<div class="profiles-container">
|
|
{% for utilisateur in utilisateurs %}
|
|
<div class="profile">
|
|
<img src="{{ 'assets/' ~ utilisateur.image ?? 'logo.png' }}" alt="Image de profil">
|
|
<p>{{ utilisateur.prenom }} {{ utilisateur.nom }}</p>
|
|
<a href="{{ 'voir_profil.php?id=' ~ utilisateur.id }}">Voir le profil</a>
|
|
</div>
|
|
{% else %}
|
|
<p>Aucun profil trouvé.</p>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div class="pagination">
|
|
{% if page > 1 %}
|
|
<a href="{{ 'index.php?action=getProfilByPage&page=' ~ (page - 1) }}">Précédente</a>
|
|
{% endif %}
|
|
{{ page }}
|
|
<a href="{{ 'index.php?action=getProfilByPage&page=' ~ (page + 1) }}">Suivante</a>
|
|
</div>
|
|
</body>
|
|
</html>
|