Commit 87ca088495551c200f88e1b2b592279c985917c8
1 parent
b0c36401
Exists in
master
and in
1 other branch
- added "Sair" option in the admin menu.
- show solutions in review.
Showing
2 changed files
with
10 additions
and
0 deletions
Show diff stats
templates/admin.html
| ... | ... | @@ -48,6 +48,8 @@ |
| 48 | 48 | <a class="dropdown-item" href="#" id="reset_password_menu" data-toggle="modal" data-target="#reset_password_modal">Reset password do aluno...</a> |
| 49 | 49 | <a class="dropdown-item" href="#" id="allow_all">Autorizar todos</a> |
| 50 | 50 | <a class="dropdown-item" href="#" id="deny_all">Desautorizar todos</a> |
| 51 | + <div class="dropdown-divider"></div> | |
| 52 | + <a class="dropdown-item" href="/logout">Sair</a> | |
| 51 | 53 | </div> |
| 52 | 54 | </li> |
| 53 | 55 | </ul> | ... | ... |
templates/review-question.html
| ... | ... | @@ -41,6 +41,10 @@ |
| 41 | 41 | {{ round(q['grade'] * q['points'], 2) }} |
| 42 | 42 | pontos<br> |
| 43 | 43 | {{ q['comments'] }} |
| 44 | + {% if 'solution' in q %} | |
| 45 | + <hr> | |
| 46 | + {{ md('**Solução:** ' + q['solution']) }} | |
| 47 | + {% end %} | |
| 44 | 48 | </p> |
| 45 | 49 | {% else %} |
| 46 | 50 | <p class="text-danger"> |
| ... | ... | @@ -48,6 +52,10 @@ |
| 48 | 52 | {{ round(q['grade'] * q['points'], 2) }} |
| 49 | 53 | pontos<br> |
| 50 | 54 | {{ q['comments'] }} |
| 55 | + {% if 'solution' in q %} | |
| 56 | + <hr> | |
| 57 | + {{ md('**Solução:** ' + q['solution']) }} | |
| 58 | + {% end %} | |
| 51 | 59 | </p> |
| 52 | 60 | {% end %} |
| 53 | 61 | ... | ... |