mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Add new banner
This commit is contained in:
parent
7815796d8b
commit
d7305488b6
@ -10,16 +10,16 @@ img {
|
|||||||
</style>
|
</style>
|
||||||
<div style="background: #CBD1DD; padding: 0px 5%;">
|
<div style="background: #CBD1DD; padding: 0px 5%;">
|
||||||
<div style="background: #F9FAFB;">
|
<div style="background: #F9FAFB;">
|
||||||
<h2 style="background: #304C83; color:#F9FAFB">{{ weekmail.title }}</h2>
|
<h2 style="background: #304C83; color: hsl(219.6, 20.8%, 98%)">{{ weekmail.title }}</h2>
|
||||||
<img src="{{ weekmail.get_banner() }}"
|
<img src="{{ weekmail.get_banner() }}"
|
||||||
id="OWATemporaryImageDivContainerBannerForOutlook"
|
id="OWATemporaryImageDivContainerBannerForOutlook"
|
||||||
>
|
>
|
||||||
{% if weekmail.intro %}
|
{% if weekmail.intro %}
|
||||||
<h3 style="background: #E3A11C; color: #020202">{% trans %}Intro{% endtrans %}</h3>
|
<h3 style="background: #E3A11C; color: hsl(219.6, 20.8%, 98%)">{% trans %}Intro{% endtrans %}</h3>
|
||||||
{{ weekmail.intro|markdown }}
|
{{ weekmail.intro|markdown }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h3 style="background: #E3A11C; color: #020202">{% trans %}Table of content{% endtrans %}</h3>
|
<h3 style="background: #E3A11C; color: hsl(219.6, 20.8%, 98%)">{% trans %}Table of content{% endtrans %}</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{% for a in weekmail.articles.all() %}
|
{% for a in weekmail.articles.all() %}
|
||||||
<li>[{{ a.club }}] {{ a.title }}</li>
|
<li>[{{ a.club }}] {{ a.title }}</li>
|
||||||
@ -27,22 +27,22 @@ img {
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{%- for a in weekmail.articles.all() %}
|
{%- for a in weekmail.articles.all() %}
|
||||||
<h3 style="background: #E3A11C; color: #020202">[{{ a.club }}] {{ a.title }}</h3>
|
<h3 style="background: #E3A11C; color: hsl(219.6, 20.8%, 98%)">[{{ a.club }}] {{ a.title }}</h3>
|
||||||
{{ a.content|markdown }}
|
{{ a.content|markdown }}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|
||||||
{%- if weekmail.joke %}
|
{%- if weekmail.joke %}
|
||||||
<h3 style="background: #E3A11C; color: #020202">{% trans %}Joke{% endtrans %}</h3>
|
<h3 style="background: #E3A11C; color: hsl(219.6, 20.8%, 98%)">{% trans %}Joke{% endtrans %}</h3>
|
||||||
{{ weekmail.joke|markdown }}
|
{{ weekmail.joke|markdown }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
{%- if weekmail.protip %}
|
{%- if weekmail.protip %}
|
||||||
<h3 style="background: #E3A11C; color: #020202">{% trans %}Pro tip{% endtrans %}</h3>
|
<h3 style="background: #E3A11C; color: hsl(219.6, 20.8%, 98%)">{% trans %}Pro tip{% endtrans %}</h3>
|
||||||
{{ weekmail.protip|markdown }}
|
{{ weekmail.protip|markdown }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
{%- if weekmail.conclusion %}
|
{%- if weekmail.conclusion %}
|
||||||
<h3 style="background: #E3A11C; color: #020202">{% trans %}Final word{% endtrans %}</h3>
|
<h3 style="background: #E3A11C; color: hsl(219.6, 20.8%, 98%)">{% trans %}Final word{% endtrans %}</h3>
|
||||||
{{ weekmail.conclusion|markdown }}
|
{{ weekmail.conclusion|markdown }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 142 KiB |
Loading…
Reference in New Issue
Block a user