diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-08-24 06:20:52 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-08-24 06:20:52 +0000 |
| commit | 5c659d9046add8c77bd7699961a910505dcb4bc2 (patch) | |
| tree | 8bde9a62d98d2a21f030d4c6cbd3ceecb9a7adf8 /web/templates/partials/plantoeat-meals.html | |
| parent | c46c135f52090a082660cb06131282796f5cd592 (diff) | |
From the sitemap audit: /tabs/meals (same dead-tab pattern as the
removed /tabs/conditions, only reachable via ?tab=meals with no nav
button), /partials/lists (superseded by inline .Lists rendering in
trello-board.html), /shopping/toggle and /shopping/mode/{store}/toggle
(superseded by the one-way complete/filter model), plus the orphaned
trello-boards.html and error-banner.html templates that nothing
rendered or included. Rewrote the meals grouping test to exercise
groupMeals() directly since that logic is still live via the timeline.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GMEkHeqKz6FLkmizowBTK
Diffstat (limited to 'web/templates/partials/plantoeat-meals.html')
| -rw-r--r-- | web/templates/partials/plantoeat-meals.html | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/web/templates/partials/plantoeat-meals.html b/web/templates/partials/plantoeat-meals.html deleted file mode 100644 index f05c98c..0000000 --- a/web/templates/partials/plantoeat-meals.html +++ /dev/null @@ -1,35 +0,0 @@ -{{define "plantoeat-meals"}} -<section class="card text-shadow-sm"> - <!-- Section Header with Brand Color --> - <div class="flex items-center gap-3 mb-6"> - <div class="w-1 h-8 bg-plantoeat rounded"></div> - <h2 class="text-2xl font-light text-white tracking-wide">Upcoming Meals</h2> - </div> - - {{if .Meals}} - <div class="space-y-3"> - {{range .Meals}} - <div class="border-l-4 border-plantoeat bg-black/30 pl-4 py-3 rounded-r-lg hover:bg-black/40 transition-colors"> - <p class="font-medium text-white">{{range $i, $name := .RecipeNames}}{{if $i}} + {{end}}{{$name}}{{end}}</p> - <div class="flex justify-between items-center mt-2"> - <span class="text-sm text-white/60">{{.Date.Format "Mon, Jan 2"}}</span> - <span class="badge bg-green-900/50 text-green-300 capitalize"> - {{.MealType}} - </span> - </div> - </div> - {{end}} - </div> - {{else}} - <div class="text-center py-16"> - <svg class="mx-auto h-12 w-12 text-white/30" fill="none" stroke="currentColor" viewBox="0 0 24 24"> - <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 21v-4m0 0V5a2 2 0 012-2h6.5l1 1H21l-3 6 3 6h-8.5l-1-1H5a2 2 0 00-2 2zm9-13.5V9" /> - </svg> - <h3 class="mt-4 text-lg font-medium text-white">No meals planned</h3> - <p class="mt-2 text-sm text-white/50"> - Schedule your meals to see them here. - </p> - </div> - {{end}} -</section> -{{end}} |
