From 87114d701c7da4aa957c66272ec31aadf1e2a9ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 15 Jun 2026 07:42:58 +0400 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8?= =?UTF-8?q?=D1=8F=20v1.0=20=D0=B8=20=D1=82=D0=B0=D0=B9=D0=BC=D0=B5=D1=80?= =?UTF-8?q?=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/templates/upload.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/site/templates/upload.html b/site/templates/upload.html index 8fff497..6b48f71 100644 --- a/site/templates/upload.html +++ b/site/templates/upload.html @@ -73,7 +73,7 @@
Nubes - Сверка договоров + Сверка договоров v1.0
@@ -123,10 +123,11 @@ {% endfor %} {% if unprocessed %} -
+ +
{% endif %}
@@ -306,6 +307,19 @@ const style = document.createElement('style'); style.textContent = '@keyframes spin { to { transform: rotate(360deg); } }'; document.head.appendChild(style); + + // Таймер обработки + function startTimer() { + const timer = document.getElementById('timer'); + if (!timer) return; + timer.style.display = 'block'; + let sec = 0; + timer.textContent = '⏳ Обработка... ' + sec + 'с'; + window._timerInterval = setInterval(() => { + sec++; + timer.textContent = '⏳ Обработка... ' + sec + 'с'; + }, 1000); + }