diff --git a/aprendizations/serve.py b/aprendizations/serve.py index 4d32973..c45a40a 100644 --- a/aprendizations/serve.py +++ b/aprendizations/serve.py @@ -407,9 +407,6 @@ class QuestionHandler(BaseHandler): }) return - # --- brain hacking ;) - # await asyncio.sleep(1.5) - # --- answers are in a list. fix depending on question type qtype = self.learn.get_student_question_type(user) ans: Optional[Union[List, str]] diff --git a/aprendizations/templates/maintopics-table.html b/aprendizations/templates/maintopics-table.html index 0c7954c..b129b6c 100644 --- a/aprendizations/templates/maintopics-table.html +++ b/aprendizations/templates/maintopics-table.html @@ -102,15 +102,17 @@ {% if t['level'] is None %} - - {% if t['type']=='chapter' %} -
- {% elif t['type']=='learn' %} -
- {% else %} -
- {% end %} - + +
+ {% if t['type']=='chapter' %} + + {% elif t['type']=='learn' %} + + {% else %} + + {% end %} +
+ {% if t['ref'] not in course['goals'] %} @@ -129,21 +131,23 @@ {% else %} - - {% if t['type']=='chapter' %} + +
+ {% if t['type']=='chapter' %} -
+
- {% elif t['type']=='learn' %} + {% elif t['type']=='learn' %} -
+
- {% else %} + {% else %} -
+
- {% end %} - + {% end %} +
+ {% if t['ref'] not in course['goals'] %} -- libgit2 0.21.2