templates/modal_new_project.html.twig line 1

Open in your IDE?
  1. <div class="modal-dialog">
  2.     <div class="modal-content">
  3.         <section class="creation-container">
  4.             <header class="header-icons">
  5.                 <svg width="48" class="main-icon" height="48" viewbox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
  6.                     <rect width="48" height="48" rx="24" fill="#FFF0F9"/>
  7.                     <g clip-path="url(#clip0_3_5481)">
  8.                         <path d="M33.425 28.225C33.2844 28.1195 33.1133 28.0625 32.9375 28.0625H32.125V17.5C32.125 16.638 31.7826 15.8114 31.1731 15.2019C30.5636 14.5924 29.737 14.25 28.875 14.25H15.0625C14.2005 14.25 13.3739 14.5924 12.7644 15.2019C12.1549 15.8114 11.8125 16.638 11.8125 17.5C11.8125 18.8823 12.8332 19.6877 12.95 19.775C13.0903 19.8812 13.2616 19.9383 13.4375 19.9375C13.6068 19.937 13.7718 19.8837 13.9093 19.7849C14.0469 19.6861 14.1501 19.5468 14.2046 19.3864C14.2591 19.2261 14.2621 19.0528 14.2132 18.8906C14.1644 18.7285 14.0661 18.5857 13.9321 18.4821C13.928 18.477 13.4375 18.083 13.4375 17.5C13.4375 17.069 13.6087 16.6557 13.9135 16.351C14.2182 16.0462 14.6315 15.875 15.0625 15.875C15.4935 15.875 15.9068 16.0462 16.2115 16.351C16.5163 16.6557 16.6875 17.069 16.6875 17.5V30.5C16.6875 31.362 17.0299 32.1886 17.6394 32.7981C18.2489 33.4076 19.0755 33.75 19.9375 33.75H31.3125C32.1745 33.75 33.0011 33.4076 33.6106 32.7981C34.2201 32.1886 34.5625 31.362 34.5625 30.5C34.5625 29.1177 33.5469 28.3123 33.425 28.225ZM21.5625 20.75H28.0625C28.278 20.75 28.4847 20.8356 28.637 20.988C28.7894 21.1403 28.875 21.347 28.875 21.5625C28.875 21.778 28.7894 21.9847 28.637 22.137C28.4847 22.2894 28.278 22.375 28.0625 22.375H21.5625C21.347 22.375 21.1403 22.2894 20.988 22.137C20.8356 21.9847 20.75 21.778 20.75 21.5625C20.75 21.347 20.8356 21.1403 20.988 20.988C21.1403 20.8356 21.347 20.75 21.5625 20.75ZM20.75 24.8125C20.75 24.597 20.8356 24.3903 20.988 24.238C21.1403 24.0856 21.347 24 21.5625 24H28.0625C28.278 24 28.4847 24.0856 28.637 24.238C28.7894 24.3903 28.875 24.597 28.875 24.8125C28.875 25.028 28.7894 25.2347 28.637 25.387C28.4847 25.5394 28.278 25.625 28.0625 25.625H21.5625C21.347 25.625 21.1403 25.5394 20.988 25.387C20.8356 25.2347 20.75 25.028 20.75 24.8125ZM31.3125 32.125H21.9393C22.2254 31.6313 22.3758 31.0706 22.375 30.5C22.3752 30.2245 22.3338 29.9506 22.2521 29.6875H32.6115C32.8132 29.9112 32.9294 30.199 32.9395 30.5C32.9395 30.7136 32.8974 30.925 32.8156 31.1223C32.7339 31.3196 32.614 31.4988 32.4629 31.6498C32.3118 31.8007 32.1324 31.9203 31.935 32.0019C31.7376 32.0834 31.5261 32.1253 31.3125 32.125Z" fill="#F975C4"/>
  9.                     </g>
  10.                     <defs>
  11.                         <clipPath id="clip0_3_5481">
  12.                             <rect width="26" height="26" fill="white" transform="translate(11 11)"/>
  13.                         </clipPath>
  14.                     </defs>
  15.                 </svg>
  16.                 <button class="option-close">
  17.                     <svg width="32" class="secondary-icon" id="closed-modal-new-project" height="32" viewbox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
  18.                         <g clip-path="url(#clip0_3_5485)">
  19.                             <path d="M25 7L7 25" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  20.                             <path d="M7 7L25 25" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  21.                         </g>
  22.                         <defs>
  23.                             <clipPath id="clip0_3_5485">
  24.                                 <rect width="32" height="32" fill="white"/>
  25.                             </clipPath>
  26.                         </defs>
  27.                     </svg>
  28.                 </button>
  29.             </header>
  30.             <h2 class="section-title">Création de la demande</h2>
  31.             <p class="section-description">Choisissez comment créer votre commande.</p>
  32.     
  33.             <a class="option-button" href="mailto:{{is_mail()}}">
  34.                 <span class="option-content">
  35.                     <span class="option-text">Envoyer un email</span>
  36.                     <svg class="option-icon" width="31" height="31" viewbox="0 0 31 31" fill="none" xmlns="http://www.w3.org/2000/svg">
  37.                         <path d="M27.2162 5.74929H3.21622C3.0173 5.74929 2.82654 5.8283 2.68589 5.96896C2.54523 6.10961 2.46622 6.30037 2.46622 6.49929V23.4993C2.46622 23.9634 2.65059 24.4085 2.97878 24.7367C3.30697 25.0649 3.75209 25.2493 4.21622 25.2493H26.2162C26.6803 25.2493 27.1255 25.0649 27.4537 24.7367C27.7818 24.4085 27.9662 23.9634 27.9662 23.4993V6.49929C27.9662 6.30037 27.8872 6.10961 27.7465 5.96896C27.6059 5.8283 27.4151 5.74929 27.2162 5.74929ZM15.2162 16.4818L5.14372 7.24929H25.2887L15.2162 16.4818ZM11.925 15.4993L3.96622 22.7943V8.20429L11.925 15.4993ZM13.035 16.5168L14.7162 18.0518C14.8545 18.1783 15.0351 18.2484 15.2225 18.2484C15.4099 18.2484 15.5905 18.1783 15.7287 18.0518L17.4037 16.5168L25.2887 23.7493H5.14497L13.035 16.5168ZM18.5075 15.4993L26.4662 8.20429V22.7943L18.5075 15.4993Z" fill="#1570EF"/>
  38.                     </svg>
  39.                 </span>
  40.             </a>
  41.         
  42.             {% if only_admin(app.user)%}
  43.                 <a class="option-button" href="{{ btn_sso() }}" target="_blank">
  44.                     <span class="option-content">
  45.                         <span class="option-text">
  46.                             Accedez à wordpress
  47.                         </span>
  48.                         <svg width="24" height="24" class="option-icon" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  49.                             <g clip-path="url(#clip0_3_5510)">
  50.                                 <path d="M21.6937 4.15677C21.6937 4.15677 21.6937 4.16614 21.6937 4.17083L16.2374 22.1652C16.1548 22.4575 15.9848 22.7175 15.7502 22.9104C15.5156 23.1032 15.2276 23.2198 14.9249 23.2443C14.8818 23.248 14.8387 23.2499 14.7955 23.2499C14.5119 23.2508 14.2338 23.1705 13.9943 23.0185C13.7548 22.8665 13.5637 22.6491 13.4437 22.3921L10.0312 15.389C9.99703 15.3188 9.98563 15.2397 9.99857 15.1627C10.0115 15.0858 10.0481 15.0147 10.1034 14.9596L15.5334 9.52958C15.6681 9.38778 15.7421 9.19897 15.7396 9.0034C15.7371 8.80783 15.6583 8.62097 15.52 8.48267C15.3817 8.34437 15.1948 8.26557 14.9992 8.26306C14.8037 8.26056 14.6148 8.33455 14.473 8.46927L9.04024 13.8993C8.98508 13.9545 8.91407 13.9911 8.8371 14.0041C8.76013 14.017 8.68104 14.0056 8.61086 13.9715L1.60117 10.5599C1.32707 10.4284 1.09939 10.2167 0.948314 9.95287C0.797238 9.68905 0.729895 9.38554 0.75521 9.08258C0.780525 8.77962 0.897302 8.4915 1.09007 8.2564C1.28283 8.02131 1.54248 7.85033 1.83461 7.76614L19.829 2.30989H19.843C20.0993 2.23791 20.37 2.23539 20.6275 2.30258C20.885 2.36977 21.12 2.50426 21.3083 2.69225C21.4967 2.88023 21.6317 3.11495 21.6994 3.37231C21.7671 3.62967 21.7651 3.90042 21.6937 4.15677Z" fill="#14AE5C"/>
  51.                             </g>
  52.                             <defs>
  53.                                 <clipPath id="clip0_3_5510">
  54.                                     <rect width="24" height="24" fill="white"/>
  55.                                 </clipPath>
  56.                             </defs>
  57.                         </svg>
  58.                     </span>
  59.                 </a>
  60.             {% endif %}
  61.             {% if is_granted('ROLE_ADMIN') == true or is_granted('ROLE_ADMIN_AGENCY') == true %}
  62.                 <a class="option-button" href="{{ path('handle_mission_campaign', {'id':"new"}) }}">
  63.                     <span class="option-content">
  64.                         <span class="option-text">Demande rapide</span>
  65.                         <svg width="24" height="24" class="option-icon" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  66.                             <g clip-path="url(#clip0_3_5510)">
  67.                                 <path d="M21.6937 4.15677C21.6937 4.15677 21.6937 4.16614 21.6937 4.17083L16.2374 22.1652C16.1548 22.4575 15.9848 22.7175 15.7502 22.9104C15.5156 23.1032 15.2276 23.2198 14.9249 23.2443C14.8818 23.248 14.8387 23.2499 14.7955 23.2499C14.5119 23.2508 14.2338 23.1705 13.9943 23.0185C13.7548 22.8665 13.5637 22.6491 13.4437 22.3921L10.0312 15.389C9.99703 15.3188 9.98563 15.2397 9.99857 15.1627C10.0115 15.0858 10.0481 15.0147 10.1034 14.9596L15.5334 9.52958C15.6681 9.38778 15.7421 9.19897 15.7396 9.0034C15.7371 8.80783 15.6583 8.62097 15.52 8.48267C15.3817 8.34437 15.1948 8.26557 14.9992 8.26306C14.8037 8.26056 14.6148 8.33455 14.473 8.46927L9.04024 13.8993C8.98508 13.9545 8.91407 13.9911 8.8371 14.0041C8.76013 14.017 8.68104 14.0056 8.61086 13.9715L1.60117 10.5599C1.32707 10.4284 1.09939 10.2167 0.948314 9.95287C0.797238 9.68905 0.729895 9.38554 0.75521 9.08258C0.780525 8.77962 0.897302 8.4915 1.09007 8.2564C1.28283 8.02131 1.54248 7.85033 1.83461 7.76614L19.829 2.30989H19.843C20.0993 2.23791 20.37 2.23539 20.6275 2.30258C20.885 2.36977 21.12 2.50426 21.3083 2.69225C21.4967 2.88023 21.6317 3.11495 21.6994 3.37231C21.7671 3.62967 21.7651 3.90042 21.6937 4.15677Z" fill="#14AE5C"/>
  68.                             </g>
  69.                             <defs>
  70.                                 <clipPath id="clip0_3_5510">
  71.                                     <rect width="24" height="24" fill="white"/>
  72.                                 </clipPath>
  73.                             </defs>
  74.                         </svg>
  75.                     </span>
  76.                 </a>
  77.             {% endif %}
  78.             {% if is_granted('ROLE_CLIENT') == true and app.user|only_user_admin %}
  79.                 <a class="option-button" href="{{ btn_sso('https://my-flow.fr/mes-workflows/') }}" target="_blank">
  80.                     <span class="option-content">
  81.                         <span class="option-text">Accéder à mes favoris</span>
  82.                         <svg width="24" height="24" class="option-icon" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  83.                             <g clip-path="url(#clip0_3_5510)">
  84.                                 <path d="M21.6937 4.15677C21.6937 4.15677 21.6937 4.16614 21.6937 4.17083L16.2374 22.1652C16.1548 22.4575 15.9848 22.7175 15.7502 22.9104C15.5156 23.1032 15.2276 23.2198 14.9249 23.2443C14.8818 23.248 14.8387 23.2499 14.7955 23.2499C14.5119 23.2508 14.2338 23.1705 13.9943 23.0185C13.7548 22.8665 13.5637 22.6491 13.4437 22.3921L10.0312 15.389C9.99703 15.3188 9.98563 15.2397 9.99857 15.1627C10.0115 15.0858 10.0481 15.0147 10.1034 14.9596L15.5334 9.52958C15.6681 9.38778 15.7421 9.19897 15.7396 9.0034C15.7371 8.80783 15.6583 8.62097 15.52 8.48267C15.3817 8.34437 15.1948 8.26557 14.9992 8.26306C14.8037 8.26056 14.6148 8.33455 14.473 8.46927L9.04024 13.8993C8.98508 13.9545 8.91407 13.9911 8.8371 14.0041C8.76013 14.017 8.68104 14.0056 8.61086 13.9715L1.60117 10.5599C1.32707 10.4284 1.09939 10.2167 0.948314 9.95287C0.797238 9.68905 0.729895 9.38554 0.75521 9.08258C0.780525 8.77962 0.897302 8.4915 1.09007 8.2564C1.28283 8.02131 1.54248 7.85033 1.83461 7.76614L19.829 2.30989H19.843C20.0993 2.23791 20.37 2.23539 20.6275 2.30258C20.885 2.36977 21.12 2.50426 21.3083 2.69225C21.4967 2.88023 21.6317 3.11495 21.6994 3.37231C21.7671 3.62967 21.7651 3.90042 21.6937 4.15677Z" fill="#14AE5C"/>
  85.                             </g>
  86.                             <defs>
  87.                                 <clipPath id="clip0_3_5510">
  88.                                     <rect width="24" height="24" fill="white"/>
  89.                                 </clipPath>
  90.                             </defs>
  91.                         </svg>
  92.                     </span>
  93.                 </a>
  94.                 <a class="option-button" href="{{ btn_sso('https://my-flow.fr/demandez-votre-devis/') }}" target="_blank">
  95.                     <span class="option-content">
  96.                         <span class="option-text">Formulaire de demande rapide</span>
  97.                         <svg width="24" height="24" class="option-icon" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  98.                             <g clip-path="url(#clip0_3_5510)">
  99.                                 <path d="M21.6937 4.15677C21.6937 4.15677 21.6937 4.16614 21.6937 4.17083L16.2374 22.1652C16.1548 22.4575 15.9848 22.7175 15.7502 22.9104C15.5156 23.1032 15.2276 23.2198 14.9249 23.2443C14.8818 23.248 14.8387 23.2499 14.7955 23.2499C14.5119 23.2508 14.2338 23.1705 13.9943 23.0185C13.7548 22.8665 13.5637 22.6491 13.4437 22.3921L10.0312 15.389C9.99703 15.3188 9.98563 15.2397 9.99857 15.1627C10.0115 15.0858 10.0481 15.0147 10.1034 14.9596L15.5334 9.52958C15.6681 9.38778 15.7421 9.19897 15.7396 9.0034C15.7371 8.80783 15.6583 8.62097 15.52 8.48267C15.3817 8.34437 15.1948 8.26557 14.9992 8.26306C14.8037 8.26056 14.6148 8.33455 14.473 8.46927L9.04024 13.8993C8.98508 13.9545 8.91407 13.9911 8.8371 14.0041C8.76013 14.017 8.68104 14.0056 8.61086 13.9715L1.60117 10.5599C1.32707 10.4284 1.09939 10.2167 0.948314 9.95287C0.797238 9.68905 0.729895 9.38554 0.75521 9.08258C0.780525 8.77962 0.897302 8.4915 1.09007 8.2564C1.28283 8.02131 1.54248 7.85033 1.83461 7.76614L19.829 2.30989H19.843C20.0993 2.23791 20.37 2.23539 20.6275 2.30258C20.885 2.36977 21.12 2.50426 21.3083 2.69225C21.4967 2.88023 21.6317 3.11495 21.6994 3.37231C21.7671 3.62967 21.7651 3.90042 21.6937 4.15677Z" fill="#14AE5C"/>
  100.                             </g>
  101.                             <defs>
  102.                                 <clipPath id="clip0_3_5510">
  103.                                     <rect width="24" height="24" fill="white"/>
  104.                                 </clipPath>
  105.                             </defs>
  106.                         </svg>
  107.                     </span>
  108.                 </a>
  109.             {% endif %}
  110.         </section>
  111.     </div>
  112. </div>