templates/include/popup.html.twig line 1

Open in your IDE?
  1. {% block stylesheets %}
  2.     {{ encore_entry_link_tags('popup') }}
  3. {% endblock %}
  4. {% if popup_data %}
  5.     {% set uid = "now"|date('Uv') %}
  6.     <div class="bb-popup bb-popup-dimmer" data-js-loading="{{uid}}">
  7.         <div class="ui container grid centered bb-popup-container slideDown">
  8.             <div data-js-popup="popup" data-js-popupinfo class=" bb-popup-content eleven wide mobile eight wide tablet five wide computer column ">
  9.                 <div class="bb-popup-description ui grid">
  10.                     <div class="bb-popup-description__image five wide mobile three wide tablet three wide computer column">
  11.                         <img src="{{ base_url_img }}public/img/draw_warning.svg">
  12.                     </div>
  13.                     <div class="bb-popup-description__text twelve wide mobile eight wide tablet eight wide computer column">
  14.                         <h4 class="bold-condensed">{{ popup_data.title is empty ? '' :  popup_data.title }}</h4>
  15.                         {% if popup_data.msg1 is defined and popup_data.msg1 is not empty %}
  16.                             <p class="u-mgt--half u-mgb--half">{{popup_data.msg1 | raw}}</p>
  17.                         {% endif %}
  18.                         {% if popup_data.msg2 is defined and popup_data.msg2 is not empty %}
  19.                             <p class="u-mgt--half u-mgb--half">{{popup_data.msg2 | raw}}</p>
  20.                         {% endif %}
  21.                         {% if popup_data.msg3 is defined and popup_data.msg3 is not empty %}
  22.                             <p class="u-mgt--half u-mgb--half">{{popup_data.msg3 | raw}}</p>
  23.                         {% endif %}
  24.                         {% if popup_data.msg4 is defined and popup_data.msg4 is not empty %}
  25.                             <p class="u-mgt--half u-mgb">{{popup_data.msg4 | raw}}</p>
  26.                         {% endif %}
  27.                         {% if popup_data.footer is defined and popup_data.footer is not empty %}
  28.                             <p class="u-mgt--half u-mgb--half">{{popup_data.footer}}</p>
  29.                         {% endif %}
  30.                         <div class="bb-popup-description__button">
  31.                             <button class="button button--primary button--big" onclick="$('[data-js-loading]').remove()" data-js-popup="close">{{ legacy_trans('Aceptar', 'popupInfo') }}</button>
  32.                         </div>
  33.                     </div>
  34.                 </div>
  35.                 <button title="Cerrar" class="button button--icon popup-close" data-js-popup="close" onclick="$('[data-js-loading]').remove()">
  36.                     <svg role="img" class="icon icon--inline icon--xs">
  37.                         <use xlink:href="{{ base_url }}public/img/icons/svg-defs.svg#icon-times"></use>
  38.                     </svg>
  39.                 </button>
  40.             </div>
  41.         </div>
  42.     </div>
  43. {% endif %}