Commit afe003ba28298ad55d932389deeeff57ac314f93
1 parent
6f0babd1
Exists in
master
and in
1 other branch
Minor change in templates
- fix space in navbar - fix puzzle icon in topics
Showing
3 changed files
with
18 additions
and
13 deletions
Show diff stats
BUGS.md
| ... | ... | @@ -26,6 +26,9 @@ |
| 26 | 26 | |
| 27 | 27 | ## TODO |
| 28 | 28 | |
| 29 | +- ordenação que faça sentido, organizada por chapters. | |
| 30 | +- chapters deviam ser automaticamente checkados... | |
| 31 | +- hints dos topicos fechados com as dependencias desse topico que ainda faltam | |
| 29 | 32 | - alterar tabelas para incluir email de recuperacao de password (e outros |
| 30 | 33 | avisos) |
| 31 | 34 | - shuffle das perguntas dentro de um topico | ... | ... |
aprendizations/templates/maintopics-table.html
| ... | ... | @@ -39,8 +39,7 @@ |
| 39 | 39 | <ul class="navbar-nav ms-auto"> |
| 40 | 40 | <li class="nav-item dropdown"> |
| 41 | 41 | <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false"> |
| 42 | - <i class="bi bi-person-circle"></i> | |
| 43 | - | |
| 42 | + <i class="bi bi-person-circle"></i> | |
| 44 | 43 | <span id="name">{{ escape(name) }}</span> |
| 45 | 44 | <span class="caret"></span> |
| 46 | 45 | </a> |
| ... | ... | @@ -112,13 +111,15 @@ |
| 112 | 111 | <h5><i class="bi bi-pencil"></i></h5> |
| 113 | 112 | {% end %} |
| 114 | 113 | </th> |
| 115 | - <td> | |
| 116 | - <div class="text-muted"> | |
| 117 | - {% if t['ref'] not in course['goals'] %} | |
| 118 | - <h5><i class="bi bi-puzzle-fill"></i></h5> | |
| 119 | - {% end %} | |
| 114 | + <td class="text-muted"> | |
| 115 | + {% if t['ref'] not in course['goals'] %} | |
| 116 | + <span class="text-nowrap" data-toggle="tooltip" data-placement="bottom" title="Este tópico é um pré-requisito"> | |
| 117 | + <i class="bi bi-puzzle-fill"></i> | |
| 118 | + {{ t['name'] }} | |
| 119 | + </span> | |
| 120 | + {% else %} | |
| 120 | 121 | {{ t['name'] }} |
| 121 | - </div> | |
| 122 | + {% end %} | |
| 122 | 123 | </td> |
| 123 | 124 | <td class="text-center"> |
| 124 | 125 | <h5><i class="bi bi-lock-fill text-muted"></i></h5> |
| ... | ... | @@ -145,11 +146,13 @@ |
| 145 | 146 | </th> |
| 146 | 147 | <td class="text-primary"> |
| 147 | 148 | {% if t['ref'] not in course['goals'] %} |
| 148 | - <span class="text-nowrap" data-toggle="tooltip" data-placement="bottom" title="Pré-requisito para este curso"> | |
| 149 | - <h5><i class="bi bi-puzzle-fill"></i></h5> | |
| 149 | + <span class="text-nowrap" data-toggle="tooltip" data-placement="bottom" title="Este tópico é um pré-requisito"> | |
| 150 | + <i class="bi bi-puzzle-fill"></i> | |
| 151 | + {{ t['name'] }} | |
| 150 | 152 | </span> |
| 153 | + {% else %} | |
| 154 | + {{ t['name'] }} | |
| 151 | 155 | {% end %} |
| 152 | - {{ t['name'] }} | |
| 153 | 156 | </td> |
| 154 | 157 | |
| 155 | 158 | <td class="text-center"> | ... | ... |
aprendizations/templates/topic.html
| ... | ... | @@ -66,8 +66,7 @@ |
| 66 | 66 | <ul class="navbar-nav ms-auto"> |
| 67 | 67 | <li class="nav-item dropdown"> |
| 68 | 68 | <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false"> |
| 69 | - <i class="fas fa-user-graduate" aria-hidden="true"></i> | |
| 70 | - | |
| 69 | + <i class="bi bi-person-circle"></i> | |
| 71 | 70 | <span id="name">{{ escape(name) }}</span> |
| 72 | 71 | <span class="caret"></span> |
| 73 | 72 | </a> | ... | ... |