Files
playground/Web/bfcache/frontend/index.html
Alexander Zinn 0345f3d2d0 Add README and initial project structure for WebSocket chat application
* Created README.md for project overview and setup instructions.
* Updated App component to use selector for todo items.
* Enhanced TodoItemComponent styling and structure.
* Introduced new Redux selectors for better state management.
* Added initial configuration files for RequireJS and Bun.
* Established project structure for WebSocket chat application with server and frontend components.
* Included necessary dependencies and configurations for TypeScript and Vite.
2025-09-30 03:19:52 -04:00

49 lines
1.4 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bfcache</title>
</head>
<body>
<div id="app" class="flex-column-container">
<div class="flex-row-container">
<h1>bfcache</h1>
<div>
<br/>
<br/>
<br/>
<br/>
<p>WebSocket status: <span id="websocket-status">Offline</span></p>
</div>
</div>
<div class="flex-row-container">
<div>
<h2>Messages</h2>
<ul id="messages"></ul>
</div>
</div>
<div class="flex-row-container">
<div>
<h2>Send Message</h2>
<input type="text" id="message-input" required/>
<button id="send-button">Send</button>
</div>
</div>
</div>
<dialog id="login-dialog">
<form id="login-form">
<div>
<input type="text" id="username-input" autocomplete="username" placeholder="Enter a username" required/>
</div>
<!-- <input type="password" id="password-input" autocomplete="current-password" placeholder="Password" required/> -->
<div>
<button type="submit" id="login-button">Login</button>
</div>
</form>
</dialog>
<script type="module" src="/src/main.ts"></script>
</body>
</html>