{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="{{ADMIN_MEDIA_PREFIX}}css/base.css" type="text/css"/>
    <link rel="stylesheet" href="{{ADMIN_MEDIA_PREFIX}}css/forms.css" type="text/css"/>
    <link rel="stylesheet" href="{{ADMIN_MEDIA_PREFIX}}css/changelists.css" type="text/css"/>	
    <style type="text/css" media="screen">
        {% include 'transhette/css/transhette.css' %}
    </style>
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>    
    <script type="text/javascript">
    //<!--
        google.load("jquery", "1");
        {% if ENABLE_TRANSLATION_SUGGESTIONS %}google.load("language", "1");{% endif %}
        {% include 'transhette/js/transhette.js' %}
    //-->
    </script>
    {% block extrahead %}{% endblock %}
    <title>Transhette - {% block pagetitle %}{% endblock %}</title>
</head>
<body>
    <div id="container">
        <div id="header">
            {% block header %}
            <div id="branding">
                <h1 id="site-name"><a href="{% url transhette-pick-file %}">Transhette</a> </h1>
            </div>
        {% if user.is_authenticated and user.is_staff %}
        <div id="user-tools">{% trans 'Welcome,' %} <strong>{% firstof user.first_name user.username %}</strong>. 
          {% block userlinks %}
          <a href="/admin/">{% trans "Administration" %}</a> / 
          {% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %}
          <a href="/admin/password_change/">{% trans 'Change password' %}</a> / 
          <a href="/admin/logout/">{% trans 'Log out' %}</a>
          {% endblock %}
        </div>
        {% endif %}
        {% block nav-global %}{% endblock %}

            {% endblock %}
        </div>
        <div class="breadcrumbs">{% block breadcumbs %}{% endblock %}</div>
        {% if messages %} 
            <ul class="messagelist">{% for message in messages %}<li>{{ message|safe }}</li>{% endfor %}</ul> 
        {% endif %} 
        <div id="content" class="flex">
            {% block main %}{% endblock %}
        </div>
        <div id="footer" class="breadcumbs">
            <a href="http://tracpub.yaco.es/djangoapps/">djangoapps - transhette</a> <span class="version">{{version}}</span>
        </div>
    </div>
</body>
</html>
