diff --git a/la_chariotte/order/templates/order/grouped_order_add_items.html b/la_chariotte/order/templates/order/grouped_order_add_items.html index 09bac4e..d886aa1 100644 --- a/la_chariotte/order/templates/order/grouped_order_add_items.html +++ b/la_chariotte/order/templates/order/grouped_order_add_items.html @@ -17,7 +17,7 @@

Gestion des produits - {{ grouped_order.name }}

-

Sur cette page, vous pouvez voir et modifier les produits qui sont inscrits à votre commande groupée.

+

Sur cette page, vous pouvez ajouter et modifier les produits de votre commande groupée.

{% url 'order:item_create' pk=grouped_order.pk as create_item_url %} diff --git a/la_chariotte/order/templates/order/grouped_order_create.html b/la_chariotte/order/templates/order/grouped_order_create.html index 3efa260..19f15d9 100644 --- a/la_chariotte/order/templates/order/grouped_order_create.html +++ b/la_chariotte/order/templates/order/grouped_order_create.html @@ -6,8 +6,14 @@

{% block content_title %}Créer une commande groupée{% endblock %}

-
{% csrf_token %} - {{ form.as_p }} - -
+
+

Nouvelle commande

+
{% csrf_token %} + {{ form.as_p }} +
+ Annuler + +
+
+
{% endblock %} \ No newline at end of file diff --git a/la_chariotte/static/css/app.css b/la_chariotte/static/css/app.css index 838b626..826ea44 100644 --- a/la_chariotte/static/css/app.css +++ b/la_chariotte/static/css/app.css @@ -10401,6 +10401,18 @@ a.navbar-item:hover { width: unset; } +.mini-title, form p label { + color: #7a7a7a; + font-size: 0.8rem; + margin-bottom: 0px !important; +} + +form p label ~ input, form p label ~ textarea { + display: block; + max-width: 100%; + box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05); +} + @media screen and (max-width: 1023px) { table { display: block; diff --git a/la_chariotte/static/sass/base/_form.sass b/la_chariotte/static/sass/base/_form.sass index d47dc0d..470c846 100644 --- a/la_chariotte/static/sass/base/_form.sass +++ b/la_chariotte/static/sass/base/_form.sass @@ -19,4 +19,18 @@ // Input .input.custom-width - width: unset \ No newline at end of file + width: unset + +// Forms + +.mini-title, form p label + color: $grey-text + font-size: 0.8rem + margin-bottom: 0px !important + +form + p + label ~ input, label ~ textarea + display: block + max-width: 100% + box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05) \ No newline at end of file