forked from DGNum/gestioCOF
78 lines
2.1 KiB
HTML
78 lines
2.1 KiB
HTML
{% extends "kfet/base_col_2.html" %}
|
|
{% load staticfiles %}
|
|
{% load kfet_tags %}
|
|
|
|
{% block title %}Accueil{% endblock %}
|
|
{% block header %}{% endblock %}
|
|
|
|
{% block extra_head %}
|
|
<link rel="stylesheet" type="text/css" href="{% static 'kfet/css/home.css' %}">
|
|
{% endblock %}
|
|
|
|
{% block fixed-size %}col-sm-2{% endblock %}
|
|
{% block main-size %}col-sm-10{% endblock %}
|
|
|
|
{% block fixed-content %}
|
|
|
|
<div class="content-left-top">
|
|
<div class="line line-bigsub">La K-Fêt est</div>
|
|
</div>
|
|
<div class="content-left-top" id="open_status_parent">
|
|
<div class="line line-big" id="open_status">?????</div>
|
|
</div>
|
|
{% if perms.kfet.is_team %}
|
|
<div class="buttons">
|
|
<a class="btn btn-primary btn-lg" id="force_close_button">
|
|
Fermer manuellement
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block main-content %}
|
|
|
|
<div class="content-right-block">
|
|
<h2>Carte</h2>
|
|
<div class="column-row">
|
|
<div class="column-sm-1 column-md-2 column-lg-3">
|
|
<div class="unbreakable carte-inverted">
|
|
{% if pressions %}
|
|
<h3>Pressions du moment</h3>
|
|
<ul class="carte">
|
|
{% for article in pressions %}
|
|
<li class="carte-line">
|
|
<div class="filler"></div>
|
|
<span class="carte-label">{{ article.name }}</span>
|
|
<span class="carte-ukf">{{ article.price | ukf:False}} UKF</span>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</div><!-- endblock unbreakable -->
|
|
{% for article in articles %}
|
|
{% ifchanged article.category %}
|
|
{% if not forloop.first %}
|
|
</ul>
|
|
</div><!-- endblock unbreakable -->
|
|
{% endif %}
|
|
<div class="unbreakable">
|
|
<h3>{{ article.category.name }}</h3>
|
|
<ul class="carte">
|
|
{% endifchanged %}
|
|
<li class="carte-line">
|
|
<div class="filler"></div>
|
|
<span class="carte-label">{{ article.name }}</span>
|
|
<span class="carte-ukf">{{ article.price | ukf:False}} UKF</span>
|
|
</li>
|
|
{% if forloop.last %}
|
|
</ul>
|
|
</div><!-- endblock unbreakable -->
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|