Source

djangobook-cn / templates / base.html

Full commit
<!DOCTYPE html 
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}"
    xml:lang="{% firstof LANGUAGE_CODE 'ja' %}"
    lang="{% firstof LANGUAGE_CODE 'ja' %}">
<head>
<title>{% block title %}{% endblock %} - The Django Book (日本語)</title>
{% block css %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/yui/reset/reset-min.css" />
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/yui/grids/grids-min.css" />
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/djangobook.css" />
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/djangobook-ja.css" />
{% endblock %}
{% block js %}
{# <script type="text/javascript" src="{{ MEDIA_URL }}combined-{{ LANGUAGE_CODE }}.js"></script> #}
{% endblock %}
{% block extra-head %}{% endblock %}</head>
<body>
<div id="doc" class="djangobook-ja">
{% block header %}
<div id="hd">
<h1><a href="{% url home %}">The Django Book (日本語)</a></h1>
<div id="global-nav">
<ul>
<li><a href="{% url about %}" class="about">概要</a></li>
<li><a href="{% url book %}" class="book"></a></li>
<li>コンタクト</li>
<li>正誤表</li>
{% comment %}
<li><a href="{% url contact %}" class="contact">コンタクト</a></li>
<li><a href="{% url errata %}" class="errata">正誤表</a></li>
{% endcomment %}
<li><a href="http://www.djangobook.com/" class="root">本家サイト</a></li>
</ul>
</div>
</div>
{% endblock %}
<div id="bd">
<div id="yui-main">
<div class="yui-b">
{% block content-header %}
{% if error %}<div class="error">{{ error }}</div>{% endif %}
{% if info %}<div class="info">{{ info }}</div>{% endif %}
{% if messages %}
{% for message in messages %}
<div class="info">{{ message }}</div>
{% endfor %}
{% endif %}
{% endblock %}
{% block content %}{% endblock %}
</div>
</div>
</div>
{% block footer %}
<div id="ft">
Copyright 2006-2009 Adrian Holovaty and Jacob Kaplan-Moss.<br />
Copyright 2009 Kosei Kitahara.<br />
This work is licensed under the <a href="{% url license %}">GNU Free Document License</a>.<br />
{% comment %}
This work is licensed under the <a href="{% url licenseja %}">GNU Free Document License</a>.<br />
{% endcomment %}
Powered by <a href="http://www.djangoproject.com/">Django</a> on <a href="http://code.google.com/appengine/">Google App Engine</a> via <a href="http://code.google.com/p/app-engine-patch/">app-engine-patch</a>.
</div>
{% endblock %}
</div>
</body>
</html>