Updated index.html for auto-redirect.
--- a/template/index.html Wed Sep 02 23:34:38 2009 +0530
+++ b/template/index.html Wed Sep 02 23:51:12 2009 +0530
@@ -23,17 +23,8 @@
<div id="header">
<div id="logo">
<h1><a href="#">Spoken Tutorials Competition</a></h1>
- <h2><a href="http://fossee.in/">By IITB</a></h2>
- </div>
- <div id="menu">
- <ul>
- <li><a href="#">Home</a></li>
- <li><a href="#">FAQ</a></li>
- <li><a href="#">Contribute</a></li>
- <li><a href="#">About</a></li>
- <li class="last"><a href="#">Contact</a></li>
- </ul>
- </div>
+ <h2><a href="http://www.iitb.ac.in/">By IITB</a></h2>
+ </div>
</div>
<!-- start page -->
<div id="page">
@@ -41,19 +32,20 @@
<div id="content">
<p class="center">
{% block content %}
- {% if value %}
- Mind Your Privacy!<br/>
- Don't post your confidential data.<br/>
+ {% if value %}
<form class = "center" method="post" action="." enctype="multipart/form-data">
{{form.as_p}}
<input type="submit" value="Upload" id="submit"/>
</form>
{% else %}
- You Uploaded:<br/>
- <form class = "center" method="post" action="/ocr/download/">
- {{form.as_p}}
- <input type="submit" value="Download Content" id="submit"/>
- </form>
+ Your Upload was successful!<br/>
+ <script type="text/javascript"><!--
+ setTimeout('Redirect()',4000);
+ function Redirect()
+ {
+ location.href = 'http://www.iitb.ac.in';
+ }
+ // --></script>
{% endif %}
{% endblock %}
</p>
@@ -62,9 +54,8 @@
<div style="clear: both;"> </div>
</div>
<!-- end page -->
-<div id="footer">
- <p class="legal">©2008 All Rights Reserved.</p>
- <p class="credit">Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
+<div id="footer">
+ <p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p>
</div>
</body>
</html>