From cc69b3ebb6d499dfc7e226f7ce040955ea6f1070 Mon Sep 17 00:00:00 2001 From: Bastian Wagner Date: Sun, 16 Aug 2026 13:14:08 +0200 Subject: [PATCH] Extract dashboard row and sync-all form into reusable partials These render the initial dashboard page today and will also be rendered standalone by the sync routes in the next commits, so the same markup drives both the full page and the post-sync response. Co-Authored-By: Claude Sonnet 5 --- app/web/templates/dashboard.html | 28 ++----------------- .../templates/fragments/sync_all_form.html | 5 ++++ app/web/templates/fragments/toast.html | 3 ++ app/web/templates/fragments/user_row.html | 24 ++++++++++++++++ 4 files changed, 34 insertions(+), 26 deletions(-) create mode 100644 app/web/templates/fragments/sync_all_form.html create mode 100644 app/web/templates/fragments/toast.html create mode 100644 app/web/templates/fragments/user_row.html diff --git a/app/web/templates/dashboard.html b/app/web/templates/dashboard.html index 53e116c..a61bfd2 100644 --- a/app/web/templates/dashboard.html +++ b/app/web/templates/dashboard.html @@ -27,36 +27,12 @@
Add user -
- - -
+ {% include "fragments/sync_all_form.html" %}