pytask/templates/show_msg.html
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 00:03:57 +0530
changeset 133 94497f8b1dae
parent 99 2211ef705675
permissions -rw-r--r--
pointed the link correctly
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
99
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
    <!--
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    21
    {% if redirect_url %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    22
        <a href="{{redirect_url}}">click here</a> to return to {{url_desc}}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    23
    {% else %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    24
        <a href="/">click here</a> to return to Homepage
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    25
    {% endif %}
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    26
    -->
2211ef705675 Added template for show_msg
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    27
{% endblock %}