forked from DGNum/gestioCOF
65 lines
2.4 KiB
HTML
65 lines
2.4 KiB
HTML
{% extends "kfet/base.html" %}
|
|
{% load staticfiles %}
|
|
{% load kfet_tags %}
|
|
|
|
{% block title %}Accueil{% endblock %}
|
|
{% block content-header-title %}Accueil{% endblock %}
|
|
{% block extra_head %}
|
|
<link rel="stylesheet" type="text/css" href="{% static 'kfet/css/home.css' %}">
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
<div class="col-sm-4 col-md-3 col-content-left">
|
|
<div class="content-left">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-8 col-md-9 col-content-right">
|
|
{% include 'kfet/base_messages.html' %}
|
|
<div class="content-right">
|
|
<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">
|
|
<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>
|
|
</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 foorloop.last %}
|
|
</ul>
|
|
</div><!-- endblock unbreakable -->
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|