forked from rDrama/rDrama
1
0
Fork 0

add chat rules for WPD

master
Aevann 2024-03-01 00:00:06 +02:00
parent 3243c58985
commit d062843e68
2 changed files with 22 additions and 2 deletions

View File

@ -471,7 +471,17 @@
{% endif %}
<li class="mt-3">
{% if request.path == '/chat' %}
<h5 class="ml-3">Users Online</h5>
{% if SITE_NAME == 'WPD' %}
<h5 class="ml-3">Chat Rules</h5>
<ul class="ml-3">
<li>Follow the rules mentioned on <a href="/sidebar">the sidebar</a>.</li>
<li>Do not try to crash the chatroom with malicious code (CSS).</li>
<li>Do not send porn in chat.</li>
<li>Do not spam.</li>
</ul>
{% endif %}
<h5 class="mt-3 ml-3">Users Online</h5>
<div id="online3" class="col text-left d-lg-none bg-white mb-6 pb-6" style="max-width:300px"></div>
<br><br><br><br>
{% elif has_sidebar %}

View File

@ -382,8 +382,18 @@
{% macro chat_users_list() %}
<div class="col text-left d-none d-lg-block pt-3 pb-5" style="max-width:300px">
{% if SITE_NAME == 'WPD' %}
<h5>Chat Rules</h5>
<ul class="mt-2 mb-4">
<li>Follow the rules mentioned on <a href="/sidebar">the sidebar</a>.</li>
<li>Do not try to crash the chatroom with malicious code (CSS).</li>
<li>Do not send porn in chat.</li>
<li>Do not spam.</li>
</ul>
{% endif %}
<h5>Users Online</h5>
<div id="online" class="mt-3"></div>
<div id="online" class="mt-2"></div>
</div>
{% endmacro %}