forked from MarseyWorld/MarseyWorld
chat cosmetic changes
parent
dd6f86ce31
commit
c6c5c6b45b
|
@ -117,8 +117,8 @@ textbox.addEventListener("keyup", function(e) {
|
||||||
|
|
||||||
socket.on('online', function(data){
|
socket.on('online', function(data){
|
||||||
document.getElementsByClassName('board-chat-count')[0].innerHTML = data.length
|
document.getElementsByClassName('board-chat-count')[0].innerHTML = data.length
|
||||||
let online = '<h5>Users online right now</h5>'
|
let online = '<h5>Users in chat right now</h5>'
|
||||||
let online2 = '<b>Users online right now</b>'
|
let online2 = '<b>Users in chat right now</b>'
|
||||||
for (const u of data)
|
for (const u of data)
|
||||||
{
|
{
|
||||||
online += `<li><a href="/@${u}" class="text-lg">@${u}</a></li>`
|
online += `<li><a href="/@${u}" class="text-lg">@${u}</a></li>`
|
||||||
|
|
|
@ -123,7 +123,7 @@
|
||||||
<div class="col h-100 {% block customPadding %}{% if request.path.startswith('/@') %}user-gutters{% else %}custom-gutters{% endif %}{% endblock %}" id="main-content-col">
|
<div class="col h-100 {% block customPadding %}{% if request.path.startswith('/@') %}user-gutters{% else %}custom-gutters{% endif %}{% endblock %}" id="main-content-col">
|
||||||
|
|
||||||
<div class="border-right pb-1 pt-2 px-3">
|
<div class="border-right pb-1 pt-2 px-3">
|
||||||
<span id="online2" data-bs-html="true" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users online right now" class="text-muted">
|
<span id="online2" data-bs-html="true" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now" class="text-muted">
|
||||||
<i class="far fa-user fa-sm mr-1"></i>
|
<i class="far fa-user fa-sm mr-1"></i>
|
||||||
<span class="board-chat-count">0</span>
|
<span class="board-chat-count">0</span>
|
||||||
</span>
|
</span>
|
||||||
|
@ -201,7 +201,7 @@
|
||||||
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
||||||
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
|
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
|
||||||
|
|
||||||
<script src="/chat.js?v=32"></script>
|
<script src="/chat.js?v=33"></script>
|
||||||
|
|
||||||
{% include "emoji_modal.html" %}
|
{% include "emoji_modal.html" %}
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
Loading…
Reference in New Issue