Commit 4f792b2d42715443a758d4824794939b55e452e3
1 parent
d7c02240
Exists in
master
and in
1 other branch
remove post delay, change navbar color
Showing
5 changed files
with
9 additions
and
9 deletions
Show diff stats
aprendizations/serve.py
@@ -411,7 +411,7 @@ class QuestionHandler(BaseHandler): | @@ -411,7 +411,7 @@ class QuestionHandler(BaseHandler): | ||
411 | return | 411 | return |
412 | 412 | ||
413 | # --- brain hacking ;) | 413 | # --- brain hacking ;) |
414 | - await asyncio.sleep(1.5) | 414 | + # await asyncio.sleep(1.5) |
415 | 415 | ||
416 | # --- answers are in a list. fix depending on question type | 416 | # --- answers are in a list. fix depending on question type |
417 | qtype = self.learn.get_student_question_type(user) | 417 | qtype = self.learn.get_student_question_type(user) |
aprendizations/templates/courses.html
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | 24 | ||
25 | <body> | 25 | <body> |
26 | <!-- ===== navbar ======================================================== --> | 26 | <!-- ===== navbar ======================================================== --> |
27 | - <nav class="navbar navbar-expand-sm navbar-dark bg-primary fixed-top shadow"> | 27 | + <nav class="navbar navbar-expand-sm navbar-dark bg-secondary fixed-top shadow"> |
28 | <div class="container-fluid"> | 28 | <div class="container-fluid"> |
29 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> | 29 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> |
30 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> | 30 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> |
aprendizations/templates/maintopics-table.html
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | </head> | 24 | </head> |
25 | <!-- ===================================================================== --> | 25 | <!-- ===================================================================== --> |
26 | <body> | 26 | <body> |
27 | -<nav class="navbar navbar-expand-sm navbar-dark bg-primary fixed-top shadow"> | 27 | +<nav class="navbar navbar-expand-sm navbar-dark bg-secondary fixed-top shadow"> |
28 | <div class="container-fluid"> | 28 | <div class="container-fluid"> |
29 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> | 29 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> |
30 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> | 30 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> |
aprendizations/templates/rankings.html
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | </head> | 19 | </head> |
20 | <!-- ===================================================================== --> | 20 | <!-- ===================================================================== --> |
21 | <body> | 21 | <body> |
22 | -<nav class="navbar navbar-expand-sm navbar-dark bg-primary fixed-top"> | 22 | +<nav class="navbar navbar-expand-sm navbar-dark bg-secondary fixed-top shadow"> |
23 | <div class="container-fluid"> | 23 | <div class="container-fluid"> |
24 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> | 24 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> |
25 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> | 25 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> |
@@ -53,8 +53,8 @@ | @@ -53,8 +53,8 @@ | ||
53 | <div class="container"> | 53 | <div class="container"> |
54 | <h1 class="display-6">{{ course_title }}</h1> | 54 | <h1 class="display-6">{{ course_title }}</h1> |
55 | 55 | ||
56 | -<table class="table table-hover"> | ||
57 | - <col width="100"> | 56 | +<table class="table table-sm table-hover"> |
57 | + <!-- <col width="100"> --> | ||
58 | <thead> | 58 | <thead> |
59 | <tr> | 59 | <tr> |
60 | <th scope="col" class="text-center">Posição</th> | 60 | <th scope="col" class="text-center">Posição</th> |
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | </thead> | 65 | </thead> |
66 | <tbody> | 66 | <tbody> |
67 | {% for i,r in enumerate(rankings) %} | 67 | {% for i,r in enumerate(rankings) %} |
68 | - <tr class="{{ 'table-primary' if r[0] == uid else '' }}"> | 68 | + <tr class="{{ 'table-secondary' if r[0] == uid else '' }}"> |
69 | <td class="text-center"> <!-- rank --> | 69 | <td class="text-center"> <!-- rank --> |
70 | <strong> | 70 | <strong> |
71 | {{ '<i class="fas fa-crown fa-lg text-warning"></i>' if i==0 else i+1 }} | 71 | {{ '<i class="fas fa-crown fa-lg text-warning"></i>' if i==0 else i+1 }} |
aprendizations/templates/topic.html
@@ -43,11 +43,11 @@ | @@ -43,11 +43,11 @@ | ||
43 | <body> | 43 | <body> |
44 | <!-- Progress bar --> | 44 | <!-- Progress bar --> |
45 | <div class="progress fixed-top" style="height: 70px; border-radius: 0px;"> | 45 | <div class="progress fixed-top" style="height: 70px; border-radius: 0px;"> |
46 | - <div class="progress-bar bg-warning" id="topic_progress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 1em;width: 0%"></div> | 46 | + <div class="progress-bar bg-secondary" id="topic_progress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 1em;width: 0%"></div> |
47 | </div> | 47 | </div> |
48 | 48 | ||
49 | <!-- Navbar --> | 49 | <!-- Navbar --> |
50 | - <nav class="navbar navbar-expand-sm navbar-dark bg-primary fixed-top shadow"> | 50 | + <nav class="navbar navbar-expand-sm navbar-dark bg-secondary fixed-top shadow"> |
51 | <div class="container-fluid"> | 51 | <div class="container-fluid"> |
52 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> | 52 | <img src="{{static_url('logo_horizontal.png')}}" height="48" width="120" class="navbar-brand" alt="UEvora"> |
53 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> | 53 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> |