<!DOCTYPE html>
<html lang="fr">
<head>
<title>EasyJob |
{{controller_name}}</title>
<meta charset="utf-8">
<meta
name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--icon -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link
rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('css/open-iconic-bootstrap.min.css')}}">
<link rel="stylesheet" href="{{ asset('css/animate.css')}}">
<link rel="stylesheet" href="{{ asset('css/owl.carousel.min.css')}}">
<link rel="stylesheet" href="{{ asset('css/owl.theme.default.min.css')}}">
<link rel="stylesheet" href="{{ asset('css/magnific-popup.css')}}">
<link rel="stylesheet" href="{{ asset('css/aos.css')}}">
<link rel="stylesheet" href="{{ asset('css/ionicons.min.css')}}">
<link rel="stylesheet" href="{{ asset('css/bootstrap-datepicker.css')}}">
<link rel="stylesheet" href="{{ asset('css/jquery.timepicker.css')}}">
<link rel="stylesheet" href="{{ asset('css/flaticon.css')}}">
<link rel="stylesheet" href="{{ asset('css/icomoon.css')}}">
<link rel="stylesheet" href="{{ asset('css/style.css')}}">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light" id="ftco-navbar">
<div class="container-fluid px-md-4 ">
<a class="navbar-brand" href="{{path('home')}}">
<span style="color:#81ecec;">E</span>as<span style="color:#81ecec;">y</span>j<span style="color:#81ecec;">o</span>b</a>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#ftco-nav" aria-controls="ftco-nav" aria-expanded="false" aria-label="Toggle navigation">
<span class="oi oi-menu"></span>
Menu
</button>
<div class="collapse navbar-collapse" id="ftco-nav">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a href="{{path('home')}}" class="nav-link">Acceuil</a>
</li>
<li class="nav-item active">
<a href="{{path('offres')}}" class="nav-link">Offres</a>
</li>
{# <li class="nav-item">
<a href="{{path('demande')}}" class="nav-link">Demandes</a>
</li> #}
{% if app.user and "ROLE_RECRUITER" in app.user.roles %}
<li class="nav-item">
<a href="{{path('candidat')}}" class="nav-link">Candidats</a>
</li>
{% endif %}
<li class="nav-item">
<a href="{{path('contact')}}" class="nav-link">Contact</a>
</li>
{% if not app.user %}
<li class="nav-item">
<a href="{{path('app_login')}}" class="nav-link">Connexion</a>
</li>
<li class="nav-item">
<a href="{{path('register')}}" class="nav-link">S'inscrire</a>
</li>
{% else %}
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
<i class="fal fa-user-circle"></i>
</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="{{path('user_profil', {'id': app.user.id}) }}">Profile</a>
{% if app.user and "ROLE_RECRUITER" in app.user.roles %}
{# <a class="dropdown-item" href="{{path('mes_demande', {'id': app.user.id}) }}">Mes missions</a> #}
<a class="dropdown-item" href="{{path('mes_offre', {'id': app.user.id}) }}">Mes offres</a>
<a class="dropdown-item" href="{{path('historique_demande', {'id': app.user.id}) }}">Historique</a>
{% endif %}
<a class="dropdown-item" href="{{path('app_logout')}}">Déconnecté</a>
</div>
</li>
{% endif %}
</ul>
{% if app.user and "ROLE_RECRUITER" in app.user.roles %}
{# <li class="nav-item cta mr-md-1">
<a href="{{path('publier_demande')}}" class="nav-link">Publier une demande</a>
</li> #}
<li class="nav-item cta cta-colored">
<a href="{{path('publier_offre')}}" class="nav-link">Publier un offre</a>
</li>
{% endif %}
</ul>
</div>
</div>
</body>
</html></nav><!-- END nav --><div class="hero-wrap hero-wrap-2" style="background-image: url('images/bg_1.jpg');" data-stellar-background-ratio="0.5">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text align-items-end justify-content-start">
<div class="col-md-12 ftco-animate text-center mb-5">
<p class="breadcrumbs mb-0">
<span class="mr-3">
<a href="{{path('home')}}">Accueil
<i class="ion-ios-arrow-forward"></i>
</a>
</span>
<span>Offres</span>
</p>
<h1 class="mb-3 bread">Parcourir les offres</h1>
</div>
</div>
</div></div><section class="ftco-section bg-light">
<div class="container">
<div class="row">
{% for message in app.flashes('message') %}
<div class="alert alert-primary">
{{ message }}
</div>
{% endfor %}
<div class="col-lg-9 pr-lg-4">
<div class="row">
{% for message in app.flashes('warning') %}
<div class="alert alert-warning">
{{ message }}
</div>
{% endfor %}
{% for offre in offres %}
<div class="col-md-12 ftco-animate">
<div class="job-post-item p-4 d-block d-lg-flex align-items-center">
<div class="one-third mb-4 mb-md-0">
<div class="job-post-item-header align-items-center">
<span class="subadge">{{offre.user.username}}
{{offre.user.lastname}}</span>
<h2 class="mr-3 text-black">
<p>{{offre.titre}}</p>
</h2>
<p>{{ offre.description}}</p>
</div>
<div class="job-post-item-body d-block d-md-flex">
<div class="mr-3">
<span class="icon-layers"></span>
<a href="#">publié le
{{offre.createdAt | date("d/m/Y")}}</a>
</div>
<div>
<span class="icon-my_location"></span>
<span>{{offre.user.ville}}</span>
</div>
</div>
<div>
<em class="text-muted text-primary text-italic">#{{offre.souscategorie.title}}</em>
</div>
<p>Type d'offre:
<em class="text-muted text-primary text-italic">#{{offre.type | upper}}</em>
</p>
</div>
<div class="one-forth ml-auto d-flex align-items-center mt-4 md-md-0">
<a href="{{path('detail_offre',{'id':offre.id})}}" class="btn btn-primary py-2">Détail</a>
{% if app.user and "ROLE_EMPLOYEE" in app.user.roles and app.user not in offre.candidatures %}
<a href="{{ path('job_apply',{'id': offre.id}) }}" class="btn btn-success py-2">Postuler</a><br/>
{% endif %}
</div>
</div>
</div>
<!-- end -->
{% endfor %}
</div>
<div class="row mt-5">
{{ knp_pagination_render(offres) }}
{% if not app.user %}
<div class="alert alert-warning" role="alert">
<a href="{{path('app_login')}}">
<button class="btn btn-warning">Connectez-vouz</button>
</a>
pour publier une demande
</div>
{% endif %}
</div>
</div>
<div class="col-lg-3 sidebar">
{{form_start(form)}}
<div class="sidebar-box bg-white p-4 ftco-animate">
<h1>Recherche</h1>
<div class="form-group">
{{form_row(form.q)}}
</div>
<h4>Catégories</h4>
{{ form_row(form.categories) }}
<h4>Type offre
</h4>
{{form_row(form.type)}}
<h4>Villes</h4>
{{ form_row(form.ville) }}
<button type="submit" class="btn btn-primary w-100">Filtrer</button>
</div>
{{form_end(form)}}
</div>
</div>
</div></section><footer class="ftco-footer ftco-bg-dark ftco-section">
<div class="container">
<div class="row mb-5">
<div class="col-md">
<div class="ftco-footer-widget mb-4">
<h2 class="ftco-heading-2">EasyJob</h2>
<p>Outil pour renforcer vote réseau professionnel ou amical,
échanger des services est enfin devenu plus facile,et
favorise l'entraide et les échanges de services entre voisins.</p>
<ul class="ftco-footer-social list-unstyled float-md-left float-lft mt-3">
<li class="ftco-animate">
<a href="#">
<span class="icon-twitter"></span>
</a>
</li>
<li class="ftco-animate">
<a href="#">
<span class="icon-facebook"></span>
</a>
</li>
<li class="ftco-animate">
<a href="#">
<span class="icon-instagram"></span>
</a>
</li>
</ul>
</div>
</div>
<div class="col-md">
<div class="ftco-footer-widget mb-4">
<h2 class="ftco-heading-2">Emplois</h2>
<ul class="list-unstyled">
<li>
<a href="{{path('publier_offre')}}" class="pb-1 d-block">publier une offre de travail</a>
</li>
<li>
<a href="{{path('publier_demande')}}" class="pb-1 d-block">publier une demande de travail</a>
</li>
</ul>
</div>
</div>
<div class="col-md">
<div class="ftco-footer-widget mb-4 ml-md-4">
<h2 class="ftco-heading-2">Candidats</h2>
<ul class="list-unstyled">
<li>
<a href="{{path('candidat')}}" class="pb-1 d-block">Parcourir les Candidats</a>
</li>
<li>
<a href="{{path('demande')}}" class="pb-1 d-block">Parcourir les demandes</a>
</li>
<li>
<a href="{{path('offres')}}" class="pb-1 d-block">Parcourir les Offres</a>
</li>
</ul>
</div>
</div>
<div class="col-md">
<div class="ftco-footer-widget mb-4 ml-md-4">
<h2 class="ftco-heading-2">Compte</h2>
<ul class="list-unstyled">
<li>
<a href="{{path('register')}}" class="pb-1 d-block">S'inscrire</a>
</li>
<li>
<a href="{{path('app_login')}}" class="pb-1 d-block">Se connecté</a>
</li>
</ul>
</div>
</div>
<div class="col-md">
<div class="ftco-footer-widget mb-4">
<h2 class="ftco-heading-2">Vous avez une question ?</h2>
<div class="block-23 mb-3">
<ul>
<li>
<span class="icon icon-map-marker"></span>
<span class="text">Bilel Neily, TUNISIE</span>
</li>
<li>
<a href="#">
<span class="icon icon-phone"></span>
<span class="text">+216 000 00 000</span>
</a>
</li>
<li>
<a href="#">
<span class="icon icon-envelope"></span>
<span class="text">easy.jobb2022@gmail.com</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>
document.write( new Date().getFullYear() );
</script>
Tous droits réservés | Ce site est fait avec
<i class="icon-heart text-danger" aria-hidden="true"></i>
par
<a href="{{path('home')}}" target="_blank">EasyJob</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div></footer><!-- loader --><div id="ftco-loader" class="show fullscreen">
<svg class="circular" width="48px" height="48px"><circle class="path-bg" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke="#eeeeee"/><circle class="path" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke-miterlimit="10" stroke="#F96D00"/></svg></div><script src="js/jquery.min.js"></script><script src="js/jquery-migrate-3.0.1.min.js"></script><script src="js/popper.min.js"></script><script src="js/bootstrap.min.js"></script><script src="js/jquery.easing.1.3.js"></script><script src="js/jquery.waypoints.min.js"></script><script src="js/jquery.stellar.min.js"></script><script src="js/owl.carousel.min.js"></script><script src="js/jquery.magnific-popup.min.js"></script><script src="js/aos.js"></script><script src="js/jquery.animateNumber.min.js"></script><script src="js/scrollax.min.js"></script><script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"></script><script src="js/google-map.js"></script><script src="js/main.js"></script><script src="js/offre2.js"></script></body></html>