-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.html
62 lines (59 loc) · 2.29 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
{#
This file is part of Kuona - crowdsourcing application for OSM HOT
Copyright (c) 2013 Nicolás Alvarez
This program is free software; see the LICENSE file for details.
#}
<html>
<head>
<meta name="viewport" content="width=275">
<style type="text/css">
table input[type=image] {
display: block;
}
</style>
</head>
<body>
{% if got_tile %}
<form method="POST">
<p>Click on any buildings you see. Especially on large areas of them <small>(<a href="http://ecn.t3.tiles.virtualearth.net/tiles/a03331303231122033.jpeg?g=1145">like this</a>)</small>.</p>
<input type="hidden" name="tilex" value="{{tilex}}">
<input type="hidden" name="tiley" value="{{tiley}}">
<input type="hidden" name="zoom" value="{{zoom}}">
<table cellspacing="5">
<tr><td>
<table cellspacing="0" cellpadding="0">
<tr>
<td><input type="image" name="click0" src="{{tile_src[0]}}" width="256" height="256"></td>
<td><input type="image" name="click1" src="{{tile_src[1]}}" width="256" height="256"></td>
</tr>
<tr>
<td><input type="image" name="click2" src="{{tile_src[2]}}" width="256" height="256"></td>
<td><input type="image" name="click3" src="{{tile_src[3]}}" width="256" height="256"></td>
</tr>
</table>
</td><td>
<b>DO Mark</b><ul><li>Villages</li><li>Dams</li></ul>
<b>DO Not Mark</b><ul><li>Roads</li><li>Cattle Pens</li><li>Fields</li></ul>
</td></tr>
</table>
<p><input type="submit" name="nothing" value="There's nothing here"></p>
</form>
{% else %}
<p>There are currently no tiles to process. Come back later!</p>
{% endif %}
<div style="font-size: 8pt; width:50em; text-align: justify;">
{% if confirmation %}
<p>Currently verifying already-seen tiles.</p>
{% endif %}
{% if remaining %}
<p>Pictures remaining: {{remaining}}</p>
{% endif %}
{#<p>This application is currently running on my home computer,
on a residential Internet con­nec­tion. Lately it's being <i>very</i> unreliable.
If you get a connection error, just reload the page.</p>
<p>I will try to move it to an OpenStreetMap dev server soon.</p>#}
</div>
</body>
</html>
{# vim: set filetype=jinja: #}