forked from LibreSpark/LibreTV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiagnostics.html
More file actions
62 lines (59 loc) · 2.59 KB
/
Copy pathdiagnostics.html
File metadata and controls
62 lines (59 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LibreTV 检测源</title>
<meta name="theme-color" content="#0f1622">
<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">
<link rel="icon" href="image/logo.png">
<link rel="apple-touch-icon" href="image/icon-192.png">
<link rel="manifest" href="manifest.json">
<script src="libs/tailwindcss.min.js"></script>
<link rel="stylesheet" href="css/styles.css">
</head>
<body class="page-bg text-white min-h-screen">
<main id="diagnostics-root" class="diagnostics-page">
<header class="diagnostics-header">
<a href="/" class="diagnostics-back">← 首页</a>
<h1>LibreTV 检测源</h1>
<p>检测自部署运行状态,不显示密钥或令牌。</p>
</header>
<section class="diagnostics-grid">
<div id="password-status" class="diagnostic-item diagnostic-warn"></div>
<div id="proxy-status" class="diagnostic-item diagnostic-warn"></div>
<div id="pwa-status" class="diagnostic-item diagnostic-warn"></div>
<div id="source-status" class="diagnostic-item diagnostic-warn"></div>
</section>
<section class="diagnostics-source">
<div class="diagnostics-source-header">
<div>
<h2>源健康</h2>
<p id="sourceHealthSummary">源健康:尚未检测</p>
<p id="sourceHealthLastChecked">最近检测:尚未检测</p>
</div>
<button id="sourceHealthButton" onclick="runDiagnosticsSourceHealth()">检测源</button>
</div>
<div id="sourceHealthList" class="source-health-list"></div>
</section>
</main>
<script src="libs/sha256.min.js"></script>
<script>
window._jsSha256 = window.sha256;
window.__ENV__ = window.__ENV__ || {};
window.__ENV__.PASSWORD = "{{PASSWORD}}";
</script>
<script src="js/config.js"></script>
<script src="js/proxy-auth.js"></script>
<script src="js/customer_site.js"></script>
<script src="js/ui.js"></script>
<script src="js/api.js"></script>
<script src="js/password.js"></script>
<script src="js/search.js"></script>
<script src="js/source-health.js"></script>
<script src="js/diagnostics.js"></script>
<script src="js/pwa-register.js"></script>
</body>
</html>