mirror of https://github.com/cppla/ServerStatus
119 lines
4.9 KiB
HTML
119 lines
4.9 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||
<meta name="description" content="云监控,ServerStatus中文版,ServerStatus,ServerStatus cppla" />
|
||
<title>云监控</title>
|
||
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
||
<link rel="alternate icon" href="favicon.ico" />
|
||
<link rel="stylesheet" href="css/app.css" />
|
||
</head>
|
||
<body>
|
||
<header class="topbar">
|
||
<div class="brand" title="云监控">
|
||
<span class="logo-mark" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||
<path d="M7.5 17a4.5 4.5 0 0 1-.9-8.92A6 6 0 0 1 18.4 9.6 4 4 0 0 1 18 17H7.5Z" />
|
||
<rect x="9" y="11" width="6" height="4" rx="1" />
|
||
<path d="M11 15v2.5a.5.5 0 0 0 .5.5h1" />
|
||
</svg>
|
||
</span>
|
||
<span class="logo-text"><span class="logo-accent">云</span>监控</span>
|
||
</div>
|
||
<nav class="nav" id="navTabs">
|
||
<button data-tab="servers" class="active">主机</button>
|
||
<button data-tab="monitors">服务</button>
|
||
<button data-tab="ssl">证书</button>
|
||
</nav>
|
||
<div class="actions">
|
||
<button id="themeToggle" title="切换主题 (当前: 自动或手动)" aria-label="切换主题">🌓</button>
|
||
<span id="lastUpdate" class="muted">更新中...</span>
|
||
</div>
|
||
</header>
|
||
|
||
<main class="wrapper">
|
||
<div id="notice" class="notice info">初始化中...</div>
|
||
|
||
<section id="panel-servers" class="panel active" aria-labelledby="主机">
|
||
<div class="table-wrap">
|
||
<table class="data" id="serversTable">
|
||
<thead>
|
||
<tr>
|
||
<th>协议</th>
|
||
<th>月流量 ↓|↑</th>
|
||
<th>节点</th>
|
||
<th>虚拟化</th>
|
||
<th>位置</th>
|
||
<th>在线</th>
|
||
<th>负载</th>
|
||
<th>当前网络 ↓|↑</th>
|
||
<th>总流量 ↓|↑</th>
|
||
<th>CPU</th>
|
||
<th>内存</th>
|
||
<th>硬盘</th>
|
||
<th style="text-align:center;">联通|电信|移动</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody id="serversBody"></tbody>
|
||
</table>
|
||
</div>
|
||
<!-- 移动端卡片布局 -->
|
||
<div id="serversCards" class="cards" style="display:none;"></div>
|
||
</section>
|
||
|
||
<section id="panel-monitors" class="panel" aria-labelledby="服务">
|
||
<div class="table-wrap">
|
||
<table class="data" id="monitorsTable">
|
||
<thead>
|
||
<tr>
|
||
<th>协议</th>
|
||
<th>监测节点</th>
|
||
<th>监测位置</th>
|
||
<th>监测内容</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody id="monitorsBody"></tbody>
|
||
</table>
|
||
</div>
|
||
<!-- 移动端卡片布局 (服务) -->
|
||
<div id="monitorsCards" class="cards" style="display:none;"></div>
|
||
</section>
|
||
|
||
<section id="panel-ssl" class="panel" aria-labelledby="证书">
|
||
<div class="table-wrap">
|
||
<table class="data" id="sslTable">
|
||
<thead>
|
||
<tr>
|
||
<th>名称</th>
|
||
<th>域名</th>
|
||
<th>端口</th>
|
||
<th>剩余(天)</th>
|
||
<th>到期(UTC)</th>
|
||
<th>状态</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody id="sslBody"></tbody>
|
||
</table>
|
||
</div>
|
||
<!-- 移动端卡片布局 (证书) -->
|
||
<div id="sslCards" class="cards" style="display:none;"></div>
|
||
</section>
|
||
</main>
|
||
|
||
<!-- 详情弹窗 -->
|
||
<div id="detailModal" class="modal-backdrop" style="display:none;">
|
||
<div class="modal-box" role="dialog" aria-modal="true" aria-labelledby="detailTitle">
|
||
<button class="modal-close" id="detailClose" aria-label="关闭">×</button>
|
||
<h3 id="detailTitle" class="modal-title">节点详情</h3>
|
||
<div id="detailContent" class="modal-content">加载中...</div>
|
||
</div>
|
||
</div>
|
||
|
||
<footer class="footer">
|
||
<a href="https://github.com/cppla/ServerStatus" target="_blank" rel="noopener">ServerStatus中文版</a>
|
||
</footer>
|
||
|
||
<script src="js/app.js" defer></script>
|
||
</body>
|
||
</html> |