From 3a1b6cff1e7eff22c22fc8663219b239764b6c46 Mon Sep 17 00:00:00 2001 From: posimai Date: Sun, 5 Apr 2026 22:19:22 +0900 Subject: [PATCH] chore: add Uptime Kuma to station services, 3-col grid --- posimai-dev/station-b.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/posimai-dev/station-b.html b/posimai-dev/station-b.html index eb3e1793..c3613ebb 100644 --- a/posimai-dev/station-b.html +++ b/posimai-dev/station-b.html @@ -123,7 +123,7 @@ .spark-svg { width:100%;height:100%;overflow:visible; } /* services */ - .service-grid { display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;gap:8px;overflow-y:auto;flex:1; } + .service-grid { display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:8px;overflow-y:auto;flex:1; } .service-card { background:var(--surface2);border:1px solid var(--border2);border-radius:11px;padding:12px;display:flex;flex-direction:column;gap:6px; } .service-card-top { display:flex;align-items:center;justify-content:space-between; } .service-name { font-size:13px;font-weight:500; } @@ -348,12 +348,13 @@ const HEALTH_URL = '/api/health'; const REFRESH_SEC = 30; const HISTORY_MAX = 20; const SERVICES = [ - {id:'posimai-dev',name:'posimai-dev', desc:'ブラウザターミナル + Claude Code',url:HEALTH_URL, isHealth:true}, - {id:'posimai-api',name:'Posimai API',desc:'Node.js / Express — VPS 本番', url:'/api/vps-health', isHealth:false, proxy:true}, - {id:'gitea', name:'Gitea', desc:'ローカル Git バックアップ', url:'/api/check?url=http://100.76.7.3:3000', isHealth:false, proxy:true}, - {id:'syncthing', name:'Syncthing', desc:'ファイル同期 GUI', url:'/api/check?url=http://100.77.11.43:8384', isHealth:false, proxy:true}, - {id:'vercel', name:'Vercel', desc:'PWA ホスティング (27本)', url:'https://vercel.com', isHealth:false}, - {id:'github', name:'GitHub', desc:'ソースコード管理', url:'https://github.com/posimai', isHealth:false}, + {id:'posimai-dev',name:'posimai-dev', desc:'ブラウザターミナル + Claude Code', url:HEALTH_URL, isHealth:true}, + {id:'posimai-api',name:'Posimai API', desc:'Node.js / Express — VPS 本番', url:'/api/vps-health', isHealth:false, proxy:true}, + {id:'gitea', name:'Gitea', desc:'ローカル Git バックアップ (NAS)', url:'/api/check?url=http://100.76.7.3:3000', isHealth:false, proxy:true}, + {id:'uptime-kuma',name:'Uptime Kuma', desc:'死活監視 — NAS Docker', url:'/api/check?url=http://100.76.7.3:3001', isHealth:false, proxy:true}, + {id:'syncthing', name:'Syncthing', desc:'ファイル同期 GUI', url:'/api/check?url=http://100.77.11.43:8384', isHealth:false, proxy:true}, + {id:'vercel', name:'Vercel', desc:'PWA ホスティング (27本)', url:'https://vercel.com', isHealth:false}, + {id:'github', name:'GitHub', desc:'ソースコード管理', url:'https://github.com/posimai', isHealth:false}, ]; const hist = {cpu:[], load:[]}; const svcHist = {};