29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Chat</title>
|
|
{% include 'head.html' %}
|
|
<script>
|
|
var friendId = "{{ friend_id }}";
|
|
var friendUsername = "{{ friend_username }}";
|
|
var username = "{{ username }}";
|
|
var profilePicture = "{{ profile_picture }}"; // Add this line
|
|
</script>
|
|
<script src="{{ url_for('static', filename='js/chat.js') }}"></script>
|
|
</head>
|
|
<body>
|
|
<div class="Everything" style="height: 100%; width: 100%;">
|
|
{% include 'topbar.html' %}
|
|
<div class="flex flex-row w-full height-with-account bg-[#f5f5f5] dark:!bg-[#292929]">
|
|
{% include 'sidebar.html' %}
|
|
<div class="chat-container">
|
|
{% include 'chat-header-dm.html' %}
|
|
{% include 'messages.html' %}
|
|
<form class="send-message-form flex flex-col pb-2.5 border-solid border-[#cad6d8] border-l-1 border-r-1 bg-white dark:!bg-[#242424] dark:!border-[#595959]" id="send-message-form" data-receiver="{{ friend_id }}" method="POST">
|
|
{% include 'messages-extended.html' %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|