quest page displays post dates

This commit is contained in:
iou1name 2018-06-21 15:40:38 -04:00
parent 355ff7aac8
commit 7d19270a69
2 changed files with 19 additions and 7 deletions

View File

@ -29,6 +29,15 @@
padding-right: 32%;
}
#questPosts {
border-spacing: 10px;
}
.questPostTime {
vertical-align: top;
white-space: nowrap;
}
#newQPostArea {
}

View File

@ -67,15 +67,18 @@
<div id="questContainer">
<div id="questBody">
<h1>{{ quest_title }}</h1>
<div id="questPosts">
<table id="questPosts">
{% for quest_post in quest_posts %}
{% autoescape false %}
<div class="questPost">
{{ quest_post[1] }}
</div>
{% endautoescape %}
<tr>
<td class="questPostTime">{{ quest_post[2] | strftime }}</td>
<td class="questPostData">
{% autoescape false %}
{{ quest_post[1] }}
{% endautoescape %}
</td>
</tr>
{% endfor %}
</div>
</table>
{% if session.get("user_id") == owner_id %}
<div id="postTextDiv">
<textarea id="postTextArea"></textarea><br />