diff options
Diffstat (limited to 'static/website')
-rw-r--r-- | static/website/images/ajax-loader.gif | bin | 0 -> 1079 bytes | |||
-rw-r--r-- | static/website/js/cloud.js | 2 | ||||
-rw-r--r-- | static/website/templates/index.html | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/static/website/images/ajax-loader.gif b/static/website/images/ajax-loader.gif Binary files differnew file mode 100644 index 0000000..408af5c --- /dev/null +++ b/static/website/images/ajax-loader.gif diff --git a/static/website/js/cloud.js b/static/website/js/cloud.js index 1b64532..644d7fd 100644 --- a/static/website/js/cloud.js +++ b/static/website/js/cloud.js @@ -88,6 +88,7 @@ $(document).ready(function() { $("#execute").click(function() { var csrfmiddlewaretoken = $("[name='csrfmiddlewaretoken']").val(); var code = editor.getValue(); + $("body").css("cursor", "wait"); $.ajax({ url:"/ajax-execute/", type: "POST", @@ -97,6 +98,7 @@ $(document).ready(function() { }, dataType: "text", success: function(data) { + $("body").css("cursor", "auto"); result.setValue(data); } }); diff --git a/static/website/templates/index.html b/static/website/templates/index.html index a4b200b..8caa608 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -135,7 +135,6 @@ } } }); - </script> {% csrf_token %} </body> |