Commit 11cdc6fb0747c9ea1043cfca3ecfef1808535310
1 parent
1ad3330d
Exists in
master
and in
1 other branch
fixed datatables issue with update
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
BUGS.md
@@ -9,7 +9,6 @@ ou usar push (websockets?) | @@ -9,7 +9,6 @@ ou usar push (websockets?) | ||
9 | - pymips: nao pode executar syscalls do spim. | 9 | - pymips: nao pode executar syscalls do spim. |
10 | - perguntas checkbox [right,wrong] com pelo menos uma opção correcta. | 10 | - perguntas checkbox [right,wrong] com pelo menos uma opção correcta. |
11 | - questions.py textarea has a abspath which does not make sense! why is it there? not working for perguntations, but seems to work for aprendizations | 11 | - questions.py textarea has a abspath which does not make sense! why is it there? not working for perguntations, but seems to work for aprendizations |
12 | -- erro na password com ./initdb.py --db debug.db -u 1 "Miguel Barao" --pw q | ||
13 | - initdb está a inicializar com passwords iguais aos numeros. deveria ser vazio para alunos definirem. | 12 | - initdb está a inicializar com passwords iguais aos numeros. deveria ser vazio para alunos definirem. |
14 | - servir imagens das perguntas não funciona. Necessario passar a ref da pergunta no link para poder ajustar o path no FileHandler. Tem o problema do teste em JSON não conter a imagem. | 13 | - servir imagens das perguntas não funciona. Necessario passar a ref da pergunta no link para poder ajustar o path no FileHandler. Tem o problema do teste em JSON não conter a imagem. |
15 | - o eventloop está a bloquear. correção do teste é blocking. usar threadpoolexecutor? | 14 | - o eventloop está a bloquear. correção do teste é blocking. usar threadpoolexecutor? |
static/DataTables
templates/admin.html
@@ -9,6 +9,7 @@ | @@ -9,6 +9,7 @@ | ||
9 | <!-- styles --> | 9 | <!-- styles --> |
10 | <link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css"> | 10 | <link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css"> |
11 | <link rel="stylesheet" type="text/css" href="/static/DataTables/css/dataTables.bootstrap4.min.css"/> | 11 | <link rel="stylesheet" type="text/css" href="/static/DataTables/css/dataTables.bootstrap4.min.css"/> |
12 | + | ||
12 | <style> | 13 | <style> |
13 | html { | 14 | html { |
14 | font-size: 13px; | 15 | font-size: 13px; |
@@ -19,8 +20,8 @@ | @@ -19,8 +20,8 @@ | ||
19 | </style> | 20 | </style> |
20 | 21 | ||
21 | <!-- Scripts --> | 22 | <!-- Scripts --> |
23 | + <script src="/static/jquery.min.js"></script> | ||
22 | <script defer src="/static/fontawesome.min.js"></script> | 24 | <script defer src="/static/fontawesome.min.js"></script> |
23 | - <script defer src="/static/jquery.min.js"></script> | ||
24 | <script defer src="/static/popper.min.js"></script> | 25 | <script defer src="/static/popper.min.js"></script> |
25 | <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> | 26 | <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> |
26 | <script defer src="/static/DataTables/js/jquery.dataTables.min.js"></script> | 27 | <script defer src="/static/DataTables/js/jquery.dataTables.min.js"></script> |