Виправлення помилок.

Додан новий метод авторізації в застосунок.
This commit is contained in:
2026-06-16 16:50:01 +03:00
parent 0b38f137bf
commit 9797ff6137
28 changed files with 2756 additions and 493 deletions
+39 -14
View File
@@ -1,17 +1,42 @@
<div id="page-auth">
<form id="page-auth-form">
<div>
<input
type="password"
name="uuid"
id="auth-forms-uuid"
placeholder="UUID"
required=""
/>
<form id="page-auth-form">
<div>
<input
type="password"
name="uuid"
id="auth-forms-uuid"
placeholder="UUID"
required />
<button type="submit">
<span>Авторизуватися</span>
</button>
<button type="submit">
<span>Авторизуватися</span>
</button>
</div>
</form>
<hr>
<button type="button" id="open-scanner-btn" class="btn-scan"
style="background: var(--ColorThemes3);color: var(--ColorThemes0);">
<span>Сканувати QR-код</span>
</button>
</div>
</form>
</div>
<dialog id="scanner-dialog">
<content style="max-width: 300px;max-height: 300px;margin-top: 20px;">
<div class="scanner-container">
<video id="video" autoplay playsinline></video>
<div class="laser-box">
<div class="laser-line"></div>
</div>
<div id="loading-status">Запуск камери...</div>
</div>
</content>
<footer>
<button class="btn-close" id="close-scanner-btn"
aria-label="Закрити">Закрити</button>
</footer>
</dialog>
<canvas id="canvas" style="display: none;"></canvas>