From 7d19270a697f4862f79c5f6ac8c4c5513089a3eb Mon Sep 17 00:00:00 2001 From: iou1name Date: Thu, 21 Jun 2018 15:40:38 -0400 Subject: [PATCH] quest page displays post dates --- static/anonkun.css | 9 +++++++++ templates/quest.html | 17 ++++++++++------- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/static/anonkun.css b/static/anonkun.css index 639dac9..ecd85cf 100644 --- a/static/anonkun.css +++ b/static/anonkun.css @@ -29,6 +29,15 @@ padding-right: 32%; } +#questPosts { + border-spacing: 10px; +} + +.questPostTime { + vertical-align: top; + white-space: nowrap; +} + #newQPostArea { } diff --git a/templates/quest.html b/templates/quest.html index 967f613..2132b2d 100644 --- a/templates/quest.html +++ b/templates/quest.html @@ -67,15 +67,18 @@

{{ quest_title }}

-
+ {% for quest_post in quest_posts %} - {% autoescape false %} -
- {{ quest_post[1] }} -
- {% endautoescape %} + + + + {% endfor %} - +
{{ quest_post[2] | strftime }} + {% autoescape false %} + {{ quest_post[1] }} + {% endautoescape %} +
{% if session.get("user_id") == owner_id %}