From 4614a1fa876a5ee2b089879a5bc46d1ab0ae7294 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Sat, 19 Apr 2014 21:13:22 +0530 Subject: added meta to answers, fixed video_path --- static/website/css/main.css | 8 +------- static/website/templates/get-question.html | 15 +++++++++++---- 2 files changed, 12 insertions(+), 11 deletions(-) (limited to 'static/website') diff --git a/static/website/css/main.css b/static/website/css/main.css index b07b73c..54fbd3f 100644 --- a/static/website/css/main.css +++ b/static/website/css/main.css @@ -160,7 +160,7 @@ body { right: 0px; bottom: 0px; } -#content .reply .meta{ +#content .answer .meta{ position: absolute; right: 0px; bottom: 0px; @@ -226,9 +226,6 @@ table .title a { .saved { background: lightgreen; } -/* .answer-wrapper { */ -/* padding-left: 0px; */ -/* } */ #content .answer { position: relative; border-bottom: 1px solid #f5f5f5; @@ -239,9 +236,6 @@ table .title a { #content .answer .body { } #content .answer .user { - position: absolute; - right: 0px; - bottom: 0px; padding: 2px 7px; background: #f5f5f5; } diff --git a/static/website/templates/get-question.html b/static/website/templates/get-question.html index af9e4a2..b746f00 100644 --- a/static/website/templates/get-question.html +++ b/static/website/templates/get-question.html @@ -103,10 +103,17 @@ {{ answer.body|safe }} - - {{ answer.user }} + + + + {{ answer.date_created|date:"d-m-y" }}, {{ answer.date_created|time }} + + + + + {{ answer.user }} + - {% if user|can_edit:answer %} Edit @@ -127,7 +134,7 @@ - {{ comment.date_created|date:"d-m-y" }}, {{ question.date_created|time }} + {{ comment.date_created|date:"d-m-y" }}, {{ comment.date_created|time }} -- cgit