Commit d7acca6588ac049a6ae7a9d4856f3bff4624d987

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

- updated links to latest versions of javascript libraries (mathjax, bootstrap, …

…codemirror, fontawesome)
@@ -234,8 +234,6 @@ class QuestionHandler(BaseHandler): @@ -234,8 +234,6 @@ class QuestionHandler(BaseHandler):
234 question_html = self.render_string(self.templates[question['type']], 234 question_html = self.render_string(self.templates[question['type']],
235 question=question, md=md_to_html) 235 question=question, md=md_to_html)
236 236
237 - print(question['tries'])  
238 -  
239 self.write({ 237 self.write({
240 'method': 'new_question', 238 'method': 'new_question',
241 'params': { 239 'params': {
static/MDB
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -libs/MDB-4.5.3  
2 \ No newline at end of file 0 \ No newline at end of file
static/bootstrap
1 -libs/bootstrap-4.1.1/  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +libs/bootstrap-4.1.3
3 \ No newline at end of file 3 \ No newline at end of file
static/codemirror
1 -libs/codemirror  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +libs/codemirror-5.40.2
3 \ No newline at end of file 3 \ No newline at end of file
static/fontawesome
1 -libs/fontawesome-free-5.1.1-web/  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +libs/fontawesome-free-5.3.1-web/
3 \ No newline at end of file 3 \ No newline at end of file
static/mathjax
1 -libs/MathJax-2.7.4/  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +libs/MathJax-2.7.5/
3 \ No newline at end of file 3 \ No newline at end of file
templates/topic.html
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 <link rel="stylesheet" href="/static/MDB/css/mdb.min.css"> 23 <link rel="stylesheet" href="/static/MDB/css/mdb.min.css">
24 <link rel="stylesheet" href="/static/css/animate.min.css"> 24 <link rel="stylesheet" href="/static/css/animate.min.css">
25 <link rel="stylesheet" href="/static/css/github.css"> 25 <link rel="stylesheet" href="/static/css/github.css">
26 - <link rel="stylesheet" href="/static/codemirror/codemirror.css"> 26 + <link rel="stylesheet" href="/static/codemirror/lib/codemirror.css">
27 <link rel="stylesheet" href="/static/css/topic.css"> 27 <link rel="stylesheet" href="/static/css/topic.css">
28 28
29 <!-- Scripts --> 29 <!-- Scripts -->
@@ -32,8 +32,8 @@ @@ -32,8 +32,8 @@
32 <script defer src="/static/fontawesome/js/all.js"></script> 32 <script defer src="/static/fontawesome/js/all.js"></script>
33 <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> 33 <script defer src="/static/bootstrap/js/bootstrap.min.js"></script>
34 <script defer src="/static/MDB/js/mdb.min.js"></script> 34 <script defer src="/static/MDB/js/mdb.min.js"></script>
35 - <script defer src="/static/codemirror/codemirror.js"></script>  
36 - <script defer src="/static/codemirror/z80.js"></script> 35 + <script defer src="/static/codemirror/lib/codemirror.js"></script>
  36 + <!-- <script defer src="/static/codemirror/mode/z80/z80.js"></script> -->
37 37
38 <script defer src="/static/js/topic.js"></script> 38 <script defer src="/static/js/topic.js"></script>
39 </head> 39 </head>
@@ -86,8 +86,6 @@ @@ -86,8 +86,6 @@
86 86
87 <div id="comments"></div> 87 <div id="comments"></div>
88 88
89 -  
90 -  
91 </div> 89 </div>
92 </div> 90 </div>
93 91