changeset 364:3cf18e6002dd

Minor cosmetic tweaks; center text in IRC block. Add a break after avatar on shout history view.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 04:11:22 +0000 (2011-03-05)
parents 9d470c7a2b93
children cdfa3ed59600
files gpp/templates/irc/irc_block.html gpp/templates/shoutbox/shout_detail.html static/css/base.css
diffstat 3 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/irc/irc_block.html	Sat Mar 05 04:03:30 2011 +0000
+++ b/gpp/templates/irc/irc_block.html	Sat Mar 05 04:11:22 2011 +0000
@@ -7,10 +7,8 @@
       <li>{{ nick.name }}</li>
    {% endfor %}
 </ul>
-<p>Join them in the <a href="irc://surfguitar101.com/ShallowEnd,needpass">#ShallowEnd</a>!</p>
+<p class="centered">Join them in the <a href="irc://surfguitar101.com/ShallowEnd,needpass">#ShallowEnd</a>!</p>
 {% else %}
-<center>
-<p><a href="irc://surfguitar101.com/ShallowEnd,needpass">#ShallowEnd</a> is empty.</p>
-</center>
+<p class="centered"><a href="irc://surfguitar101.com/ShallowEnd,needpass">#ShallowEnd</a> is empty.</p>
 {% endif %}
 {% endblock %}
--- a/gpp/templates/shoutbox/shout_detail.html	Sat Mar 05 04:03:30 2011 +0000
+++ b/gpp/templates/shoutbox/shout_detail.html	Sat Mar 05 04:11:22 2011 +0000
@@ -2,7 +2,7 @@
 {% load avatar_tags %}
 <tr>
 <th>
-<a href="{% url 'bio-view_profile' username=shout.user.username %}">{% avatar shout.user %}</a>
+<a href="{% url 'bio-view_profile' username=shout.user.username %}">{% avatar shout.user %}</a><br />
 <a href="{% url 'bio-view_profile' username=shout.user.username %}">{{ shout.user.username }}</a>
 </th>
 <td>
--- a/static/css/base.css	Sat Mar 05 04:03:30 2011 +0000
+++ b/static/css/base.css	Sat Mar 05 04:11:22 2011 +0000
@@ -416,3 +416,6 @@
 .post-author {
    font-size: medium;
 }
+.centered {
+   text-align: center;
+}