This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
1 |
<!DOCTYPE html> |
2 |
<html> |
3 |
<head> |
4 |
<meta charset="utf-8"> |
5 |
<meta http-equiv='imagetoolbar' content='no'/> |
6 |
<title> Text Annotation </title> |
7 |
<link rel="stylesheet" type="text/css" href="static/bootstrap.css"></link> |
8 |
<script type="text/javascript" src="static/bootstrap.js"></script> |
9 |
</head> |
10 |
<body> |
11 |
<div class="fluid-container"> |
12 |
<div class="explain lead"> Text annotation of Hampi related content using the IDH Mowl</div> |
13 |
<div class="input span9"> |
14 |
Enter URL to annotate: <input id="url" type="text" placeholder="http://hampi.co.in"> |
15 |
<button class="btn" onclick="loadURL();"> Load </button> |
16 |
</div> |
17 |
</div> |
18 |
<script> |
19 |
function loadURL() { |
20 |
var url = document.getElementById('url').value; |
21 |
if(!url.match(/http/)) { |
22 |
url = 'http://' + url; |
23 |
} |
24 |
window.location.href = '/SWeeText?url=' + encodeURIComponent(url); |
25 |
} |
26 |
</script> |
27 |
</body> |
28 |
</html> |