burgercat/templates/post.html

65 lines
2.3 KiB
HTML
Raw Normal View History

2023-07-08 17:00:32 +01:00
<!DOCTYPE html>
<html>
<head>
<title>burgercat</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
</head>
<body>
<div class="navbar">
<h1>burgercat</h1>
<a href="/">home</a>
2023-07-11 20:41:57 +01:00
<a href="/chat">chat</a>
2023-07-08 17:00:32 +01:00
<a class="selected" href="/post">post</a>
{% if userdata %}
<a href="/settings/logout" class="right r">log out</a>
<a href="/settings" class="right">{{ userdata.username }}</a>
{% else %}
<a href="/signup" class="right r">sign up</a>
<a href="/login" class="right">log in</a>
{% endif %}
</div>
2023-07-08 18:48:23 +01:00
<div class="postDiv">
2023-07-08 17:00:32 +01:00
<div class="post">
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<p class="flash">{{ message }}</p>
{% endfor %}
{% endif %}
{% endwith %}
<form method="post" enctype="multipart/form-data">
2024-04-29 21:36:42 +01:00
<h2>New post</h2>
2023-07-08 17:00:32 +01:00
<p>Image</p>
2024-04-29 21:36:42 +01:00
<input type="file" name="file">
2023-07-08 17:00:32 +01:00
<br>
2024-04-29 21:36:42 +01:00
<p>Text (required)</p>
<input name="title" type="text" placeholder="Type something here.." required>
2023-07-08 17:00:32 +01:00
<br><br>
<input class="submit" type="submit" value="Post">
</form>
</div>
<div class="post">
<form method="post" enctype="multipart/form-data">
2024-04-29 21:36:42 +01:00
<h2>Posting Guidelines</h2>
<p>keep burgercat amazing: follow the posting guidelines</p>
2023-07-08 17:00:32 +01:00
<ul>
2024-04-29 21:36:42 +01:00
<li>Spam content isn't allowed, this includes promoting services/products.</li>
<li>Treat everyone with respect, please respect others opinions.</li>
<li>Posting NSFW content is strictly prohibited. This includes suggestive content.</li>
<li>We have zero-tolerance for racism, homophobia, transphobia etc.</li>
<li>Avoid politics and rage-bait.</li>
2023-07-08 17:00:32 +01:00
</ul>
2024-04-29 21:36:42 +01:00
<p>You might be moderated for things not listed here, use common sense.</p>
2023-07-08 17:00:32 +01:00
</form>
</div>
2023-07-08 18:48:23 +01:00
</div>
2023-07-08 17:00:32 +01:00
</body>
2023-06-29 19:21:18 +01:00
</html>