Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
424:8df6e9edac22 | 425:76ba9478ebbd |
---|---|
1 {% extends 'base.html' %} | |
2 {% load url from future %} | |
3 {% load script_tags %} | |
4 {% block custom_css %} | |
5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/messages.css" /> | |
6 {% endblock %} | |
7 {% block custom_js %} | |
8 {% script_tags 'jquery-ui' %} | |
9 <script type="text/javascript"> | |
10 //<![CDATA[ | |
11 var initialTab = {{ tab }}; | |
12 var username = "{{ request.user.username }}"; | |
13 //]]> | |
14 </script> | |
15 <script type="text/javascript" src="{{ STATIC_URL }}js/tabbed_messages.js"></script> | |
16 {% endblock %} | |
17 {% block content %} | |
18 <h2>Your Private Messages (Beta)</h2> | |
19 <p> | |
20 This is an experimental version of the SG101 private message system. Don't worry, if this | |
21 isn't working for you, you can always go back to the | |
22 <a href="{% url 'messages-inbox' %}">current system</a>. Please leave any feedback on this | |
23 change in forums. Thanks! | |
24 </p> | |
25 | |
26 <div id="tabs"> | |
27 <ul> | |
28 <li><a href="{% url 'messages-beta_inbox' %}">Inbox</a></li> | |
29 <li><a href="{% url 'messages-beta_compose' %}">Compose</a></li> | |
30 <li><a href="{% url 'messages-beta_outbox' %}">Outbox</a></li> | |
31 <li><a href="{% url 'messages-beta_trash' %}">Trash</a></li> | |
32 <li><a href="{% url 'messages-beta_options' %}">Options</a></li> | |
33 </ul> | |
34 </div> | |
35 | |
36 <div id="msgDialog"></div> | |
37 {% endblock %} |