Spaces:
Running
Running
Update bot_index.html
Browse files- bot_index.html +13 -8
bot_index.html
CHANGED
|
@@ -16,13 +16,13 @@
|
|
| 16 |
|
| 17 |
<div class="layout">
|
| 18 |
<!-- Sidebar: Chats & Folders -->
|
| 19 |
-
<aside class="sidebar" id="sidebar">
|
| 20 |
<div class="side-header">
|
| 21 |
<div class="brand-mini">
|
| 22 |
<img src="icon_vera.png" alt="Vera" />
|
| 23 |
<span>VERA</span>
|
| 24 |
</div>
|
| 25 |
-
<button id="
|
| 26 |
</div>
|
| 27 |
|
| 28 |
<div class="side-actions">
|
|
@@ -32,20 +32,22 @@
|
|
| 32 |
|
| 33 |
<div class="side-section">
|
| 34 |
<div class="section-title">Folders</div>
|
| 35 |
-
<ul id="folderList" class="list"></ul>
|
| 36 |
</div>
|
| 37 |
|
| 38 |
<div class="side-section">
|
| 39 |
<div class="section-title">Chats</div>
|
| 40 |
-
<ul id="chatList" class="list"></ul>
|
| 41 |
</div>
|
| 42 |
</aside>
|
|
|
|
| 43 |
|
| 44 |
<!-- Main Panel -->
|
| 45 |
<div class="panel">
|
| 46 |
<!-- Header -->
|
| 47 |
-
<header class="header">
|
| 48 |
<div class="brand">
|
|
|
|
| 49 |
<img src="icon_vera.png" alt="Vera Icon" class="vera-icon" />
|
| 50 |
<div class="titles">
|
| 51 |
<h1>VERA</h1>
|
|
@@ -54,6 +56,9 @@
|
|
| 54 |
</div>
|
| 55 |
|
| 56 |
<div class="controls">
|
|
|
|
|
|
|
|
|
|
| 57 |
<!-- Category dropdown (with auto) -->
|
| 58 |
<div class="field">
|
| 59 |
<label for="categorySelect">Category</label>
|
|
@@ -77,7 +82,7 @@
|
|
| 77 |
</div>
|
| 78 |
|
| 79 |
<!-- Voice picker -->
|
| 80 |
-
<div class="field">
|
| 81 |
<label for="voiceSelect">Voice</label>
|
| 82 |
<select id="voiceSelect"></select>
|
| 83 |
</div>
|
|
@@ -87,7 +92,7 @@
|
|
| 87 |
</header>
|
| 88 |
|
| 89 |
<!-- Body -->
|
| 90 |
-
<main class="chat" id="chatBody">
|
| 91 |
<section class="welcome bot">
|
| 92 |
<img src="icon_vera.png" alt="Bot Icon" class="bot-icon" />
|
| 93 |
<p><strong>Namaste! I’m VERA.</strong> Ask anything. Set a category if you like, or keep Auto.</p>
|
|
@@ -101,7 +106,7 @@
|
|
| 101 |
</main>
|
| 102 |
|
| 103 |
<!-- Footer -->
|
| 104 |
-
<footer class="footer">
|
| 105 |
<div class="left-tools">
|
| 106 |
<button id="btnPlay" class="mini" title="Speak last">▶</button>
|
| 107 |
<button id="btnPause" class="mini" title="Pause">⏸</button>
|
|
|
|
| 16 |
|
| 17 |
<div class="layout">
|
| 18 |
<!-- Sidebar: Chats & Folders -->
|
| 19 |
+
<aside class="sidebar offcanvas" id="sidebar" aria-label="Conversation list">
|
| 20 |
<div class="side-header">
|
| 21 |
<div class="brand-mini">
|
| 22 |
<img src="icon_vera.png" alt="Vera" />
|
| 23 |
<span>VERA</span>
|
| 24 |
</div>
|
| 25 |
+
<button id="closeSidebar" class="icon-btn only-mobile" title="Close">✕</button>
|
| 26 |
</div>
|
| 27 |
|
| 28 |
<div class="side-actions">
|
|
|
|
| 32 |
|
| 33 |
<div class="side-section">
|
| 34 |
<div class="section-title">Folders</div>
|
| 35 |
+
<ul id="folderList" class="list scrollable"></ul>
|
| 36 |
</div>
|
| 37 |
|
| 38 |
<div class="side-section">
|
| 39 |
<div class="section-title">Chats</div>
|
| 40 |
+
<ul id="chatList" class="list scrollable"></ul>
|
| 41 |
</div>
|
| 42 |
</aside>
|
| 43 |
+
<div id="scrim" class="scrim"></div>
|
| 44 |
|
| 45 |
<!-- Main Panel -->
|
| 46 |
<div class="panel">
|
| 47 |
<!-- Header -->
|
| 48 |
+
<header class="header sticky-top">
|
| 49 |
<div class="brand">
|
| 50 |
+
<button id="openSidebar" class="icon-btn only-mobile" title="Menu">☰</button>
|
| 51 |
<img src="icon_vera.png" alt="Vera Icon" class="vera-icon" />
|
| 52 |
<div class="titles">
|
| 53 |
<h1>VERA</h1>
|
|
|
|
| 56 |
</div>
|
| 57 |
|
| 58 |
<div class="controls">
|
| 59 |
+
<!-- Username pill -->
|
| 60 |
+
<div id="userPill" class="user-pill" title="Signed in" style="display:none;"></div>
|
| 61 |
+
|
| 62 |
<!-- Category dropdown (with auto) -->
|
| 63 |
<div class="field">
|
| 64 |
<label for="categorySelect">Category</label>
|
|
|
|
| 82 |
</div>
|
| 83 |
|
| 84 |
<!-- Voice picker -->
|
| 85 |
+
<div class="field hide-sm">
|
| 86 |
<label for="voiceSelect">Voice</label>
|
| 87 |
<select id="voiceSelect"></select>
|
| 88 |
</div>
|
|
|
|
| 92 |
</header>
|
| 93 |
|
| 94 |
<!-- Body -->
|
| 95 |
+
<main class="chat scrollable" id="chatBody" aria-live="polite">
|
| 96 |
<section class="welcome bot">
|
| 97 |
<img src="icon_vera.png" alt="Bot Icon" class="bot-icon" />
|
| 98 |
<p><strong>Namaste! I’m VERA.</strong> Ask anything. Set a category if you like, or keep Auto.</p>
|
|
|
|
| 106 |
</main>
|
| 107 |
|
| 108 |
<!-- Footer -->
|
| 109 |
+
<footer class="footer sticky-bottom">
|
| 110 |
<div class="left-tools">
|
| 111 |
<button id="btnPlay" class="mini" title="Speak last">▶</button>
|
| 112 |
<button id="btnPause" class="mini" title="Pause">⏸</button>
|