Mercurial > agora-palash
view templates/whitebox.djhtml @ 29:6ba969517b9c
Implement initial profiles, cleanup models, change Free_license to FreeLicense
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Wed, 30 Jun 2010 00:04:34 -0500 |
parents | e019ca8e14f6 |
children | f14aaa98306a |
line wrap: on
line source
{% extends "base.djhtml" %} {% block content %} <div id="info"> <h3> {% block boxtitle %}{% endblock %} </h3> <div class="whitebox"> {% block boxcontents %}{% endblock %} </div> </div> {% endblock %} {% block content-related %} <div id="info"> <h3> Controls </h3> <div class="whitebox"> {% if user.is_authenticated %} <p> You are logged in as <a href="/{{user.username}}">{{user.username}}</a>. </p> <p> (<a href="{% url auth_logout %}">logout</a>) </p> {% else %} <p> <a href="{% url auth_login %}?next={{ request.path }}">Log in</a> </p> {% endif %} <form method="get" action="." > <br/> <input id="search" type="text" name="search" maxlength="200" size="10"/> <input type="submit" value="Search" /> </form> </div> </div> {% endblock %}