parent
e32653bace
commit
265d12d88f
@ -0,0 +1,51 @@
|
||||
.offre-container {
|
||||
margin-bottom: 5%;
|
||||
}
|
||||
.offre-img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#titrePrincipal {
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid black;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.custom-button {
|
||||
background-color: #00DBFF;
|
||||
border-color: #00DBFF;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.row1
|
||||
{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
|
||||
.row1 h4
|
||||
{
|
||||
margin-left: 20px;
|
||||
}
|
||||
.row1 img
|
||||
{
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.authorDate
|
||||
{
|
||||
color: #00DBFF;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.row3 {
|
||||
width: 30%;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.row3 img {
|
||||
align-self: flex-start;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
<!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>
|
Loading…
Reference in new issue