This commit is contained in:
root 2020-07-19 13:26:57 +00:00
parent 1bb080f7f1
commit 0c881c919b
15 changed files with 260 additions and 83 deletions

View file

@ -21,6 +21,7 @@ Github: https://github.com/lefuturiste
{% block head %}{% endblock %}
</head>
<body>
<div class="up-footer">
{% if layout is not defined %}
<div class="header">
<div class="container header-container">
@ -54,6 +55,17 @@ Github: https://github.com/lefuturiste
{% else %}
{% block content %}{% endblock %}
{% endif %}
{% if isProposed is defined and isProposed == true %}
<div class="proposed-alert">
! Version proposé !
{# <div class="proposed-alert-content">
</div> #}
</div>
{% endif %}
</div>
<div class="sticky-footer">
{% block footer %}{% endblock %}
</div>
{% block scripts %}{% endblock %}
</body>

View file

@ -6,7 +6,7 @@
{% block content %}
<div class="header">
<div class="container header-container">
<a href="/" class="return">
<a href="{% if isProposed is defined and isProposed == true %}/?only={{ id }}{% else %}/{% endif %}" class="return">
<div class="return-icon">
<svg aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"></path>
@ -66,17 +66,21 @@
</div>
{% endif %}
{% if data.descriptionLong|length > 0 %}
{# {% if data.descriptionLong|length > 0 %} #}
<section>
<div class="section-title">
<h2>Présentation</h2>
<div class="section-divider"></div>
</div>
<div class="description">
{{ data.descriptionLong|raw }}
{% if data.descriptionLong is not null and data.descriptionLong|length > 7 %}
{{ data.descriptionLong|raw }}
{% else %}
{{ data.descriptionShort }}
{% endif %}
</div>
</section>
{% endif %}
{# {% endif %} #}
{% if data.schedule|length > 0 %}
<section>
@ -274,6 +278,17 @@
</section>
{% endif %}
</div>
{% endblock %}
{% block footer %}
<div class="mentions">
<div class="advice">
Contenu rédigée par l'une des associations participant à associations.espacecondorcet.org
</div>
<div class="last-update">
Dernière mise à jour le {{ lastPublished }}
</div>
</div>
<div class="footer">
<div></div>
<div></div>