Source

django-loupe / example / templates / site_base.html

Full commit
{% extends "base.html" %}

{% block body %}
    <div id="container">
        <div class="navbar">
            <a href="{% url dashboard %}">Dashboard</a> {% block extranav %}{% endblock %}
        </div>
        {% if messages %}
            <ul id="messages">
            {% for message in messages %}
                <li id="message_{{ forloop.counter }}"><a href="#" onclick="$('#message_{{ forloop.counter }}').fadeOut(); return false;"><small>clear</small></a> {{ message }}</li>
            {% endfor %}
            </ul>
        {% endif %}
        {% block content %}{% endblock %}
    </div>
    <div id="footer">
        <a href="http://bitbucket.org/gregnewman/django-loupe/overview/">Django-Loupe</a> for project collaboration by <a href="http://twitter.com/20seven">Greg Newman</a>
    </div>
{% endblock %}