summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/includes/book/exercise.html4
-rw-r--r--templates/layout.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/includes/book/exercise.html b/templates/includes/book/exercise.html
index 5d721f9..0b52656 100644
--- a/templates/includes/book/exercise.html
+++ b/templates/includes/book/exercise.html
@@ -1,11 +1,11 @@
<div class="header">
<h2>Exercise</h2>
</div>
-<div class="alert alert-success hidden">
+<div class="alert alert-success">
<b>Correct!</b>
</div>
-<div class="alert alert-error hidden">
+<div class="alert alert-danger error-message">
<b>False!</b>
</div>
diff --git a/templates/layout.html b/templates/layout.html
index b1c8fa6..179e198 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -13,13 +13,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
-
- <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/ace.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/mode-javascript.js"></script>
{% endblock %}
</head>
<body>
{% block content %}{% endblock %}
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/ace.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/mode-javascript.js"></script>
+ <script src="{{ staticBase }}/jsrepl/jsrepl.js" id="jsrepl-script"></script>
<script src="{{ staticBase }}/app.js"></script>
</body>
</html> \ No newline at end of file