-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1006 Bytes
/
index.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
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html { height: 100% }
body { height: 100% }
#map_canvas { height: 50%; width: 50%; }
</style>
<script type="text/javascript" src="/static/core.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
</head>
<body>
<b>Current location (latitude, longitude):</b> {{ geolocation }}
<div id="map_canvas"></div>
<br/>
<div>
{% for airnote in airnotes %}
{% if airnote.author %}
{{ airnote.author.nickname }} wrote:
{% else %}
An anonymous person wrote:
{% endif %}
<blockquote>{{ airnote.content|escape }}</blockquote>
{% endfor %}
<br/>
<div>
<textarea id="txtAreaContent" name="content" rows="3" cols="60">
</textarea>
</div>
<div>
<input type="button" value="Write" onclick="javascript:WriteNote()">
</div>
<br/>
</div>
</body>
</html>