This repository has been archived on 2024-10-20. You can view files and clone it, but cannot push or open issues or pull requests.
2023-07-09 21:00:15 +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 class="selected" href="/">home</a>
|
|
|
|
<a 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>
|
|
|
|
<div class="postDiv">
|
|
|
|
<div class="profileDiv">
|
|
|
|
{% if userdata %}
|
|
|
|
{% if pageuser.id == userdata.id %}
|
|
|
|
<h2>edit mode</h2>
|
2023-07-09 22:27:28 +01:00
|
|
|
<p>remote content from media.tenor.com and cdn.discordapp.com is allowed</p>
|
2023-07-09 21:00:15 +01:00
|
|
|
<form class="editThing" method="post" enctype="multipart/form-data">
|
|
|
|
<textarea class="htmlBox" name="code" type="text" placeholder="<p>Hello World!</p>">{{ userdata.htmldescription }}</textarea>
|
|
|
|
<br><br>
|
|
|
|
<input class="submit" type="submit" value="save">
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|