templates/platform/component/organism/theme_default_security_header.html.twig line 1

Open in your IDE?
  1. <div id="security-background"
  2.      class="position-fixed w-100 vh-100{% if value.background.class is not same as("") %} {{ value.background.class }}{% endif %}"
  3.      style="z-index: -5;{% if value.background.image not in [null ,''] %}background-image: url({{ path('static_project_file', {'fileName': value.background.image}) }});{% endif %} {% if value.background.color is not same as(null) %}background-color: {{value.background.color}};{% endif %}"
  4. >
  5. </div>
  6. <header class="security-header{% if value.class is defined %} {{ value.class }} {% endif %}">
  7.     {% if value.container is defined %}
  8.         <div class="{{ value.container }}">
  9.     {% endif %}
  10.         {% if value.banner is defined and value.banner.enabled %}
  11.                 <div class="security-header-banner">
  12.                         <img src="{{ path('static_project_file', {'fileName': value.banner.url}) }}"
  13.                              alt="{{ value.banner.alt|trans }}"
  14.                              class=" img-fluid {% if value.banner.class is defined %} {{ value.banner.class }}{% endif %}">
  15.                 </div>
  16.         {% endif %}
  17.                 {% if value.logo is defined and value.logo.url not in [null ,''] and canDisplayComponent(app.user, value.logo) %}
  18.                         <img src="{{ path('static_project_file', {'fileName': value.logo.url}) }}"
  19.                              alt="{{ value.logo.alt|trans }}"
  20.                              class="logo{% if value.logo.class is defined %} {{ value.logo.class }}{% endif %}">
  21.                 {% endif %}
  22.     {% if value.container is defined %}
  23.         </div>
  24.     {% endif %}
  25. </header>