diff --git a/aprendizations/static/js/topic.js b/aprendizations/static/js/topic.js index f197323..6f905e5 100644 --- a/aprendizations/static/js/topic.js +++ b/aprendizations/static/js/topic.js @@ -57,10 +57,10 @@ function new_question(type, question, tries, progress) { window.scrollTo(0, 0); $("#submit").hide(); - $("#question_div").animateCSS('bounceOutUp', function() { + $("#question_div").animateCSS('fadeOut', function() { $("#question_div").html(question); MathJax.typeset(); - $("#question_div").animateCSS('bounceInDown', function() { + $("#question_div").animateCSS('fadeIn', function() { showTriesLeft(tries); $("#submit").removeClass("disabled").show(); diff --git a/aprendizations/templates/maintopics-table.html b/aprendizations/templates/maintopics-table.html index 7b7b2a6..f764a79 100644 --- a/aprendizations/templates/maintopics-table.html +++ b/aprendizations/templates/maintopics-table.html @@ -63,7 +63,7 @@
Tópico | Nível | @@ -71,15 +71,22 @@
---|---|
{% if t['type']=='chapter' %}
{{ t['name'] }}
+ {% elif t['type']=='learn' %}
+
+
+ {{ t['name'] }}
+
{% else %}
+
{{ t['name'] }}
{% end %}
@@ -90,12 +97,14 @@
| |
{% if t['type']=='chapter' %}
-
+
+
{% elif t['type']=='learn' %}
{{ t['name'] }}
@@ -104,25 +113,22 @@
{{ t['name'] }}
{% end %}
+ {{ t['name'] }} - |
+
{% if t['level'] < 0.01 %}
{% elif t['type']=='chapter' %}
-
-
-
-
+ {% else %} -
{{int(t['level']*5+0.25)*''}}{% if int(t['level']*5+0.25) < 5 %}{{'' if 0.25 <= t['level']*5-int(t['level']*5) < 0.75 else ''}}{% end %}{{(4-int(t['level']*5+0.25))*'' }}
-
- {% end %}
+ {% end %}
|