mirror of
https://github.com/nanoy42/coope
synced 2024-11-04 17:06:27 +00:00
31 lines
849 B
HTML
31 lines
849 B
HTML
{% extends 'base.html' %}
|
|
{% block entete %}Accueil{% endblock %}
|
|
{% block navbar %}
|
|
<ul>
|
|
<li><a href="#first">Accueil</a></li>
|
|
<li><a href="#second">Les pressions du moment</a></li>
|
|
</ul>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<section id="first" class="main">
|
|
<header class="major">
|
|
<h2>Accueil</h2>
|
|
</header>
|
|
<section>
|
|
{{ home_text }}
|
|
</section>
|
|
</section>
|
|
<section id="second" class="main">
|
|
<header class="major">
|
|
<h2>Les pressions du moment</h2>
|
|
</header>
|
|
<section>
|
|
Les bières pressions actuellement en Coopé :
|
|
<ul>
|
|
{% for keg in kegs %}
|
|
<li>{{keg}} ({% if keg.pinte %} Pinte : {{keg.pinte.amount}}€,{% endif %}{% if keg.demi %} Demi : {{keg.demi.amount}}€,{% endif %}{% if keg.galopin %} Galopin : {{keg.galopin.amount}}€{% endif %})</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|
|
</section>
|
|
{% endblock %}
|