Mercurial > public > sg101
annotate gpp/templates/messages/base.html @ 160:2eb3984ccb15
Implement #45, add a who's online feature for the forums. Created middleware that caches usernames and guest session ids in the cache. Added a tag that displays this info.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 22 Dec 2009 02:08:05 +0000 |
parents | dbd703f7d63a |
children | daa2916f5b34 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'base.html' %} |
gremmie@1 | 2 {% block custom_css %} |
gremmie@1 | 3 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> |
gremmie@1 | 4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/messages.css" /> |
gremmie@1 | 5 {% endblock %} |
gremmie@1 | 6 {% block content %} |
gremmie@1 | 7 <h2>Your Private Messsages</h2> |
gremmie@1 | 8 <ul class="tab-nav"> |
gremmie@1 | 9 <li><a {% block compose-class %}{% endblock %} |
gremmie@1 | 10 href="{% url messages-compose %}">Compose</a></li> |
gremmie@1 | 11 <li><a {% block inbox-class %}{% endblock %} |
gremmie@1 | 12 href="{% url messages-inbox %}">Inbox</a></li> |
gremmie@1 | 13 <li><a {% block outbox-class %}{% endblock %} |
gremmie@1 | 14 href="{% url messages-outbox %}">Outbox</a></li> |
gremmie@1 | 15 <li><a {% block trash-class %}{% endblock %} |
gremmie@1 | 16 href="{% url messages-trash %}">Trash</a></li> |
gremmie@1 | 17 <li><a {% block options-class %}{% endblock %} |
gremmie@1 | 18 href="{% url messages-options %}">Options</a></li> |
gremmie@1 | 19 </ul> |
gremmie@1 | 20 {% block messages_content %} |
gremmie@1 | 21 {% endblock %} |
gremmie@1 | 22 <br /> |
gremmie@1 | 23 {% endblock %} |