app/soc/templates/soc/base.html
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 16 Mar 2009 21:14:55 +0000
changeset 1896 b99f448e983e
parent 1818 fec380dac186
child 1915 76688c4a26eb
permissions -rw-r--r--
Added background color for StudentProposal reviews to the .css file. 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 %}
1896
b99f448e983e Added background color for StudentProposal reviews to the .css file.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1818
diff changeset
    19
  <link rel="stylesheet" href="/soc/content/css/soc-090416.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 %}
1800
32f5379c4242 If not running local, use ajax.googleapis to serve jquery
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1797
diff changeset
    45
  {% if is_local %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    46
  <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
    47
  {% else %}
32f5379c4242 If not running local, use ajax.googleapis to serve jquery
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1797
diff changeset
    48
  <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
    49
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    50
  {% endif %}
1733
d5f9261d87c7 Hook up json2.js in base.html
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1727
diff changeset
    51
  {% if uses_json %}
d5f9261d87c7 Hook up json2.js in base.html
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1727
diff changeset
    52
  <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
    53
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    54
  {% if uses_jq_bt %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    55
  <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
    56
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    57
  {% if uses_menu %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    58
  <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
    59
  {% endif %}
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    60
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
    61
    <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
    62
  {% endif %}
1727
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    63
  {% if uses_jq_spin %}
718744a10daa Added the spin jquery plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1707
diff changeset
    64
    <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
    65
  {% endif %}
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    66
  {% if uses_jq_bt %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    67
  <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
    68
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    69
  {% if uses_jq_bgiframe %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    70
  <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
    71
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    72
  {% if uses_jq_ajaqQueue %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    73
  <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
    74
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    75
  {% if uses_jq_autocomplete %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    76
  <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
    77
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    78
  {% if uses_jq_thickbox %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    79
  <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
    80
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    81
  {% if uses_tinymce %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    82
  <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
    83
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    84
  {% if uses_jq_progressbar %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    85
  <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
    86
  {% endif %}
1535
a5277d506a21 Renamed org-accept.js to bulk-review.js
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1478
diff changeset
    87
  {% 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
    88
  <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
    89
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    90
  {% if uses_jq_ui_core %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    91
  <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
    92
  {% endif %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    93
  {% if uses_jq_datetimepicker %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
    94
  <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
    95
  <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
    96
  <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
    97
  {% endif %}
1735
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
    98
  {% if uses_slot_allocator %}
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1733
diff changeset
    99
  <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
   100
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   101
 </head>
1358
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
   102
{% endblock %}
6be502a1bcc6 Be modular when loading the various JS modules
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1306
diff changeset
   103
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
   104
{% block body_tag %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   105
 <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
   106
{% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   107
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   108
  <div id="login">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   109
	{% 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
   110
	{% 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
   111
	<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
   112
	{% endif %}
1439
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   113
	{% if is_admin %}
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   114
	Developer |
4d78f2f71ce5 Add a "Developer" tag in the top sidebar if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1359
diff changeset
   115
	{% 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
   116
	{% if is_debug %}
1797
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   117
	Debug Mode |
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   118
	{% endif %}
f0c83ca3bb08 isDebug now also checks melange version
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1774
diff changeset
   119
	{% 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
   120
	<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
   121
      <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
   122
    </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
   123
	<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
   124
	{% 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
   125
	<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
   126
	{% 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
   127
	<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
   128
	{% 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
   129
	<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
   130
	{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   131
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   132
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   133
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   134
  <div id="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   135
  {% if site_notice %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   136
  <table align="center">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   137
      <tr>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   138
          <td>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   139
          <div class="notice">
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   140
          <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
   141
          <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
   142
          </div></div></div></div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   143
          </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   144
          <td>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   145
      </tr>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   146
  </table>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   147
  {% endif %}
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   148
  </div>
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   149
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   150
  <div id="header">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   151
   <div id="logo">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   152
	{% block logo %}
1774
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   153
	{% comment %}
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   154
	TODO: logo updated in site sponsor interface
e8282d27eef8 Removed star next to logo.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1770
diff changeset
   155
	{% endcomment %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   156
<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
   157
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   158
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   159
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   160
   <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
   161
	{% block header_title %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   162
	  {% 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
   163
{% 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
   164
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
   165
{% endcomment %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   166
	    {{ 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
   167
	  {% else %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 472
diff changeset
   168
&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
   169
      {% 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
   170
    {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   171
   </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
   172
	<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
   173
	{% 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
   174
	</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
   175
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
	{% block notice %}
289
1b63d17d5b62 Add notification bar block in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 200
diff changeset
   177
	<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
   178
	{% 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
   179
	<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
   180
	    <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
   181
	        <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
   182
	        <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
   183
	        <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
   184
	        <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
   185
	        </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
   186
	        </div>
629cc34e37bf Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 289
diff changeset
   187
	        <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
   188
	    </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
   189
	</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
   190
	{% 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
   191
	</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
	{% endblock %}
1579
a06d60fcb23d Added a site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1535
diff changeset
   193
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   194
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   195
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   196
  <div id="side" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   197
   <div id="menu">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   198
{% block sidebar_menu %}	
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   199
    <ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   200
     <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
   201
<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
   202
    {% block sidebar_menu_title %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   203
    {{ 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
   204
    {% 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
   205
    </a>
493
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   206
{% if sidebar_menu_items %}
6976c4d8d0ac Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 485
diff changeset
   207
{% 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
   208
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   209
     </li>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   210
    </ul>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   211
{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   212
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   213
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   214
   <div id="badge">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   215
	{% 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
   216
<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
   217
><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
   218
<br>
579
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   219
{% 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
   220
<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
   221
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
   222
{% else %}
9d727910cab2 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com>
parents: 578
diff changeset
   223
<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
   224
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
   225
{% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   226
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   227
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   228
  </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   229
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   230
  <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
   231
1707
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   232
  {% if uses_jq_purr %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   233
    <div id="purr-container"></div>
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   234
  {% endif %}
2e7b76f20878 Add the jquery-purr plugin
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1646
diff changeset
   235
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   236
   <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
   237
  {% block body %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   238
  {% if body_content %}
1591
7ddd92a3702c Support HTML in the site-wide notice
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1580
diff changeset
   239
  {{ 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
   240
  {% else %}
1457
9fd31955cc49 Make use of site_name where possible
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1451
diff changeset
   241
  &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
   242
  {% endif %}
947a0ee153a4 Make it possible to use base.html to display simple messages
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1579
diff changeset
   243
  {% endblock %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   244
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   245
   <div id="footer" dir="ltr">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   246
    <div class="text">
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   247
	{% block footer %}
1298
a04ab9bd300a Fixes as requested by Leslie on behalf of the Legal team
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1235
diff changeset
   248
&copy;2009 Google -
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   249
<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
   250
<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
   251
<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
   252
Version {{ gae_version }}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   253
	{% endblock %}
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   254
    </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   255
   </div>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   256
  </div>
1478
2cf71cd69521 Moved google analytics to after the footer block as commented on r866.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1457
diff changeset
   257
  {% 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
   258
    {% 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
   259
  {% endif %}
79
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   260
 </body>
58001ec7720c Home site templates and basic view.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
   261
</html>