diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-01 00:12:26 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-01 00:12:26 -0700 |
commit | b3c865ef583385aea31a64c3974f1844faadebca (patch) | |
tree | 3689512f36622d095f1f2c27b29a611f4e087e42 /templates | |
parent | 2aebb38e5802eefd2649e6778d3a8ce6c7eb0615 (diff) | |
download | gitbook-b3c865ef583385aea31a64c3974f1844faadebca.zip gitbook-b3c865ef583385aea31a64c3974f1844faadebca.tar.gz gitbook-b3c865ef583385aea31a64c3974f1844faadebca.tar.bz2 |
Add execution of exercise
Diffstat (limited to 'templates')
-rw-r--r-- | templates/includes/book/exercise.html | 4 | ||||
-rw-r--r-- | templates/layout.html | 6 |
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 |