xmpp.chapril.org-conversejs/html/base.html
2012-02-29 15:09:47 +01:00

61 lines
2.3 KiB
HTML

{% 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. -->
<head>
<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ř" />
<title>{% include "title.html" %}</title>
{% if description %}
<meta name="description" content="{{ description }}" />
{% endif %}
<link rel="stylesheet" type="text/css" href="/media/css/style.css" />
<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>
<script src="/media/js/loader.js" type="text/javascript"></script>
<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>
<h1>{% include "title.html" %}</h1>
<ul class="menu">
{% if user.is_authenticated %}
<li>{% blocktrans with user.get_full_name as name %}Logged in as <a href="/accounts/profile/">{{ name }}</a>{% endblocktrans %}</li>
<li><a href="/accounts/logout/">{% trans "Logout" %}</a></li>
{% else %}
<li><a href="/accounts/login/">{% trans "Login" %}</a></li>
{% endif %}
</ul>
{% 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 %}
{% block content %}
{% endblock %}
<ul class="footer">
<li>{% blocktrans %}Powered by <a href="http://weblate.org">Weblate {{ version }}</a>{% endblocktrans %}</li>
</ul>
</body>
</html>