template/submission.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 01 Oct 2009 14:15:05 +0530
changeset 27 960f4ec130d4
parent 25 ac6b2a75eecb
child 28 56a978b7352e
permissions -rw-r--r--
Removed Age and Phone number from templates.
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>				
27
960f4ec130d4 Removed Age and Phone number from templates.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 25
diff changeset
    40
			<th> Language </th>
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    41
			<th> Category </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    42
			<th> File </th>	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    43
			</tr>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    44
			{% for participant in participants %}
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    45
			  <tr>
25
ac6b2a75eecb Template additions.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 22
diff changeset
    46
			    <td>{{ forloop.counter }}</td>
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>
27
960f4ec130d4 Removed Age and Phone number from templates.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 25
diff changeset
    49
			    <td>{{ participant.participant.language }}</td>
20
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    50
			    <td>{{ participant.participant.category }}</td>
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    51
			    <td><a href="/{{ participant.participant.filename }}">{{ participant.file_name }}</a></td>
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    52
			  </tr>
20
272dced1685b Table to view uploads.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 17
diff changeset
    53
      {% endfor %}
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    54
			</table>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    55
		{% endblock %}
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    56
		</p>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    57
	</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    58
	<!-- end content -->	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    59
	<div style="clear: both;">&nbsp;</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    60
</div>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    61
<!-- end page -->
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    62
<div id="footer">	
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    63
	<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
    64
</div>
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    65
<script type="text/javascript">
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    66
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    67
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
    68
</script>
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
try {
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    71
var pageTracker = _gat._getTracker("UA-10406287-1");
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    72
pageTracker._trackPageview();
549668922357 Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents: 20
diff changeset
    73
} catch(err) {}</script>
17
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    74
</body>
08a47999f316 Added submissions page.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    75
</html>