Files
CoRE.Vision/frontend/mobile.html
T
git_admin 126b588dc7 mobile: one mode-toggle button instead of two bottom tabs
Replace the two-tab bottom bar (Live / Архив) with a single centered
toggle button. It switches the mode either/or: shows the current mode
with a swap glyph (⇆), tap flips Live ⇄ Архив.

VERSION 0.0.150 -> 0.0.151

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 23:49:02 +05:00

46 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
<meta name="theme-color" content="#161a22">
<title>CoRE.Vizion+ — Mobile</title>
<link rel="stylesheet" href="/static/mobile.css">
</head>
<body>
<div class="m-app">
<header class="m-head"><span class="m-brand">CoRE<span>.Vizion+</span></span></header>
<!-- LIVE: одна камера + выбор камеры -->
<section class="m-view" id="view-live">
<div class="m-bar">
<select id="m-live-cam" class="m-sel" title="Камера"></select>
</div>
<div class="m-player" id="m-live-player">
<video id="m-live-video" playsinline muted autoplay></video>
<div class="m-hint" id="m-live-hint">Нет камер</div>
</div>
</section>
<!-- АРХИВ: камера + дата + список записей -->
<section class="m-view" id="view-arch" hidden>
<div class="m-bar">
<select id="m-arch-cam" class="m-sel" title="Камера"></select>
<input type="date" id="m-arch-date" class="m-date" title="Дата">
</div>
<div class="m-player">
<video id="m-arch-video" playsinline controls></video>
<div class="m-hint" id="m-arch-hint">Выберите запись ниже</div>
</div>
<div class="m-seglist" id="m-seglist"></div>
</section>
<nav class="m-tabs">
<!-- одна кнопка: переключает режим Live ⇄ Архив (или/или) -->
<button class="m-mode" id="m-mode"><span class="i"></span><span class="m-mode-name" id="m-mode-name">Live</span></button>
</nav>
</div>
<script src="/static/mobile.js"></script>
</body>
</html>