Commit c636fe81a360be515e47559aa7223af7c56ea926
1 parent
6d5a0347
Exists in
master
and in
1 other branch
- minor cosmetic corrections
Showing
2 changed files
with
8 additions
and
7 deletions
Show diff stats
templates/learn.html
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | <link rel="stylesheet" href="/static/css/bootstrap-theme.min.css"> <!-- optional --> | 24 | <link rel="stylesheet" href="/static/css/bootstrap-theme.min.css"> <!-- optional --> |
25 | 25 | ||
26 | <!-- other --> | 26 | <!-- other --> |
27 | - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"> | 27 | + <link rel="stylesheet" href="/static/css/animate.min.css"> |
28 | <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css"> | 28 | <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css"> |
29 | <link rel="stylesheet" href="/static/css/github.css"> | 29 | <link rel="stylesheet" href="/static/css/github.css"> |
30 | <link rel="stylesheet" href="/static/css/learn.css"> | 30 | <link rel="stylesheet" href="/static/css/learn.css"> |
@@ -55,7 +55,6 @@ | @@ -55,7 +55,6 @@ | ||
55 | <a class="dropdown-toggle" data-toggle="dropdown" href="#"> | 55 | <a class="dropdown-toggle" data-toggle="dropdown" href="#"> |
56 | <i class="fa fa-user" aria-hidden="true"></i> | 56 | <i class="fa fa-user" aria-hidden="true"></i> |
57 | <span id="name"> {{ name }}</span> | 57 | <span id="name"> {{ name }}</span> |
58 | - (<span id="number">{{ uid }}</span>) | ||
59 | <span class="caret"></span> | 58 | <span class="caret"></span> |
60 | </a> | 59 | </a> |
61 | <ul class="dropdown-menu"> | 60 | <ul class="dropdown-menu"> |
@@ -156,7 +155,7 @@ function updateQuestion(response){ | @@ -156,7 +155,7 @@ function updateQuestion(response){ | ||
156 | }); | 155 | }); |
157 | // var audio = new Audio('/static/sounds/correct.mp3'); | 156 | // var audio = new Audio('/static/sounds/correct.mp3'); |
158 | // audio.play(); | 157 | // audio.play(); |
159 | - $('#question_div').animateCSS('pulse'); | 158 | + $('#question_div').animateCSS('zoomIn'); |
160 | break; | 159 | break; |
161 | case "shake": | 160 | case "shake": |
162 | // var audio = new Audio('/static/sounds/wrong.mp3'); | 161 | // var audio = new Audio('/static/sounds/wrong.mp3'); |
templates/topics.html
@@ -2,10 +2,12 @@ | @@ -2,10 +2,12 @@ | ||
2 | 2 | ||
3 | <h3>Tópicos</h3> | 3 | <h3>Tópicos</h3> |
4 | 4 | ||
5 | +<ul class="nav nav-pills nav-stacked"> | ||
5 | {% for t in state %} | 6 | {% for t in state %} |
6 | - <p>{{ t[0] }}<br> | 7 | + <li role="presentation" class="disabled"> <!-- class="active" --> |
8 | + <a href="#" class="disabled">{{ t[0] }}<br> | ||
7 | {{ round(t[1]*5)*'<i class="fa fa-star text-success" aria-hidden="true"></i>' + round(5-t[1]*5)*'<i class="fa fa-star-o" aria-hidden="true"></i>' }} | 9 | {{ round(t[1]*5)*'<i class="fa fa-star text-success" aria-hidden="true"></i>' + round(5-t[1]*5)*'<i class="fa fa-star-o" aria-hidden="true"></i>' }} |
8 | - </p> | 10 | + </a> |
11 | + </li> | ||
9 | {% end %} | 12 | {% end %} |
10 | - </div> | ||
11 | -</div> | 13 | +</ul> |
12 | \ No newline at end of file | 14 | \ No newline at end of file |