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.
burgercat/templates/chat.html

56 lines
1.6 KiB
HTML
Raw Normal View History

2023-07-11 21:29:47 +01:00
<!DOCTYPE html>
<html>
<style>
body {
overflow-y: hidden;
}
</style>
<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>
<a class="selected" href="/chat">chat</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">
{% if userdata %}
{% if userdata.banned == "0" %}
{% else %}
<p class="warning">Your account has been banned. Reason: "{{ userdata.banned }}". <a href="/settings/logout">Log out</a></p>
{% endif %}
{% endif %}
<div class="chatDiv">
<div id="channelDiv" class="channelDiv">
2023-07-12 01:24:51 +01:00
<p class="statusMessage" id="statusMessage">Connecting..</p>
2023-07-11 21:29:47 +01:00
</div>
<div id="messageDiv" class="messageDiv">
</div>
<div class="messageBar">
<input id="messageBox" type="text" placeholder="Type something.." id="chatBox">
</div>
</div>
</div>
<script src="/static/js/chat.js"></script>
</body>
2023-07-11 20:41:57 +01:00
</html>