# HG changeset patch # User Nishanth Amuluru <nishanth@fossee.in> # Date 1294507124 -19800 # Node ID 2211ef7056751db4849cafe6ffc0ff3910511aaa # Parent 01c1e6966d8672de516cf6d2fd91736e36d02cce Added template for show_msg diff -r 01c1e6966d86 -r 2211ef705675 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 %}