From 59d7a609718bb18517cf2f28400b55caf5157965 Mon Sep 17 00:00:00 2001 From: wangwj Date: Thu, 10 Sep 2026 14:16:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8A=A5=E5=91=8A=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E5=8A=A0=E8=B6=85=E9=93=BE=E6=8E=A5=E3=80=81=E9=89=B4=E6=9D=83?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E3=80=81=E5=86=85=E5=AE=B9=E6=91=98=E8=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 165a5bf..935499b 100644 --- a/index.html +++ b/index.html @@ -58,6 +58,9 @@ tbody tr:hover td{background:#fdf8f9} .acct{font-weight:600;color:var(--ink)} .acct .sub{font-weight:400;color:var(--ink-50);font-size:12px} + a.rep{color:var(--rose-dark);text-decoration:none} + a.rep:hover{text-decoration:underline} + .summ{color:var(--ink-70);font-size:12.5px} .pill{display:inline-block;font-size:11.5px;padding:2px 9px;border-radius:999px;font-weight:600;white-space:nowrap} .pill.ok{background:var(--good-bg);color:var(--good)} .pill.warn{background:var(--warn-bg);color:var(--warn)} @@ -158,7 +161,7 @@

报告清单

- +
报告归属自动刷新最近刷新
报告摘要归属鉴权自动刷新最近刷新
@@ -187,6 +190,11 @@ function statusPill(s){ if(s==='stale') return '已停更'; return '静态'; } +function authPill(a){ + if(a==='login') return '需登录'; + if(a==='locked') return '页面口令'; + return '公开'; +} fetch('data.json') .then(function(r){ if(!r.ok) throw new Error('HTTP '+r.status); return r.json(); }) @@ -245,11 +253,14 @@ fetch('data.json') // reports el = document.getElementById('tb-reports'); el.innerHTML = d.reports.length ? d.reports.map(function(r){ - return ''+esc(r.name)+''+ + return ''+ + ''+esc(r.name)+''+ + ''+esc(r.summary||'—')+''+ ''+esc(r.owner)+''+ + ''+authPill(r.auth)+''+ ''+statusPill(r.status)+''+ ''+esc(r.last_refresh||'—')+''; - }).join('') : '暂无'; + }).join('') : '暂无'; // findings el = document.getElementById('findings');