diff options
Diffstat (limited to 'ishtar/templates/base.html')
-rw-r--r-- | ishtar/templates/base.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ishtar/templates/base.html b/ishtar/templates/base.html new file mode 100644 index 000000000..4f8282bbe --- /dev/null +++ b/ishtar/templates/base.html @@ -0,0 +1,34 @@ +{% load i18n %} +<!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" xml:lang="en" lang="en"> + +<head> + <link rel="stylesheet" href="{{MEDIA_URL}}/style.css" /> + <title>{% block title %}Ishtar{% endblock %}</title> +</head> + +<body> + <div id="header"> + {% block header %} + {% if user.is_authenticated %} + {% trans "Logged in" %}: {{ user.username }} + (<a href="{% url auth_logout %}">{% trans "Log out" %}</a> | + <a href="{% url auth_password_change %}">{% trans "Change password" %}</a>) + {% else %} + <a href="{% url auth_login %}">{% trans "Log in" %}</a> + {% endif %} + {% endblock %} + </div> + + <div id="content"> + {% block content %}{% endblock %} + </div> + + <div id="footer"> + {% block footer %} + {% endblock %} + </div> +</body> + +</html> |