feat: implement dark mode toggle and enhance chat UI with timestamps
This commit is contained in:
+6
-3
@@ -7,6 +7,7 @@
|
||||
<link rel="stylesheet" href="styles.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<button id="theme-toggle" type="button">Dark</button>
|
||||
<div id="login-view" class="view">
|
||||
<div class="auth-container">
|
||||
|
||||
@@ -56,12 +57,14 @@
|
||||
|
||||
<aside id="user-list">
|
||||
<h3>Users</h3>
|
||||
<!-- ChatUI.renderUserList() -->
|
||||
</aside>
|
||||
|
||||
<main class="chat-main">
|
||||
<div class="chat-header">
|
||||
<span id="chat-username">Select a user</span>
|
||||
<button id="reload-btn" type="button">Reload</button>
|
||||
</div>
|
||||
<div id="messages">
|
||||
<!-- ChatUI.renderMessage() -->
|
||||
</div>
|
||||
<form id="message-form" class="message-form">
|
||||
<label class="sr-only" for="message-input">Message</label>
|
||||
@@ -76,4 +79,4 @@
|
||||
|
||||
<script type="module" src="./dist/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user