app/soc/templates/soc/base.html
author Lennard de Rijk <ljvderijk@gmail.com>
Sat, 09 May 2009 01:37:21 +0200
changeset 2302 7b281ac17abd
parent 2295 8566fb2b8012
child 2381 2449a52035ee
permissions -rw-r--r--
Renamed duplicate slots because of recent changes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     1
{% comment %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     2
Licensed under the Apache License, Version 2.0 (the "License");
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     3
you may not use this file except in compliance with the License.
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     4
You may obtain a copy of the License at
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     5
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     6
  http://www.apache.org/licenses/LICENSE-2.0
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     7
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     8
Unless required by applicable law or agreed to in writing, software
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     9
distributed under the License is distributed on an "AS IS" BASIS,
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    10
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    11
See the License for the specific language governing permissions and
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    12
limitations under the License.
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    13
{% endcomment %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    14
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    15
<html>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    16
 <head>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    17
  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    18
	{% block stylesheet %}
2272
26491ee91e33 Renamed .css file due to recent changes.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2043
diff changeset
    19
  <link rel="stylesheet" href="/soc/content/css/soc-090421.css" type="text/css"/>
2026
388b65cabfbb Set fields to 100% width again
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2013
diff changeset
    20
  <!--[if IE]>
388b65cabfbb Set fields to 100% width again
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2013
diff changeset
    21
  <link rel="stylesheet" href="/soc/content/css/soc-090418-ie.css" type="text/css"/>
388b65cabfbb Set fields to 100% width again
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2013
diff changeset
    22
  <![endif]-->
388b65cabfbb Set fields to 100% width again
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2013
diff changeset
    23
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    24
  {% if uses_jq_autocomplete %}
1646
42b8e294792e Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1591
diff changeset
    25
  <link rel="stylesheet" href="/soc/content/css/jquery-autocomplete-090304.css" type="text/css"/>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    26
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    27
  {% if uses_jq_thickbox %}
1646
42b8e294792e Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1591
diff changeset
    28
  <link rel="stylesheet" href="/soc/content/css/jquery-thickbox-090304.css" type="text/css"/>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    29
  {% endif %}
1770
2d3bcf1a17e3 Move all the jquery-purr css settings into separate file and add it to base.html template only if needed.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1735
diff changeset
    30
  {% if uses_jq_purr %}
2d3bcf1a17e3 Move all the jquery-purr css settings into separate file and add it to base.html template only if needed.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1735
diff changeset
    31
  <link rel="stylesheet" href="/soc/content/css/jquery-purr-090308.css" type="text/css"/>
2d3bcf1a17e3 Move all the jquery-purr css settings into separate file and add it to base.html template only if needed.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1735
diff changeset
    32
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    33
  {% if uses_jq_datetimepicker %}
1646
42b8e294792e Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1591
diff changeset
    34
  <link rel="stylesheet" type="text/css" media="screen" href="/soc/content/css/ui.datetimepicker-090304.css">
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    35
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    36
	{% endblock %}
374
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
    37
  <title>
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
    38
    {% block page_title %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
    39
      {% if page_name %}
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
    40
{{ page_name }}
374
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
    41
      {% else %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
    42
&lt;Missing Page Name&gt;
374
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
    43
      {% endif %}
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
    44
    {% endblock %}
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
    45
  </title>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    46
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    47
{% block scripts %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    48
  {% if uses_jq %}
1800
32f5379c4242 If not running local, use ajax.googleapis to serve jquery
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1797
diff changeset
    49
  {% if is_local %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    50
  <script type='text/javascript' src="/jquery/jquery-1.2.6.js"></script>
1800
32f5379c4242 If not running local, use ajax.googleapis to serve jquery
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1797
diff changeset
    51
  {% else %}
32f5379c4242 If not running local, use ajax.googleapis to serve jquery
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1797
diff changeset
    52
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
32f5379c4242 If not running local, use ajax.googleapis to serve jquery
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1797
diff changeset
    53
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    54
  {% endif %}
1733
d5f9261d87c7 Hook up json2.js in base.html
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1727
diff changeset
    55
  {% if uses_json %}
d5f9261d87c7 Hook up json2.js in base.html
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1727
diff changeset
    56
  <script type='text/javascript' src="/json/json2.js"></script>
d5f9261d87c7 Hook up json2.js in base.html
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1727
diff changeset
    57
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    58
  {% if uses_menu %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    59
  <script type='text/javascript' src="/soc/content/js/menu-081108.js"></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    60
  {% endif %}
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    61
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    62
    <script type='text/javascript' src="/jquery/jquery-purr.js"></script>
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    63
  {% endif %}
1727
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    64
  {% if uses_jq_spin %}
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    65
    <script type='text/javascript' src="/jquery/jquery-spin-1.0.2.js"></script>
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    66
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    67
  {% if uses_jq_bgiframe %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    68
  <script type='text/javascript' src='/jquery/jquery-bgiframe.js'></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    69
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    70
  {% if uses_jq_ajaqQueue %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    71
  <script type='text/javascript' src='/jquery/jquery-ajaxQueue.js'></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    72
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    73
  {% if uses_jq_autocomplete %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    74
  <script type='text/javascript' src='/jquery/jquery-autocomplete.js'></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    75
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    76
  {% if uses_jq_thickbox %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    77
  <script type='text/javascript' src='/jquery/jquery-thickbox.js'></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    78
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    79
  {% if uses_tinymce %}
2013
eda2589a90e6 Use minified tiny_mce.js javascript file instead of tiny_mce_src.js which is 100kB larger.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2004
diff changeset
    80
  <script type="text/javascript" src="/tiny_mce/tiny_mce.js"></script>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    81
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    82
  {% if uses_jq_progressbar %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    83
  <script type="text/javascript" src="/jquery/jquery-progressbar.js"></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    84
  {% endif %}
1535
a5277d506a21 Renamed org-accept.js to bulk-review.js
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1478
diff changeset
    85
  {% if uses_bulk_review %}
1646
42b8e294792e Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1591
diff changeset
    86
  <script type="text/javascript" src="/soc/content/js/bulk-review-090304.js"></script>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    87
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    88
  {% if uses_jq_ui_core %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    89
  <script type="text/javascript" src="/jquery/jquery-ui.core.js"></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    90
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    91
  {% if uses_jq_datetimepicker %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    92
  <script type="text/javascript" src="/jquery/jquery-ui.datetimepicker.js"></script>
1646
42b8e294792e Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1591
diff changeset
    93
  <script type="text/javascript" src="/soc/content/js/datetime-loader-090304.js"></script>
42b8e294792e Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1591
diff changeset
    94
  <script type="text/javascript" src="/soc/content/js/datetimepicker-090304.js"></script>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    95
  {% endif %}
1735
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
    96
  {% if uses_slot_allocator %}
1953
6bd827320b3d Add date postfix to slot-allocator.js file. Update base.html template with path to slot-allocator-090320.js.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1927
diff changeset
    97
  <script type="text/javascript" src="/soc/content/js/slot-allocator-090320.js"></script>
1735
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
    98
  {% endif %}
2004
4d9e41c947fd Added JS to the duplicate proposals page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1953
diff changeset
    99
  {% if uses_duplicates %}
2302
7b281ac17abd Renamed duplicate slots because of recent changes.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2295
diff changeset
   100
  <script type="text/javascript" src="/soc/content/js/duplicate-slots-090505.js"></script>
2004
4d9e41c947fd Added JS to the duplicate proposals page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1953
diff changeset
   101
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   102
 </head>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
   103
{% endblock %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
   104
1050
77aab03aa693 Add 'Flush Cache' button next to Admin link. It's visible only when working on dev_appserver locally. This is a quick way of flushing memcache.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 838
diff changeset
   105
{% block body_tag %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   106
 <body>
1050
77aab03aa693 Add 'Flush Cache' button next to Admin link. It's visible only when working on dev_appserver locally. This is a quick way of flushing memcache.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 838
diff changeset
   107
{% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   108
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   109
  <div id="login">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   110
	{% block login_links %}
485
2865922ea06a Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 482
diff changeset
   111
	{% if account %}
2865922ea06a Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 482
diff changeset
   112
	<b>{{ account.email }} ({{ account.nickname }})</b> | 
83
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   113
	{% endif %}
1439
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   114
	{% if is_admin %}
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   115
	Developer |
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   116
	{% endif %}
118
d2e61a490969 Clean up User Model and User profile edit view now that soc.logic.site.id_user
Todd Larsen <tlarsen@google.com>
parents: 99
diff changeset
   117
	{% if is_debug %}
1797
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   118
	Debug Mode |
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   119
	{% endif %}
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   120
	{% if is_local %}
1050
77aab03aa693 Add 'Flush Cache' button next to Admin link. It's visible only when working on dev_appserver locally. This is a quick way of flushing memcache.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 838
diff changeset
   121
	<form id="flush_form" action="/_ah/admin/memcache" method="post" style="display: inline;">
1359
582661519e5d Refactor various django templates to reuse other templates where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1358
diff changeset
   122
      <input type="submit" class="button" name="action:flush" value="Flush Cache"/>
1050
77aab03aa693 Add 'Flush Cache' button next to Admin link. It's visible only when working on dev_appserver locally. This is a quick way of flushing memcache.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 838
diff changeset
   123
    </form> | 
83
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   124
	<a class="novisit" target="_blank" href="/_ah/admin">Admin</a> | 
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   125
	{% endif %}
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   126
	<a class="novisit" href="http://code.google.com/p/soc/issues/list">Report bugs</a> | 
485
2865922ea06a Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 482
diff changeset
   127
	{% if account %}
83
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   128
	<a class="novisit" href="{{sign_out}}">Sign out</a>
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   129
	{% else %}
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   130
	<a class="novisit" href="{{sign_in}}">Sign in</a>
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   131
	{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   132
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   133
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   134
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   135
  <div id="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   136
  {% if site_notice %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   137
  <table align="center">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   138
      <tr>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   139
          <td>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   140
          <div class="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   141
          <div class="rounded_ul"><div class="rounded_ur"><div class="rounded_ll"><div class="rounded_lr">
1591
7ddd92a3702c Support HTML in the site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1580
diff changeset
   142
          <div style="padding: 5px 10px;"><b>{{ site_notice|safe }}</b></div>
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   143
          </div></div></div></div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   144
          </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   145
          <td>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   146
      </tr>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   147
  </table>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   148
  {% endif %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   149
  </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   150
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   151
  <div id="header">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   152
   <div id="logo">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   153
	{% block logo %}
1774
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   154
	{% comment %}
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   155
	TODO: logo updated in site sponsor interface
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   156
	{% endcomment %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   157
<a href="/"><img src="/soc/content/images/gospo-logo.png" alt="{{ site_name }}"/></a>
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   158
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   159
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   160
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   161
   <div id="title">
374
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
   162
	{% block header_title %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   163
	  {% if page_name %}
374
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
   164
{% comment %}
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
   165
TODO(tlarsen): replace this with breadcrumbs
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
   166
{% endcomment %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   167
	    {{ page_name }}
374
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
   168
	  {% else %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   169
&lt;Missing Page Name&gt;
374
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
   170
      {% endif %}
9363b9dc2983 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com>
parents: 341
diff changeset
   171
    {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   172
   </div>
83
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   173
	<div id="breadcrumbs">
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   174
	{% block breadcrumbs %}{% endblock %}
3f4f7c540b75 Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 79
diff changeset
   175
	</div>
327
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   176
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   177
	{% block notice %}
289
1b63d17d5b62 Add notification bar block in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 200
diff changeset
   178
	<div id="notice">
327
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   179
	{% if notice %}
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   180
	<table align="center">
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   181
	    <tr>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   182
	        <td>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   183
	        <div class="notice">
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   184
	        <div class="rounded_ul"><div class="rounded_ur"><div class="rounded_ll"><div class="rounded_lr">
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   185
	        <div style="padding: 5px 10px;"><b>{{ notice }}</b></div>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   186
	        </div></div></div></div>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   187
	        </div>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   188
	        <td>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   189
	    </tr>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   190
	</table>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   191
	{% endif %}
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   192
	</div>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   193
	{% endblock %}
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   194
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   195
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   196
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   197
  <div id="side" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   198
   <div id="menu">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   199
{% block sidebar_menu %}	
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   200
    <ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   201
     <li>
141
e120c24b89e2 Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 118
diff changeset
   202
<a class="selected" href="/">
e120c24b89e2 Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 118
diff changeset
   203
    {% block sidebar_menu_title %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   204
    {{ site_name }}
141
e120c24b89e2 Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 118
diff changeset
   205
    {% endblock %}
e120c24b89e2 Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 118
diff changeset
   206
    </a>
493
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   207
{% if sidebar_menu_items %}
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   208
{% include 'soc/sidebar/sidebar.html' %}
141
e120c24b89e2 Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 118
diff changeset
   209
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   210
     </li>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   211
    </ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   212
{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   213
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   214
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   215
   <div id="badge">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   216
	{% block badge %}
578
0f34318f5693 Add release tag string, Melange "badge" image, and Google App Engine version
Todd Larsen <tlarsen@google.com>
parents: 534
diff changeset
   217
<a href="http://code.google.com/p/soc/"
0f34318f5693 Add release tag string, Melange "badge" image, and Google App Engine version
Todd Larsen <tlarsen@google.com>
parents: 534
diff changeset
   218
><img src="/soc/content/images/melange-logo.jpg" alt="Powered by Melange"/></a>
0f34318f5693 Add release tag string, Melange "badge" image, and Google App Engine version
Todd Larsen <tlarsen@google.com>
parents: 534
diff changeset
   219
<br>
579
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   220
{% if soc_release %}
578
0f34318f5693 Add release tag string, Melange "badge" image, and Google App Engine version
Todd Larsen <tlarsen@google.com>
parents: 534
diff changeset
   221
<a href="http://code.google.com/p/soc/source/browse/tags/{{ soc_release }}"
579
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   222
target="_blank">Release {{ soc_release }}</a>
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   223
{% else %}
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   224
<a href="http://code.google.com/p/soc/source/browse/trunk"
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   225
target="_blank">(unreleased)</a>
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   226
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   227
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   228
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   229
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   230
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   231
  <div id="body">
1580
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   232
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   233
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   234
    <div id="purr-container"></div>
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   235
  {% endif %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   236
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   237
   <div style="line-height: 140%;">
1580
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   238
  {% block body %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   239
  {% if body_content %}
1591
7ddd92a3702c Support HTML in the site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1580
diff changeset
   240
  {{ body_content|safe }}
1580
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   241
  {% else %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   242
  &lt;Missing Page Body&gt;
1580
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   243
  {% endif %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   244
  {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   245
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   246
   <div id="footer" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   247
    <div class="text">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   248
	{% block footer %}
1298
a04ab9bd300a Fixes as requested by Leslie on behalf of the Legal team
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1235
diff changeset
   249
&copy;2009 Google -
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   250
<a href="http://www.google.com/">Google Home</a> -
578
0f34318f5693 Add release tag string, Melange "badge" image, and Google App Engine version
Todd Larsen <tlarsen@google.com>
parents: 534
diff changeset
   251
<a href="http://www.google.com/privacy.html">Privacy Policy</a> -
1306
dffefa486493 Fix ToS link
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1298
diff changeset
   252
<a href="http://code.google.com/appengine/terms.html">Google App Engine Terms of Service</a> -
578
0f34318f5693 Add release tag string, Melange "badge" image, and Google App Engine version
Todd Larsen <tlarsen@google.com>
parents: 534
diff changeset
   253
Version {{ gae_version }}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   254
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   255
    </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   256
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   257
  </div>
1478
2cf71cd69521 Moved google analytics to after the footer block as commented on r866.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1457
diff changeset
   258
  {% if ga_tracking_num %}
2cf71cd69521 Moved google analytics to after the footer block as commented on r866.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1457
diff changeset
   259
    {% include 'soc/site/ga.html' %}
2cf71cd69521 Moved google analytics to after the footer block as commented on r866.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1457
diff changeset
   260
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   261
 </body>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   262
</html>