templates/segments/popup-contact-us.html.twig line 1

Open in your IDE?
  1. {%  if editmode %}
  2.     {% do pimcore_head_link().appendStylesheet(asset('static/css/index.css')) %}
  3.     {{ pimcore_head_link() }}
  4. {% endif %}
  5. <div class="popup contact-us-success-popup {{ editmode ? 'popup--editmode' : '' }}">
  6.     <div class="popup__container">
  7.         <div  class="popup__img">
  8.             {% if editmode %}
  9.                 {{ pimcore_image("popupImage") }}
  10.             {% else %}
  11.                 {{ pimcore_image("popupImage").getThumbnail("popupImage").getHtml({alt: pimcore_image("blockFullImage").getAlt() }) | raw }}
  12.             {% endif %}
  13.         </div>
  14.         <div class="popup__info">
  15.             <div class="popup__close"></div>
  16.             <div class="popup__title">
  17.                 {{ pimcore_wysiwyg("popupTitle", {
  18.                     "toolbarGroups": [
  19.                         {
  20.                             "name": "WYSIWYG 1",
  21.                             "groups": [ "basicstyles", "colors" ],
  22.                         }
  23.                     ],
  24.                     "max-width": "50%",
  25.                     "height": 200,
  26.                 }) }}
  27.             </div>
  28.     
  29.             <div class="popup__text">
  30.                 {{ pimcore_wysiwyg("popupText", {
  31.                     "toolbarGroups": [
  32.                         {
  33.                             "name": "WYSIWYG 1",
  34.                             "groups": [ "basicstyles" ],
  35.                         }
  36.                     ],
  37.                     "height": 120,
  38.                 }) }}
  39.             </div>
  40.         </div>
  41.     </div>
  42. </div>