annotate gpp/templates/messages/tabbed_base.html @ 425:76ba9478ebbd

Initial beta-test commit of a revamped, jquery ui tab-based PM system. This is for #211.
author Brian Neal <bgneal@gmail.com>
date Tue, 26 Apr 2011 00:16:35 +0000
parents
children 77b3b01843b5
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@425 13 //]]>
bgneal@425 14 </script>
bgneal@425 15 <script type="text/javascript" src="{{ STATIC_URL }}js/tabbed_messages.js"></script>
bgneal@425 16 {% endblock %}
bgneal@425 17 {% block content %}
bgneal@425 18 <h2>Your Private Messages (Beta)</h2>
bgneal@425 19 <p>
bgneal@425 20 This is an experimental version of the SG101 private message system. Don't worry, if this
bgneal@425 21 isn't working for you, you can always go back to the
bgneal@425 22 <a href="{% url 'messages-inbox' %}">current system</a>. Please leave any feedback on this
bgneal@425 23 change in forums. Thanks!
bgneal@425 24 </p>
bgneal@425 25
bgneal@425 26 <div id="tabs">
bgneal@425 27 <ul>
bgneal@425 28 <li><a href="{% url 'messages-beta_inbox' %}">Inbox</a></li>
bgneal@425 29 <li><a href="{% url 'messages-beta_compose' %}">Compose</a></li>
bgneal@425 30 <li><a href="{% url 'messages-beta_outbox' %}">Outbox</a></li>
bgneal@425 31 <li><a href="{% url 'messages-beta_trash' %}">Trash</a></li>
bgneal@425 32 <li><a href="{% url 'messages-beta_options' %}">Options</a></li>
bgneal@425 33 </ul>
bgneal@425 34 </div>
bgneal@425 35
bgneal@425 36 <div id="msgDialog"></div>
bgneal@425 37 {% endblock %}