Add connection overlay and Gitea CI/CD workflow

Show full-screen overlay with spinner when server is unreachable,
with periodic health checks that auto-hide on reconnect.
Add Gitea Actions workflow for auto-deploy on release tags.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 11:07:13 +03:00
parent bf212c86ec
commit 99d8c4b8fb
8 changed files with 134 additions and 5 deletions

View File

@@ -29,6 +29,13 @@
<script src="https://cdn.jsdelivr.net/npm/chart.js@4/dist/chart.umd.min.js"></script>
</head>
<body style="visibility: hidden;">
<div id="connection-overlay" class="connection-overlay" style="display:none">
<div class="connection-overlay-content">
<div class="connection-spinner-lg"></div>
<h2 data-i18n="app.connection_lost">Server unreachable</h2>
<p data-i18n="app.connection_retrying">Attempting to reconnect…</p>
</div>
</div>
<header>
<div class="header-title">
<span id="server-status" class="status-badge"></span>