Added template file and poc.
authorShantanu <shantanu@fossee.in>
Mon, 25 Jan 2010 01:21:06 +0530
changeset 13 2ef7b964dda3
parent 12 10d86ada90c2
child 14 b4f4d4e8c03e
Added template file and poc.
template/registrants.html
upload/poc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/registrants.html	Mon Jan 25 01:21:06 2010 +0530
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<title>Registration list</title>
+<meta name="keywords" content="" />
+<meta name="description" content="" />
+<link href="/workshop/registrations/site-content/base.css" rel="stylesheet" type="text/css" media="screen" />
+<link href="/workshop/registrations/site-content/forms.css" rel="stylesheet" type="text/css" media="screen" />
+</head>
+<body>
+<div id="header">
+	<div id="logo">
+	        <h1>List of Registrants for upcoming workshops</h1>
+		<h2><a href="http://www.iitb.ac.in/">From FOSSEE Team</a></h2>
+	</div>
+</div>
+<!-- start page -->
+<div id="page">	
+	<!-- start content -->	
+	<div id="content">
+		<p class="center">
+		{% block content %}		
+			<table>
+			<tr>
+			<th> SNo </th>	
+			<th> Name </th>
+			<th> Email </th>
+			<th> Phone Number </th>	
+			<th> Discipline </th>	
+			<th> Category </th>	
+			<th> Affiliation </th>
+			<th> Workshop </th>
+			<th> Known programing languages </th>
+			</tr>
+			{% for registrant in registrants %}
+			  <tr>
+			    <td>{{ forloop.counter }}</td>
+			    <td>{{ registrant.registrant.name }}</td>
+			    <td>{{ registrant.registrant.email }}</td>
+			    <td>{{ registrant.registrant.phonenumber }}</td>
+			    <td>{{ registrant.registrant.discipline }}</td>
+			    <td>{{ registrant.registrant.category }}</td>
+			    <td>{{ registrant.registrant.affiliation }}</td>
+			    <td>{{ registrant.registrant.workshop }}</td>
+			    <td>{{ registrant.registrant.tools }}</td>
+			  </tr>
+      {% endfor %}
+			</table>
+		{% endblock %}
+		</p>
+	</div>
+	<!-- end content -->	
+	<div style="clear: both;">&nbsp;</div>
+</div>
+<!-- end page -->
+<div id="footer">	
+	<p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p>
+</div>
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/upload/poc	Mon Jan 25 01:21:06 2010 +0530
@@ -0,0 +1,1 @@
+vattam|AVIT Chennai
\ No newline at end of file