Fork 1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.1 KiB

<!DOCTYPE html>
<html lang="en">
<title>Morsel - {{ name }}</title>
<link rel="stylesheet" href="/static/morsel.css" />
<link rel="stylesheet" href="/static/theme.css" />
{% include "logo.html" %}
{% if loggedin %}{% include "nav.html" %}{% endif %}
<div class="feed_panel panel">
<a class="abtn" href="/b/{{ board }}">&laquo; Return to {{board}}</a>
<h2>Post Details</h2>
<table width="100%" cellspacing="0px">
<tr class="post">
<td width="80px" align="right">
<img src="/avatar/{{ post['author'] }}" /><br/>
<h3><a href="/u/{{ post['author'] }}" class="username">{{ post['author'] }}</a></h3>
<p>{{ post['content'] | safe }}</p>
{% if hasreplies %}{% for reply in replies %}
<tr class="post">
<td align="right" width="56px" style="min-width: 56px">
<img src="/avatar/{{reply['author']}}" width="48px" alt="reply['author']" />
<h3><a class="username" href="/u/{{reply['author']}}">{{reply['author']}}</a></h3>
{% endfor %}{% endif %}
<tr class="post">
<td align="right">
{% if loggedin %}<img src="/avatar/{{name}}" width="48px" alt="you." />{% endif %}
<td style="word-break: break-all;">
{% 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>
{% 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 %}
{% if loggedin %}{% include "nav.html" %}{% endif %}