52 lines
2.3 KiB
52 lines
2.3 KiB
1 year ago
|
<!DOCTYPE html>
|
||
|
<html lang="fr">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
|
<title>Mes Expérience(s)</title>
|
||
|
<link rel="stylesheet" href="">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<header>
|
||
|
{% include "menu.html" %}
|
||
|
</header>
|
||
|
|
||
|
<div>
|
||
|
<div>
|
||
|
<h1>Mes Expériences</h1>
|
||
|
<a href="../public/index.php?action=ajouterExperience">Ajouter une expérience</a>
|
||
|
</div>
|
||
|
|
||
|
<ul>
|
||
|
{% if experience is not empty %}
|
||
|
{% for experience in experiences %}
|
||
|
<li>
|
||
|
<div>
|
||
|
<h2>{{ experience.intitule }}</h2>
|
||
|
<p> <strong>nom de l'entreprise :</strong> {{ experience.getNomEntreprise() }}</p>
|
||
|
<p><strong>Date début :</strong> {{ experience.getDateDebut }}</p>
|
||
|
<p><strong>Date de fin:</strong> {{ experience.getDateFin }}</p>
|
||
|
<p><strong>Travail actuel :</strong> {{ experience.isTravailActuel }}</p>
|
||
|
</div>
|
||
|
|
||
|
<form action="../public/index.php?action=supprimerExperience&id={{ experience.id }}" method="POST">
|
||
|
<button type="submit" id="deleteButton">
|
||
|
<img src="assets/close.png" alt="Supprimer" width="20px">
|
||
|
</button>
|
||
|
</form>
|
||
|
</li>
|
||
|
{% endfor %}
|
||
|
{% else %}
|
||
|
<li>Aucun événement trouvé.</li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</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>
|