{% extends "combo/page_template.html" %}
{% load combo assets i18n %}

{% block before-main-content %}
  {{ block.super }}
  <div class="top-bandeau site-wrapper">
    {% placeholder "bandeau" name="Bandeau" %}

    {# if placeholder is empty, display "default bandeau" #}
    <header class="default-bandeau">
      {% with portail_slug=portail_name|lower|slugify %}
      <h1 class="default-bandeau--img-wrapper">
        <img class="default-bandeau--img" src="{% asset_url 'logo:'|add:portail_slug %}" alt="Vous êtes sur le Portail Icitoyen de {{ portail_name }}">
      </h1>
      {% endwith %}
    </header>
  </div>
{% endblock %}

{% block page-header %}
  {% spaceless %}
    <header class="page-header">
      {% placeholder "page-header-content" name="Titre de la page" %}
    </header>
  {% endspaceless %}
{% endblock %}


{% block combo-content %}
<div id="sidebar">
{% trans "Sidebar" as name %}
{% placeholder "sidebar" name=name %}
</div>
<div id="columns">
  <div class="column top-column">
  {% placeholder "top_column" name="Signalement" %}
  </div>
  <div id="left">
  {% trans "Left column" as name %}
  {% placeholder "content" name=name %}
  </div>
  <div id="right">
  {% trans "Right column" as name %}
  {% placeholder "right" name=name %}
  </div>
</div>
{% endblock %}