-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.html
52 lines (45 loc) · 1.71 KB
/
debug.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
<!DOCTYPE html>
{% autoescape true %}
<html>
<body>
<h1>Welcome to Momentos!</h1>
<h2>Show me momentos</h2>
<form action="/get_momentos" method="get">
<div>
<input type="text" name="lat" size="20" value="43.450909"></text>
<input type="text" name="lon" size="20" value="-80.497872"></text>
</div>
<div><input type="submit" value="Get"></div>
</form>
<h2>Momento Image</h2>
<form action="/momento_image" method="get">
<div><input type="text" name="momento_id" size="80"></textarea></div>
<div><input type="submit" value="Show"></div>
</form>
<h2>Add a momento:</h2>
<form action="/add_momento" enctype="multipart/form-data" method="post">
<div>
<input type="text" name="lat" size="20" value="43.450909"></text>
<input type="text" name="lon" size="20" value="-80.497872"></text>
</div>
<div><textarea name="text" rows="3" cols="60"></textarea></div>
<div><label>Image:</label></div>
<div><input type="file" name="image"/></div>
<div><input type="submit" value="Add"></div>
</form>
<h2>Add my userpic:</h2>
<form action="/userpic" enctype="multipart/form-data" method="post">
<div><label>Image:</label></div>
<div><input type="file" name="image"/></div>
<div><input type="submit" value="Add"></div>
</form>
<h2>Get userpic:</h2>
<form action="/userpic" method="get">
<div><input type="text" name="user" size="20" value=""></text></div>
<div><input type="submit" value="Get"></div>
</form>
<br/><a href="delete_all_momentos">clear all momentos</a><br/><br/>
<a href="{{ url|safe }}">{{ url_linktext }}</a>
</body>
</html>
{% endautoescape %}