<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Détails de l'Offre {{ offre.getNom() }}</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>

<header>
    <!-- Add your logo here -->

    {% include "menu.html" %}
</header>
<div class="container mt-5">
    <h1 class="display-4">Détails de l'Offre</h1>
    <ul class="list-group">
        <!-- Add an image related to the offer -->

        <li class="list-group-item"></li><img src="{{dir}}/public/uploads/{{offre.getLogo()}}" alt="Logo" class="img-thumbnail" style="max-height: 50px; max-width: 50px;"></li>
        <li class="list-group-item"><img src="{{dir}}/public/uploads/{{offre.getImg()}}" alt="Offer Image" class="img-fluid"></li>
        <!--<li class="list-group-item"><strong>ID:</strong> {{ offre.getId() }}</li> -->
        <li class="list-group-item"><strong>Offreur:</strong> {{offre.getOffreur().Prenom()}} {{offre.getOffreur().getNom() }}</li>
        <li class="list-group-item"><strong>Nom de l'offre:</strong> {{ offre.getNom() }}</li>
        <li class="list-group-item"><strong>Entreprise :</strong> {{ offre.getEntreprise() }}</li>
        <li class="list-group-item"><strong>Description:</strong> {{ offre.getDescription() }}</li>
        <li class="list-group-item"><strong>Type de contrat:</strong> {{ offre.getTypeContrat() }}</li>
        <li class="list-group-item"><strong>Niveau d'études :</strong> {{ offre.getNiveauEtudes() }}</li>
        <li class="list-group-item"><strong>Ville:</strong> {{ offre.getVille() }}</li>
        <li class="list-group-item"><strong>Date de publication:</strong> {{ offre.getDateStringFr() }}</li>
        <li class="list-group-item"><strong>Descriptif Poste :</strong> {{ offre.getDescriptifPoste() }}</li>
        <li class="list-group-item"><strong>Profil recherché :</strong> {{ offre.getProfilSearched() }}</li>
        <li class="list-group-item"><strong>Site de L'annonce :</strong> {{ offre.getSiteUrl() }}</li>
        <li class="list-group-item"><strong>Mail de Contact : :</strong> {{ offre.getMailContact() }}</li>
        <li class="list-group-item"><strong>Numéro de Contact :</strong> {{ offre.getNumero() }}</li>

        <li class="list-group-item">
            <strong>Full Remote :</strong>
            {% if offre.isRemote() %}
            Oui
            {% else %}
            Non
            {% endif %}
        </li>



    </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>
