master
Aevann1 2022-03-20 01:14:44 +02:00
parent 8244bcd41a
commit a4aa26daad
1 changed files with 19 additions and 35 deletions

View File

@ -7,28 +7,6 @@
{% block content %}
<div class="container p-md-0 chat-container">
<div id="chat-window">
<div id="chat-text" class="fullchat">
</div>
<div id="system-template">
<div class="system-line">
<p class="message text-muted"></p>
</div>
</div>
</div>
<div class="position-relative form-group d-flex pb-3">
<div class="position-absolute text-muted text-small" style="bottom: -1.5rem; line-height: 1;">
<span id="typing-indicator"></span>
<span id="loading-indicator" class="d-none"></span>
</div>
<input id="input-text" type="text" class="form-control" placeholder="Message" autocomplete="off" autofocus />
<button id="chatsend" class="btn btn-primary ml-3" type="submit">Send</button>
</div>
<input id="username" type="hidden" value="{{ v.username }}">
<div id="chat-line-template" class="d-none">
<div class="chat-line my-2">
<div class="d-flex align-items-center">
@ -47,6 +25,12 @@
</div>
</div>
</div>
<div class="container p-md-0 chat-container">
<div id="chat-window">
<div id="chat-text" class="fullchat">
</div>
</div>
</div>
<script src="/assets/js/socketio.js"></script>