diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-26 19:04:28 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-26 19:04:28 +0100 |
| commit | 84f5d4f5210ee75cb2eef8e7d21fbb13690f9f50 (patch) | |
| tree | 185b4a646f488661bb30e77ea96d1c5f21ea33dd /ishtar/templates/base.html | |
| parent | 622d1627ae53596e471fa8e0bad784b0a55ad2cb (diff) | |
| download | Ishtar-84f5d4f5210ee75cb2eef8e7d21fbb13690f9f50.tar.bz2 Ishtar-84f5d4f5210ee75cb2eef8e7d21fbb13690f9f50.zip | |
Integration of registration module
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> |
