toulouse: add custom template for family home
This commit is contained in:
parent
68277ad329
commit
49cea4dfab
|
@ -283,7 +283,8 @@ div#main-content div.meetings_table br:last-child {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.page-template-homepage .gru-content {
|
||||
.page-template-homepage .gru-content,
|
||||
.page-template-homepage_family .gru-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
@ -348,8 +349,11 @@ section#section-particuliers {
|
|||
position: static;
|
||||
}
|
||||
}
|
||||
&.icone-famille h1:first-child::before {
|
||||
background-image: url(img/home/home-particuliers/picto-famille.png);
|
||||
&.icone-famille {
|
||||
min-height: 500px;
|
||||
h1:first-child::before {
|
||||
background-image: url(img/home/home-particuliers/picto-famille.png);
|
||||
}
|
||||
}
|
||||
h1 + div.link-list-cell,
|
||||
h1 + div.wcsformsofcategorycell {
|
||||
|
|
|
@ -17,6 +17,12 @@
|
|||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
"COMBO_PUBLIC_TEMPLATES.update": {
|
||||
"homepage_family": {
|
||||
"name": "Page d’accueil famille",
|
||||
"template": "combo/page_template_family.html"
|
||||
}
|
||||
},
|
||||
"COMBO_ASSET_SLOTS.update": {
|
||||
"picto:dechets-fagots": { "label": "Déchets : Fagots" },
|
||||
"picto:dechets-sacs": { "label": "Déchets : Sacs" },
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block combo-content %}
|
||||
<section id="intro">
|
||||
{% placeholder "intro" name="Introduction" %}
|
||||
</section>
|
||||
|
||||
<section id="section-particuliers" class="icone-famille">
|
||||
<h1>Famille</h1><a name="particuliers"></a>
|
||||
<div id="search">
|
||||
<h3>À la recherche d’un service spécifique ?</h3>
|
||||
<p>Effectuez une recherche par mots-clés</p>
|
||||
<form>
|
||||
<input type="search" name="q" placeholder="Mots-clés...">
|
||||
<button></button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="forms">
|
||||
<div class="search-results links-list">
|
||||
</div>
|
||||
{% placeholder "particuliers" name="Particuliers" %}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue