template/index.html
changeset 14 420517bb1a06
parent 11 ed77b6c62d61
child 15 2dbb5e797989
equal deleted inserted replaced
13:b0175fed9d20 14:420517bb1a06
    21 </head>
    21 </head>
    22 <body>
    22 <body>
    23 <div id="header">
    23 <div id="header">
    24 	<div id="logo">
    24 	<div id="logo">
    25 		<h1><a href="#">Spoken Tutorials Competition</a></h1>
    25 		<h1><a href="#">Spoken Tutorials Competition</a></h1>
    26 		<h2><a href="http://fossee.in/">By IITB</a></h2>		
    26 		<h2><a href="http://www.iitb.ac.in/">By IITB</a></h2>		
    27 	</div>
    27 	</div>	
    28 	<div id="menu">
       
    29 		<ul>
       
    30 			<li><a href="#">Home</a></li>
       
    31 			<li><a href="#">FAQ</a></li>
       
    32 			<li><a href="#">Contribute</a></li>
       
    33 			<li><a href="#">About</a></li>
       
    34 			<li class="last"><a href="#">Contact</a></li>
       
    35 		</ul>
       
    36 	</div>
       
    37 </div>
    28 </div>
    38 <!-- start page -->
    29 <!-- start page -->
    39 <div id="page">	
    30 <div id="page">	
    40 	<!-- start content -->
    31 	<!-- start content -->
    41 	<div id="content">
    32 	<div id="content">
    42 		<p class="center">
    33 		<p class="center">
    43 		{% block content %}
    34 		{% block content %}
    44 		{% if value %}
    35 		{% if value %}						
    45 			Mind Your Privacy!<br/>
       
    46 			Don't post your confidential data.<br/>			
       
    47 			<form class = "center" method="post" action="." enctype="multipart/form-data">			
    36 			<form class = "center" method="post" action="." enctype="multipart/form-data">			
    48 				{{form.as_p}}
    37 				{{form.as_p}}
    49 				<input type="submit" value="Upload" id="submit"/>
    38 				<input type="submit" value="Upload" id="submit"/>
    50 			</form>
    39 			</form>
    51 		{% else %}			
    40 		{% else %}			
    52 			You Uploaded:<br/>
    41 			Your Upload was successful!<br/>
    53 			<form class = "center" method="post" action="/ocr/download/">			
    42 			<script type="text/javascript"><!--
    54 				{{form.as_p}}				
    43                 setTimeout('Redirect()',4000);
    55 				<input type="submit" value="Download Content" id="submit"/>
    44                 function Redirect()
    56 			</form>			
    45                 {
       
    46                   location.href = 'http://www.iitb.ac.in';
       
    47                 }
       
    48             // --></script>
    57 		{% endif %}
    49 		{% endif %}
    58 		{% endblock %}
    50 		{% endblock %}
    59 		</p>
    51 		</p>
    60 	</div>
    52 	</div>
    61 	<!-- end content -->	
    53 	<!-- end content -->	
    62 	<div style="clear: both;">&nbsp;</div>
    54 	<div style="clear: both;">&nbsp;</div>
    63 </div>
    55 </div>
    64 <!-- end page -->
    56 <!-- end page -->
    65 <div id="footer">
    57 <div id="footer">	
    66 	<p class="legal">&copy;2008 All Rights Reserved.</p>
    58 	<p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p>
    67 	<p class="credit">Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
       
    68 </div>
    59 </div>
    69 </body>
    60 </body>
    70 </html>
    61 </html>