pytask/templates/show_msg.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sat, 15 Jan 2011 21:21:49 +0530
changeset 417 b37e541bf950
parent 337 2211ef705675
permissions -rw-r--r--
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
337
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
{% extends 'base.html' %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
{% block js_script %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
    <script language="JavaScript"> 
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
    <!--
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
     function getgoing()
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
        {
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
            window.location="{{redirect_url}}";
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
        }
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
     
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
    setTimeout('getgoing()',5000);
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
    //--> 
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
    </script>
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
{% endblock %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
{% block content %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16
    {% if message %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    17
        {{message}}<br />
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    18
    {% endif %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    19
    You will be redirected to {{url_desc}} page in 5 seconds
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    20
{% endblock %}