Comment out the 'loadtest' backend in the 'counter' backend sample so that it does...
[gae-samples.git] / geochat / settings.html
blobcb59b055f70d6129a512077fb77c52f75c4f7165
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
6 <title>Geochat - Settings</title>
7 <link rel="stylesheet" href="/static/css/geochat.css" type="text/css" media="screen" title="no title" charset="utf-8">
8 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA5aiSIr40CaCgAL1qdBx_URT7PEZbmam_2zAsIoWwfh3Jj6aT1RRYLlAgQv4nC1zqXhjttDcaEzPmFA"
9 type="text/javascript"></script>
10 <script src="/static/js/jquery.js" type="text/javascript" charset="utf-8"></script>
11 <script type="text/javascript">
12 GEOCHAT_VARS = {
13 'auth_url': '{{ auth_url }}',
14 'user_email': '{{ user_email }}',
15 'user_nickname': '{{ user_nickname }}',
16 'default_location': '{{ default_location }}',
17 'default_zoom': '{{ default_zoom }}'
19 </script>
20 </head>
21 <body>
22 <div id="container">
23 <div id="head">
24 <h1><a href="/">Geochat</a></h1>
25 <div id="topnav">
26 {% if user_email %}
27 <strong>{{ user_email }}</strong> |
28 {% endif %}
29 <a href="/help" target="_blank">Help</a> |
30 {% if user_email %}
31 <a href="/settings">Settings</a> |
32 {% endif %}
33 <a href="{{ auth_url }}">{{ auth_text }}</a>
34 </div>
35 </div>
36 <div id="body">
37 <div id="settings">
38 <h2>Settings for {{ user_nickname }}</h2>
39 <form method="post" action="/settings">
40 <table cellspacing="5">
41 <tr>
42 <td><label for="location">Home Location:</label></td>
43 <td><input type="text" name="location" id="location" size="60" maxlength="60" value="{{ default_location }}" onchange="ValidateLocation(this.value);"/></td>
44 </tr>
45 <tr>
46 <td colspan="2">
47 <div class="tip">Every user needs a home location. This is where you'll start each time you log in, before moving elsewhere. You might want to choose somewhere likely to have other users, such as major cities.</div>
48 </td>
49 <tr>
50 <td colspan="2"><input type="submit" value="Save Settings" /></td>
51 </tr>
52 </table>
53 </form>
54 </div>
55 </div>
56 <div id="foot">
57 &copy;2008 Google
58 </div>
59 </div>
60 </body>
61 </html>