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