From 6a28d3fc6a15ac485078616fb776cf11575fc615 Mon Sep 17 00:00:00 2001 From: Zambom Date: Mon, 16 Oct 2017 22:18:27 -0300 Subject: [PATCH] Adjusting bulletin responsivity --- amadeus/static/css/base/amadeus_responsive.css | 4 ++++ bulletin/templates/bulletin/view.html | 247 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------- 2 files changed, 116 insertions(+), 135 deletions(-) diff --git a/amadeus/static/css/base/amadeus_responsive.css b/amadeus/static/css/base/amadeus_responsive.css index 096343b..2cc5282 100755 --- a/amadeus/static/css/base/amadeus_responsive.css +++ b/amadeus/static/css/base/amadeus_responsive.css @@ -107,6 +107,10 @@ } /* End Buttons */ + .goals_details_table > thead > tr > th, .goals_details_table > tbody > tr > td { + font-size: 9px; + } + .subject-period { font-size: 12px; } diff --git a/bulletin/templates/bulletin/view.html b/bulletin/templates/bulletin/view.html index 79393e7..af09dbc 100644 --- a/bulletin/templates/bulletin/view.html +++ b/bulletin/templates/bulletin/view.html @@ -69,94 +69,78 @@ {% endif %} {% autoescape off %} - {{ bulletin.content }} + {{ bulletin.content }} {% endautoescape %}
Confira as suas metas

+
-
-
Metas Atingidas
-
-
+
+
Metas Atingidas
+
+
-
-
Detalhamento das metas
-
- - - - - - - - - - - - {% for meta in metas%} +
+
Detalhamento das metas
+
+ +
DescriçãoRecomendação
do(a) professor(a)
Média da turmaSua metaSeu resultado
+ + + + + + + + + + + {% for meta in metas%} - - + + - + {% if meta.alcancada < meta.desejada and meta.alcancada > meta.estabelecida or meta.alcancada < meta.desejada and meta.alcancada == meta.estabelecida %} - - {% endif %} - - {% if meta.alcancada > meta.desejada and meta.alcancada < meta.estabelecida or meta.alcancada == meta.desejada and meta.alcancada < meta.estabelecida %} - {% endif %} - - - - {% endfor %} - - - -
DescriçãoRecomendação
do(a) professor(a)
Média da turmaSua metaSeu resultado
{{ meta.description }}{{ meta.desejada }} %{{ meta.description }}{{ meta.desejada }} % {{ meta.media }}%{{ meta.estabelecida }}%{{ meta.estabelecida }}% - {{ meta.alcancada }}% + {% elif meta.alcancada > meta.desejada and meta.alcancada < meta.estabelecida or meta.alcancada == meta.desejada and meta.alcancada < meta.estabelecida %} + - {{ meta.alcancada }}% - {% endif %} - - - - - {% if meta.alcancada > meta.desejada and meta.alcancada > meta.estabelecida or meta.alcancada == meta.desejada and meta.alcancada > meta.estabelecida or meta.alcancada > meta.desejada and meta.alcancada == meta.estabelecida or meta.alcancada == 100 or meta.alcancada == meta.desejada and meta.alcancada == meta.estabelecida %} - + {% elif meta.alcancada > meta.desejada and meta.alcancada > meta.estabelecida or meta.alcancada == meta.desejada and meta.alcancada > meta.estabelecida or meta.alcancada > meta.desejada and meta.alcancada == meta.estabelecida or meta.alcancada == 100 or meta.alcancada == meta.desejada and meta.alcancada == meta.estabelecida %} + - {{ meta.alcancada }}% - {% endif %} - - - - - {% if meta.alcancada < meta.desejada and meta.alcancada < meta.estabelecida %} - + {% elif meta.alcancada < meta.desejada and meta.alcancada < meta.estabelecida %} + - {{ meta.alcancada }}% - + {{ meta.alcancada }}%
-
-
+ {% endfor %} + + +
+
Indicadores relevantes para o seu desempenho

-
- - +
+
+ @@ -171,93 +155,80 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ Descrição dos indicadores
-
- -
- Descrição dos indicadores -
- -
- -
Seu resultado
- - {% for titulo in titulos %} - - - - - {% endfor %} - - -
- Indicador 0{{forloop.counter }}: - - {{titulo}} -
-
-
+
+ + + {% for titulo in titulos %} + + + + + {% endfor %} + +
+ Indicador 0{{forloop.counter }}: + + {{titulo}} +
+
+
{% if not has_subject_permissions %} -
+
-
- -
-
-
+
+ +
+
+
{% trans 'There are obstructions to your activities?' %}
-

{% trans 'Click here' %} {% trans 'to communicate the difficulties that may decrease your performance.' %}

+
+

{% trans 'Click here' %} {% trans 'to communicate the difficulties that may decrease your performance.' %}

+
+
-
-
- - {% endif %} - - {% block addtional_scripts %} - - {% endblock %} - - + - -
+ {% endblock %} + +{% block addtional_scripts %} + +{% endblock %} \ No newline at end of file -- libgit2 0.21.2