showing multi etymology now, some toggle is there to limit things.
[worddb.git] / templates / base.html
blob0117d369ed22571c5361499f2a886157b472e858
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <link rel="stylesheet" href="/w/static/style.css" />
6 <title>worddb &bull; {% block title %}Home{% endblock %}</title>
7 <style type="text/css">
8 {% block extra_style %}
9 {% endblock %}
10 </style>
11 {% block extra_head_late %}{% endblock %}
12 </head>
13 <body>
14 <div id="header">
15 <div id="header_links">
16 {% if user.is_authenticated %}
17 Hi {{ user }},
18 <a href="/w/accounts/">settings</a> |
19 <a href="/w/accounts/signout/">logout</a>
20 {% else %}
21 <a href="/w/accounts/signup/">register</a> |
22 <a href="/w/accounts/signin/">login</a>
23 {% endif %}
24 </div>
25 <a href="/">worddb</a>
26 </div>
27 <ul class="messages">
28 {% for message in session_messages %}
29 <li>{{ message }}</li>
30 {% endfor %}
31 </ul>
32 <div id="sidebar">
33 {% block sidebar %}
34 <ul>
35 </ul>
36 {% endblock %}
37 </div>
39 <div id="content">
40 {% block content %}{% endblock %}
41 </div>
42 {% if debug %}
43 <script type="text/javascript" src="/w/static/js/jquery.js"></script>
44 {% else %}
45 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
46 {% endif %}
47 {% block extra_body_late %}{% endblock %}
48 <script type="text/javascript">
49 {% block extra_script %}{% endblock %}
50 </script>
51 </body>
52 </html>