{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>{% block title %}Django Userena - Accounts for your Django application{% endblock %}</title>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="description" content="Accounts for your Django application" />
        <meta name="keywords" content="accounts, django, bread and pepper, open source" />
        <meta name="author" content="Bread and Pepper" />

        <link rel="stylesheet" type="text/css" media="screen" href="{{ MEDIA_URL }}css/master.css" />
        <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
        <link href='https://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css' />
    </head>
    <body>
        <div id="top">&nbsp;</div>
        <div id="container">	
            <div id="header">
                <h1><a href="{% url promo %}">django-userena</a></h1>
                {% block nav %}
                <ul id="nav">
                    <li><a href="{% url promo %}">{% trans 'Home' %}</a></li>
                    {% if user.is_authenticated %}
                    <li><a href="{% url userena_list %}">{% trans 'Accounts' %}</a></li>
                    <li><a href="{% url userena_detail user.username %}">{% trans 'Your account' %} ({{ user.username }})</a></li>
                    <li><a href="{% url userena_signout %}">{% trans 'Signout' %}</a></li>
                    {% else %}
                    <li><a href="{% url userena_signin %}">{% trans 'Signin' %}</a></li>
                    <li><a href="{% url userena_signup %}">{% trans 'Signup' %}</a></li>
                    {% endif %}
                </ul>
                {% endblock %}
            </div><!-- /header-->
            <a href="http://github.com/bread-and-pepper/django-userena/fork" id="fork">{% trans 'Fork me hard' %}</a>
            <div id="content-container">
                {% block content %}{% endblock %}
            </div><!-- /content-container-->
            <div id="footer"><p>{% trans 'Made by' %} <a href="http://breadandpepper.com">Bread &amp; Pepper</a></p></div>
        </div><!-- /container-->
        <script type="text/javascript">
          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-8888610-14']);
          _gaq.push(['_trackPageview']);

          (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
          })();

        </script>
    </body>
</html>
