Commit f6f24c2fd236696aadcf045c3e3dd7889c7ecb68
1 parent
906fa923
Exists in
master
and in
1 other branch
- add column in /results with position (just an index for the sort)
Showing
3 changed files
with
8 additions
and
1 deletions
Show diff stats
BUGS.md
| ... | ... | @@ -2,18 +2,23 @@ |
| 2 | 2 | |
| 3 | 3 | # BUGS |
| 4 | 4 | |
| 5 | -- implementar singlepage/multipage | |
| 6 | 5 | - numeros das perguntas não fazem sentido quando há caixas de informação |
| 7 | 6 | - testar regex na definicao das perguntas. como se faz rawstring em yaml? singlequote? problemas de backslash??? sim... necessário fazer \\ em varios casos, mas não é claro! e.g. \n é convertido em espaço mas \w é convertido em \\ e w. |
| 8 | 7 | |
| 9 | 8 | |
| 10 | 9 | # TODO |
| 11 | 10 | |
| 11 | +- mostrar numero ordem em /results | |
| 12 | +- simplificar a gravacao do teste em json. alterar o script json2md.py em conformidade | |
| 13 | +- Menu para professor com link para /results e /students | |
| 14 | +- implementar singlepage/multipage. Fazer uma class para single page que trate de andar gerir o avanco e correcao das perguntas | |
| 12 | 15 | - criar pergunta gerada por script externo. Na instanciacao QuestionScript() é corrido um script que devolve uma instancia de pergunta de qualquer tipo. |
| 13 | 16 | - permitir adicionar imagens nas perguntas |
| 14 | 17 | - criar perguntas de outros tipos, e.g. associação, ordenação, varios textinput |
| 15 | 18 | |
| 19 | + | |
| 16 | 20 | # FIXED |
| 21 | + | |
| 17 | 22 | - modal a pedir confirmação de submissão. |
| 18 | 23 | - pontos devem estar normalizados escala 0-20 |
| 19 | 24 | - mostrar numero de alunos online em /students | ... | ... |
static/.DS_Store
No preview for this file type
templates/results.html
| ... | ... | @@ -39,6 +39,7 @@ |
| 39 | 39 | <table class="table"> |
| 40 | 40 | <thead> |
| 41 | 41 | <tr> |
| 42 | + <th>Posição</th> | |
| 42 | 43 | <th>Número</th> |
| 43 | 44 | <th>Nome</th> |
| 44 | 45 | <th>Nota (0-20)</th> |
| ... | ... | @@ -47,6 +48,7 @@ |
| 47 | 48 | <tbody> |
| 48 | 49 | % for r in results: |
| 49 | 50 | <tr> |
| 51 | + <td>${loop.index+1}</td> | |
| 50 | 52 | <td>${r[0]}</td> <!-- numero --> |
| 51 | 53 | <td>${r[1]}</td> <!-- nome --> |
| 52 | 54 | <td> <!-- nota --> | ... | ... |