2005-07-16 11:46:17 +08:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xml:lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
|
|
<title>{% block title %}{% endblock %}</title>
|
2005-07-17 00:38:28 +08:00
|
|
|
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />
|
2005-07-16 11:46:17 +08:00
|
|
|
{% block extrastyle %}{% endblock %}
|
|
|
|
{% block extrahead %}{% endblock %}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
|
|
|
|
|
|
|
|
<!-- Container -->
|
|
|
|
<div id="container">
|
|
|
|
|
|
|
|
{% if not is_popup %}
|
|
|
|
<!-- Header -->
|
|
|
|
<div id="header">
|
|
|
|
<div id="branding">
|
|
|
|
{% block branding %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
{% if not user.is_anonymous %}
|
2005-07-23 00:40:36 +08:00
|
|
|
<div id="user-tools">Welcome, <strong>{% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}</strong>. <br />{% block userlinks %}<a href="/admin/password_change/">Change password</a> / <a href="/admin/logout/">Log out</a>{% endblock %}</div>
|
2005-07-16 11:46:17 +08:00
|
|
|
{% endif %}
|
|
|
|
{% block nav-global %}{% endblock %}
|
|
|
|
<br class="clear" />
|
|
|
|
</div>
|
|
|
|
<!-- END Header -->
|
|
|
|
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a>{% if title %} › {{ title }}{% endif %}</div>{% endblock %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if messages %}
|
|
|
|
<ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
<div id="content" class="{% block coltype %}colM{% endblock %}">
|
|
|
|
{% block pretitle %}{% endblock %}
|
|
|
|
{% if title %}<h1>{{ title }}</h1>{% endif %}
|
|
|
|
{% block content %}{{ content }}{% endblock %}
|
|
|
|
{% block sidebar %}{% endblock %}
|
|
|
|
<br class="clear" />
|
|
|
|
</div>
|
|
|
|
<!-- END Content -->
|
|
|
|
|
|
|
|
<div id="footer"></div>
|
|
|
|
</div>
|
|
|
|
<!-- END Container -->
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|