author | Shantanu <shantanu@fossee.in> |
Thu, 03 Sep 2009 19:32:37 +0530 | |
changeset 22 | 549668922357 |
parent 21 | cc021f43454e |
child 23 | 6441f3da4b2e |
permissions | -rw-r--r-- |
2 | 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" /> |
|
16
a5bbfbe5feb1
Fixed the HTML title.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
15
diff
changeset
|
5 |
<title>Spoken Tutorials</title> |
2 | 6 |
<meta name="keywords" content="" /> |
7 |
<meta name="description" content="" /> |
|
21
cc021f43454e
index.html post action changed to #.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
18
diff
changeset
|
8 |
<link href="/spoken_tut/site-content/style.css" rel="stylesheet" type="text/css" media="screen" /> |
2 | 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"> |
|
3 | 24 |
<div id="logo"> |
25 |
<h1><a href="#">Spoken Tutorials Competition</a></h1> |
|
14
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
26 |
<h2><a href="http://www.iitb.ac.in/">By IITB</a></h2> |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
27 |
</div> |
2 | 28 |
</div> |
29 |
<!-- start page --> |
|
30 |
<div id="page"> |
|
31 |
<!-- start content --> |
|
32 |
<div id="content"> |
|
33 |
<p class="center"> |
|
34 |
{% block content %} |
|
14
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
35 |
{% if value %} |
21
cc021f43454e
index.html post action changed to #.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
18
diff
changeset
|
36 |
<form class = "center" method="post" action="#" enctype="multipart/form-data"> |
18
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
37 |
{{form.as_p}} |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
38 |
<p> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
39 |
<label for="id_terms">Terms and Conditions:</label> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
40 |
<textarea rows="5" cols="30" disabled="disabled">I accept that the copyright ownership of the submitted spoken tutorials will rest with CDEEP, IIT Bombay. CDEEP reserves the right to release the tutorials into the public domain. |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
41 |
</textarea> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
42 |
</p> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
43 |
<p> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
44 |
<input type="checkbox" value="True" name="accept" class="accept"/> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
45 |
<label for="id_terms" class="accept">I accept the terms and condition:</label> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
46 |
</p> |
07408d1ced76
Added CSS and I accept terms and condition.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
16
diff
changeset
|
47 |
<br /> |
2 | 48 |
<input type="submit" value="Upload" id="submit"/> |
49 |
</form> |
|
50 |
{% else %} |
|
15
2dbb5e797989
Fixed views.py to accommodate form validation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
51 |
Your Upload was successful! |
2dbb5e797989
Fixed views.py to accommodate form validation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
52 |
You will be automatically redirected to the home page in 5 seconds<br/> |
14
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
53 |
<script type="text/javascript"><!-- |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
54 |
setTimeout('Redirect()',4000); |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
55 |
function Redirect() |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
56 |
{ |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
57 |
location.href = 'http://www.iitb.ac.in'; |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
58 |
} |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
59 |
// --></script> |
2 | 60 |
{% endif %} |
61 |
{% endblock %} |
|
62 |
</p> |
|
63 |
</div> |
|
64 |
<!-- end content --> |
|
65 |
<div style="clear: both;"> </div> |
|
66 |
</div> |
|
67 |
<!-- end page --> |
|
14
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
68 |
<div id="footer"> |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
69 |
<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:
21
diff
changeset
|
70 |
</div> |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
71 |
<script type="text/javascript"> |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
72 |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
73 |
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:
21
diff
changeset
|
74 |
</script> |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
75 |
<script type="text/javascript"> |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
76 |
try { |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
77 |
var pageTracker = _gat._getTracker("UA-10406287-1"); |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
78 |
pageTracker._trackPageview(); |
549668922357
Added google-analytics javascript().
Shantanu <shantanu@fossee.in>
parents:
21
diff
changeset
|
79 |
} catch(err) {}</script> |
2 | 80 |
</body> |
81 |
</html> |