template/submission.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 03 Sep 2009 18:52:01 +0530
changeset 19 6af9056ccac9
parent 17 08a47999f316
child 20 272dced1685b
permissions -rw-r--r--
Fixed terms and conditions bug.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml">
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     3
<head>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     4
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     5
<title>OCR</title>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     6
<meta name="keywords" content="" />
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     7
<meta name="description" content="" />
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     8
<link href="/style.css" rel="stylesheet" type="text/css" media="screen" />
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     9
<script type="text/javascript" language="JavaScript">
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    10
function check(form) {
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    11
  var ext = form.sourcefile;
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    12
  ext = ext.substring(ext.length-3,ext.length);
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    13
  ext = ext.toLowerCase();
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    14
  if(ext != 'txt') {
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    15
    alert('You selected a .'+ext+
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    16
          ' file; please select a .jpg file instead!');
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    17
    return false; }
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    18
  else
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    19
    return true; }
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    20
</script>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    21
</head>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    22
<body>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    23
<div id="header">
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    24
	<div id="logo">
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    25
		<h1><a href="#">Spoken Tutorials Competition</a></h1>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    26
		<h2><a href="http://www.iitb.ac.in/">By IITB</a></h2>		
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    27
	</div>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    28
</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    29
<!-- start page -->
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    30
<div id="page">	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    31
	<!-- start content -->	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    32
	<div id="content">
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    33
		<p class="center">
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    34
		{% block content %}		
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    35
			<table>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    36
			<tr>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    37
			<th> Name </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    38
			<th> Email-id </th>				
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    39
			<th> Language </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    40
			<th> Age </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    41
			<th> Phone Number </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    42
			<th> Category </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    43
			<th> File </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    44
			</tr>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    45
			{% for participant in participants %}
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    46
			  <tr>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    47
			    <td>{{ participant.name }}</td>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    48
			    <td>{{ participant.email }}</td>				    	    
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    49
			    <td>{{ participant.language }}</td>			    
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    50
			    <td>{{ participant.phonenumber }}</td>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    51
			    <td>{{ participant.age }}</td>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    52
			    <td>{{ participant.category }}</td>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    53
			    <td>{{ file }}</td>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    54
			  </tr>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    55
            {% endfor %}
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    56
			</table>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    57
		{% endblock %}
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    58
		</p>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    59
	</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    60
	<!-- end content -->	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    61
	<div style="clear: both;">&nbsp;</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    62
</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    63
<!-- end page -->
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    64
<div id="footer">	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    65
	<p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    66
</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    67
</body>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    68
</html>