2025-10-07 15:01:33 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="zh-CN">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<title>GoodBaby</title>
|
|
|
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="container">
|
|
|
|
|
<header>
|
2026-03-01 08:56:32 +08:00
|
|
|
<h1>GoodBaby</h1>
|
2025-10-07 15:01:33 +08:00
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<main>
|
|
|
|
|
<section class="card">
|
2026-03-01 08:56:32 +08:00
|
|
|
<h2>访问设置</h2>
|
2025-10-07 15:01:33 +08:00
|
|
|
<div class="form-group">
|
2026-03-01 08:56:32 +08:00
|
|
|
<label for="secret">密钥</label>
|
2025-10-07 15:01:33 +08:00
|
|
|
<input type="password" id="secret" placeholder="输入您的访问密钥">
|
2026-03-01 08:56:32 +08:00
|
|
|
<button id="save-secret" class="btn-secondary">保存</button>
|
2025-10-07 15:01:33 +08:00
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="card">
|
2026-03-01 08:56:32 +08:00
|
|
|
<h2>状态信息</h2>
|
2025-10-07 15:01:33 +08:00
|
|
|
<div class="status-container">
|
|
|
|
|
<div class="timer-display">
|
|
|
|
|
<span id="remaining-time">--:--:--</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="progress-bar">
|
|
|
|
|
<div id="progress-fill" class="progress-fill"></div>
|
|
|
|
|
</div>
|
2026-03-01 08:56:32 +08:00
|
|
|
<button id="refresh-status" class="btn-primary">刷新状态</button>
|
2025-10-07 15:01:33 +08:00
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="card">
|
2026-03-01 08:56:32 +08:00
|
|
|
<h2>执行操作</h2>
|
2025-10-07 15:01:33 +08:00
|
|
|
<div class="controls">
|
2026-03-01 08:56:32 +08:00
|
|
|
<button id="send-signal" class="btn-danger">发送信号</button>
|
2025-10-07 15:01:33 +08:00
|
|
|
<p class="hint">点击按钮重置定时器</p>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
<footer>
|
2026-03-01 08:56:32 +08:00
|
|
|
<p>© 2026 GoodBaby</p>
|
2025-10-07 15:01:33 +08:00
|
|
|
</footer>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="notification" class="notification"></div>
|
|
|
|
|
|
|
|
|
|
<script src="/static/js/script.js"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|