app/soc/templates/soc/base.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 09 Mar 2009 00:43:36 +0000
changeset 1770 2d3bcf1a17e3
parent 1735 0298b9c87c65
child 1774 e8282d27eef8
permissions -rw-r--r--
Move all the jquery-purr css settings into separate file and add it to base.html template only if needed. Patch by: Pawel Solyga 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 %}
838
58da949dd64c Set notice width to 450px. It was way too long. Notice is displayed with help text on yellow background in User profile.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 806
diff changeset
    19
  <link rel="stylesheet" href="/soc/content/css/soc-090120.css" type="text/css"/>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    20
  {% 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
    21
  <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
    22
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    23
  {% 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
    24
  <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
    25
  {% 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
    26
  {% 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
    27
  <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
    28
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    29
  {% 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
    30
  <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
    31
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    32
	{% 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
    33
  <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
    34
    {% block page_title %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
    35
      {% if page_name %}
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
    36
{{ 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
    37
      {% else %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
    38
&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
    39
      {% 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
    40
    {% 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
    41
  </title>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    42
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    43
{% block scripts %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    44
  {% if uses_jq %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    45
  <script type='text/javascript' src="/jquery/jquery-1.2.6.js"></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    46
  {% endif %}
1733
d5f9261d87c7 Hook up json2.js in base.html
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1727
diff changeset
    47
  {% if uses_json %}
d5f9261d87c7 Hook up json2.js in base.html
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1727
diff changeset
    48
  <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
    49
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    50
  {% if uses_jq_bt %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    51
  <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
    52
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    53
  {% if uses_menu %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    54
  <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
    55
  {% endif %}
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    56
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    57
    <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
    58
  {% endif %}
1727
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    59
  {% if uses_jq_spin %}
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    60
    <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
    61
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    62
  {% if uses_jq_bt %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    63
  <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
    64
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    65
  {% if uses_jq_bgiframe %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    66
  <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
    67
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    68
  {% if uses_jq_ajaqQueue %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    69
  <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
    70
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    71
  {% if uses_jq_autocomplete %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    72
  <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
    73
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    74
  {% if uses_jq_thickbox %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    75
  <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
    76
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    77
  {% if uses_tinymce %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    78
  <script type="text/javascript" src="/tiny_mce/tiny_mce_src.js"></script>
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    79
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    80
  {% if uses_jq_progressbar %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    81
  <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
    82
  {% endif %}
1535
a5277d506a21 Renamed org-accept.js to bulk-review.js
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1478
diff changeset
    83
  {% 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
    84
  <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
    85
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    86
  {% if uses_jq_ui_core %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    87
  <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
    88
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    89
  {% if uses_jq_datetimepicker %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    90
  <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
    91
  <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
    92
  <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
    93
  {% endif %}
1735
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
    94
  {% if uses_slot_allocator %}
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
    95
  <script type="text/javascript" src="/soc/content/js/slot-allocator.js"></script>
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
    96
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    97
 </head>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    98
{% endblock %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    99
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
   100
{% block body_tag %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   101
 <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
   102
{% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   103
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   104
  <div id="login">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   105
	{% 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
   106
	{% 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
   107
	<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
   108
	{% endif %}
1439
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   109
	{% if is_admin %}
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   110
	Developer |
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   111
	{% 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
   112
	{% if is_debug %}
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
	<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
   114
      <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
   115
    </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
   116
	<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
   117
	{% 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
   118
	<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
   119
	{% 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
   120
	<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
   121
	{% 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
   122
	<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
   123
	{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   124
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   125
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   126
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   127
  <div id="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   128
  {% if site_notice %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   129
  <table align="center">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   130
      <tr>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   131
          <td>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   132
          <div class="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   133
          <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
   134
          <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
   135
          </div></div></div></div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   136
          </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   137
          <td>
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
  </table>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   140
  {% endif %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   141
  </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   142
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   143
  <div id="header">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   144
   <div id="logo">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   145
	{% block logo %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   146
<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
   147
   <span title=" TODO: logo updated in site sponsor interface " class="popup">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   148
<small>*</small>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   149
   </span>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   150
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   151
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   152
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   153
   <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
   154
	{% block header_title %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   155
	  {% 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
   156
{% 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
   157
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
   158
{% endcomment %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   159
	    {{ 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
   160
	  {% else %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   161
&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
   162
      {% 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
   163
    {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   164
   </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
   165
	<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
   166
	{% 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
   167
	</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
   168
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
   169
	{% block notice %}
289
1b63d17d5b62 Add notification bar block in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 200
diff changeset
   170
	<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
   171
	{% 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
   172
	<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
   173
	    <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
   174
	        <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
   175
	        <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
   176
	        <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
   177
	        <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
   178
	        </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
   179
	        </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
   180
	        <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
   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
	</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
   183
	{% 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
   184
	</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
   185
	{% endblock %}
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   186
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   187
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   188
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   189
  <div id="side" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   190
   <div id="menu">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   191
{% block sidebar_menu %}	
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   192
    <ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   193
     <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
   194
<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
   195
    {% block sidebar_menu_title %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   196
    {{ 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
   197
    {% 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
   198
    </a>
493
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   199
{% if sidebar_menu_items %}
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   200
{% 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
   201
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   202
     </li>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   203
    </ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   204
{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   205
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   206
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   207
   <div id="badge">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   208
	{% 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
   209
<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
   210
><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
   211
<br>
579
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   212
{% 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
   213
<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
   214
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
   215
{% else %}
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   216
<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
   217
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
   218
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   219
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   220
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   221
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   222
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   223
  <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
   224
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   225
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   226
    <div id="purr-container"></div>
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   227
  {% endif %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   228
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   229
   <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
   230
  {% block body %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   231
  {% if body_content %}
1591
7ddd92a3702c Support HTML in the site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1580
diff changeset
   232
  {{ 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
   233
  {% else %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   234
  &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
   235
  {% endif %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   236
  {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   237
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   238
   <div id="footer" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   239
    <div class="text">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   240
	{% block footer %}
1298
a04ab9bd300a Fixes as requested by Leslie on behalf of the Legal team
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1235
diff changeset
   241
&copy;2009 Google -
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   242
<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
   243
<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
   244
<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
   245
Version {{ gae_version }}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   246
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   247
    </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   248
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   249
  </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
   250
  {% 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
   251
    {% 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
   252
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   253
 </body>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   254
</html>