Initial commit: SSS 50-week LAN check-in app.
Ship the Synology/Mac deployable player with curriculum mapping, stats, and resource library. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
dd281e1bd0
27 files changed
+9416
No files matched your search
@@ -0,0 +1,113 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
||||
<meta name="theme-color" content="#f5a65b" />
|
||||
<link rel="icon" href="/static/icon.svg" type="image/svg+xml" />
|
||||
<link rel="stylesheet" href="/static/styles.css" />
|
||||
<link rel="stylesheet" href="/static/stats.css" />
|
||||
<title>SSS 红花与播放统计</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="stats-shell">
|
||||
<header class="stats-topbar">
|
||||
<a class="back-link" href="/" aria-label="返回播放器">‹ 返回播放</a>
|
||||
<div>
|
||||
<p class="eyebrow">家长查看</p>
|
||||
<h1>红花统计</h1>
|
||||
</div>
|
||||
<span id="updated-at" class="updated-at">正在更新…</span>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section id="summary-cards" class="summary-cards" aria-label="总体统计"></section>
|
||||
|
||||
<section class="stats-section" aria-labelledby="daily-heading">
|
||||
<div class="stats-heading">
|
||||
<div>
|
||||
<p class="eyebrow">最近六周</p>
|
||||
<h2 id="daily-heading">每天红花情况</h2>
|
||||
</div>
|
||||
<span class="legend"><i></i> 有红花</span>
|
||||
</div>
|
||||
<div class="calendar-card">
|
||||
<div class="weekday-row" aria-hidden="true">
|
||||
<span>一</span><span>二</span><span>三</span><span>四</span><span>五</span><span>六</span><span>日</span>
|
||||
</div>
|
||||
<div id="daily-grid" class="daily-grid"></div>
|
||||
</div>
|
||||
<div id="daily-list" class="daily-list"></div>
|
||||
</section>
|
||||
|
||||
<section class="stats-section" aria-labelledby="week-heading">
|
||||
<div class="stats-heading">
|
||||
<div>
|
||||
<p class="eyebrow">完整计划</p>
|
||||
<h2 id="week-heading">50 周学习情况</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="stats-week-grid" class="stats-week-grid"></div>
|
||||
</section>
|
||||
|
||||
<section class="stats-section two-column" aria-label="家庭成员与打卡时段">
|
||||
<div>
|
||||
<div class="stats-heading">
|
||||
<div>
|
||||
<p class="eyebrow">操作记录</p>
|
||||
<h2>家庭成员</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="actor-stats" class="actor-stats"></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="stats-heading">
|
||||
<div>
|
||||
<p class="eyebrow">最近记录</p>
|
||||
<h2>最近小红花</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="session-list" class="session-list"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="stats-section" aria-labelledby="song-heading">
|
||||
<div class="stats-heading song-heading-row">
|
||||
<div>
|
||||
<p class="eyebrow">逐首查看</p>
|
||||
<h2 id="song-heading">每首歌的播放与红花</h2>
|
||||
</div>
|
||||
<label class="song-search">
|
||||
<span class="sr-only">搜索歌曲</span>
|
||||
<input id="song-search" type="search" placeholder="搜索歌名或编号" />
|
||||
</label>
|
||||
</div>
|
||||
<div class="song-table-wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>歌曲</th>
|
||||
<th>视频完成/开始</th>
|
||||
<th>音频完成/开始</th>
|
||||
<th>小红花</th>
|
||||
<th>操作者</th>
|
||||
<th>最近播放</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="song-table-body"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<div id="stats-empty" class="stats-empty" hidden>
|
||||
<span aria-hidden="true">♫</span>
|
||||
<h2>还没有红花记录</h2>
|
||||
<p>完整播放第一首歌并领取小红花后,这里就会出现成长统计。</p>
|
||||
<a class="primary-button" href="/">返回播放器</a>
|
||||
</div>
|
||||
|
||||
<script src="/static/stats.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user