smodusermc commited on
Commit
e96e34e
·
verified ·
1 Parent(s): 856d113

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +44 -7
static/index.html CHANGED
@@ -156,9 +156,14 @@
156
  </div>
157
  </div>
158
  </div>
159
- <button id="scroll-bottom-btn" class="scroll-bottom-btn hidden">
160
- <i class="fas fa-chevron-down"></i>
161
- </button>
 
 
 
 
 
162
  </div>
163
 
164
  <div id="typing-indicator" class="typing-indicator hidden">
@@ -324,10 +329,42 @@
324
  </div>
325
  </div>
326
  </div>
327
- </section>
328
-
329
- <section class="settings-section">
330
- <h3>About</h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  <div class="about-info">
332
  <div class="about-row">
333
  <span>Version</span>
 
156
  </div>
157
  </div>
158
  </div>
159
+ <button id="scroll-bottom-btn" class="scroll-bottom-btn hidden">
160
+ <i class="fas fa-chevron-down"></i>
161
+ </button>
162
+ <div id="latest-message-bar" class="latest-message-bar hidden">
163
+ <div class="lmb-avatar" id="lmb-avatar"></div>
164
+ <span class="lmb-name" id="lmb-name"></span>
165
+ <span class="lmb-text" id="lmb-text"></span>
166
+ </div>
167
  </div>
168
 
169
  <div id="typing-indicator" class="typing-indicator hidden">
 
329
  </div>
330
  </div>
331
  </div>
332
+ </section>
333
+ <section class="settings-section">
334
+ <h3>Behaviour</h3>
335
+ <div class="settings-toggle-row">
336
+ <div>
337
+ <label for="toggle-autoscroll">Auto-scroll to bottom</label>
338
+ <div class="toggle-hint">Automatically scroll down when new messages arrive</div>
339
+ </div>
340
+ <label class="toggle-switch">
341
+ <input type="checkbox" id="toggle-autoscroll">
342
+ <span class="toggle-slider"></span>
343
+ </label>
344
+ </div>
345
+ <div class="settings-toggle-row">
346
+ <div>
347
+ <label for="toggle-scroll-btn">Show scroll-to-bottom button</label>
348
+ <div class="toggle-hint">Show arrow button when not at bottom</div>
349
+ </div>
350
+ <label class="toggle-switch">
351
+ <input type="checkbox" id="toggle-scroll-btn" checked>
352
+ <span class="toggle-slider"></span>
353
+ </label>
354
+ </div>
355
+ <div class="settings-toggle-row">
356
+ <div>
357
+ <label for="toggle-latest-bar">Show latest message bar</label>
358
+ <div class="toggle-hint">Show new message preview when scrolled up</div>
359
+ </div>
360
+ <label class="toggle-switch">
361
+ <input type="checkbox" id="toggle-latest-bar" checked>
362
+ <span class="toggle-slider"></span>
363
+ </label>
364
+ </div>
365
+ </section>
366
+ <section class="settings-section">
367
+ <h3>About</h3>
368
  <div class="about-info">
369
  <div class="about-row">
370
  <span>Version</span>