template/submission.html
author hg@fossee.in
Fri, 04 Sep 2009 10:39:09 -0400
changeset 23 6441f3da4b2e
parent 22 549668922357
child 25 ac6b2a75eecb
permissions -rw-r--r--
Update terms and conditions.
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" />
20
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
     5
<title>Spoken Tutorials</title>
17
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="" />
22
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
     8
<link href="/spoken_tut/site-content/style.css" rel="stylesheet" type="text/css" media="screen" />
17
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>
20
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    47
			    <td>{{ participant.participant.name }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    48
			    <td>{{ participant.participant.email }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    49
			    <td>{{ participant.participant.language }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    50
			    <td>{{ participant.participant.age }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    51
			    <td>{{ participant.participant.phonenumber }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    52
			    <td>{{ participant.participant.category }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    53
			    <td><a href="/{{ participant.participant.filename }}">{{ participant.file_name }}</a></td>
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    54
			  </tr>
20
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    55
      {% endfor %}
17
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>
22
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    66
</div>
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    67
<script type="text/javascript">
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    68
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    69
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    70
</script>
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    71
<script type="text/javascript">
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    72
try {
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    73
var pageTracker = _gat._getTracker("UA-10406287-1");
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    74
pageTracker._trackPageview();
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    75
} catch(err) {}</script>
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    76
</body>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    77
</html>