2022-11-21 08:52:22 +00:00
|
|
|
{%- extends 'root.html' -%}
|
|
|
|
{% block pagetitle %}Chat{% endblock %}
|
|
|
|
{% block pagetype %}chat{% endblock %}
|
|
|
|
{% block body %}
|
2022-03-24 19:44:12 +00:00
|
|
|
{% include "header.html" %}
|
2022-11-15 19:14:29 +00:00
|
|
|
{% include "modals/expanded_image.html" %}
|
|
|
|
{% include "modals/emoji.html" %}
|
2022-09-24 03:49:40 +00:00
|
|
|
<div
|
|
|
|
id="root"
|
|
|
|
data-id="{{v.id}}"
|
|
|
|
data-username="{{v.username}}"
|
2022-11-16 14:38:20 +00:00
|
|
|
data-admin="{{v.admin_level >= PERMS['POST_COMMENT_MODERATION_TOOLS_VISIBLE']}}"
|
2022-09-24 03:49:40 +00:00
|
|
|
data-censored="{{v.slurreplacer}}"
|
|
|
|
data-sitename="{{SITE_NAME}}"
|
2022-09-28 00:06:44 +00:00
|
|
|
data-themecolor="{{v.themecolor}}"
|
|
|
|
data-namecolor="{{v.namecolor}}"
|
|
|
|
data-avatar="{{v.profile_url}}"
|
2022-12-24 22:21:49 +00:00
|
|
|
data-hat="{{v.hat_active(v)[0]}}">
|
2022-03-22 02:35:12 +00:00
|
|
|
</div>
|
2022-11-20 22:16:49 +00:00
|
|
|
{% if IS_LOCALHOST %}
|
2022-10-13 18:21:02 +00:00
|
|
|
<script defer src="https://rdrama.net/assets/js/chat_done.js"></script>
|
|
|
|
{% else %}
|
|
|
|
<script defer src="{{'js/chat_done.js' | asset}}"></script>
|
|
|
|
{% endif %}
|
2022-11-18 19:16:40 +00:00
|
|
|
<script defer src="{{'js/vendor/lozad.js' | asset}}"></script>
|
|
|
|
<script defer src="{{'js/vendor/lite-youtube.js' | asset}}"></script>
|
2022-11-21 08:52:22 +00:00
|
|
|
{% endblock %}
|