From 2404edd2893e6e2e3111489bbcd40fca312be991 Mon Sep 17 00:00:00 2001 From: Bartuccio Antoine Date: Sun, 7 Jul 2019 16:52:28 +0200 Subject: [PATCH] pedagogy: clean up guide page --- core/static/core/style.scss | 21 +++++++++++++++++++++ pedagogy/templates/pedagogy/guide.jinja | 15 +++++++++------ 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/core/static/core/style.scss b/core/static/core/style.scss index 286141a8..22291acc 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -1703,7 +1703,22 @@ $pedagogy-white-text: #f0f0f0; } } +#dynamic_view { + font-family: "Fira Sans"; + font-size: 1.1em; + + table { + } + + td { + text-align: center; + border: none; + } + +} + #search_form { + font-family: "Fira Sans"; margin: 0px; width: 100%; @@ -1742,6 +1757,10 @@ $pedagogy-white-text: #f0f0f0; .radio_guide label:hover { background-color: #0e97ce; } + + #radioAUTUMN + label { + margin-left: 50px; + } } #pedagogy { @@ -1764,6 +1783,7 @@ $pedagogy-white-text: #f0f0f0; > p { text-align: right; + font-weight: bold; } } @@ -1771,6 +1791,7 @@ $pedagogy-white-text: #f0f0f0; grid-area: grade-stars; color: $pedagogy-white-text; background-color: $pedagogy-blue; + font-weight: bold; } .uv-infos { diff --git a/pedagogy/templates/pedagogy/guide.jinja b/pedagogy/templates/pedagogy/guide.jinja index 9c40ec6b..d7f2b6f2 100644 --- a/pedagogy/templates/pedagogy/guide.jinja +++ b/pedagogy/templates/pedagogy/guide.jinja @@ -7,6 +7,13 @@ {% block content %}
+ {% if can_create_uv(user) %} +

+ {% trans %}Create UV{% endtrans %} +

+

+ {% trans %}Moderate comments{% endtrans %} +

@@ -27,16 +34,12 @@ - - + +

-{% if can_create_uv(user) %} -

- {% trans %}Create UV{% endtrans %} -


{% endif %}