From 026397657311fea15aeebb4a5f5607f4c1579c2c Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Fri, 15 Nov 2024 17:10:46 +0100 Subject: [PATCH] Ajout d'une illustration dans le about --- .../static/images/alunissage.svg | 589 ++++++++++++++++++ src/agenda_culturel/static/style.scss | 11 + .../agenda_culturel/page-rimports-list.html | 2 + 3 files changed, 602 insertions(+) create mode 100644 src/agenda_culturel/static/images/alunissage.svg diff --git a/src/agenda_culturel/static/images/alunissage.svg b/src/agenda_culturel/static/images/alunissage.svg new file mode 100644 index 0000000..b7166b0 --- /dev/null +++ b/src/agenda_culturel/static/images/alunissage.svg @@ -0,0 +1,589 @@ + + + + diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index 1bd149d..23ad0b9 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -1110,6 +1110,17 @@ table .buttons { } } +.image-flottante { + width: 30%; + float: right; + margin: 0 1em; + img { + width: 100%; + margin: -4em 0 0 0; + } +} + + img.preview { height: 100px; } diff --git a/src/agenda_culturel/templates/agenda_culturel/page-rimports-list.html b/src/agenda_culturel/templates/agenda_culturel/page-rimports-list.html index 7397d7e..51ea87d 100644 --- a/src/agenda_culturel/templates/agenda_culturel/page-rimports-list.html +++ b/src/agenda_culturel/templates/agenda_culturel/page-rimports-list.html @@ -1,10 +1,12 @@ {% extends "agenda_culturel/page-single.html" %} +{% load static %} {% block content %}

{{ title }}

+
deux pommes qui alunissent
{% include "agenda_culturel/static_content.html" with name=static_content url_path=url_path %}