|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
|
<title>Liste des Événements</title>
|
|
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
|
|
|
<link rel="stylesheet" href="public/css/evenement.css">
|
|
|
|
|
<link rel="stylesheet" href="{{dir}}/public/css/evenement.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
@ -15,14 +15,14 @@
|
|
|
|
|
|
|
|
|
|
<div class="container mt-4">
|
|
|
|
|
<div class="div_titres">
|
|
|
|
|
<form action="rechercherEvenement" method="post">
|
|
|
|
|
<form action="{{dir}}/rechercherEvenement" method="post">
|
|
|
|
|
<input type="text" name="recherche" id="recherche" placeholder="Rechercher un événement">
|
|
|
|
|
<button type="submit">
|
|
|
|
|
<img src="public/assets/search.svg" alt="rechercher" width="30px">
|
|
|
|
|
<img src="{{dir}}/public/assets/search.svg" alt="rechercher" width="30px">
|
|
|
|
|
</button>
|
|
|
|
|
</form>
|
|
|
|
|
<h1>Liste des Événements</h1>
|
|
|
|
|
<a href="creerEvenement" class="btn btn-primary">Publier événement</a>
|
|
|
|
|
<a href="{{dir}}/creerEvenement" class="btn btn-primary">Publier événement</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<ul class="list-group">
|
|
|
|
@ -34,13 +34,13 @@
|
|
|
|
|
<p><strong>Organisateur:</strong> {{ evenement.getNomOrganisateur() }}</p>
|
|
|
|
|
<p><strong>Date:</strong> {{ evenement.date }}</p>
|
|
|
|
|
<p><strong>Description:</strong> {{ evenement.description }}</p>
|
|
|
|
|
<img src="public/uploads/{{ evenement.getImage() }}" width="250px" class="img-fluid" alt="{{ evenement.titre }}">
|
|
|
|
|
<img src="{{dir}}/public/uploads/{{ evenement.getImage() }}" width="250px" class="img-fluid" alt="{{ evenement.titre }}">
|
|
|
|
|
<p><strong>Places disponibles:</strong> {{ evenement.nbPlaceMax }}</p>
|
|
|
|
|
<a href="avoirDetailEvenement?id={{ evenement.id }}" class="btn btn-primary">Détails</a>
|
|
|
|
|
<a href="{{dir}}/avoirDetailEvenement/{{ evenement.id }}" class="btn btn-primary">Détails</a>
|
|
|
|
|
</div>
|
|
|
|
|
<form action="supprimerEvenement?id={{ evenement.id }}" method="post">
|
|
|
|
|
<form action="{{dir}}/supprimerEvenement/{{ evenement.id }}" method="get">
|
|
|
|
|
<button type="submit" class="btn btn-primary" id="deleteButton">
|
|
|
|
|
<img src="public/assets/close.png" alt="Supprimer" width="20px">
|
|
|
|
|
<img src="{{dir}}/public/assets/close.png" alt="Supprimer" width="20px">
|
|
|
|
|
</button>
|
|
|
|
|
</form>
|
|
|
|
|
</li>
|
|
|
|
|