Files
xamxam/TODO.md

1.1 KiB

TODO

Completed

  • Merge public and admin head/nav templates into unified templates/head.php and templates/header.php
    • templates/head.php — outputs <!DOCTYPE html>…</head><body class="…">, reads $bodyClass, $isAdmin; handles admin title suffix, admin.css prepend, and OG tag suppression internally
    • templates/header.php — outputs <header>…</header> with public nav + search bar or admin nav depending on $isAdmin
    • Deleted: templates/public/head.php, templates/admin/head.php, templates/nav.php, templates/admin/nav.php
    • All 11 admin pages and 5 public pages updated to set $bodyClass / $isAdmin and include new templates
  • Replace nav/header BEM custom classes with semantic HTML targeting in CSS
    • common.css: .site-navheader nav, .site-nav__logoheader nav > a, etc.
    • admin.css: .admin-nav.admin-body header nav, logout via [data-nav-logout] attribute
  • PHP vs Flask architecture analysis (ANALYSIS_PHP_VS_FLASK.md)
  • Refactoring recommendations for controller/template separation (REFACTORING_RECOMMENDATIONS.md)