Mercurial > public > sg101
view gpp/templates/shoutbox/shoutbox.html @ 11:cc8eb028def1
Update jquery-ui and theme version that is hosted on google. In preparation for having jquery on every page (?), make it so that the autocomplete plug is using the 'global' jquery, and not the one that came with it. It seems to work okay with jquery 1.3.2.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 14 Apr 2009 02:35:35 +0000 |
parents | dbd703f7d63a |
children | f408971657b9 |
line wrap: on
line source
{% extends 'side_block.html' %} {% load smiley_tags %} {% block block_title %}Shoutbox{% endblock %} {% block block_content %} {% if shouts %} <!--<div id="marqueecontainer" onmouseover="copyspeed=pausespeed" onmouseout="copyspeed=marqueespeed">--> <div id="marqueecontainer"> <!--<div id="vmarquee" style="position: absolute; width: 98%; overflow:auto;">--> {# for shout in shouts reversed #} {% for shout in shouts %} <p> <span class="shoutbox-user">{{ shout.user.username }}:</span> <span class="shoutbox-shout">{{ shout.shout|smilify|urlizetrunc:15 }}</span> <span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span> </p> {% endfor %} <!--</div>--> </div> {% endif %} <center><a href="{% url shoutbox-view page=1 %}">Shout History</a></center> {% if user.is_authenticated %} <center> <form action="{% url shoutbox-shout %}" method="post"> <input type="text" maxlength="2048" size="13" name="msg" value="" id="shoutbox-smiley-input" /> <br /> <input type="submit" value="Shout" /> <input type="button" value="Smilies" onclick="sb_toggle_smilies();" /> </form> <div id="shoutbox-smiley-frame" style="display:none;"> {% smiley_farm %} </div> </center> {% else %} <p> Please <a href="{% url accounts-login %}">login</a> or <a href="{% url accounts-register %}">register</a> to shout. </p> {% endif %} {% endblock %}