forked from retoor/snek
Replace the Dockerfile CMD from gunicorn to `python -m snek.app`, add MIT LICENSE.txt, populate pyproject.toml with project metadata and dependencies, refactor forms into `snek.form.login` and `snek.form.register` with new HTMLElement system, delete old `snek/forms.py`, add `snek/model/user.py` with User model, restructure `snek/app.py` imports and router setup to use new view modules, rename `styles.css` to `base.css` and strip comments, add `fancy-button.js` custom element, and update `compose.yml` entrypoint accordingly.
52 lines
1.3 KiB
HTML
52 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Dark Themed Chat Application</title>
|
|
<link rel="stylesheet" href="styles.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="logo">Molodetz Chat</div>
|
|
<nav>
|
|
<a href="#">Home</a>
|
|
<a href="#">Rooms</a>
|
|
<a href="#">Settings</a>
|
|
<a href="#">Logout</a>
|
|
</nav>
|
|
</header>
|
|
<main>
|
|
<aside class="sidebar">
|
|
<h2>Chat Rooms</h2>
|
|
<ul>
|
|
<li><a href="#">General</a></li>
|
|
<li><a href="#">Development</a></li>
|
|
<li><a href="#">Support</a></li>
|
|
<li><a href="#">Random</a></li>
|
|
</ul>
|
|
</aside>
|
|
<section class="chat-area">
|
|
<div class="chat-header">
|
|
<h2>General</h2>
|
|
</div>
|
|
<div class="chat-messages">
|
|
<div class="message">
|
|
<span class="author">Alice:</span>
|
|
<span class="content">Hello, everyone!</span>
|
|
</div>
|
|
<div class="message">
|
|
<span class="author">Bob:</span>
|
|
<span class="content">Hi Alice! How are you?</span>
|
|
</div>
|
|
</div>
|
|
<div class="chat-input">
|
|
<textarea placeholder="Type a message..." rows="2"></textarea>
|
|
<button>Send</button>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|
|
|