From fbb42b1f0eb0986c1c51e976c294870ee6114b73 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 19 Jul 2026 00:47:49 +0500 Subject: [PATCH] fix: address user feedback (delete user, editor return, UI tweaks) --- .../templates/editor_content.html | 2 +- src/vk_parser_app/templates/editor_post.html | 92 +++++++++++-------- src/vk_parser_app/templates/logs.html | 2 +- .../templates/raw_posts_content.html | 2 +- src/vk_parser_app/templates/users.html | 20 ++-- 5 files changed, 69 insertions(+), 49 deletions(-) diff --git a/src/vk_parser_app/templates/editor_content.html b/src/vk_parser_app/templates/editor_content.html index 92dc8e9..d445f26 100644 --- a/src/vk_parser_app/templates/editor_content.html +++ b/src/vk_parser_app/templates/editor_content.html @@ -85,7 +85,7 @@
На странице: - {% for n in [10,25,50,100] %} {% endfor %} diff --git a/src/vk_parser_app/templates/editor_post.html b/src/vk_parser_app/templates/editor_post.html index eb1c96a..96afb52 100644 --- a/src/vk_parser_app/templates/editor_post.html +++ b/src/vk_parser_app/templates/editor_post.html @@ -74,7 +74,11 @@ {% endif %} {% endfor %} -
+
+
{% for m in p.media_items %} {% if m.type == "photo" and m.url %} @@ -91,32 +95,30 @@
- +
{% endif %} @@ -182,28 +184,38 @@
+ {% if p.editorial_status != 'published' %}
- -
- {% if p.editorial_status != 'rejected' %} + {% if p.editorial_status == 'rejected' %} +
+ +
+ {% else %} + +
- {% endif %} -
- -
- - -
+
+ +
+ + +
+ {% endif %}
+ {% endif %} diff --git a/src/vk_parser_app/templates/logs.html b/src/vk_parser_app/templates/logs.html index 8c15728..71dee9d 100644 --- a/src/vk_parser_app/templates/logs.html +++ b/src/vk_parser_app/templates/logs.html @@ -77,7 +77,7 @@ {% endif %} {% endfor %} - {% for n in [25,50,100,200] %} {% endfor %} diff --git a/src/vk_parser_app/templates/raw_posts_content.html b/src/vk_parser_app/templates/raw_posts_content.html index d3018e6..1a70eab 100644 --- a/src/vk_parser_app/templates/raw_posts_content.html +++ b/src/vk_parser_app/templates/raw_posts_content.html @@ -86,7 +86,7 @@
На странице: - {% for n in [25,50,100,200] %} {% endfor %} diff --git a/src/vk_parser_app/templates/users.html b/src/vk_parser_app/templates/users.html index 268073f..061956b 100644 --- a/src/vk_parser_app/templates/users.html +++ b/src/vk_parser_app/templates/users.html @@ -43,12 +43,20 @@ {% if user.role == "admin" and user.id != u.id %} -
- - -
+
+
+ + +
+
+ + +
+
{% endif %}