Add some more forum styling

This commit is contained in:
Trever Fischer
2012-04-21 11:28:45 -04:00
parent 6d0378b270
commit 555f6b9ea1
4 changed files with 18 additions and 14 deletions

View File

@@ -4,8 +4,10 @@
<a name="reply-{{post.id}}"></a>
<div class="forum-post-user">
<div class="byline">
{%avatar post.user%}
<a href="{{post.user.get_absolute_url}}">
<div class="avatar">{%avatar post.user%}</div>
{{post.user}}
</a>
</div>
</div>
<div class="dateline">

View File

@@ -22,7 +22,7 @@ Home
{% if topics %}
{% for topic in topics %}
<tr class="{%cycle 'even' 'odd' %} {% if topic.sticky %}sticky{% endif %} topic">
<td class="topic-link"><ul><li class="link"><a href="{{topic.get_absolute_url}}">{{ topic.title }}</a></li><li>Started by {{topic.rootPost.user}} {{topic.created|timesince}} ago</li></ul></td>
<td class="topic-link"><ul><li class="link">{% if topic.sticky %}Sticky: {% endif%}<a href="{{topic.get_absolute_url}}">{{ topic.title }}</a></li><li>Started by {{topic.rootPost.user}} {{topic.created|timesince}} ago</li></ul></td>
<td class="author-info"><div class="avatar">{% avatar topic.lastPost.user 32 %}</div><ul><li>{{topic.lastPost.user}}</li><li>{{topic.created|timesince}} ago</li></ul></td>
</tr>
{% endfor %}