Updated index.html for auto-redirect.
authorShantanu <shantanu@fossee.in>
Wed, 02 Sep 2009 23:51:12 +0530
changeset 14 420517bb1a06
parent 13 b0175fed9d20
child 15 2dbb5e797989
Updated index.html for auto-redirect.
template/index.html
--- 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;">&nbsp;</div>
 </div>
 <!-- end page -->
-<div id="footer">
-	<p class="legal">&copy;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>