diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 16:54:40 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 16:54:40 -1000 |
| commit | fd2524eacd51f523998734f869b3343441e55b93 (patch) | |
| tree | 91d8f89d591d9b9a9d0d893b4eb4e130a44e223c /web/templates/partials | |
| parent | 42a4e32daca13b518e64e5821080ff3d6adf0e39 (diff) | |
Add day of week to timeline section headings
Section headings now show the day of week for better orientation:
- "Today - Monday"
- "Tomorrow - Tuesday"
- "Wednesday, Jan 29+" (for later items)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'web/templates/partials')
| -rw-r--r-- | web/templates/partials/timeline-tab.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/templates/partials/timeline-tab.html b/web/templates/partials/timeline-tab.html index aeaba40..5f32530 100644 --- a/web/templates/partials/timeline-tab.html +++ b/web/templates/partials/timeline-tab.html @@ -9,7 +9,7 @@ {{if .TodayItems}} <div> <h2 class="text-lg font-semibold mb-3 flex items-center gap-2 text-white/90 sticky top-0 bg-black/20 backdrop-blur-md py-2 z-10 rounded-lg px-2"> - <span>📅</span> Today + <span>📅</span> {{.TodayLabel}} </h2> <div class="space-y-2 relative pl-4 border-l border-white/10 ml-2"> {{range .TodayItems}} @@ -23,7 +23,7 @@ {{if .TomorrowItems}} <details class="group"> <summary class="text-lg font-semibold mb-3 flex items-center gap-2 text-white/70 cursor-pointer hover:text-white/90 sticky top-0 bg-black/20 backdrop-blur-md py-2 z-10 rounded-lg px-2 list-none"> - <span>🗓️</span> Tomorrow + <span>🗓️</span> {{.TomorrowLabel}} <span class="text-sm font-normal text-white/50">({{len .TomorrowItems}} items)</span> <svg class="w-4 h-4 ml-auto transform transition-transform group-open:rotate-180" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path> @@ -41,7 +41,7 @@ {{if .LaterItems}} <details class="group"> <summary class="text-lg font-semibold mb-3 flex items-center gap-2 text-white/60 cursor-pointer hover:text-white/80 sticky top-0 bg-black/20 backdrop-blur-md py-2 z-10 rounded-lg px-2 list-none"> - <span>📆</span> Later + <span>📆</span> {{.LaterLabel}} <span class="text-sm font-normal text-white/40">({{len .LaterItems}} items)</span> <svg class="w-4 h-4 ml-auto transform transition-transform group-open:rotate-180" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path> |
