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" />
|
|
5 |
<title>OCR</title>
|
|
6 |
<meta name="keywords" content="" />
|
|
7 |
<meta name="description" content="" />
|
9
|
8 |
<link href="/site-content/css/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>
|
|
26 |
<h2><a href="http://fossee.in/">By IITB</a></h2>
|
2
|
27 |
</div>
|
|
28 |
<div id="menu">
|
|
29 |
<ul>
|
|
30 |
<li><a href="#">Home</a></li>
|
|
31 |
<li><a href="#">FAQ</a></li>
|
|
32 |
<li><a href="#">Contribute</a></li>
|
|
33 |
<li><a href="#">About</a></li>
|
|
34 |
<li class="last"><a href="#">Contact</a></li>
|
|
35 |
</ul>
|
|
36 |
</div>
|
|
37 |
</div>
|
|
38 |
<!-- start page -->
|
|
39 |
<div id="page">
|
|
40 |
<!-- start content -->
|
|
41 |
<div id="content">
|
|
42 |
<p class="center">
|
|
43 |
{% block content %}
|
|
44 |
{% if value %}
|
|
45 |
Mind Your Privacy!<br/>
|
|
46 |
Don't post your confidential data.<br/>
|
|
47 |
<form class = "center" method="post" action="." enctype="multipart/form-data">
|
|
48 |
{{form.as_p}}
|
|
49 |
<input type="submit" value="Upload" id="submit"/>
|
|
50 |
</form>
|
|
51 |
{% else %}
|
|
52 |
You Uploaded:<br/>
|
|
53 |
<form class = "center" method="post" action="/ocr/download/">
|
|
54 |
{{form.as_p}}
|
|
55 |
<input type="submit" value="Download Content" id="submit"/>
|
|
56 |
</form>
|
|
57 |
{% endif %}
|
|
58 |
{% endblock %}
|
|
59 |
</p>
|
|
60 |
</div>
|
|
61 |
<!-- end content -->
|
|
62 |
<div style="clear: both;"> </div>
|
|
63 |
</div>
|
|
64 |
<!-- end page -->
|
|
65 |
<div id="footer">
|
|
66 |
<p class="legal">©2008 All Rights Reserved.</p>
|
|
67 |
<p class="credit">Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
|
|
68 |
</div>
|
|
69 |
</body>
|
|
70 |
</html>
|