2020-07-28 20:31:07 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-08-08 06:12:33 +00:00
|
|
|
|
|
|
|
<div class="container" style="width:40%;">
|
|
|
|
|
|
|
|
<div class="post" style="text-align:center;">
|
|
|
|
<a href="/">< Go Back</a>
|
2020-07-28 20:31:07 +00:00
|
|
|
{% if post.hidden %}
|
2020-08-08 06:12:33 +00:00
|
|
|
<h2>You cannot see this post</h2>
|
2020-07-28 20:31:07 +00:00
|
|
|
{% else %}
|
2020-08-08 06:12:33 +00:00
|
|
|
<h1>{{ post.title }}</h1>
|
|
|
|
<p class="subtitle">{{ post.text }}</p>
|
|
|
|
<img src="{{ url_for('post.uploaded_file', filename=post.image_name) }}" width=500/ style="margin-bottom:1em;border-radius:4px;">
|
|
|
|
<p class="subtext">Submitted by <i>{{ post.submitter }}</i> at <i>{{ post.timestamp }}</i></p>
|
2020-07-28 20:31:07 +00:00
|
|
|
{% endif %}
|
2020-08-08 06:12:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-07-28 20:31:07 +00:00
|
|
|
{% endblock %}
|