Modern redesign #9

Merged
rektdie merged 9 commits from modern-redesign into master 2026-10-09 22:22:48 +02:00
Owner
No description provided.
rektdie added 9 commits 2026-10-09 22:22:42 +02:00
Visual-only changes: restyle style.css, form.css and paging.css and swap
the web font in base.html. No class names, IDs or markup logic changed.
- base.html: new topbar/sidebar/main layout, accessible mobile menu,
  dismissible message banners, toast container, page_head block
- ui.js: current-page nav highlight, mobile menu close, copy toast
- index/testsummary: one card per section with column headers,
  labelled flags instead of coloured asterisks, empty state
- pagebrowser: nav landmark + aria labels
All Django logic, URLs, IDs and JS hooks are unchanged.
- style.css rewritten for the topbar/sidebar shell, cards, test list with
  mobile card layout, workload grid, badges, banners, toast, LLR widget
- form.css rewritten: forms are grids of cards, stacked on small screens,
  filter chips, presets grid, sticky submit bar, auth card
Markup-only changes around the existing Django logic; the LLR script,
copy_text() targets (#long-statblock, #spsa-input, #spsa-output) and all
form field ids/names are untouched. Copy actions are now real <button>s
(keyboard accessible) and disabled actions are no longer fake links.
- create_workload: presets moved above the form, cards per section,
  sticky submit bar; fixed stray attribute and wrong label target
- search: grouped filters, colour-coded result chips, results table with
  column headers
- login/register/profile: labels linked to inputs, autocomplete hints,
  centred auth card
Field ids/names, JS hooks and Django logic are unchanged.
- page_head block on machines, machine, events, errors, users, networks,
  network and uploadnet
- networks: remove stray ')' in the Hash header onclick, replace inline
  icon colours with classes
- network: close the two unclosed <select> elements
- uploadnet: close the form with </form>
- llr_history.js: draws the chart in the browser (fills its card, crisp at
  any width), nice axis ticks, green/red line + area split at zero, pass/fail
  bound lines and zones, estimated segments dashed, live-pulse marker,
  progress-to-bound header, entrance animation
- Snapping: crosshair locks to the nearest point and is pulled towards
  nearby peaks/valleys; mouse, touch scrubbing and keyboard
  (arrows, Shift x10, Home/End, Escape) with screen-reader announcements
- Loading: skeleton, error state with Retry
- mytags.llr_history_graph now only returns data (JSON in data-chart); the
  old static SVG renderer is kept as _llr_history_graph_static
- workload.html: LLR gets its own wide card, inline script removed,
  fixed a stray <tr> in the SPSA parameter table
- workload.css: grid placement + chart styles
- Simple graph again: plot with grid, 3 y labels, games axis, bounds/zero
  when in range, green/red line, hover marker + one-line tooltip. Removed the
  header, progress bar, legend, area fill, zones, pulse and animations.
  Colours are unchanged.
- The LLR panel is back at the end of the Actions card (below Adjust) where it
  was originally; the separate LLR card and its grid placement are gone.
- Snapping: the marker now locks onto every visible peak and valley. Peaks
  are found with a swing filter (a turning point counts once the line has
  moved >= 3px away from it), so plateaus and tiny wiggles no longer steal
  the snap from the real peaks. The first and latest points snap as well.
rektdie merged commit 5b253544e6 into master 2026-10-09 22:22:48 +02:00
Sign in to join this conversation.