diff --git a/files/assets/css/orgy.css b/files/assets/css/orgy.css new file mode 100644 index 000000000..10f9b786d --- /dev/null +++ b/files/assets/css/orgy.css @@ -0,0 +1,9 @@ +.orgy-top-container { + display: flex; + flex-flow: row wrap; + justify-content: space-around; +} + +.orgy-chat-window-item { + flex-grow: 2; +} \ No newline at end of file diff --git a/files/routes/chat.py b/files/routes/chat.py index 35e527337..ab9b2aa80 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -35,7 +35,7 @@ messages = cache.get(f'messages') or {} def chat(v): if not v.admin_level and TRUESCORE_CHAT_MINIMUM and v.truescore < TRUESCORE_CHAT_MINIMUM: abort(403, f"Need at least {TRUESCORE_CHAT_MINIMUM} truescore for access to chat!") - return render_template("chat.html", v=v, messages=messages) + return render_template("orgy.html", v=v, messages=messages) @socketio.on('speak') @is_not_permabanned diff --git a/files/templates/orgy.html b/files/templates/orgy.html new file mode 100644 index 000000000..ae08d896e --- /dev/null +++ b/files/templates/orgy.html @@ -0,0 +1,35 @@ +{%- 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 = '' %} +
+ +
+
+

Orgy

+ + {{macros.chat_users_list()}} +
+
+ {{macros.chat_users_online()}} + {{macros.chat_window(vlink)}} +
+ +
+
+ + + + + + + + + +{% endblock %} diff --git a/files/templates/util/html_head.html b/files/templates/util/html_head.html index 322183fc0..ce6b58332 100644 --- a/files/templates/util/html_head.html +++ b/files/templates/util/html_head.html @@ -139,6 +139,7 @@ {% if request.path.endswith('/chat') %} + {% endif %} {% endmacro %}