template/index.html
changeset 15 2dbb5e797989
parent 14 420517bb1a06
child 16 a5bbfbe5feb1
equal deleted inserted replaced
14:420517bb1a06 15:2dbb5e797989
    36 			<form class = "center" method="post" action="." enctype="multipart/form-data">			
    36 			<form class = "center" method="post" action="." enctype="multipart/form-data">			
    37 				{{form.as_p}}
    37 				{{form.as_p}}
    38 				<input type="submit" value="Upload" id="submit"/>
    38 				<input type="submit" value="Upload" id="submit"/>
    39 			</form>
    39 			</form>
    40 		{% else %}			
    40 		{% else %}			
    41 			Your Upload was successful!<br/>
    41 			Your Upload was successful!
       
    42 			You will be automatically redirected to the home page in 5 seconds<br/>
    42 			<script type="text/javascript"><!--
    43 			<script type="text/javascript"><!--
    43                 setTimeout('Redirect()',4000);
    44                 setTimeout('Redirect()',4000);
    44                 function Redirect()
    45                 function Redirect()
    45                 {
    46                 {
    46                   location.href = 'http://www.iitb.ac.in';
    47                   location.href = 'http://www.iitb.ac.in';