templates/demande/demandeCat.html.twig line 1

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