Add google appengine to repo
[frozenviper.git] / google_appengine / google / appengine / ext / admin / templates / base.html
blobfe71c399c498cb936367a57148efcbb6dc25bba4
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
5 <title>{% block title %}{% endblock %}</title>
6 <style type="text/css">{% include "css/base.css" %}</style>
7 <style type="text/css">{% include "css/ae.css" %}</style>
8 <style type="text/css">{% include "css/nav.css" %}</style>
9 {% block head %}{% endblock %}
10 </head>
11 <body {% block bodyattributes %}{% endblock %}>
12 <div class="g-doc">
14 <div id="hd" class="g-section">
16 <div class="g-section">
17 <img id="ae-logo" src="./images/google.gif" width="153" height="47"
18 alt="Google App Engine"/>
19 </div>
21 <div id="ae-appbar-lrg" class="g-section">
22 <h1>{{ application_name }} Development Console</h1>
23 </div>
25 </div>
28 <div id="bd" class="g-section">
30 <div class="g-section g-tpl-160">
32 <div id="ae-lhs-nav" class="g-unit g-first">
34 <div id="ae-nav" class="g-c">
36 <ul id="menu">
37 <li><a href="{{ datastore_path }}">Datastore Viewer</a></li>
38 <li><a href="{{ interactive_path }}">Interactive Console</a></li>
39 <li><a href="{{ memcache_path }}">Memcache Viewer</a></li>
40 <li><a href="{{ queues_path }}">Task Queues</a></li>
41 {% if cron_path %}
42 <li><a href="{{ cron_path }}">Cron Jobs</a></li>
43 {% endif %}
44 <li><a href="{{ xmpp_path }}">XMPP</a></li>
45 <li><a href="{{ inboundmail_path }}">Inbound Mail</a></li>
46 </ul>
48 </div>
50 </div>
52 <div id="ae-content" class="g-unit">
53 {% block body %}{% endblock %}
54 </div>
56 </div>
58 <div id="ft">
59 <p>
60 &copy;2009 Google
61 </p>
62 </div>
63 {% block final %}{% endblock %}
64 </div>
65 <script type="text/javascript">
66 //<![CDATA[
68 function walk(element, condition, operation) {
69 if (!element) return;
70 if (condition(element)) {
71 operation(element);
72 return;
74 for (var e = element.firstChild; e != null; e = e.nextSibling) {
75 walk(e, condition, operation);
79 function isCurrentLink(e) {
80 if (e.tagName != "A") return false;
81 re = new RegExp("^" + e.href + ".*(\\?.*)?$");
82 return re.test(window.location.href);
85 function makeSelected(e) {
86 e.className = "ae-nav-selected";
89 walk(document.getElementById("menu"), isCurrentLink, makeSelected);
91 //]]>
92 </script>
93 </body>
94 </html>