diff --git a/csaxs_bec/bec_ipython_client/plugins/flomni/flomni_webpage_generator.py b/csaxs_bec/bec_ipython_client/plugins/flomni/flomni_webpage_generator.py index a11c6da..31a87a5 100644 --- a/csaxs_bec/bec_ipython_client/plugins/flomni/flomni_webpage_generator.py +++ b/csaxs_bec/bec_ipython_client/plugins/flomni/flomni_webpage_generator.py @@ -1264,21 +1264,6 @@ def _render_html(phone_numbers: list) -> str: }} .info-item .value {{ font-size: 0.9rem; font-weight: 600; color: var(--text); }} - .bar-wrap {{ grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.35rem; }} - .bar-label {{ - display: flex; justify-content: space-between; - font-family: var(--mono); font-size: 0.6rem; color: var(--text-dim); - letter-spacing: 0.06em; text-transform: uppercase; - }} - .bar-track {{ height: 5px; background: var(--surface2); border-radius: 99px; overflow: hidden; }} - .bar-fill {{ - height: 100%; - background: var(--ring-blend); - background: color-mix(in srgb, var(--status-color) 65%, var(--surface2)); - border-radius: 99px; - transition: width 0.8s cubic-bezier(.4,0,.2,1), background 0.6s; - }} - /* ── Recon card ── */ .recon-stats {{ display: flex; gap: 2rem; flex-wrap: wrap; }} .recon-stat {{ display: flex; flex-direction: column; gap: 0.15rem; }} @@ -1521,10 +1506,7 @@ def _render_html(phone_numbers: list) -> str:
ETA-
Started-
-
-
Sub-tomo progress-
-
-
+ @@ -1975,8 +1957,7 @@ function render(d){{ document.getElementById('pi-type').textContent=p.tomo_type||'-'; document.getElementById('pi-eta').textContent=p.estimated_remaining_human||'-'; document.getElementById('pi-start').textContent=fmtTime(p.tomo_start_time); - document.getElementById('bar-sub-label').textContent=(p.subtomo_projection||0)+' / '+(p.subtomo_total_projections||0); - document.getElementById('bar-sub-fill').style.width=(sPct*100).toFixed(1)+'%'; + if(d.recon){{ document.getElementById('recon-waiting').textContent=d.recon.waiting; const fv=document.getElementById('recon-failed');