From f69116ac1a136549160119890f9dc45d4fdfa267aee6d74ab4f37c9d79262f5a Mon Sep 17 00:00:00 2001 From: Vladislav Date: Tue, 30 Jun 2026 19:13:51 -0400 Subject: [PATCH] =?UTF-8?q?Bot=20commit:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=20=D1=84=D0=B0=D0=B9=D0=BB=20templates/users?= =?UTF-8?q?/user.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/users/user.html | 172 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 templates/users/user.html diff --git a/templates/users/user.html b/templates/users/user.html new file mode 100644 index 0000000..a91ac35 --- /dev/null +++ b/templates/users/user.html @@ -0,0 +1,172 @@ +{% extends "base.html" %} +{% import "/components/header.html" as header %} +{% import "/components/footer.html" as footer %} +{% import "posts/profile_card.html" as card %} + + +{% block title %}Посты{% endblock %} + + + +{% block content %} +{{ header.section(user) }} +
+
+
+
+ +
+
+ {{find.username}} +
+
+

{{find.username}}

+ {% if 'admin' in user.get('roles', []) %} +
+ +
+ + + {% endif %} + {% if 'admin' in user.get('roles', []) %} +
Написать пользователю
+ {% endif %} +
На платформе с {{ (find._id.generation_time.strftime('%Y')) if find._id else ''}}
+ {% if find.get('grade') is not none%} +

Звание:

+

{{find.grade}}

+ {% endif %} + {% if find.get('biography') is not none%} +

Биография:

+

{{find.biography}}

+ {% endif %} +

👁 {{total_watch_count}} (+{{today_watch_count}} Сегодня)

+
+ +
+
+
+{% for i in cards %} + {{ card.section(i, loop.index, user) }} +{% endfor %} + +
+
+
+
+ +{{ footer.section() }} +{% endblock %} + +{% block head %} +{{ header.style() }} +{{ card.style() }} + +{{ footer.style() }} +{% endblock %} \ No newline at end of file