planning.html 1.08 KB
Newer Older
Administrator committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
{% extends "base.html" %}
{% load static %}

{% block additionnal_css %}

<link rel="stylesheet" href="{% static 'css/shop.css' %}">
<style type="text/css">
    .content {width: 1024px; margin: 0 auto;}
    .content .day {text-align: center; margin-right: 10px; }
    .hours {text-align: left;}
</style>
{% endblock %}

{% block additionnal_scripts %}
<script src="{% static "js/fp.js" %}"></script>

{% endblock %}

{% block content %}


<section class="content">
    <h1>{{COMPANY_NAME}} : Planning commandes</h1>
    <div class="grid-18">
    <div class="col-1"></div>
    <div class="col-16">
        {% for d, hours in slots.items|dictsort:"0.lower"%}
            <div class="day fl">
                <h4>{{d}}</h4>
                <div class="hours">
                    {% for h, nb in hours.items|dictsort:"0.lower" %}
                        <div class="hour">
                            {{h}} {{nb}}
                        </div>
                    {% endfor %}
                </div>
            </div>
        {% endfor %}
    </div>
    <div class="col-1"></div>
    </div>
{% endblock %}