diff options
Diffstat (limited to 'chimere/templates/base.html')
| -rw-r--r-- | chimere/templates/base.html | 58 |
1 files changed, 23 insertions, 35 deletions
diff --git a/chimere/templates/base.html b/chimere/templates/base.html index 67322f6..f19601a 100644 --- a/chimere/templates/base.html +++ b/chimere/templates/base.html @@ -4,41 +4,29 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>{% block title %}Chimère{% endblock %}</title> - <script type="text/javascript"><!-- - var media_path = '{{STATIC_URL}}'; - var extra_url = "{{extra_url}}"; - // --></script> - <script type="text/javascript" src="{{JQUERY_URL}}"></script> - {% block extra_head %}{{extra_head|safe}}{% endblock %} - <link rel="stylesheet" href="{{STATIC_URL}}styles.css" /> - {%if css_area%}<link rel="stylesheet" href="{{STATIC_URL}}{{css_area}}" />{%endif%} - {% block head %}{% endblock %} + {% block extra_head %} + {% endblock %} </head> - -{% block bodyhead %}<body>{% endblock %} - {% block top %}{% endblock %} - {% block actions %}<div id="topbar"> - <ul id='action'> -{% for action, subactions in actions %} - <li{% ifequal action.id action_selected.0 %} class='selected'{% endifequal %}> - <a href='{{extra_url}}{{ action.path }}' onclick='saveExtent();'>{{ action.label }}</a> - {% ifequal action.id action_selected.0 %}{% if subactions %}<ul>{% for subaction in subactions %} - <li{% ifequal subaction.id action_selected.1 %} class='selected'{% endifequal %}> - <a href='{{extra_url}}{{ subaction.path }}' onclick='saveExtent();'>{{ subaction.label }}</a> - </li> - {% endfor %}</ul>{% endif %}{% endifequal %} - </li> -{% endfor %} - </ul> - </div>{% endblock %} - {% block sidebar %}{% endblock %} - {% block message_map %}{% endblock %} - {% block message_edit %}{% endblock %} - {% block content %}{% endblock %} - {% block bottom %}{% endblock %} - <div id='footer'>{% block footer %} -{% trans "This site uses Chimère"%} - © 2008-2011 <a href='http://blog.peacefrogs.net/nim/chimere/'>Chimère project</a> - {% endblock %}</div> +<body {% block body_id %}{% endblock %} {% block body_class %}{% endblock %}> + {% block extrabody %} + {% endblock %} + {% block body %} + <div id="header"> + {% block header %} + {% endblock %} + </div> + <div id="sidebar"> + {% block sidebar %} + {% endblock %} + </div> + <div id="content"> + {% block content %} + {% endblock %} + </div> + <div id="footer"> + {% block footer %} + {% endblock %} + </div> + {% endblock %} </body> </html> - |
