/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

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