Skip to content
Snippets Groups Projects
Commit 166ecd9f authored by Milo Hivert's avatar Milo Hivert
Browse files

debut style admin

parent 2932a79c
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ body{
@media (min-width : 50em){
.wrapper{
background-image: url("../images/bg.png");
background-image: url("../images/banquet.png");
background-attachment: fixed;
background-size: 100%;
padding: 10% 3% 3% 3%;
......@@ -272,3 +272,15 @@ position: relative;
padding: 20px 10px;
border-radius: 10px;
}
.block_commande{
padding:3%;
margin:3%;
border-radius:5px;
background-color: beige;
}
.une_commande{
margin:1% 0;
}
\ No newline at end of file
......@@ -7,9 +7,9 @@
{% block content %}
<div class="commandes">
TOUTES LES COMMANDES NON PRISES EN CHARGE
VIP
<p>TOUTES LES COMMANDES NON PRISES EN CHARGE</p>
<div class="block_commande">
<p>VIP</p>
{% for commande in commandes %}
<div class="une_commande">
{% if commande.statut == 'a traiter' and commande.commanditaire.role != "cotisant" %}
......@@ -32,9 +32,9 @@
{% endif %}
</div>
{%endfor%}
COTISANTS
<div>
<div class="block_commande">
<p>COTISANTS</p>
{% for commande in commandes %}
<div class="une_commande">
{% if commande.statut == 'a traiter'%}
......@@ -57,5 +57,6 @@
{% endif %}
</div>
{%endfor%}
</div>
<div>
{% endblock %}
\ No newline at end of file
......@@ -57,7 +57,7 @@
<br>
<div class="text_box">
<p>Adresse de livraison</p>
<input id="adresse" type="text"/>
<input id="adresse" type="text" style="margin-top:1%"/>
</div>
<div id="passer_commande">
......
......@@ -6,6 +6,7 @@
{% endblock %}
{% block content %}
<div class="block_commande">
<p>Voici tes commandes</p>
{% for commande in commandes %}
<div class="une_commande">
......@@ -25,13 +26,12 @@
{% endif %}
{% if commande.statut == "a traiter" %}
Votre commande n'est pas encore prise en charge
<div >
<a class="annuler" href="/annuler/{{commande.pk}}">Annuler la commande</a>
</div>
{% else %}
{{commande.livreur.prenom}} {{commande.livreur.nom}} a pris en charge ta commande
{% endif %}
{% endif %}
</div>
{%endfor%}
</div>
{% endblock %}
\ No newline at end of file
......@@ -6,7 +6,7 @@
{% endblock %}
{% block content %}
<div class="mes_commandes">
<div class="block_commande">
TOUTES MES LIVRAISONS
{% for commande in commandes %}
<div class="une_commande">
......
......@@ -6,6 +6,7 @@
{% endblock %}
{% block content %}
<div class="block_commande">
{% for commande in commandes %}
<div class="une_commande">
{% if commande.statut == 'en cours' %}
......@@ -28,4 +29,5 @@
{% endif %}
</div>
{%endfor%}
</div>
{% endblock %}
\ No newline at end of file
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment