2024-11-16 19:22:55 +01:00
|
|
|
<!--
|
|
|
|
This file is part of VM-Experiments.
|
|
|
|
Licensed under the AGPL-3.0-or-later. See LICENSE for details.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
|
|
<title>ThreadSphere</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<a href="/">
|
|
|
|
<h1>ThreadSphere</h1>
|
|
|
|
</a>
|
|
|
|
<div>
|
|
|
|
<a href="/account" id="create">{{ status }}</a>
|
|
|
|
<a href="/post" id="create">Create Post</a>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<article>
|
|
|
|
{% for post_id, title, user_id, description in posts %}
|
|
|
|
<a href="/view?post={{ post_id }}">
|
|
|
|
<div class="post">
|
2024-11-16 20:48:12 +01:00
|
|
|
<h3 class="inline">{{ title }}</h3>
|
|
|
|
<p class="inline"> by {{ user_id }}</p>
|
2024-11-16 19:22:55 +01:00
|
|
|
<p class="description">{{ description }}</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</article>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|