2023-01-08 01:20:36 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Morsel - {{ name }}</title>
|
|
|
|
<link rel="stylesheet" href="/static/morsel.css" />
|
|
|
|
<link rel="stylesheet" href="/static/theme.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% include "logo.html" %}
|
|
|
|
{% if loggedin %}{% include "nav.html" %}{% endif %}
|
|
|
|
<div class="feed_panel panel">
|
|
|
|
<a class="abtn" href="/b/{{ board }}">« Return to {{board}}</a>
|
|
|
|
<hr/>
|
|
|
|
<h2>Post Details</h2>
|
|
|
|
<table width="100%" cellspacing="0px">
|
|
|
|
<tr class="post">
|
|
|
|
<td width="80px" align="right">
|
|
|
|
<img src="/avatar/{{ post['author'] }}" /><br/>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<h3><a href="/u/{{ post['author'] }}" class="username">{{ post['author'] }}</a></h3>
|
|
|
|
<p>{{ post['content'] | safe }}</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% if hasreplies %}{% for reply in replies %}
|
|
|
|
<tr class="post">
|
2023-01-08 02:54:52 -05:00
|
|
|
<td align="right" width="56px" style="min-width: 56px">
|
2023-01-08 01:20:36 -05:00
|
|
|
<img src="/avatar/{{reply['author']}}" width="48px" alt="reply['author']" />
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<h3><a class="username" href="/u/{{reply['author']}}">{{reply['author']}}</a></h3>
|
|
|
|
{{reply['content']|safe}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}{% endif %}
|
|
|
|
<tr class="post">
|
|
|
|
<td align="right">
|
|
|
|
{% if loggedin %}<img src="/avatar/{{name}}" width="48px" alt="you." />{% endif %}
|
|
|
|
</td>
|
2023-01-08 02:57:11 -05:00
|
|
|
<td style="word-break: break-all;">
|
2023-01-08 01:20:36 -05:00
|
|
|
{% if loggedin %}
|
|
|
|
<form action="/b/{{board}}/{{id}}/reply" method="POST">
|
|
|
|
<textarea name="postbody" placeholder="Type your reply here. Please, don't be crude."></textarea>
|
|
|
|
<div class="buttons"><input type="submit" value="Reply!"/></div>
|
|
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
<h3>Join the community!</h3>
|
|
|
|
<p><a href="/reg" class="username">Register</a> or <a href="/login" class="mods">log in</a> to reply to this post.</p>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% if loggedin %}{% include "nav.html" %}{% endif %}
|
|
|
|
</body>
|
|
|
|
</html>
|