исправлено автоскачивание проекта vMix на кнопку во вкладке игра

This commit is contained in:
2026-04-22 11:28:24 +03:00
parent f2a49d9385
commit 2211d07562
4 changed files with 190 additions and 66 deletions

View File

@@ -46,6 +46,26 @@
outline-offset: 2px;
border-radius: 6px;
}
.vmix-download-btn {
text-decoration: none;
}
.vmix-icon {
width: 18px;
height: 18px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
background: linear-gradient(135deg, #ff5f6d 0%, #7b61ff 100%);
color: #ffffff;
font-size: 11px;
font-weight: 800;
font-family: Arial, sans-serif;
letter-spacing: 0.02em;
box-shadow: 0 0 10px rgba(123, 97, 255, 0.28);
}
</style>
</head>
@@ -105,6 +125,15 @@
</button>
</form>
<a
href="/admin/session/{{ session[3] }}/download-vmix-page"
class="icon-btn header-icon vmix-download-btn"
title="Скачать проект vMix"
aria-label="Скачать проект vMix"
>
<span class="vmix-icon" aria-hidden="true">V</span>
</a>
<form
method="post"
action="/admin/session/{{ session[3] }}/close"