Newer
Older
postorius / src / mailman_django / templates / mailman-django / base.html
<!doctype html>
{% load i18n %}
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--><!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]--><!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]--><!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]--><!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--><head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	
	<title></title>
	<meta name="description" content="">
	<meta name="author" content="">
	
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="shortcut icon" href="{{ STATIC_URL }}mailman_django/{{ MAILMAN_THEME }}images/favicon.ico">
	<link rel="apple-touch-icon" href="{{ STATIC_URL }}mailman_django/{{ MAILMAN_THEME }}images/apple-touch-icon.png">
	
	<link rel="stylesheet" href="{{ STATIC_URL }}mailman_django/{{ MAILMAN_THEME }}/css/style.css?v=2">
    <link rel="stylesheet" href="{{ STATIC_URL }}mailman_django/{{ MAILMAN_THEME }}/css/forms.css">
	<script src="{{ STATIC_URL }}{{ MAILMAN_THEME }}mailman_django/{{ MAILMAN_THEME }}/js/libs/modernizr-1.7.min.js"></script>
</head>
<body>
    <div id="mm_page">
        <h1>
        {% block heading %}
            {% if list %}
                {{list.list_name}} <span>{{list.real_name}}</span>
            {% else %}
                <span>on {{domain}}</span>
            {% endif %}
        {% endblock %}</h1>
        {% if error %}
        <div class="mm_box mm_smallBox">
            <div class="mm_boxHeader">{% trans "Error" %}</div>
            {{error}}        
        </div>
        {% endif %}
        {% if message %}
        <div class="mm_box mm_smallBox">
            <div class="mm_boxHeader">{% trans "Message" %}</div>
            {{message}}        
        </div>
        {% endif %}
        {% block header%}{% endblock %}
        {% block actionButtonsList %}{% endblock %}
        {% block smallBoxLeft %}{% endblock %}
        {% block smallBoxRight %}{% endblock %}
        <div id="mm_footer">
            {% block footer %}
            {% include "mailman-django/list_selector.html" %}
            <p><a href="/">Lists</a>
            <a href="/domains/">Domains</a>
            {% if request.user.is_authenticated %}
                <a href="{% url user_login %}">{% trans "Login" %}</a> {{request.user.username}}
            {% else %}
                <a href="{% url user_logout %}">{% trans "Logout" %}</a> {{request.user.username}}
            {% endif %}
            </p>
            {% endblock %}
        </div>
    </div>
    <script src="{{ STATIC_URL }}mailman_django/{{ MAILMAN_THEME }}/js/libs/jquery-1.5.1.min.js"></script>
	<script src="{{ STATIC_URL }}mailman_django/{{ MAILMAN_THEME }}/js/plugins.js"></script>
	<script src="{{ STATIC_URL }}mailman_django/{{ MAILMAN_THEME }}/js/script.js"></script>
</body>