From: Matthijs Kooijman Date: Fri, 31 Oct 2008 20:27:35 +0000 (+0100) Subject: Restyle comment display and forms. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=60cf2b9beceddc413d686541c4c4f207bc8cd3a2;p=matthijs%2Fprojects%2Fxerxes.git Restyle comment display and forms. --- diff --git a/media/base/css/base.css b/media/base/css/base.css index 6b35c1b..c8673e6 100644 --- a/media/base/css/base.css +++ b/media/base/css/base.css @@ -15,8 +15,17 @@ table { .comment { border: solid white 2px; margin-top: 2px; + padding: 3px; } .comment.private { border-color: red; } + +.comment-body { + font-family: monospace; +} + +.commentReplyForm label { + font-weight: bold; +} diff --git a/templates/influences/influence_comments_block.html b/templates/influences/influence_comments_block.html index 430ed71..6b0dd51 100644 --- a/templates/influences/influence_comments_block.html +++ b/templates/influences/influence_comments_block.html @@ -16,8 +16,8 @@ {% if comments %} {% for comment in comments %}
- {{ comment.user }} said:
- {% auto_transform_markup comment %} + {{ comment.user }} said: +
{% auto_transform_markup comment %}
@@ -25,9 +25,10 @@

{% trans "Cancel reply" %}

- - {{ comment.reply_form.as_table }} -
+ {{ comment.reply_form.comment.label_tag }} + {{ comment.reply_form.comment }}
+ {{ comment.reply_form.is_public }} + {{ comment.reply_form.is_public.label_tag }}
@@ -47,9 +48,10 @@

{% trans "Add comment" %}

Cancel comment

- - {{ comment_form.as_table }} -
+ {{ comment_form.comment.label_tag }} + {{ comment_form.comment }}
+ {{ comment_form.is_public }} + {{ comment_form.is_public.label_tag }}