summaryrefslogtreecommitdiff
path: root/design/templates/admin/message.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/admin/message.html')
-rw-r--r--design/templates/admin/message.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/design/templates/admin/message.html b/design/templates/admin/message.html
new file mode 100644
index 0000000..348b15d
--- /dev/null
+++ b/design/templates/admin/message.html
@@ -0,0 +1,20 @@
+{% extends 'admin/base_site.html' %}
+
+{% block content %}
+{{message}}... <span style="color:red;" id="done"></span>
+{% endblock %}
+
+{% block extrahead %}
+<script type="text/javascript">
+function delayer(){
+ console.log("function fired")
+ document.getElementById('done').innerHTML = 'done'
+ window.location = "/admin/"
+}
+
+document.addEventListener("DOMContentLoaded", function(event) {
+ window.setTimeout(delayer, 1000);
+});
+</script>
+{% endblock %}
+