diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css index dda5a16..7b41a04 100644 --- a/static/css/bootstrap.css +++ b/static/css/bootstrap.css @@ -1277,9 +1277,6 @@ h6, .h6 { font-size: 12px; } -p { - margin: 0 10px 10px; -} .lead { margin-bottom: 20px; font-size: 16px; diff --git a/static/css/ernesto.css b/static/css/ernesto.css index b76e262..cf46e6e 100644 --- a/static/css/ernesto.css +++ b/static/css/ernesto.css @@ -4,6 +4,12 @@ html, body { height: 100%; } +p { + padding-left: 10px; + padding-right: 10px; + margin-bottom: 10px; +} + h1 { font: 36px Lobster; margin-bottom: 0.8em; @@ -195,3 +201,15 @@ h3.part { padding-top: 15px; border-top: 1px solid #f7e4e0; } + +div.info_part { + padding-left: 20px; + padding-right: 20px; + padding-bottom: 5px; +} + +div.info_part form, div.info_part div { + padding-bottom: 10px; + border-bottom: 1px solid #f7e4e0; + margin-bottom: 10px; +} diff --git a/templates/partitions/listepart.html b/templates/partitions/listepart.html index d5989fb..fdf0775 100644 --- a/templates/partitions/listepart.html +++ b/templates/partitions/listepart.html @@ -10,6 +10,7 @@

{{ suppression }}

{% endif %} +
{% if user.profile.is_chef %}
{% csrf_token %} @@ -18,10 +19,13 @@
{% else %} {% if p.infos %} -

Infos utiles

-

{{ p.infos }}

+
+

Infos utiles

+

{{ p.infos }}

+
{% endif %} {% endif %} +