PageRenderTime 20ms CodeModel.GetById 11ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

/console/app/view/templates/interface.html

https://bitbucket.org/alex_muscar/myspace-competition-radar
HTML | 173 lines | 127 code | 13 blank | 33 comment | 0 complexity | a4a089b84e5a2484e5333c500b58293d MD5 | raw file
Possible License(s): GPL-3.0
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2<html>
  3    <!--
  4    App Engine Console - main interface template
  5
  6    Copyright 2008-2009 Proven Corporation Co., Ltd., Thailand
  7
  8    This file is part of App Engine Console.
  9
 10    App Engine Console is free software; you can redistribute it and/or modify
 11    it under the terms of the GNU General Public License as published by
 12    the Free Software Foundation, version 3 of the License.
 13
 14    App Engine Console is distributed in the hope that it will be useful,
 15    but WITHOUT ANY WARRANTY; without even the implied warranty of
 16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 17    GNU General Public License for more details.
 18
 19    You should have received a copy of the GNU General Public License
 20    along with App Engine Console; if not, write to the Free Software
 21    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 22    -->
 23    <head>
 24        <link rel="icon" href="/favicon.ico">
 25        <link type="text/css" rel="stylesheet" href="/console/static/style/yui-2.6.0/reset-fonts-grids.css">
 26        <link type="text/css" rel="stylesheet" href="/console/static/style/google.css">
 27        <link type="text/css" rel="stylesheet" href="/console/static/style/console.css">
 28
 29        <!--[if IE]>
 30            <link type="text/css" rel="stylesheet" href="/console/static/style/ie.css">
 31        <![endif]-->
 32        <!--[if lte IE 6]>
 33            <link type="text/css" rel="stylesheet" href="/console/static/style/ie6.css">
 34        <![endif]-->
 35        <!--[if IE 7]>
 36            <link type="text/css" rel="stylesheet" href="/console/static/style/ie7.css">
 37        <![endif]-->
 38
 39        <!-- Javascript -->
 40        <script type="text/javascript" src="/console/static/javascript/jquery-1.3.1.min.js"></script>
 41        <script type="text/javascript" src="/console/static/javascript/console.js"></script>
 42
 43        <title>
 44            {% if is_dev %}
 45                [DEV] -
 46            {% endif %}
 47            {{app}}
 48        </title>
 49    </head>
 50
 51    <body class="yui-skin-sam">
 52        <div id="doc3" class="yui-t5"> <!-- 100% page width, 240px right sidebar -->
 53            <!-- Header -->
 54            <div id="hd">
 55                <div style="float:left; color:green; font-weight:bold">
 56                    {{app|capfirst}} {{version}}
 57                    {% if is_dev %}
 58                        (DEVELOPMENT)
 59                    {% endif %}
 60                </div>
 61                <div class="links">
 62                    {% if user %}
 63                        <b>{{email}} ({{user}})</b>
 64                        |
 65                    {% endif %}
 66            
 67                    <a class="novisit" href="/">Front Page</a>
 68                    |
 69                    {% if is_dev %}
 70                        <a class="novisit" href="http://{{version}}.{{app}}.appspot.com/">Production</a>
 71                        |
 72                    {% endif %}
 73            
 74                    <a class="novisit" href="http://code.google.com/appengine/docs/">API</a>
 75                    |
 76                    <a class="novisit" href="http://www.proven-corporation.com/software/app-engine-console/">Project Page</a>
 77                    |
 78                    {% if user %}
 79                        <a class="novisit" href="{{log_out|escape}}">Log out</a>
 80                    {% else %}
 81                        <a class="novisit" href="{{log_in|escape}}">Log in</a>
 82                    {% endif %}
 83                </div>
 84                <div class="mainmenu">
 85                    {% block mainmenu %}
 86                        {% for menupage in pages %}
 87                            {% ifequal controller menupage.name %}
 88                                <a href="{{menupage.href}}" class="active">{{menupage.name}}</a>
 89                            {% else %}
 90                                <a href="{{menupage.href}}">{{menupage.name}}</a>
 91                            {% endifequal %}
 92                        {% endfor %}
 93                    {% endblock %}
 94                </div>
 95                <div class="mainmenu2">
 96                    {% block mainmenu2 %}
 97                        {% if not subpages %}
 98                            &nbsp;
 99                        {% else %}
100                            {% for sub in subpages %}
101                                {% ifequal sub subpage %}
102                                    <a href="/console/{{controller|lower}}/{{sub}}" class="active">{{sub|capfirst}}</a>
103                                {% else %}
104                                    <a href="/console/{{controller|lower}}/{{sub}}">{{sub|capfirst}}</a>
105                                {% endifequal %}
106        
107                                {% if not forloop.last %}
108                                    |
109                                {% endif %}
110                            {% endfor %}
111                        {% endif %}
112                    {% endblock %}
113        
114                    {% block settings %}
115                        {% for setting in settings %}
116                            {% if forloop.first %}
117                                Settings:
118                            {% endif %}
119        
120                            {% ifequal setting.type 'hidden' %}
121                                <input type="hidden" id="setting_{{setting.id}}" value="{{setting.value}}">
122                            {% else %}
123                                <select id="setting_{{setting.id}}">
124                                    {% for option in setting.options %}
125                                        <option value="{{option}}">{{option}}</option>
126                                    {% endfor %}
127                                </select>
128                            {% endifequal %}
129                        {% endfor %}
130                    {% endblock %}
131                </div>
132            </div>
133
134            <!-- Body -->
135            <div id="bd">
136                <div id="yui-main">
137                    <div class="yui-b">
138                      {% block body %}
139                          PAGE BODY GOES HERE
140                      {% endblock %}
141                    </div>
142                </div>
143                <div class="yui-b">
144                    <div id="talkinator"></div>
145                </div>
146            </div>
147
148            <!-- Footer -->
149            <div id="ft">
150                {% block poweredby %}
151                {% endblock %}
152          
153                <div class="extra" style="font-size: 9pt; float: right;">
154                    {% include "console_revision.html" %}
155                </div>
156
157                {% block analytics %}
158                    {% if my_website and not admin %}
159                        {# This is for tracking with Google Analytics when viewed at the con.appspot.com page #}
160                        <script type="text/javascript">
161                            var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
162                            document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
163                            </script>
164                            <script type="text/javascript">
165                            var pageTracker = _gat._getTracker("UA-1486381-4");
166                            pageTracker._trackPageview();
167                        </script>
168                    {% endif %}
169                {% endblock %}
170            </div>
171        </div>
172    </body>
173</html>