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');