From cbb5f7cffe4fdff0359aeaf9377a58835330ea45 Mon Sep 17 00:00:00 2001 From: chest Date: Thu, 10 Apr 2025 18:03:10 +0300 Subject: [PATCH] feat(web): ssti comments:3 --- static/index.css | 11 +++++++++-- templates/ssti.html | 30 ++++++++++++++++++++++-------- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/static/index.css b/static/index.css index 32e5fe0..752ef2a 100644 --- a/static/index.css +++ b/static/index.css @@ -170,9 +170,16 @@ .comments { background-color: rgb(35, 33, 54); - height: 60%; - width: 80%; + height: 12rem; + width: 95%; text-align: left; + border-radius: 0.5rem; + overflow-y: auto; + padding: 0.5rem; +} + +.comment { + margin: 2rem; } .navgoodlinks { diff --git a/templates/ssti.html b/templates/ssti.html index 8a60acc..00c6853 100644 --- a/templates/ssti.html +++ b/templates/ssti.html @@ -6,18 +6,32 @@ скрыть
-
+

Приветствую тебя, о сетевой путник! Прошу, оставь упоминание о себе здесь!

-

Имя:

-

Комментарий:

- +

Имя:

+

Комментарий:

+
- {% for (username, comment) in comments -%} -

{{ username }}

-

{{ render_template_string(comment) }}

- {% endfor -%} +
+ {% for (username, comment) in comments -%} +

{{ username }}

+

{{ render_template_string(comment) }}

+ {% endfor -%} +
+
+

Sup3r_C4t

+

Мяу-мяу Мяу-мяу

+
+
+

Herobrine

+

▓▒░(°◡°)░▒▓

+
+
+

0MegaCTF++

+

Выходи сюда, глупый Админ! Отдавай флаг!!!!(╮°-°)╮┳━━┳ ( ╯°□°)╯ ┻━━┻

+