first commit
This commit is contained in:
commit
b40d5a2ee4
15 changed files with 1161 additions and 0 deletions
38
src/templates/index.html
Normal file
38
src/templates/index.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!--
|
||||
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">
|
||||
<h3 class="title">{{ title }}</h3>
|
||||
<p class="description">{{ description }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</article>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue