Newer
Older
postorius / src / mailmanweb / templates / mailmanweb / 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 }}mailmanweb/{{ MAILMAN_THEME }}images/favicon.ico">
	<link rel="apple-touch-icon" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}images/apple-touch-icon.png">
	
	<link rel="stylesheet" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/css/normalize.css">
	<link rel="stylesheet" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/css/bootstrap.css">
	<link rel="stylesheet" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/css/style.css">
</head>
<body>

    <header>
        <div class="mm_header">
            <div class="mm_canvas">
                <a href="{% url user_profile %}" class="mm_logo"><img src="{{ STATIC_URL }}/mailmanweb/default/img/mailman_logo_trans.png" alt="{% trans 'Home' %}" /></a>
                <ul class="mm_metaNav">
                    <li>
                        <a class="mm_lists" href="{% url list_index %}">Lists</a>
                    </li>
                    {% if user.is_authenticated %}
                        <li>
                            <a class="mm_todos" href="{% url user_todos %}">Todos</a>
                        </li>
                        <li>
                            <a class="mm_settings" href="{% url site_settings %}">Settings</a>
                        </li>
                    {% endif %}
                	<li>
                        {% if user.is_authenticated %}
                		    <a class="mm_logout" href="{% url user_logout %}">Logout</a>
                        {% else %}
                		    <a class="mm_user" href="{% url user_login %}">Login</a>
                        {% endif %}
                	</li>
                </ul>
                {% if user.is_authenticated %}
                    <div class="mm_loginName">Logged in as: <a href="{% url user_profile %}">{{ user.username }}</a></div>
                {% endif %}
            </div>
        </div>
    </header>

    <div class="mm_main mm_canvas">
        {% if messages %}
            <ul class="mm_messages">
            {% for message in messages %}
                <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
            {% endfor %}
            </ul>
        {% endif %}
        {% block main %}{% endblock main %}
    </div>
    <div id="mm_footer">
        {% block footer %}{% endblock footer %}
    </div>

    <script src="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/js/libs/jquery-1.5.1.min.js"></script>
	<script src="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/js/plugins.js"></script>
	<script src="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/js/script.js"></script>
    {% block additionaljs %}{% endblock %}
</body>