Mercurial > public > sg101
annotate gpp/templates/messages/tabbed_base.html @ 428:77b3b01843b5
Gave the beta private messages a 'compose to' view. Tweaked the color of the tables to match the jquery ui theme.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 May 2011 02:11:48 +0000 |
parents | 76ba9478ebbd |
children | d0f0800eef0c |
rev | line source |
---|---|
bgneal@425 | 1 {% extends 'base.html' %} |
bgneal@425 | 2 {% load url from future %} |
bgneal@425 | 3 {% load script_tags %} |
bgneal@425 | 4 {% block custom_css %} |
bgneal@425 | 5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/messages.css" /> |
bgneal@425 | 6 {% endblock %} |
bgneal@425 | 7 {% block custom_js %} |
bgneal@425 | 8 {% script_tags 'jquery-ui' %} |
bgneal@425 | 9 <script type="text/javascript"> |
bgneal@425 | 10 //<![CDATA[ |
bgneal@425 | 11 var initialTab = {{ tab }}; |
bgneal@425 | 12 var username = "{{ request.user.username }}"; |
bgneal@428 | 13 {% if receiver %} |
bgneal@428 | 14 var receiver = "{{ receiver }}"; |
bgneal@428 | 15 {% else %} |
bgneal@428 | 16 var receiver = ""; |
bgneal@428 | 17 {% endif %} |
bgneal@425 | 18 //]]> |
bgneal@425 | 19 </script> |
bgneal@425 | 20 <script type="text/javascript" src="{{ STATIC_URL }}js/tabbed_messages.js"></script> |
bgneal@425 | 21 {% endblock %} |
bgneal@425 | 22 {% block content %} |
bgneal@425 | 23 <h2>Your Private Messages (Beta)</h2> |
bgneal@425 | 24 <p> |
bgneal@425 | 25 This is an experimental version of the SG101 private message system. Don't worry, if this |
bgneal@425 | 26 isn't working for you, you can always go back to the |
bgneal@425 | 27 <a href="{% url 'messages-inbox' %}">current system</a>. Please leave any feedback on this |
bgneal@425 | 28 change in forums. Thanks! |
bgneal@425 | 29 </p> |
bgneal@425 | 30 |
bgneal@425 | 31 <div id="tabs"> |
bgneal@425 | 32 <ul> |
bgneal@425 | 33 <li><a href="{% url 'messages-beta_inbox' %}">Inbox</a></li> |
bgneal@425 | 34 <li><a href="{% url 'messages-beta_compose' %}">Compose</a></li> |
bgneal@425 | 35 <li><a href="{% url 'messages-beta_outbox' %}">Outbox</a></li> |
bgneal@425 | 36 <li><a href="{% url 'messages-beta_trash' %}">Trash</a></li> |
bgneal@425 | 37 <li><a href="{% url 'messages-beta_options' %}">Options</a></li> |
bgneal@425 | 38 </ul> |
bgneal@425 | 39 </div> |
bgneal@425 | 40 |
bgneal@425 | 41 <div id="msgDialog"></div> |
bgneal@425 | 42 {% endblock %} |