Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- static/index.html +5 -5
static/index.html
CHANGED
|
@@ -22,10 +22,10 @@
|
|
| 22 |
<input id="username" type="text" placeholder="Enter your name">
|
| 23 |
<button id="setUserBtn">Set</button>
|
| 24 |
</div>
|
| 25 |
-
<div class="row status">
|
| 26 |
-
|
| 27 |
-
</div>
|
| 28 |
<div id="chat" class="chatbox"></div>
|
|
|
|
| 29 |
<div class="row inputbar">
|
| 30 |
<input id="messageInput" type="text" placeholder="Type your message">
|
| 31 |
<button id="submitBtn">Submit</button>
|
|
@@ -38,14 +38,14 @@
|
|
| 38 |
<ul>
|
| 39 |
<li><b>Tiny model:</b> Answers simple Q&A with a toy transformer.</li>
|
| 40 |
<li><b>Immediate ban:</b> If you type the word “sex”, you’re banned from further input.</li>
|
| 41 |
-
<li><b>
|
| 42 |
<li><b>Clear:</b> Resets the chat and ban state.</li>
|
| 43 |
</ul>
|
| 44 |
</section>
|
| 45 |
</main>
|
| 46 |
|
| 47 |
<footer class="footer">
|
| 48 |
-
<small>Minimal demo for Q&A
|
| 49 |
</footer>
|
| 50 |
|
| 51 |
<script src="/static/script.js"></script>
|
|
|
|
| 22 |
<input id="username" type="text" placeholder="Enter your name">
|
| 23 |
<button id="setUserBtn">Set</button>
|
| 24 |
</div>
|
| 25 |
+
<div class="row status"><span id="statusMsg"></span></div>
|
| 26 |
+
|
|
|
|
| 27 |
<div id="chat" class="chatbox"></div>
|
| 28 |
+
|
| 29 |
<div class="row inputbar">
|
| 30 |
<input id="messageInput" type="text" placeholder="Type your message">
|
| 31 |
<button id="submitBtn">Submit</button>
|
|
|
|
| 38 |
<ul>
|
| 39 |
<li><b>Tiny model:</b> Answers simple Q&A with a toy transformer.</li>
|
| 40 |
<li><b>Immediate ban:</b> If you type the word “sex”, you’re banned from further input.</li>
|
| 41 |
+
<li><b>Username:</b> Your name appears next to messages.</li>
|
| 42 |
<li><b>Clear:</b> Resets the chat and ban state.</li>
|
| 43 |
</ul>
|
| 44 |
</section>
|
| 45 |
</main>
|
| 46 |
|
| 47 |
<footer class="footer">
|
| 48 |
+
<small>Minimal demo for Q&A.</small>
|
| 49 |
</footer>
|
| 50 |
|
| 51 |
<script src="/static/script.js"></script>
|