From 636a9a5e59c2fe17f04cc666f8a6818e26fbe638 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: Fri, 15 May 2026 12:22:05 +0300 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B4=D1=83?= =?UTF-8?q?=D0=B1=D0=BB=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D0=B5=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/script.js | 26 -------------------------- templates/match_workspace.html | 9 +++------ 2 files changed, 3 insertions(+), 32 deletions(-) diff --git a/static/script.js b/static/script.js index 802925f..952eb91 100644 --- a/static/script.js +++ b/static/script.js @@ -1044,32 +1044,6 @@ function escapeVmixValue(value) { return String(value ?? "").trim(); } -function getVmixTeamLogo(teamName) { - const basePath = "D:\\Графика\\ФУТБОЛ\\Женская Суперлига 2026\\Teams Logos"; - let clean = String(teamName || "").replaceAll("«", "").replaceAll("»", "").trim(); - - if (clean === "Зенит" || clean === "Динамо") { - clean += "_Синий"; - } - - return `${basePath}\\${clean}.png`; -} - -function getScoreSum() { - return Number(scoreState?.home || 0) + Number(scoreState?.away || 0); -} - -function getSubOutName(payload) { - const raw = String(payload.player_name || ""); - if (raw.includes("→")) return raw.split("→")[0].trim(); - return String(payload.player_name_out || "").trim(); -} - -function getSubInName(payload) { - const raw = String(payload.player_name || ""); - if (raw.includes("→")) return raw.split("→")[1].trim(); - return String(payload.player_name_in || "").trim(); -} function buildVmixCommandsFromEvent(payload) { const eventType = String(payload?.event_type || ""); diff --git a/templates/match_workspace.html b/templates/match_workspace.html index 4b3a58d..82655d7 100644 --- a/templates/match_workspace.html +++ b/templates/match_workspace.html @@ -66,6 +66,9 @@ font-family: Arial, sans-serif; letter-spacing: 0.02em; box-shadow: 0 0 10px rgba(123, 97, 255, 0.28); + object-fit: contain; /* чтобы не растягивалась */ + display: block; + } .vmix-btn { display: inline-flex; @@ -84,12 +87,6 @@ background: #222; } - .vmix-icon { - width: 1em; /* подгоняешь под стиль кнопок */ - height: 1em; - object-fit: contain; /* чтобы не растягивалась */ - display: block; - }