template/submission.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 01 Oct 2009 13:03:00 +0530
changeset 26 6d51b97c1b22
parent 25 ac6b2a75eecb
child 27 960f4ec130d4
permissions -rw-r--r--
Added settings.py to .hgignore.

<!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 %}		
			<table>
			<tr>
			<th> Serial Number </th>	
			<th> Name </th>	
			<th> Email-id </th>				
			<th> Language </th>	
			<th> Age </th>	
			<th> Phone Number </th>	
			<th> Category </th>	
			<th> File </th>	
			</tr>
			{% for participant in participants %}
			  <tr>
			    <td>{{ forloop.counter }}</td>
			    <td>{{ participant.participant.name }}</td>
			    <td>{{ participant.participant.email }}</td>
			    <td>{{ participant.participant.language }}</td>
			    <td>{{ participant.participant.age }}</td>
			    <td>{{ participant.participant.phonenumber }}</td>
			    <td>{{ participant.participant.category }}</td>
			    <td><a href="/{{ participant.participant.filename }}">{{ participant.file_name }}</a></td>
			  </tr>
      {% endfor %}
			</table>
		{% 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>
<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>