-
Подключение к рабочему столу...
-
-
+
Устанавливается соединение с рабочим столом...
+
@@ -91,14 +89,11 @@ cat > /opt/portal/index.html < /opt/portal/index.html < {
- const s = Math.floor((Date.now() - timerStart) / 1000);
- coTimerEl.textContent = s + ' сек';
- }, 500);
- }
-
- function showOverlayWaiting() {
- coTitleEl.textContent = 'Подключение к рабочему столу...';
- coTimerEl.textContent = '0 сек';
- coBarWrap.style.display = 'none';
+ function showOverlayConnecting() {
+ coBar.style.transition = 'none';
coBar.style.width = '0%';
coEl.style.opacity = '1';
coEl.style.display = 'flex';
coEl.classList.remove('hidden');
statusEl.style.display = 'none';
- startTimer();
- }
-
- function showOverlayConnecting() {
- clearInterval(timerInterval);
- coTitleEl.textContent = 'Устанавливается соединение с рабочим столом...';
- coTimerEl.textContent = '';
- coBarWrap.style.display = 'block';
- coBar.style.transition = 'none';
- coBar.style.width = '0%';
requestAnimationFrame(() => requestAnimationFrame(() => {
coBar.style.transition = 'width 5.8s cubic-bezier(0.25,0.46,0.45,0.94)';
coBar.style.width = '100%';
@@ -146,7 +118,6 @@ cat > /opt/portal/index.html < { coEl.style.display = 'none'; }, 520);
}
@@ -176,7 +147,6 @@ cat > /opt/portal/index.html <