|
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>Registration</title> |
|
6 <meta name="keywords" content="" /> |
|
7 <meta name="description" content="" /> |
|
8 <link href="/base.css" rel="stylesheet" type="text/css" media="screen" /> |
|
9 <link href="/forms.css" rel="stylesheet" type="text/css" media="screen" /> |
|
10 <script type="text/javascript" language="JavaScript"> |
|
11 function check(form) { |
|
12 var ext = form.sourcefile; |
|
13 ext = ext.substring(ext.length-3,ext.length); |
|
14 ext = ext.toLowerCase(); |
|
15 if(ext != 'txt') { |
|
16 alert('You selected a .'+ext+ |
|
17 ' file; please select a .jpg file instead!'); |
|
18 return false; } |
|
19 else |
|
20 return true; } |
|
21 </script> |
|
22 </head> |
|
23 <body> |
|
24 <div id="header"> |
|
25 <div id="logo"> |
|
26 <h1><a href="#">Registration for upcoming workshop</a></h1> |
|
27 <h2><a href="http://fossee.in/">from FOSSEE Team</a></h2> |
|
28 </div> |
|
29 </div> |
|
30 <!-- start page --> |
|
31 <div id="content"> |
|
32 <!-- start content --> |
|
33 <div id="content-main"> |
|
34 <p class="center"> |
|
35 {% block content %} |
|
36 {% if value %} |
|
37 <form id = "participant_form" method="post" action="#" enctype="multipart/form-data"> |
|
38 |
|
39 {{form.as_p}} |
|
40 <br /> |
|
41 |
|
42 <input type="submit" value="Register" id="submit"/> |
|
43 </form> |
|
44 {% else %} |
|
45 Your Registration was successful! |
|
46 You will be automatically redirected to the home page in 5 seconds<br/> |
|
47 <script type="text/javascript"><!-- |
|
48 setTimeout('Redirect()',4000); |
|
49 function Redirect() |
|
50 { |
|
51 location.href = 'http://fossee.in'; |
|
52 } |
|
53 // --></script> |
|
54 {% endif %} |
|
55 {% endblock %} |
|
56 </p> |
|
57 </div> |
|
58 <!-- end content --> |
|
59 <div style="clear: both;"> </div> |
|
60 </div> |
|
61 <!-- end page --> |
|
62 <div id="footer"> |
|
63 <p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p> |
|
64 </div> |
|
65 <script type="text/javascript"> |
|
66 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
|
67 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); |
|
68 </script> |
|
69 <script type="text/javascript"> |
|
70 try { |
|
71 var pageTracker = _gat._getTracker("UA-10406287-1"); |
|
72 pageTracker._trackPageview(); |
|
73 } catch(err) {}</script> |
|
74 </body> |
|
75 </html> |