From f730a531cf041620209abb812792080cb2d63b4d Mon Sep 17 00:00:00 2001 From: prathamesh Date: Mon, 14 Aug 2017 22:33:02 +0530 Subject: 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. --- yaksh/templates/base.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'yaksh/templates/base.html') 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 @@ + {% block meta %} @@ -36,6 +37,11 @@ +
+
+ Checking... +
+
{% block nav %} {% endblock %}
-- cgit