diff --git a/ops/work/web/index.html b/ops/work/web/index.html index 6097870..6003cb8 100644 --- a/ops/work/web/index.html +++ b/ops/work/web/index.html @@ -248,6 +248,8 @@ document.querySelectorAll('.tab').forEach(t=>t.onclick=()=>showTab(t.dataset.t)) function showTab(n){ document.querySelectorAll('.tab').forEach(t=>t.classList.toggle('on',t.dataset.t===n)); ['build','cables','diagram','layout','heat','matrix','docs','ask'].forEach(x=>$('#sec-'+x).classList.toggle('hidden',x!==n)); + if(n==='diagram')renderDiagram(); + if(n==='cables')renderCables(); if(n==='matrix')loadMatrix(); if(n==='layout')renderPlanDrag(); if(n==='heat')renderHeatmap(); diff --git a/ops/work/web/webui.html b/ops/work/web/webui.html index 6097870..6003cb8 100644 --- a/ops/work/web/webui.html +++ b/ops/work/web/webui.html @@ -248,6 +248,8 @@ document.querySelectorAll('.tab').forEach(t=>t.onclick=()=>showTab(t.dataset.t)) function showTab(n){ document.querySelectorAll('.tab').forEach(t=>t.classList.toggle('on',t.dataset.t===n)); ['build','cables','diagram','layout','heat','matrix','docs','ask'].forEach(x=>$('#sec-'+x).classList.toggle('hidden',x!==n)); + if(n==='diagram')renderDiagram(); + if(n==='cables')renderCables(); if(n==='matrix')loadMatrix(); if(n==='layout')renderPlanDrag(); if(n==='heat')renderHeatmap();