From b42449d42bc83cf46e67826ded8ac745179570f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=A7=D0=B5=D1=80=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE?= Date: Tue, 21 Apr 2026 15:02:28 +0300 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B5=D1=81=D1=82.=20=D0=BB=D0=B8=D0=BD?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=BD=D0=B0=20=D0=BE=D0=B1=D1=8B=D1=87=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D0=B8=D0=B3=D1=80=D0=BE=D0=BA=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/styles.css | 20 +++++ templates/match_workspace.html | 144 ++++++++++++++++----------------- 2 files changed, 88 insertions(+), 76 deletions(-) diff --git a/static/styles.css b/static/styles.css index 1ddf767..effc09e 100644 --- a/static/styles.css +++ b/static/styles.css @@ -2240,4 +2240,24 @@ body:not(.edit-mode-on) .referee-search { .matrix-loader.is-success .matrix-title { color: #9dffb2; +} + +.player-link { + cursor: pointer; +} + +.player-link .last-name, +.player-link .first-name, +.coach-link-btn .coach-name, +.coach-left .coach-name { + color: #8ab4ff; + text-decoration: underline; + text-underline-offset: 2px; +} + +.player-link:hover .last-name, +.player-link:hover .first-name, +.coach-link-btn:hover .coach-name, +.coach-left:hover .coach-name { + color: #a9c7ff; } \ No newline at end of file diff --git a/templates/match_workspace.html b/templates/match_workspace.html index a3a00b2..087fcc5 100644 --- a/templates/match_workspace.html +++ b/templates/match_workspace.html @@ -350,31 +350,29 @@ > {{ p.number }} - - - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + + +
- - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + +
+
- - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + +
+
- - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + +
+