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.
45 lines
1.3 KiB
45 lines
1.3 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Alica - Offres</title>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="css/offres.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
{% include "menu.html" %}
|
|
</header>
|
|
|
|
<div class="container mt-4">
|
|
<h1 id="titrePrincipal">Offres d'emploi</h1>
|
|
|
|
{% for offre in offres %}
|
|
<article>
|
|
<div class="row1">
|
|
<img src="data:image/png;base64,{{ offre.getImg().getBlob() | base64 }}">
|
|
<h4>{{ offre.getNom() }}</h4>
|
|
</div>
|
|
<div class="row2">
|
|
<p class="authorDate"><strong>Julien Martin | 15/11/23</strong></p>
|
|
<p>{{ offre.getDescription() }}</p>
|
|
</div>
|
|
|
|
<div class="row3">
|
|
<img src="assets/location.png" alt="location">
|
|
<p>{{offre.getVille()}}</p>
|
|
</div>
|
|
<button type="button" class="btn btn-outline-primary btn-sm mb-2 custom-button"
|
|
onclick="window.location.href = 'index.php?action=displayOffer&id={{offre.getId()}}';">En savoir plus >
|
|
</button>
|
|
</article>
|
|
|
|
{% endfor %}
|
|
</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.11.6/dist/umd/popper.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
|
</body>
|
|
</html>
|