templates/reprendre_entreprise/fragments/elite/bloc_elite_recherche_avancee.html.twig line 1

Open in your IDE?
  1.  
  2. {# utilisant seulement dans /reprendre-une-entreprise/recherche-annonces-cession-entreprise_fr_  ControllerReprendreEntrepriseController :: rechercheavanceeentreprise  #}
  3. {% set lien_souscription= path('reglement_infos_pack_mer',{'codePays':codePaysWithUnderScore   }) %}
  4.  
  5. <div class="modal fade bd-example-modal-xl show" 
  6.      id="ModalElite" tabindex="-1" 
  7.      role="dialog" aria-labelledby="exampleModalLabel" 
  8.      style="inset: 0px; margin: auto; position: absolute; padding-right: 15px;  " aria-modal="true">
  9.     <div class="modal-dialog modal-xl" role="document">
  10.         <div class="modal-content">
  11.             <div class="modal-header">
  12.                 <h5 class="modal-title" id="exampleModalLabel">
  13.                     <head_title></head_title>
  14.                 </h5>
  15.                 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  16.                     <span aria-hidden="true">×</span>
  17.                 </button>
  18.             </div>
  19.             <div class="modal-body">
  20.                 <div class="col-12 text-center mb-3">
  21.                     <div class="alert alert-warning" role="alert">
  22.                         <h5><text1></text1></h5>
  23.                         <text2></text2>
  24.                     </div>
  25.                 </div>
  26.                 <div class="col-12 text-center my-3">
  27.                     {% if  app.user|default and  app.user is  hasService(elite_provider.codeServices) %}
  28.                         <a href="javascript:void(0)" id="submit" aria-pressed="true" class="button-rond" role="button">OK</a>&nbsp;&nbsp;&nbsp;
  29.                     {% else   %} 
  30.                         <a href="{{ lienElitePresentation }}" aria-pressed="true" class="button-rond" role="button">Découvrir l'offre</a>&nbsp;&nbsp;&nbsp;
  31.                         {% if app.user|default   %} 
  32.                             <a href="{{ lien_souscription }}?pack=fusacq_elite" class="button-rond" role="button" aria-pressed="true" title="">Souscrire à FUSACQ Elite</a>    
  33.                         {% endif %}    
  34.                     {% endif   %} 
  35.                 </div>
  36.             </div>
  37.         </div>
  38.     </div>
  39. </div>
  40. <link rel="stylesheet" href="{{ asset('build/css/annonces/elite/liste_profils_strategiques.css') }}">
  41. <script   src="{{ asset('build/js/annonces/elite/liste_profils_strategiques.js') }}"  ></script>
  42. <div class="col-12 col-lg-9 offset-lg-1 mt-3 pt-3 bt_gris">
  43.     <div class="row">
  44.         <div class="col-12 col-lg-8">
  45.             <h5 class="gris_666">{{ translate("Type d’entreprise",lang,"","M") | raw }}</h5>
  46.         </div>
  47.         <div class="col-12 col-lg-4 text-right">
  48.        
  49.             <a href="{{ lienElitePresentation }}"
  50.                target="_blank" title="Découvrez FUSACQ Elite">
  51.                 <img src="https://www.fusacq.com/FUSACQ2020/images/fusacq_elite.gif" 
  52.                      class="img-fluid"
  53.                      style="border-radius: 0.40rem !important;">
  54.             </a>
  55.         </div>
  56.     </div>
  57. </div>
  58. {% set identifiants = elite_provider.identifiantsProfilStrategiques %}
  59. <div class="col-4 col-lg-3 offset-lg-2 mt-1 mb-3 profils_selected"></div>
  60. {% if parametres|default and parametres.identifiant_profil|default %} 
  61.     <div class="col-8 col-lg-5 mb-3 profil_selected" id="div_profil_selected">
  62.         {% for code,label in  identifiants %}
  63.             {% set styleBtn = code in parametres.identifiant_profil ? 'shown-item' : 'hidden-item' %}
  64.             <button class="btn btn-bleu-fusacq btn-profil mr-1 mt-1 {{ styleBtn }}"   type="button" id="{{ code }}"> {{ label }} <i class="fas fa-times" aria-hidden="true"></i></button>
  65.             {% endfor  %} 
  66.     </div>
  67. {% else %}
  68.     <div class="col-8 col-lg-5 mb-3 profil_selected" id="div_profil_selected">
  69.         {% for code,label in  identifiants %}
  70.             {% set styleBtn= 'hidden-item' %}
  71.             <button class="btn btn-bleu-fusacq btn-profil mr-1 mt-1 {{ styleBtn }}"   type="button" id="{{ code }}"> {{ label }} <i class="fas fa-times" aria-hidden="true"></i></button>
  72.             {% endfor  %} 
  73.     </div>
  74. {% endif %}
  75. <div class="col-4 col-lg-3 offset-lg-2 mt-3 mb-3">
  76.     {{ translate("Profils prédéfinis",lang,"","M") | raw }}
  77. </div>
  78. {% set profils = elite_provider.listProfilsStrategiques %}
  79. <div class="col-8 col-lg-6 mb-3 mt-2">
  80.     <div class="custom-select restore-native" id="select2" style="border: 1px solid #003366;">
  81.         <div class="select-header" onclick="toggleDropdown('dropdown2');">
  82.             <span class="placeholder">{{ translate("Choisissez parmi 14 profils",lang,"","M") | raw }}</span>
  83.         </div>
  84.         <div class="select-dropdown" id="dropdown2">
  85.             
  86.             <div class="reset-option" onclick="resetSelection('select2');">
  87.                 <i class="fas fa-times-circle reset-icon"></i>
  88.                 <span>Réinitialiser la sélection</span>
  89.             </div>
  90.             {% for categorie,profil in  profils %}
  91.                 <div class="option-category">
  92.                     {{ categorie }}
  93.                 </div>
  94.                 {% for k,p  in  profil %} 
  95.                     <div class="option-item" data-key="{{ k }}" onclick="selectOption(this, 'dropdown2');">
  96.                         • {{ p[0] }}
  97.                     </div>
  98.                 {% endfor  %}
  99.             {% endfor  %} 
  100.         </div>
  101.     </div>
  102. </div>
  103. <input type="hidden" id="identifiant_profil" name="identifiant_profil" multi-value="" value="" />
  104. <div class="col-4 col-lg-3 offset-lg-2 mt-1 mb-3 ">
  105. </div>
  106. <div class="col-8 col-lg-5 mb-3 ajouter_identifiant_profil" style="">
  107.     <button type="button" id="ajouter_identifiant_profil" name="ajouter_identifiant_profil" 
  108.                           class="btn btn-bleu-fusacq shown-item">Ajouter
  109.     </button>
  110. </div>