From 7775c4fc3aefd0a67dabada180e14a820828a0b2 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:31:12 -0400 Subject: [PATCH] Redesign admin dashboard with sidebar layout, planner overhaul, and readability fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace horizontal top-nav with a dark sidebar (grouped: People / Academics / Tools) - Add Dashboard landing page with kid stat cards, today's schedule, and recent scores - Add /api/admin/schedule and /api/admin/recent-scores endpoints for dashboard data - Add Lock button and mobile sidebar toggle in top bar - Redesign planner toolbar: two-section layout (nav left, actions right) - Elevate auto-schedule out of hidden accordion into always-visible inline bar - Richer planner task cards: course color stripe, course name label, completion counter per day - Dashed "οΌ‹ Add task" empty state instead of plain dash - Fix nav-pill CSS conflict: student tabs (light bg) now use dark text; admin sidebar keeps white text - Add seed.js demo data script for two students (Emma and Liam) Co-Authored-By: Claude Sonnet 4.6 --- public/admin.html | 135 +++++--- public/admin.js | 176 +++++++++-- public/styles.css | 459 +++++++++++++++++++++++----- seed.js | 761 ++++++++++++++++++++++++++++++++++++++++++++++ server.js | 18 ++ 5 files changed, 1423 insertions(+), 126 deletions(-) create mode 100644 seed.js diff --git a/public/admin.html b/public/admin.html index d5bc259..5faa962 100644 --- a/public/admin.html +++ b/public/admin.html @@ -21,25 +21,80 @@ +