Files
web-camera-category/app/index.html
T
2026-10-24 17:32:25 +07:00

67 lines
3.7 KiB
HTML

<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta name="theme-color" content="#F2F3F5" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#000000" media="(prefers-color-scheme: dark)">
<meta name="color-scheme" content="light dark">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="format-detection" content="telephone=no">
<link rel="manifest" href="manifest.json">
<link rel="icon" href="icon-192.png">
<link rel="apple-touch-icon" href="icon-192.png">
<link rel="stylesheet" href="css/app.css">
<title>CamCat — ถ่ายรูปแยกโฟลเดอร์</title>
</head>
<body>
<div id="app">
<header>
<div class="head-text">
<h1>CamCat</h1>
<button class="head-sub" id="active-folder-pill" type="button" aria-label="โฟลเดอร์ที่ใช้งาน — แตะเพื่อเปลี่ยน">
<span id="active-folder-name">—</span>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 18l6-6-6-6"/></svg>
</button>
</div>
<div class="head-actions">
<button class="icon-round" id="theme-toggle" type="button" aria-label="สลับธีมสว่าง/มืด"></button>
<button class="icon-round" type="button" data-action="diagnostics" aria-label="ข้อมูลอุปกรณ์และกล้อง">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 11v5M12 8h.01"/></svg>
</button>
</div>
</header>
<main id="main" aria-live="polite"></main>
<nav id="bottom-nav">
<button id="nav-camera" class="active" type="button" data-view="camera" aria-label="กล้อง">
<span class="tab-ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg></span>
<span>กล้อง</span>
</button>
<button id="nav-folders" type="button" data-view="folders" aria-label="โฟลเดอร์">
<span class="tab-ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg></span>
<span>โฟลเดอร์</span>
</button>
<button id="nav-gallery" type="button" data-view="gallery" aria-label="รูปภาพ">
<span class="tab-ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="3"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M21 15l-5-5L5 21"/></svg></span>
<span>รูปภาพ</span>
</button>
</nav>
</div>
<div class="sheet-overlay" id="sheet-overlay" hidden aria-hidden="true">
<div class="sheet" id="sheet-content" role="dialog" aria-modal="true"></div>
</div>
<div id="toast" role="status"></div>
<script src="vendor/jszip.min.js"></script>
<script src="vendor/piexif.js"></script>
<script src="vendor/qrcode.min.js"></script>
<script type="module" src="js/main.js"></script>
</body>
</html>