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.
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>
25
ac6b2a75eecb Template additions.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 22
diff changeset
    37
			<th> Serial Number </th>	
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    38
			<th> Name </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    39
			<th> Email-id </th>				
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    40
			<th> Language </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    41
			<th> Age </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    42
			<th> Phone Number </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    43
			<th> Category </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    44
			<th> File </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    45
			</tr>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    46
			{% for participant in participants %}
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    47
			  <tr>
25
ac6b2a75eecb Template additions.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 22
diff changeset
    48
			    <td>{{ forloop.counter }}</td>
20
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    49
			    <td>{{ participant.participant.name }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    50
			    <td>{{ participant.participant.email }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    51
			    <td>{{ participant.participant.language }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    52
			    <td>{{ participant.participant.age }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    53
			    <td>{{ participant.participant.phonenumber }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    54
			    <td>{{ participant.participant.category }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    55
			    <td><a href="/{{ participant.participant.filename }}">{{ participant.file_name }}</a></td>
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    56
			  </tr>
20
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    57
      {% endfor %}
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    58
			</table>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    59
		{% endblock %}
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    60
		</p>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    61
	</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    62
	<!-- end content -->	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    63
	<div style="clear: both;">&nbsp;</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    64
</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    65
<!-- end page -->
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    66
<div id="footer">	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    67
	<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
    68
</div>
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    69
<script type="text/javascript">
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    70
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    71
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
    72
</script>
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    73
<script type="text/javascript">
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    74
try {
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    75
var pageTracker = _gat._getTracker("UA-10406287-1");
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    76
pageTracker._trackPageview();
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    77
} catch(err) {}</script>
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    78
</body>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    79
</html>