[go: up one dir, main page]

Skip to content

chore: clean up templates

Summary

This MR implements a comprehensive resources page to replace the navbar dropdown, fixes yarr_scans pagination issues, and includes several template improvements from previous work. It is a bit absurd that toppage ended up being a catch-all which made the logic a bit confusing.

Key Changes

Resources Page Implementation

Bug Fixes

  • Fixed yarr_scans pagination - now uses 'page' parameter with 1-based indexing (consistent with other tables)
  • Fixed total count display - yarr_scans now shows correct total results instead of current page count only

Template Refactoring (from previous work)

  • Extracted assembly module (685 lines) from monolithic toppage.py, reducing it by 40%
  • Created unified pagination widget with First/Last buttons and dropdown ellipsis for page ranges
  • Standardized pagination variables across all tables (page, total_pages, total_count, etc.)
  • Added breadcrumb widget for consistent navigation
  • Consolidated CSS styling into shared template parts
  • Fixed alternative ID search and radio button logic in component tables
Edited by Giordon Holtsberg Stark

Merge request reports

Loading