xmpp.chapril.org-conversejs/html/base.html

69 lines
2.4 KiB
HTML
Raw Normal View History

2012-02-27 11:34:32 +01:00
{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{% trans "en" %}" lang="{% trans "en" %}">
<!--! This is main page template used for all other pages. -->
2012-02-29 11:08:32 +01:00
<head>
2012-02-27 11:34:32 +01:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="Michal Čihař" />
<meta name="copyright" content="Copyright &copy; 2003 - {{ current_year }} Michal Čihař" />
2012-02-29 15:09:47 +01:00
<title>{% include "title.html" %}</title>
2012-02-29 11:09:44 +01:00
{% if description %}
<meta name="description" content="{{ description }}" />
{% endif %}
2012-02-27 11:34:32 +01:00
2012-02-29 13:19:14 +01:00
<link rel="stylesheet" type="text/css" href="/media/css/style.css" />
2012-02-29 13:12:29 +01:00
<link rel="stylesheet" type="text/css" href="/media/css/blitzer/jquery-ui-1.8.18.custom.css" />
<script src="/media/js/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="/media/js/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
2012-02-29 13:19:14 +01:00
<script src="/media/js/loader.js" type="text/javascript"></script>
2012-02-27 11:34:32 +01:00
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<meta name="robots" content="index, follow" />
</head>
<body>
2012-03-01 10:26:18 +01:00
<h1 class="ui-state-default">{% include "title.html" %}</h1>
2012-02-27 11:34:32 +01:00
2012-02-29 14:19:33 +01:00
<ul class="menu">
{% if user.is_authenticated %}
2012-03-01 10:36:41 +01:00
<li><a href="/accounts/profile/">{% blocktrans with user.get_full_name as name %}Logged in as {{ name }}{% endblocktrans %}</a></li>
<li><a href="/accounts/logout/">{% trans "Logout" %}</a></li>
2012-02-29 14:19:33 +01:00
{% else %}
<li><a href="/accounts/login/">{% trans "Login" %}</a></li>
2012-02-29 14:19:33 +01:00
{% endif %}
</ul>
2012-03-01 10:18:34 +01:00
<ul class="breadcums">
<li><a href="/">{% trans "Home" %}</a></li>
{% block breadcums %}
{% endblock %}
</ul>
2012-02-29 14:08:24 +01:00
{% if messages %}
{% for message in messages %}
<div class="ui-widget">
<div style="padding: 0pt 0.7em;" class="ui-state-{% if message.tags == "error" %}error{% else %}highlight{% endif %} ui-corner-all">
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-{% if message.tags == "error" or message.tags == "warning" %}alert{% else %}info{% endif %}"></span>
{{ message }}
</p>
</div>
</div>
{% endfor %}
{% endif %}
2012-03-01 10:26:18 +01:00
<div class="content">
2012-02-27 11:34:32 +01:00
{% block content %}
{% endblock %}
2012-03-01 10:26:18 +01:00
</div>
2012-02-29 09:53:39 +01:00
<ul class="footer">
2012-02-29 11:08:03 +01:00
<li>{% blocktrans %}Powered by <a href="http://weblate.org">Weblate {{ version }}</a>{% endblocktrans %}</li>
2012-02-29 09:53:39 +01:00
</ul>
2012-02-27 11:34:32 +01:00
</body>
</html>