app/soc/templates/soc/base.html
author Lennard de Rijk <ljvderijk@gmail.com>
Tue, 21 Apr 2009 16:28:13 +0000
changeset 2272 26491ee91e33
parent 2043 66045290c97f
child 2295 8566fb2b8012
permissions -rw-r--r--
Renamed .css file due to recent changes. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
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_jq_bt %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    59
  <script type='text/javascript' src="/jquery/jquery-bt-0.7.js"></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    60
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    61
  {% if uses_menu %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    62
  <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
    63
  {% endif %}
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    64
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    65
    <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
    66
  {% endif %}
1727
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    67
  {% if uses_jq_spin %}
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    68
    <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
    69
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    70
  {% if uses_jq_bt %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    71
  <script type='text/javascript' src="/soc/content/js/tips-081027.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_bgiframe %}
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-bgiframe.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_ajaqQueue %}
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-ajaxQueue.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_jq_autocomplete %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    80
  <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
    81
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    82
  {% if uses_jq_thickbox %}
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-thickbox.js'></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    84
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    85
  {% 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
    86
  <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
    87
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    88
  {% if uses_jq_progressbar %}
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-progressbar.js"></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    90
  {% endif %}
1535
a5277d506a21 Renamed org-accept.js to bulk-review.js
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1478
diff changeset
    91
  {% 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
    92
  <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
    93
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    94
  {% if uses_jq_ui_core %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    95
  <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
    96
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    97
  {% if uses_jq_datetimepicker %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    98
  <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
    99
  <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
   100
  <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
   101
  {% endif %}
1735
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
   102
  {% 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
   103
  <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
   104
  {% endif %}
2004
4d9e41c947fd Added JS to the duplicate proposals page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1953
diff changeset
   105
  {% if uses_duplicates %}
2043
66045290c97f Missing template change from r2750.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2033
diff changeset
   106
  <script type="text/javascript" src="/soc/content/js/duplicate-slots-090331.js"></script>
2004
4d9e41c947fd Added JS to the duplicate proposals page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1953
diff changeset
   107
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   108
 </head>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
   109
{% endblock %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
   110
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
   111
{% block body_tag %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   112
 <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
   113
{% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   114
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   115
  <div id="login">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   116
	{% 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
   117
	{% 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
   118
	<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
   119
	{% endif %}
1439
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   120
	{% if is_admin %}
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   121
	Developer |
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   122
	{% 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
   123
	{% if is_debug %}
1797
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   124
	Debug Mode |
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   125
	{% endif %}
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   126
	{% 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
   127
	<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
   128
      <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
   129
    </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
   130
	<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
   131
	{% 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
   132
	<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
   133
	{% 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
   134
	<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
   135
	{% 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
   136
	<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
   137
	{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   138
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   139
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   140
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   141
  <div id="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   142
  {% if site_notice %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   143
  <table align="center">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   144
      <tr>
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
          <div class="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   147
          <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
   148
          <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
   149
          </div></div></div></div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   150
          </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   151
          <td>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   152
      </tr>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   153
  </table>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   154
  {% endif %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   155
  </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   156
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   157
  <div id="header">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   158
   <div id="logo">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   159
	{% block logo %}
1774
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   160
	{% comment %}
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   161
	TODO: logo updated in site sponsor interface
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   162
	{% endcomment %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   163
<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
   164
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   165
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   166
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   167
   <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
   168
	{% block header_title %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   169
	  {% 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
   170
{% 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
   171
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
   172
{% endcomment %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   173
	    {{ 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
   174
	  {% else %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   175
&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
   176
      {% 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
   177
    {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   178
   </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
   179
	<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
   180
	{% 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
   181
	</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
   182
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
	{% block notice %}
289
1b63d17d5b62 Add notification bar block in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 200
diff changeset
   184
	<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
   185
	{% 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
   186
	<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
   187
	    <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
   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
	        <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
   190
	        <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
   191
	        <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
   192
	        </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
   193
	        </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
   194
	        <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
   195
	    </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
   196
	</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
   197
	{% 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
   198
	</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
   199
	{% endblock %}
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   200
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   201
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   202
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   203
  <div id="side" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   204
   <div id="menu">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   205
{% block sidebar_menu %}	
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   206
    <ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   207
     <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
   208
<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
   209
    {% block sidebar_menu_title %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   210
    {{ 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
   211
    {% 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
   212
    </a>
493
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   213
{% if sidebar_menu_items %}
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   214
{% 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
   215
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   216
     </li>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   217
    </ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   218
{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   219
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   220
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   221
   <div id="badge">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   222
	{% 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
   223
<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
   224
><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
   225
<br>
579
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   226
{% 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
   227
<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
   228
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
   229
{% else %}
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   230
<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
   231
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
   232
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   233
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   234
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   235
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   236
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   237
  <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
   238
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   239
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   240
    <div id="purr-container"></div>
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   241
  {% endif %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   242
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   243
   <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
   244
  {% block body %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   245
  {% if body_content %}
1591
7ddd92a3702c Support HTML in the site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1580
diff changeset
   246
  {{ 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
   247
  {% else %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   248
  &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
   249
  {% endif %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   250
  {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   251
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   252
   <div id="footer" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   253
    <div class="text">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   254
	{% block footer %}
1298
a04ab9bd300a Fixes as requested by Leslie on behalf of the Legal team
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1235
diff changeset
   255
&copy;2009 Google -
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   256
<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
   257
<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
   258
<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
   259
Version {{ gae_version }}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   260
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   261
    </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   262
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   263
  </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
   264
  {% 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
   265
    {% 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
   266
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   267
 </body>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   268
</html>