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

debut style admin

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