]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/base_content.html
added the rss feed to the questions page.
[osqa.git] / forum / skins / default / templates / base_content.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!-- base_content.html -->
3 {% load i18n %}
4 {% load extra_tags %}
5 <html xmlns="http://www.w3.org/1999/xhtml">
6     <head>
7         <title>{% block title %}{% endblock %} - {{ settings.APP_TITLE }}</title>
8         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9         {% if settings.GOOGLE_SITEMAP_CODE %}
10         <meta name="google-site-verification" content="{{ settings.GOOGLE_SITEMAP_CODE }}" />
11         {% endif %}
12         <link rel="shortcut icon" href="{{ settings.APP_FAVICON }}" />
13         <link href="{% media  "/media/style/style.css" %}" rel="stylesheet" type="text/css" />
14         {% spaceless %}
15         {% block forestyle %}{% endblock %}
16         {% endspaceless %}
17         <script src="http://www.google.com/jsapi" type="text/javascript"></script>
18         <script type="text/javascript">google.load("jquery", "1.4.2");</script>
19         <script type="text/javascript">
20         /* <![CDATA[ */
21             var i18nLang = '{{settings.LANGUAGE_CODE}}';
22             var scriptUrl = '/{{settings.FORUM_SCRIPT_ALIAS}}'
23             var osqaSkin = '{{settings.OSQA_SKIN}}';
24         /* ]] */
25         </script>
26         <script type='text/javascript' src='{% media  "/media/js/osqa.main.min.js" %}'></script>
27         {% if user_messages %}
28         <style type="text/css">
29             body { margin-top:2.4em; }
30         </style>
31         <script type="text/javascript">
32             $(document).ready(function() {
33                 var element = $('#validate_email_alert')
34                 element.click(function(){notify.close(true);setTimeout(function(){},1000)})
35                 notify.show();
36             });
37         </script>
38         {% endif %}
39       
40         {% block forejs %}
41         {% endblock %}
42     </head>
43     <body>
44         <div class="notify" style="display:none">
45             {% autoescape off %}
46                 {% if user_messages %}
47                     {% for message in user_messages %}
48                           <p class="darkred">{{ message }}</p>
49                     {% endfor %}
50                 {% endif %}
51             {% endautoescape %}
52             <a id="close-notify" onclick="notify.close(true)">&times;</a>
53         </div>
54         {% include "header.html" %}
55         <div id="wrapper">
56             <div id="room">
57                 <div id="CAFull">
58                     {% block content%}
59                     {% endblock%}
60
61                 </div>
62                 <div id="tail" style="clear:both;">
63                     {% block tail %}
64                     {% endblock %}
65                 </div>
66             </div>
67             <div class="spacer3"></div>
68         </div>
69         {% include "footer.html" %}
70         {% block endjs %}
71         {% endblock %}
72     </body>
73 </html>
74 <!-- end template base_content.html -->