forked from MarseyWorld/MarseyWorld
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
{%- extends 'root.html' -%}
|
|
{% block pagetitle -%}Chat{%- endblock %}
|
|
{% block pagetype %}chat{% endblock %}
|
|
{% block body_attributes %}class="has_header"{% endblock %}
|
|
{% block body %}
|
|
{% include "header.html" %}
|
|
{% include "modals/expanded_image.html" %}
|
|
{% include "modals/emoji.html" %}
|
|
{% include "util/macros.html" %}
|
|
{% set vlink = '<a href="/id/' ~ v.id ~ '">' %}
|
|
<div class="container pb-4">
|
|
<div class="row justify-content-around" id="main-content-row">
|
|
<div class="col h-100 {% block customPadding %}custom-gutters{% endblock %}" id="main-content-col">
|
|
|
|
{{ macros.chat_users_online() }}
|
|
|
|
<div id="chat-group-template" class="d-none">
|
|
{{macros.chat_group_template()}}
|
|
</div>
|
|
</div>
|
|
|
|
<div id="chat-line-template" class="d-none">
|
|
{{macros.chat_line_template()}}
|
|
</div>
|
|
|
|
{{macros.chat_window(vlink)}}
|
|
</div>
|
|
|
|
{{macros.chat_users_list()}}
|
|
</div>
|
|
|
|
<input id="vid" hidden value="{{v.id}}">
|
|
<input id="site_name" hidden value="{{SITE_NAME}}">
|
|
<input id="slurreplacer" hidden value="{{v.slurreplacer}}">
|
|
<input id="admin_level" hidden value="{{v.admin_level}}">
|
|
<script defer src="{{'js/vendor/socketio.js' | asset}}"></script>
|
|
<script defer src="{{'js/chat.js' | asset}}"></script>
|
|
<script defer src="{{'js/vendor/lozad.js' | asset}}"></script>
|
|
<script defer src="{{'js/vendor/lite-youtube.js' | asset}}"></script>
|
|
{% endblock %}
|