metz-metropole: add template for internal elu pages (#41050)

This commit is contained in:
Frédéric Péters 2020-03-27 09:31:15 +01:00
parent f2491ab770
commit d20d228363
4 changed files with 31 additions and 16 deletions

View File

@ -1,3 +1,4 @@
.page-template-internal_elus,
.page-template-homepage_elus {
&.has-header-background .site-header {
background: white;
@ -110,13 +111,17 @@
content: "\f005"; // star
}
}
#columns {
margin-top: 20px;
}
}
#filter-view {
position: relative;
width: $width;
max-width: 100vw;
margin: 0px auto 20px auto;
margin: 0px auto 0px auto;
#filters {
display: flex;
}

View File

@ -17,8 +17,12 @@
},
"COMBO_PUBLIC_TEMPLATES.update": {
"homepage_elus": {
"name": "Page portail élus",
"name": "Page accueil portail élus",
"template": "combo/page_template_homepage_elus.html"
},
"internal_elus": {
"name": "Page interne portail élus",
"template": "combo/page_template_elus.html"
}
},
"WCS_FORM_ASSET_SLOTS": {

View File

@ -0,0 +1,19 @@
{% extends "combo/page_template.html" %}
{% load combo i18n %}
{% block title-content %}
<h1>Portail élus</h1>
<span>Metz Métropole et ses communes</span>
{% endblock %}
{% block topside %}
{% endblock %}
{% block before-main-content %}
{{ block.super }}
<div id="content-top-wrapper">
<div class="content-top">
{% placeholder "top" name="Haut" %}
</div>
</div>
{% endblock %}

View File

@ -1,21 +1,8 @@
{% extends "combo/page_template.html" %}
{% extends "combo/page_template_elus.html" %}
{% load combo i18n %}
{% block title-content %}
<h1>Portail élus</h1>
<span>Metz Métropole et ses communes</span>
{% endblock %}
{% block topside %}
{% endblock %}
{% block before-main-content %}
{{ block.super }}
<div id="content-top-wrapper">
<div class="content-top">
{% placeholder "top" name="Haut" %}
</div>
</div>
<div id="filter-view">
<div id="filters">
<button class="filtrer mobile-only"><span>Filtrer</span></button>