template/index.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 03 Sep 2009 09:54:32 -0400
changeset 21 cc021f43454e
parent 18 07408d1ced76
child 22 549668922357
permissions -rw-r--r--
index.html post action changed to #.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Spoken Tutorials</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="/spoken_tut/site-content/style.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" language="JavaScript">
function check(form) {
  var ext = form.sourcefile;
  ext = ext.substring(ext.length-3,ext.length);
  ext = ext.toLowerCase();
  if(ext != 'txt') {
    alert('You selected a .'+ext+
          ' file; please select a .jpg file instead!');
    return false; }
  else
    return true; }
</script>
</head>
<body>
<div id="header">
	<div id="logo">
		<h1><a href="#">Spoken Tutorials Competition</a></h1>
		<h2><a href="http://www.iitb.ac.in/">By IITB</a></h2>		
	</div>	
</div>
<!-- start page -->
<div id="page">	
	<!-- start content -->
	<div id="content">
		<p class="center">
		{% block content %}
		{% if value %}						
			<form class = "center" method="post" action="#" enctype="multipart/form-data">
				{{form.as_p}}
				<p>
				<label for="id_terms">Terms and Conditions:</label>
				<textarea rows="5" cols="30" disabled="disabled">I accept that the copyright ownership of the submitted spoken tutorials will rest with CDEEP, IIT Bombay. CDEEP reserves the right to release the tutorials into the public domain.
				</textarea>
				</p>
				<p>
				  <input type="checkbox" value="True" name="accept" class="accept"/>
				  <label for="id_terms" class="accept">I accept the terms and condition:</label>
				</p>
				<br />
				<input type="submit" value="Upload" id="submit"/>
			</form>
		{% else %}			
			Your Upload was successful!
			You will be automatically redirected to the home page in 5 seconds<br/>
			<script type="text/javascript"><!--
                setTimeout('Redirect()',4000);
                function Redirect()
                {
                  location.href = 'http://www.iitb.ac.in';
                }
            // --></script>
		{% endif %}
		{% endblock %}
		</p>
	</div>
	<!-- end content -->	
	<div style="clear: both;">&nbsp;</div>
</div>
<!-- end page -->
<div id="footer">	
	<p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p>
</div>
</body>
</html>