parent
80ca88b7ea
commit
39f89f0b4e
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Détails de l'Événement</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="css/evenement_details.css"> <!-- You can create a separate CSS file for event details -->
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header>
|
||||
{% include "menu.html" %}
|
||||
</header>
|
||||
|
||||
<div class="container mt-4">
|
||||
{% if evenement %}
|
||||
<h1>Détails de l'Événement</h1>
|
||||
<div class="event-details">
|
||||
<h2>{{ evenement.titre }}</h2>
|
||||
<p><strong>Organisateur:</strong> {{ evenement.organisateurId }}</p>
|
||||
<p><strong>Date:</strong> {{ evenement.date }}</p>
|
||||
<p><strong>Description:</strong> {{ evenement.description }}</p>
|
||||
<img src="data:image/png;base64,{{ evenement.getImage().getBlob() | base64 }}" width="250px" class="img-fluid" alt="Event Image">
|
||||
<p><strong>Places disponibles:</strong> {{ evenement.nbPlaceMax }}</p>
|
||||
<a href="../public/index.php?action=listerEvenement" class="btn btn-primary">Retour</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<p>L'événement n'existe pas ou n'est pas disponible.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue