Skip to content

Commit

Permalink
Merge pull request #30 from gip-inclusion/sreuiller/ressources-menu
Browse files Browse the repository at this point in the history
Ajout du menu ressources et suppression du thème sombre
  • Loading branch information
SebastienReuiller authored Nov 15, 2023
2 parents 0d01e4c + 9d6835b commit 1a1c353
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
WAGTAILMENUS_FLAT_MENUS_HANDLE_CHOICES = (
("header_tools", "Menu en haut à droite"),
("footer", "Menu en pied de page"),
("footer_ressources", "Menu Ressources du pied de page"),
)

WAGTAILEMBEDS_FINDERS = [
Expand Down
1 change: 0 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{% load sass_tags %}
<!doctype html>
<html lang="fr"
data-fr-scheme="light"
{% if SITE_CONFIG.mourning %}data-fr-mourning{% endif %}>
<head>
<meta charset="utf-8" />
Expand Down
12 changes: 8 additions & 4 deletions templates/blocks/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,26 @@ <h2 class="fr-h5">
<div class="fr-footer__top">
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--start fr-grid-row--gutters">
<div class="fr-col-12 fr-col-sm-3 fr-col-md-2">
<div class="fr-col-12 fr-col-sm-2 fr-col-md-2">
<h3 class="fr-footer__top-cat">Pages internes</h3>
{% main_menu template="menus/footer_menu.html" %}
</div>
<div class="fr-col-12 fr-col-sm-3 fr-col-md-2">
<div class="fr-col-12 fr-col-sm-2 fr-col-md-2">
<h3 class="fr-footer__top-cat">Ressources</h3>
{% flat_menu handle="footer_ressources" template="menus/footer_menu.html" %}
</div>
<div class="fr-col-12 fr-col-sm-2 fr-col-md-2">
<h3 class="fr-footer__top-cat">Liens externes</h3>
{% flat_menu handle="header_tools" template="menus/footer_menu.html" %}
</div>
<div class="fr-col-12 fr-col-sm-6 fr-col-md-8">
<div class="fr-col-12 fr-col-sm-6 fr-col-md-6">
<div class="fr-grid-row">
<div class="fr-col-12 fr-col-md-4">
<h3 class="fr-footer__top-cat">Nos services numériques</h3>
</div>
</div>
<div class="fr-grid-row">
<div class="fr-col-12 fr-col-md-3">
<div class="fr-col-12 fr-col-md-4">
<ul class="fr-footer__top-list">
{% services as active_services %}
{% for service in active_services %}
Expand Down

0 comments on commit 1a1c353

Please sign in to comment.