Commit 11cdc6fb0747c9ea1043cfca3ecfef1808535310

Authored by Miguel Barão
1 parent 1ad3330d
Exists in master and in 1 other branch dev

fixed datatables issue with update

BUGS.md
... ... @@ -9,7 +9,6 @@ ou usar push (websockets?)
9 9 - pymips: nao pode executar syscalls do spim.
10 10 - perguntas checkbox [right,wrong] com pelo menos uma opção correcta.
11 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 12 - initdb está a inicializar com passwords iguais aos numeros. deveria ser vazio para alunos definirem.
14 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 14 - o eventloop está a bloquear. correção do teste é blocking. usar threadpoolexecutor?
... ...
static/DataTables
1   -libs/DataTables-1.10.18/
2 1 \ No newline at end of file
  2 +libs/DataTables-1.10.18/DataTables-1.10.18
3 3 \ No newline at end of file
... ...
templates/admin.html
... ... @@ -9,6 +9,7 @@
9 9 <!-- styles -->
10 10 <link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css">
11 11 <link rel="stylesheet" type="text/css" href="/static/DataTables/css/dataTables.bootstrap4.min.css"/>
  12 +
12 13 <style>
13 14 html {
14 15 font-size: 13px;
... ... @@ -19,8 +20,8 @@
19 20 </style>
20 21  
21 22 <!-- Scripts -->
  23 + <script src="/static/jquery.min.js"></script>
22 24 <script defer src="/static/fontawesome.min.js"></script>
23   - <script defer src="/static/jquery.min.js"></script>
24 25 <script defer src="/static/popper.min.js"></script>
25 26 <script defer src="/static/bootstrap/js/bootstrap.min.js"></script>
26 27 <script defer src="/static/DataTables/js/jquery.dataTables.min.js"></script>
... ...