diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index 79cb8f3..89ed54a 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -1684,15 +1684,7 @@ label.required::after { background: rgb(178, 0, 178); } } - @media only screen and (min-width: 550px) { - font-size: 90%; - .ratio { - a, .a { - width: 5em; - height: 3.2em; - line-height: 3.2em; - } - } + @media only screen and (min-width: 1800px) { .total, .month { display: inline; opacity: .35; @@ -1700,6 +1692,15 @@ label.required::after { .label { display: table-cell; } + } + @media only screen and (min-width: 1600px) { + .ratio { + a, .a { + width: 5em; + height: 3.2em; + line-height: 3.2em; + } + } font-size: 100%; } } diff --git a/src/agenda_culturel/templates/agenda_culturel/administration.html b/src/agenda_culturel/templates/agenda_culturel/administration.html index dfe6122..795c496 100644 --- a/src/agenda_culturel/templates/agenda_culturel/administration.html +++ b/src/agenda_culturel/templates/agenda_culturel/administration.html @@ -18,6 +18,8 @@
+ +
@@ -25,33 +27,38 @@

Modération à venir

- -
- {% for w in nb_not_moderated %} - - - - {% for m in w %} - - {% endfor %} - - - - + + + {% endfor %} + + +
{{ m.start_day|date:"d" }} {{ m.start_day|date:"M"|lower }}
reste à modérer +
+
+ {% url 'administration' as local_url %} + {% include "agenda_culturel/static_content.html" with name="administration" url_path=local_url %} +
+
+ {% for w in nb_not_moderated %} + + + {% for m in w %} - + {% endfor %} - - -
- <{% if m.not_moderated > 0 %}a href="{% if m.is_today %} - {% url 'moderate' %} - {% else %} - {% url 'moderate_from_date' m.start_day.year m.start_day.month m.start_day.day %} - {% endif %}"{% else %}span class="a"{% endif %}> - {{ m.not_moderated }} / {{ m.nb_events }} 0 %}a{% else %}span{% endif %}> - {{ m.start_day|date:"d" }} {{ m.start_day|date:"M"|lower }}
- {% endfor %} + +
reste à modérer + {% for m in w %} + + <{% if m.not_moderated > 0 %}a href="{% if m.is_today %} + {% url 'moderate' %} + {% else %} + {% url 'moderate_from_date' m.start_day.year m.start_day.month m.start_day.day %} + {% endif %}"{% else %}span class="a"{% endif %}> + {{ m.not_moderated }} / {{ m.nb_events }} 0 %}a{% else %}span{% endif %}> +
+ {% endfor %} +