{% extends 'EPSFeBundle::layout_base.html.twig' %} {% set FeLayoutConfig = campagneHabillage.getFeLayoutConfigParsed %} {% block layout_style %} {% endblock layout_style %} {% block bodycontent %}
{% if fromBackend %} Dimensions de la page :
  • largeur : ${pagew}px
  • hauteur : variable (mini ${pageh}px)
  • {% endif %} {% for ligneId, ligne in FeLayoutConfig.lignes %}
    {% for num, col in ligne %} {% set zoneId = ligneId ~ num %} {% set css = zoneId ~ ' col_wrapper col_' ~ ligneId ~ num ~ '_wrapper' %} {% for m in ['lg', 'md', 'sm', 'xs'] %} {% set v = FeLayoutConfig.defaut.largeurCol %} {% if col[m]['largeurCol'] is defined %} {% set v = col[m]['largeurCol'] %} {% endif %} {% set css = css ~' col-'~ m ~'-' ~ v %} {% endfor %} {% for m in ['lg', 'md', 'sm', 'xs'] %} {% set v = FeLayoutConfig.defaut.prefixCol %} {% if col[m]['prefixCol'] is defined %} {% set v = col[m]['prefixCol'] %} {% endif %} {% set css = css ~' col-'~ m ~'-offset-' ~ v %} {% endfor %} {% if fromBackend %} {% endif %}
    {% if col.role is defined and col.role %} {# {% if 'LOGO' == col.role %} {% endif %} #} {% if 'JEU' == col.role %}
    {% if fromBackend %} Zone masquée par le module de jeu :
  • largeur : ${jeuw}px
  • hauteur : variable (mini ${jeuh}px)
  • marge haute au bord de page : ${jeutop}px
  • marge gauche au bord de page : ${jeuleft}px
  • {% endif %} {% include 'EPSFeBundle:Common:_cms_wrapper.html.twig' with { 'zone' : 'col_PRECONTENT' } %} {% block content %} {% endblock content %} {% include 'EPSFeBundle:Common:_cms_wrapper.html.twig' with { 'zone' : 'col_CONTENT' } %}
    {% endif %} {% else %} {% include 'EPSFeBundle:Common:_cms_wrapper.html.twig' with { 'zone' : zoneId } %} {% endif %}
    {% if fromBackend %}
    {% endif %} {% endfor %}
    {% endfor %}
    {% endblock bodycontent %}