Initialized the registration application.
<!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>Registration</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="/base.css" rel="stylesheet" type="text/css" media="screen" />
<link href="/forms.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="#">Registration for upcoming workshop</a></h1>
<h2><a href="http://fossee.in/">from FOSSEE Team</a></h2>
</div>
</div>
<!-- start page -->
<div id="content">
<!-- start content -->
<div id="content-main">
<p class="center">
{% block content %}
{% if value %}
<form id = "participant_form" method="post" action="#" enctype="multipart/form-data">
{{form.as_p}}
<br />
<input type="submit" value="Register" id="submit"/>
</form>
{% else %}
Your Registration 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://fossee.in';
}
// --></script>
{% endif %}
{% endblock %}
</p>
</div>
<!-- end content -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
<div id="footer">
<p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10406287-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>