diff options
author | prathamesh | 2017-08-14 22:33:02 +0530 |
---|---|---|
committer | prathamesh | 2017-08-14 22:33:02 +0530 |
commit | f730a531cf041620209abb812792080cb2d63b4d (patch) | |
tree | 646f54719a76ca06d53da62d817678a4d023644c /yaksh/templates/base.html | |
parent | 49615e5a24ecfdd0b22bae080e7f9bb2507bbfd7 (diff) | |
download | online_test-f730a531cf041620209abb812792080cb2d63b4d.tar.gz online_test-f730a531cf041620209abb812792080cb2d63b4d.tar.bz2 online_test-f730a531cf041620209abb812792080cb2d63b4d.zip |
Changes related to front-end
Removed snippet append in the check view as snippet is not posted in
request.
Added an overlay when an user submits a code, with a status text on it.
This is to block user from triggering any other event when JS is
running. Overlay disappears when JS complete its execution.
On time out a request is posted via JS, it receives a JSON response but
cannot display user the error as time is over. So in such case, the
django itself handles the result and does not return JSONv response.
Diffstat (limited to 'yaksh/templates/base.html')
-rw-r--r-- | yaksh/templates/base.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html index 35c6976..cbe396f 100644 --- a/yaksh/templates/base.html +++ b/yaksh/templates/base.html @@ -19,6 +19,7 @@ <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/theme.css" type="text/css" /> <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/sticky-footer.css" type="text/css" /> <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/dashboard.css" type="text/css" /> + <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/ontop.css" type="text/css" /> {% block meta %} @@ -36,6 +37,11 @@ </head> <body {% block onload %} {% endblock %}> + <div id="ontop"> + <div id="state"> + Checking... + </div> + </div> {% block nav %} {% endblock %} <div class="container"> |