templates/show_msg.html
changeset 173 b8e7a4e86b35
parent 111 c272d4c601cd
equal deleted inserted replaced
172:f21284458b8c 173:b8e7a4e86b35
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
       
     2 {% block js_script %}
       
     3     <script language="JavaScript"> 
       
     4     <!--
       
     5      function getgoing()
       
     6         {
       
     7             window.location="{{redirect_url}}";
       
     8         }
       
     9      
       
    10     setTimeout('getgoing()',5000);
       
    11     //--> 
       
    12     </script>
       
    13 {% endblock %}
     2 {% block content %}
    14 {% block content %}
       
    15 
     3     {% if message %}
    16     {% if message %}
     4         {{message}}<br />
    17         {{message}}<br />
     5     {% endif %}
    18     {% endif %}
       
    19     You will be redirected to {{url_desc}} page in 5 seconds
       
    20     <!--
     6     {% if redirect_url %}
    21     {% if redirect_url %}
     7         <a href="{{redirect_url}}">click here</a> to return to {{url_desc}}
    22         <a href="{{redirect_url}}">click here</a> to return to {{url_desc}}
     8     {% else %}
    23     {% else %}
     9         <a href="/">click here</a> to return to Homepage
    24         <a href="/">click here</a> to return to Homepage
    10     {% endif %}
    25     {% endif %}
       
    26     -->
    11 {% endblock %}
    27 {% endblock %}