templates/offres/offres.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <title>EasyJob |
  5.             {{controller_name}}</title>
  6.         <meta charset="utf-8">
  7.         <meta
  8.         name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  9.         <!--icon -->
  10.         <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
  11.         <link
  12.         rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css">
  13.         <!-- CSS only -->
  14.         <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">
  15.         <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
  16.         <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700&display=swap" rel="stylesheet">
  17.         <link rel="stylesheet" href="{{ asset('css/open-iconic-bootstrap.min.css')}}">
  18.         <link rel="stylesheet" href="{{ asset('css/animate.css')}}">
  19.         <link rel="stylesheet" href="{{ asset('css/owl.carousel.min.css')}}">
  20.         <link rel="stylesheet" href="{{ asset('css/owl.theme.default.min.css')}}">
  21.         <link rel="stylesheet" href="{{ asset('css/magnific-popup.css')}}">
  22.         <link rel="stylesheet" href="{{ asset('css/aos.css')}}">
  23.         <link rel="stylesheet" href="{{ asset('css/ionicons.min.css')}}">
  24.         <link rel="stylesheet" href="{{ asset('css/bootstrap-datepicker.css')}}">
  25.         <link rel="stylesheet" href="{{ asset('css/jquery.timepicker.css')}}">
  26.         <link rel="stylesheet" href="{{ asset('css/flaticon.css')}}">
  27.         <link rel="stylesheet" href="{{ asset('css/icomoon.css')}}">
  28.         <link rel="stylesheet" href="{{ asset('css/style.css')}}">
  29.     </head>
  30.     <body>
  31.         <nav class="navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light" id="ftco-navbar">
  32.             <div class="container-fluid px-md-4    ">
  33.                 <a class="navbar-brand" href="{{path('home')}}">
  34.                     <span style="color:#81ecec;">E</span>as<span style="color:#81ecec;">y</span>j<span style="color:#81ecec;">o</span>b</a>
  35.             </a>
  36.             <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#ftco-nav" aria-controls="ftco-nav" aria-expanded="false" aria-label="Toggle navigation">
  37.                 <span class="oi oi-menu"></span>
  38.                 Menu
  39.             </button>
  40.             <div class="collapse navbar-collapse" id="ftco-nav">
  41.                 <ul class="navbar-nav ml-auto">
  42.                     <li class="nav-item">
  43.                         <a href="{{path('home')}}" class="nav-link">Acceuil</a>
  44.                     </li>
  45.                     <li class="nav-item active">
  46.                         <a href="{{path('offres')}}" class="nav-link">Offres</a>
  47.                     </li>
  48.                     {# <li class="nav-item">
  49.                                                                                                                                                 <a href="{{path('demande')}}" class="nav-link">Demandes</a>
  50.                                                                                                                                             </li> #}
  51.                     {% if app.user and "ROLE_RECRUITER" in app.user.roles %}
  52.                         <li class="nav-item">
  53.                             <a href="{{path('candidat')}}" class="nav-link">Candidats</a>
  54.                         </li>
  55.                     {% endif %}
  56.                     <li class="nav-item">
  57.                         <a href="{{path('contact')}}" class="nav-link">Contact</a>
  58.                     </li>
  59.                     {% if not app.user %}
  60.                         <li class="nav-item">
  61.                             <a href="{{path('app_login')}}" class="nav-link">Connexion</a>
  62.                         </li>
  63.                         <li class="nav-item">
  64.                             <a href="{{path('register')}}" class="nav-link">S'inscrire</a>
  65.                         </li>
  66.                     {% else %}
  67.                         <ul class="navbar-nav ml-auto">
  68.                             <li class="nav-item dropdown">
  69.                                 <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
  70.                                     <i class="fal fa-user-circle"></i>
  71.                                 </a>
  72.                                 <div class="dropdown-menu">
  73.                                     <a class="dropdown-item" href="{{path('user_profil', {'id': app.user.id}) }}">Profile</a>
  74.                                     {% if  app.user and "ROLE_RECRUITER" in app.user.roles  %}
  75.                                         {# <a class="dropdown-item" href="{{path('mes_demande', {'id': app.user.id}) }}">Mes missions</a> #}
  76.                                         <a class="dropdown-item" href="{{path('mes_offre', {'id': app.user.id}) }}">Mes offres</a>
  77.                                         <a class="dropdown-item" href="{{path('historique_demande', {'id': app.user.id}) }}">Historique</a>
  78.                                     {% endif %}
  79.                                     <a class="dropdown-item" href="{{path('app_logout')}}">Déconnecté</a>
  80.                                 </div>
  81.                             </li>
  82.                         {% endif %}
  83.                     </ul>
  84.                     {% if  app.user and "ROLE_RECRUITER" in app.user.roles  %}
  85.                         {# <li class="nav-item cta mr-md-1">
  86.                                                                                                                                                                             <a href="{{path('publier_demande')}}" class="nav-link">Publier une demande</a>
  87.                                                                                                                                                                         </li> #}
  88.                         <li class="nav-item cta cta-colored">
  89.                             <a href="{{path('publier_offre')}}" class="nav-link">Publier un offre</a>
  90.                         </li>
  91.                     {% endif %}
  92.                 </ul>
  93.             </div>
  94.         </div>
  95.     </body>
  96. </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">
  97. <div class="overlay"></div>
  98. <div class="container">
  99.     <div class="row no-gutters slider-text align-items-end justify-content-start">
  100.         <div class="col-md-12 ftco-animate text-center mb-5">
  101.             <p class="breadcrumbs mb-0">
  102.                 <span class="mr-3">
  103.                     <a href="{{path('home')}}">Accueil
  104.                         <i class="ion-ios-arrow-forward"></i>
  105.                     </a>
  106.                 </span>
  107.                 <span>Offres</span>
  108.             </p>
  109.             <h1 class="mb-3 bread">Parcourir les offres</h1>
  110.         </div>
  111.     </div>
  112. </div></div><section class="ftco-section bg-light">
  113. <div class="container">
  114.     <div class="row">
  115.         {% for message in app.flashes('message') %}
  116.             <div class="alert alert-primary">
  117.                 {{ message }}
  118.             </div>
  119.         {% endfor %}
  120.         <div class="col-lg-9 pr-lg-4">
  121.             <div class="row">
  122.                 {% for message in app.flashes('warning') %}
  123.                     <div class="alert alert-warning">
  124.                         {{ message }}
  125.                     </div>
  126.                 {% endfor %}
  127.                 {% for offre in offres %}
  128.                     <div class="col-md-12 ftco-animate">
  129.                         <div class="job-post-item p-4 d-block d-lg-flex align-items-center">
  130.                             <div class="one-third mb-4 mb-md-0">
  131.                                 <div class="job-post-item-header align-items-center">
  132.                                     <span class="subadge">{{offre.user.username}}
  133.                                         {{offre.user.lastname}}</span>
  134.                                     <h2 class="mr-3 text-black">
  135.                                         <p>{{offre.titre}}</p>
  136.                                     </h2>
  137.                                     <p>{{ offre.description}}</p>
  138.                                 </div>
  139.                                 <div class="job-post-item-body d-block d-md-flex">
  140.                                     <div class="mr-3">
  141.                                         <span class="icon-layers"></span>
  142.                                         <a href="#">publié le
  143.                                             {{offre.createdAt | date("d/m/Y")}}</a>
  144.                                     </div>
  145.                                     <div>
  146.                                         <span class="icon-my_location"></span>
  147.                                         <span>{{offre.user.ville}}</span>
  148.                                     </div>
  149.                                 </div>
  150.                                 <div>
  151.                                     <em class="text-muted text-primary text-italic">#{{offre.souscategorie.title}}</em>
  152.                                 </div>
  153.                                 <p>Type d'offre:
  154.                                     <em class="text-muted text-primary text-italic">#{{offre.type | upper}}</em>
  155.                                 </p>
  156.                             </div>
  157.                             <div class="one-forth ml-auto d-flex align-items-center mt-4 md-md-0">
  158.                                 <a href="{{path('detail_offre',{'id':offre.id})}}" class="btn btn-primary py-2">Détail</a>
  159.                                 {% if app.user and "ROLE_EMPLOYEE" in app.user.roles  and   app.user not in  offre.candidatures %}
  160.                                     <a href="{{ path('job_apply',{'id': offre.id}) }}" class="btn btn-success py-2">Postuler</a><br/>
  161.                                 {% endif %}
  162.                             </div>
  163.                         </div>
  164.                     </div>
  165.                     <!-- end -->
  166.                 {% endfor %}
  167.             </div>
  168.             <div class="row mt-5">
  169.                 {{ knp_pagination_render(offres) }}
  170.                 {% if not app.user %}
  171.                     <div class="alert alert-warning" role="alert">
  172.                         <a href="{{path('app_login')}}">
  173.                             <button class="btn btn-warning">Connectez-vouz</button>
  174.                         </a>
  175.                         pour publier une demande
  176.                     </div>
  177.                 {% endif %}
  178.             </div>
  179.         </div>
  180.         <div class="col-lg-3 sidebar">
  181.             {{form_start(form)}}
  182.             <div class="sidebar-box bg-white p-4 ftco-animate">
  183.                 <h1>Recherche</h1>
  184.                 <div class="form-group">
  185.                     {{form_row(form.q)}}
  186.                 </div>
  187.                 <h4>Catégories</h4>
  188.                 {{ form_row(form.categories) }}
  189.                 <h4>Type offre
  190.                 </h4>
  191.                 {{form_row(form.type)}}
  192.                 <h4>Villes</h4>
  193.                 {{ form_row(form.ville) }}
  194.                 <button type="submit" class="btn btn-primary w-100">Filtrer</button>
  195.             </div>
  196.             {{form_end(form)}}
  197.         </div>
  198.     </div>
  199. </div></section><footer class="ftco-footer ftco-bg-dark ftco-section">
  200. <div class="container">
  201.     <div class="row mb-5">
  202.         <div class="col-md">
  203.             <div class="ftco-footer-widget mb-4">
  204.                 <h2 class="ftco-heading-2">EasyJob</h2>
  205.                 <p>Outil pour renforcer vote réseau professionnel ou amical, 
  206.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 échanger des services est enfin devenu plus facile,et
  207.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 favorise l'entraide et les échanges de services entre voisins.</p>
  208.                 <ul class="ftco-footer-social list-unstyled float-md-left float-lft mt-3">
  209.                     <li class="ftco-animate">
  210.                         <a href="#">
  211.                             <span class="icon-twitter"></span>
  212.                         </a>
  213.                     </li>
  214.                     <li class="ftco-animate">
  215.                         <a href="#">
  216.                             <span class="icon-facebook"></span>
  217.                         </a>
  218.                     </li>
  219.                     <li class="ftco-animate">
  220.                         <a href="#">
  221.                             <span class="icon-instagram"></span>
  222.                         </a>
  223.                     </li>
  224.                 </ul>
  225.             </div>
  226.         </div>
  227.         <div class="col-md">
  228.             <div class="ftco-footer-widget mb-4">
  229.                 <h2 class="ftco-heading-2">Emplois</h2>
  230.                 <ul class="list-unstyled">
  231.                     <li>
  232.                         <a href="{{path('publier_offre')}}" class="pb-1 d-block">publier une offre de travail</a>
  233.                     </li>
  234.                     <li>
  235.                         <a href="{{path('publier_demande')}}" class="pb-1 d-block">publier une demande de travail</a>
  236.                     </li>
  237.                 </ul>
  238.             </div>
  239.         </div>
  240.         <div class="col-md">
  241.             <div class="ftco-footer-widget mb-4 ml-md-4">
  242.                 <h2 class="ftco-heading-2">Candidats</h2>
  243.                 <ul class="list-unstyled">
  244.                     <li>
  245.                         <a href="{{path('candidat')}}" class="pb-1 d-block">Parcourir les Candidats</a>
  246.                     </li>
  247.                     <li>
  248.                         <a href="{{path('demande')}}" class="pb-1 d-block">Parcourir les demandes</a>
  249.                     </li>
  250.                     <li>
  251.                         <a href="{{path('offres')}}" class="pb-1 d-block">Parcourir les Offres</a>
  252.                     </li>
  253.                 </ul>
  254.             </div>
  255.         </div>
  256.         <div class="col-md">
  257.             <div class="ftco-footer-widget mb-4 ml-md-4">
  258.                 <h2 class="ftco-heading-2">Compte</h2>
  259.                 <ul class="list-unstyled">
  260.                     <li>
  261.                         <a href="{{path('register')}}" class="pb-1 d-block">S'inscrire</a>
  262.                     </li>
  263.                     <li>
  264.                         <a href="{{path('app_login')}}" class="pb-1 d-block">Se connecté</a>
  265.                     </li>
  266.                 </ul>
  267.             </div>
  268.         </div>
  269.         <div class="col-md">
  270.             <div class="ftco-footer-widget mb-4">
  271.                 <h2 class="ftco-heading-2">Vous avez une question ?</h2>
  272.                 <div class="block-23 mb-3">
  273.                     <ul>
  274.                         <li>
  275.                             <span class="icon icon-map-marker"></span>
  276.                             <span class="text">Bilel Neily, TUNISIE</span>
  277.                         </li>
  278.                         <li>
  279.                             <a href="#">
  280.                                 <span class="icon icon-phone"></span>
  281.                                 <span class="text">+216 000 00 000</span>
  282.                             </a>
  283.                         </li>
  284.                         <li>
  285.                             <a href="#">
  286.                                 <span class="icon icon-envelope"></span>
  287.                                 <span class="text">easy.jobb2022@gmail.com</span>
  288.                             </a>
  289.                         </li>
  290.                     </ul>
  291.                 </div>
  292.             </div>
  293.         </div>
  294.     </div>
  295.     <div class="row">
  296.         <div class="col-md-12 text-center">
  297.             <p>
  298.                 <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
  299.                 Copyright &copy;<script>
  300.                     document.write( new Date().getFullYear() );
  301.                 </script>
  302.                 Tous droits réservés | Ce site est fait avec
  303.                 <i class="icon-heart text-danger" aria-hidden="true"></i>
  304.                 par
  305.                 <a href="{{path('home')}}" target="_blank">EasyJob</a>
  306.                 <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
  307.             </p>
  308.         </div>
  309.     </div>
  310. </div></footer><!-- loader --><div id="ftco-loader" class="show fullscreen">
  311. <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>