Added template for show_msg
authorNishanth Amuluru <nishanth@fossee.in>
Sat, 08 Jan 2011 22:48:44 +0530
changeset 337 2211ef705675
parent 336 01c1e6966d86
child 338 5a96ddc5e04a
Added template for show_msg
pytask/templates/show_msg.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/templates/show_msg.html	Sat Jan 08 22:48:44 2011 +0530
@@ -0,0 +1,27 @@
+{% extends 'base.html' %}
+{% block js_script %}
+    <script language="JavaScript"> 
+    <!--
+     function getgoing()
+        {
+            window.location="{{redirect_url}}";
+        }
+     
+    setTimeout('getgoing()',5000);
+    //--> 
+    </script>
+{% endblock %}
+{% block content %}
+
+    {% if message %}
+        {{message}}<br />
+    {% endif %}
+    You will be redirected to {{url_desc}} page in 5 seconds
+    <!--
+    {% if redirect_url %}
+        <a href="{{redirect_url}}">click here</a> to return to {{url_desc}}
+    {% else %}
+        <a href="/">click here</a> to return to Homepage
+    {% endif %}
+    -->
+{% endblock %}