author | Madhusudan.C.S <madhusudancs@gmail.com> |
Thu, 03 Sep 2009 00:17:30 +0530 | |
changeset 16 | a5bbfbe5feb1 |
parent 15 | 2dbb5e797989 |
child 18 | 07408d1ced76 |
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="" /> |
|
11
ed77b6c62d61
Corrected template loading and css.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
9
diff
changeset
|
8 |
<link href="/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 %} |
2 | 36 |
<form class = "center" method="post" action="." enctype="multipart/form-data"> |
37 |
{{form.as_p}} |
|
38 |
<input type="submit" value="Upload" id="submit"/> |
|
39 |
</form> |
|
40 |
{% else %} |
|
15
2dbb5e797989
Fixed views.py to accommodate form validation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
41 |
Your Upload was successful! |
2dbb5e797989
Fixed views.py to accommodate form validation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
42 |
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
|
43 |
<script type="text/javascript"><!-- |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
44 |
setTimeout('Redirect()',4000); |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
45 |
function Redirect() |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
46 |
{ |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
47 |
location.href = 'http://www.iitb.ac.in'; |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
48 |
} |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
49 |
// --></script> |
2 | 50 |
{% endif %} |
51 |
{% endblock %} |
|
52 |
</p> |
|
53 |
</div> |
|
54 |
<!-- end content --> |
|
55 |
<div style="clear: both;"> </div> |
|
56 |
</div> |
|
57 |
<!-- end page --> |
|
14
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
58 |
<div id="footer"> |
420517bb1a06
Updated index.html for auto-redirect.
Shantanu <shantanu@fossee.in>
parents:
11
diff
changeset
|
59 |
<p class="credit">Powered by the <a href="http://fossee.in/">FOSSEE</a> group, IITB</p> |
2 | 60 |
</div> |
61 |
</body> |
|
62 |
</html> |