templates/offre_emploi_offline.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Log in!{% endblock %}
  3. {% block stylesheets %}
  4.     <style>
  5.         body{
  6.             margin-top:50px;
  7.             background:#eee;
  8.         }
  9.         /*panel*/
  10.         .panel {
  11.             border: none;
  12.             box-shadow: none;
  13.         }
  14.         .panel-heading {
  15.             border-color:#eff2f7 ;
  16.             font-size: 16px;
  17.             font-weight: 300;
  18.         }
  19.         .panel-title {
  20.             color: #2A3542;
  21.             font-size: 14px;
  22.             font-weight: 400;
  23.             margin-bottom: 0;
  24.             margin-top: 0;
  25.             font-family: 'Open Sans', sans-serif;
  26.         }
  27.         /*product list*/
  28.         .prod-cat li a{
  29.             border-bottom: 1px dashed #d9d9d9;
  30.         }
  31.         .prod-cat li a {
  32.             color: #3b3b3b;
  33.         }
  34.         .prod-cat li ul {
  35.             margin-left: 30px;
  36.         }
  37.         .prod-cat li ul li a{
  38.             border-bottom:none;
  39.         }
  40.         .prod-cat li ul li a:hover,.prod-cat li ul li a:focus, .prod-cat li ul li.active a , .prod-cat li a:hover,.prod-cat li a:focus, .prod-cat li a.active{
  41.             background: none;
  42.             color: #ff7261;
  43.         }
  44.         .pro-lab{
  45.             margin-right: 20px;
  46.             font-weight: normal;
  47.         }
  48.         .pro-sort {
  49.             padding-right: 20px;
  50.             float: left;
  51.         }
  52.         .pro-page-list {
  53.             margin: 5px 0 0 0;
  54.         }
  55.         .product-list img{
  56.             width: 100%;
  57.             border-radius: 4px 4px 0 0;
  58.             -webkit-border-radius: 4px 4px 0 0;
  59.         }
  60.         .product-list .pro-img-box {
  61.             position: relative;
  62.         }
  63.         .adtocart {
  64.             background: #fc5959;
  65.             width: 50px;
  66.             height: 50px;
  67.             border-radius: 50%;
  68.             -webkit-border-radius: 50%;
  69.             color: #fff;
  70.             display: inline-block;
  71.             text-align: center;
  72.             border: 3px solid #fff;
  73.             left: 45%;
  74.             bottom: -25px;
  75.             position: absolute;
  76.         }
  77.         .adtocart i{
  78.             color: #fff;
  79.             font-size: 25px;
  80.             line-height: 42px;
  81.         }
  82.         .pro-title {
  83.             color: #5A5A5A;
  84.             display: inline-block;
  85.             margin-top: 20px;
  86.             font-size: 16px;
  87.         }
  88.         .product-list .price {
  89.             color:#fc5959 ;
  90.             font-size: 15px;
  91.         }
  92.         .pro-img-details {
  93.             margin-left: -15px;
  94.         }
  95.         .pro-img-details img {
  96.             width: 100%;
  97.         }
  98.         .pro-d-title {
  99.             font-size: 16px;
  100.             margin-top: 0;
  101.             color: #166BC0;
  102.         }
  103.         .product_meta {
  104.             border-top: 1px solid #eee;
  105.             border-bottom: 1px solid #eee;
  106.             padding: 10px 0;
  107.             margin: 15px 0;
  108.         }
  109.         .product_meta span {
  110.             display: block;
  111.             margin-bottom: 10px;
  112.         }
  113.         .product_meta a, .pro-price{
  114.             color:#fc5959 ;
  115.         }
  116.         .pro-price, .amount-old {
  117.             font-size: 18px;
  118.             padding: 0 10px;
  119.         }
  120.         .amount-old {
  121.             text-decoration: line-through;
  122.         }
  123.         .quantity {
  124.             width: 120px;
  125.         }
  126.         .pro-img-list {
  127.             margin: 10px 0 0 -15px;
  128.             width: 100%;
  129.             display: inline-block;
  130.         }
  131.         .pro-img-list a {
  132.             float: left;
  133.             margin-right: 10px;
  134.             margin-bottom: 10px;
  135.         }
  136.         .pro-d-head {
  137.             font-size: 18px;
  138.             font-weight: 300;
  139.         }
  140.         .bootdey{
  141.             margin-top: 25px;
  142.         }
  143.         span{
  144.             font-size: 15px;
  145.         }
  146.         .certified {
  147.             margin-top: 10px
  148.         }
  149.         .certified ul {
  150.             padding-left: 0
  151.         }
  152.         .certified ul li:not(first-child) {
  153.             margin-left: -3px
  154.         }
  155.         .certified ul li {
  156.             display: inline-block;
  157.             background-color: #f9f9f9;
  158.             border: 1px solid #ccc;
  159.             padding: 13px 19px
  160.         }
  161.         .certified ul li:first-child {
  162.             border-right: none
  163.         }
  164.         .certified ul li a {
  165.             text-align: left;
  166.             font-size: 12px;
  167.             color: #6d7a83;
  168.             line-height: 16px;
  169.             text-decoration: none
  170.         }
  171.         .certified ul li a span {
  172.             display: block;
  173.             color: #21c2f8;
  174.             font-size: 13px;
  175.             font-weight: 700;
  176.             text-align: center
  177.         }
  178.         .pro-d-title {
  179.             color: #21c2f8;
  180.             display: inline-block;
  181.             margin-top: 20px;
  182.             font-size: 20px;
  183.         }
  184.     </style>
  185. {% endblock %}
  186. {% block body %}
  187.     <div class="container bootdey">
  188.         <div class="col-md-12">
  189.             <section class="panel">
  190.                 <div class="row">
  191.                     <div class="col-lg-5">
  192.                         <div class="pro-img-details">
  193.                             <img src="{{ asset(offreEmploi.image) }}" alt="Image Offre d'emploi" style="width: 500px; height: 600px">
  194.                         </div>
  195.                     </div>
  196.                     <div class="col-lg-6">
  197.                         <div style="padding: 10px 0px; background-color: #166BC0; color: #FFFFFF; text-align: center; font-size: 18px;">
  198.                             <span class="glyphicon glyphicon-bullhorn" style="margin: 0px 10px 0px 0px; color: #fff; ">
  199.                             </span>&nbsp;{{ offreEmploi.titre }}
  200.                         </div>
  201.                         <h4 class="pro-d-title">
  202.                             Description de l'Offre d'Emploi
  203.                         </h4>
  204.                         <div style="font-size: 20px; margin-top: 20px; text-align: justify;">
  205.                             {{ offreEmploi.contenu | raw }}
  206.                         </div>
  207.                         <div class="certified">
  208.                             <ul>
  209.                                 <li>
  210.                                     <a href="javascript:void(0);">Service(s)<span>{{ offreEmploi.service.nom }}</span></a>
  211.                                 </li>
  212.                                 <li>
  213.                                     <a href="javascript:void(0);">Statut de l'offre:
  214.                                         {% if ( offreEmploi.statutOE.libelle  == "ouvert") %}
  215.                                             <span style="color: #166BC0">
  216.                                                 {{ offreEmploi.statutOE.libelle }}
  217.                                             </span>
  218.                                         {%endif%}
  219.                                         {% if ( offreEmploi.statutOE.libelle  == "ferme") %}
  220.                                             <span style="color: #FB9687">
  221.                                                 {{ offreEmploi.statutOE.libelle }}
  222.                                             </span>
  223.                                         {%endif%}
  224.                                     </a>
  225.                                 </li>
  226.                             </ul>
  227.                         </div>
  228.                         <p>
  229.                             <a href="{{ path('acces_postuler', {'id': offreEmploi.id})}}" class="btn btn-round btn-success" type="button"><i class="fa fa-shopping-cart"></i> Je postule à cette offre</a>
  230.                         </p>
  231.                     </div>
  232.                 </div>
  233.             </section>
  234.         </div>
  235.     </div>
  236.     <hr>
  237.     <div class="col-lg-6 mx-auto">
  238.         <div style="padding: 10px 0px; background-color: #166BC0; color: #FFFFFF; text-align: center; font-size: 18px;">
  239.                             <span class="glyphicon glyphicon-bullhorn" style="margin: 0px 10px 0px 0px; color: #fff; ">
  240.                             </span>&nbsp;D'autres offres d'emploi
  241.         </div>
  242.         <div class="pro-img-list text-center">
  243.             {% for oE in offres_emploi %}
  244.                 <a href="{{ path('acces_job_offline', {'id': oE.id})}}" style="text-align: center; margin-left: 25px;">
  245.                     <figure>
  246.                         <img src="{{ oE.image }}" alt="" style="width: 150px; height: 140px;">
  247.                         <figcaption style="font-size: 10px;">{{ oE.titre }}</figcaption>
  248.                     </figure>
  249.                 </a>
  250.             {% endfor %}
  251.         </div>
  252.     </div>
  253. {% endblock %}