vm-bench/frontend
Claus Lohmar 989807f29e fix: innerHTML script execution bug — confirm form and polling now work
Root cause: innerHTML does not execute <script> tags in modern browsers.
The _analysis.html and polling.html fragments had inline <script> blocks
that were silently dropped, causing:
- Confirm form's submitJob() undefined → form submitted as normal GET
  back to '/' (user saw 'New Conversion Session' instead of polling)
- Polling page's poll() never started → stuck on 'Waiting for backend...'

Fix:
- Stripped all <script> tags from _analysis.html and polling.html
- Moved all JS logic into index.html (executed on page load)
- initConfirmForm() attaches submit/change listeners after analysis HTML
  is injected via innerHTML
- initPolling() attaches poll timer + reuse button handlers after
  polling fragment is injected
- Polling fragment replaces step1/analysis content while keeping
  base.html header/footer intact
- Reuse buttons now use onclick attached via JS (not inline)
2026-07-21 18:43:16 +00:00
..
static chore: initial commit — vm-bench frontend + backend 2026-07-21 14:53:29 +00:00
templates fix: innerHTML script execution bug — confirm form and polling now work 2026-07-21 18:43:16 +00:00
api_client.py fix: bump analyze timeout to 300s for 87 GB+ disk images 2026-07-21 18:26:57 +00:00
app.py feat: two-phase upload/download with real-time progress + smart speed timeout 2026-07-21 18:10:52 +00:00
install.sh feat: full deployment scripts — backend + LXC creation, frontend installer 2026-07-21 17:51:53 +00:00
requirements.txt chore: initial commit — vm-bench frontend + backend 2026-07-21 14:53:29 +00:00
vm-bench.service fix: large-file support + user-defined VM name 2026-07-21 17:59:31 +00:00