Mercurial > public > sg101
comparison gpp/templates/shoutbox/shoutbox.html @ 272:4557974db0e0
For #114, committing a new shoutbox based on the jquery cycle plugin for user feedback.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 26 Sep 2010 19:08:31 +0000 |
parents | 85f81377bb5b |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
271:4746df47a538 | 272:4557974db0e0 |
---|---|
1 {% extends 'side_block.html' %} | 1 {% extends 'side_block.html' %} |
2 {% load core_tags %} | 2 {% load core_tags %} |
3 {% block block_title %}Shoutbox{% endblock %} | 3 {% block block_title %}Shoutbox{% endblock %} |
4 {% block block_content %} | 4 {% block block_content %} |
5 <div id="shoutbox-shout-container"> | 5 <div id="shoutbox-shout-container"> |
6 {% for shout in shouts %} | 6 {% for shout in shouts reversed %} |
7 <p> | 7 <p> |
8 <span class="shoutbox-user">{{ shout.user.username }}:</span> | 8 <span class="shoutbox-user">{{ shout.user.username }}:</span> |
9 <span class="shoutbox-shout">{{ shout.html|safe }}</span><br /> | 9 <span class="shoutbox-shout">{{ shout.html|safe }}</span><br /> |
10 <span class="shoutbox-date">{{ shout.shout_date|elapsed }}</span> | 10 <span class="shoutbox-date">{{ shout.shout_date|elapsed }}</span> |
11 </p> | 11 </p> |
12 {% endfor %} | 12 {% endfor %} |
13 </div> | 13 </div> |
14 <center><a href="{% url shoutbox-history %}">Shout History</a></center> | 14 <center> |
15 <button type="button" id="shoutbox-prev" title="Previous">«</button> | |
16 <a href="{% url shoutbox-history %}">Shout History</a> | |
17 <button type="button" id="shoutbox-next" title="Next">»</button> | |
18 </center> | |
15 {% if user.is_authenticated %} | 19 {% if user.is_authenticated %} |
16 <center> | 20 <center> |
17 <div> | 21 <div> |
18 <input type="text" maxlength="2048" size="13" name="msg" value="" id="shoutbox-smiley-input" /> | 22 <input type="text" maxlength="2048" size="13" name="msg" value="" id="shoutbox-smiley-input" /> |
19 <br /> | 23 <br /> |