xmpp.chapril.org-conversejs/html/base.html
2012-02-29 14:08:24 +01:00

52 lines
1.9 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>{{ title }}</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>{{ title }}</h1>
{% 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>