1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
3<head>
4<title>{% block title %}{% endblock %}</title>
5<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load admin_static %}{% static "admin/css/base.css" %}{% endblock %}" />
6{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}" />{% endif %}
7{% block extrastyle %}{% endblock %}
8{% block extrahead %}{% endblock %}
9{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
10</head>
11{% load i18n %}
12
13<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
14
15<!-- Container -->
16<div id="container">
17
18    {% if not is_popup %}
19    <!-- Header -->
20    <div id="header">
21        <div id="branding">
22        <h1>Autotest Administration</h1>
23        </div>
24        {% if user.is_authenticated and user.is_staff %}
25        <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. <a href="/afe">Go to Frontend</a></div>
26        {% endif %}
27        {% block nav-global %}{% endblock %}
28    </div>
29    <!-- END Header -->
30    {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title|escape }}{% endif %}</div>{% endblock %}
31    {% endif %}
32
33        {% if messages %}
34        <ul class="messagelist">{% for message in messages %}<li>{{ message|escape }}</li>{% endfor %}</ul>
35        {% endif %}
36
37    <!-- Content -->
38    <div id="content" class="{% block coltype %}colM{% endblock %}">
39        {% block pretitle %}{% endblock %}
40        {% block content_title %}{% if title %}<h1>{{ title|escape }}</h1>{% endif %}{% endblock %}
41        {% block content %}
42        {% block object-tools %}{% endblock %}
43        {{ content }}
44        {% endblock %}
45        {% block sidebar %}{% endblock %}
46        <br class="clear" />
47    </div>
48    <!-- END Content -->
49
50    {% block footer %}<div id="footer"></div>{% endblock %}
51</div>
52<!-- END Container -->
53
54</body>
55</html>
56