Mercurial > public > sg101
comparison gpp/templates/shoutbox/shoutbox.html @ 194:6a5549c2efb5
Implement #62, add support for CSRF protection.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Apr 2010 20:00:56 +0000 |
parents | e1d1a70d312d |
children | 7ddd60164245 |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
11 {% endfor %} | 11 {% endfor %} |
12 </div> | 12 </div> |
13 <center><a href="{% url shoutbox-history page=1 %}">Shout History</a></center> | 13 <center><a href="{% url shoutbox-history page=1 %}">Shout History</a></center> |
14 {% if user.is_authenticated %} | 14 {% if user.is_authenticated %} |
15 <center> | 15 <center> |
16 <form action="{% url shoutbox-shout %}" method="post"> | 16 <div> |
17 <input type="text" maxlength="2048" size="13" name="msg" value="" id="shoutbox-smiley-input" /> | 17 <input type="text" maxlength="2048" size="13" name="msg" value="" id="shoutbox-smiley-input" /> |
18 <br /> | 18 <br /> |
19 <input id="shoutbox-submit" type="submit" value="Shout" /> | 19 <input id="shoutbox-submit" type="submit" value="Shout" /> |
20 <input id="shoutbox-smilies" type="button" value="Smilies" /> | 20 <input id="shoutbox-smilies" type="button" value="Smilies" /> |
21 </form> | 21 </div> |
22 <div id="shoutbox-smiley-frame" style="display:none;"> | 22 <div id="shoutbox-smiley-frame" style="display:none;"> |
23 <img id="shoutbox-busy-icon" src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Please wait" /> | 23 <img id="shoutbox-busy-icon" src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Please wait" /> |
24 </div> | 24 </div> |
25 </center> | 25 </center> |
26 {% else %} | 26 {% else %} |