summaryrefslogtreecommitdiff
path: root/web/templates/partials/planning-tab.html
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-22 15:19:00 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-22 15:19:00 -1000
commit068b04c0004e38a760c463589d45c7cfd090eec8 (patch)
tree33df66a1fcbdf6a522e15bc85ffad07714a1d368 /web/templates/partials/planning-tab.html
parent9dd0bc581b25bb7356d091d3a5560dc0af46c2d9 (diff)
Complete dark translucent theme for all templates
Update all HTML templates to match terst.org styling: - Dark semi-transparent backgrounds (bg-black/60) - White text with opacity variants for hierarchy - Glass effect with backdrop-blur - Dark form inputs with subtle borders - Updated modals and FAB button - Login page with background image Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'web/templates/partials/planning-tab.html')
-rw-r--r--web/templates/partials/planning-tab.html31
1 files changed, 30 insertions, 1 deletions
diff --git a/web/templates/partials/planning-tab.html b/web/templates/partials/planning-tab.html
index f2beda5..17879ff 100644
--- a/web/templates/partials/planning-tab.html
+++ b/web/templates/partials/planning-tab.html
@@ -1,6 +1,35 @@
{{define "planning-tab"}}
<div class="space-y-6">
+ <!-- Google Calendar Events -->
+ {{if .Events}}
+ <div class="bg-white/10 backdrop-blur-sm rounded-xl p-4 shadow-sm border border-white/10">
+ <h2 class="text-xl font-semibold mb-4 flex items-center gap-2 text-shadow-sm">
+ <span>📅</span> Upcoming Events
+ </h2>
+ <div class="grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
+ {{range .Events}}
+ <a href="{{.HTMLLink}}" target="_blank" class="block bg-white/5 hover:bg-white/10 transition-colors rounded-lg p-3 border border-white/5 group">
+ <div class="flex justify-between items-start mb-1">
+ <h3 class="font-medium text-white group-hover:text-primary-300 transition-colors truncate">{{.Summary}}</h3>
+ <span class="text-xs text-white/50 bg-white/10 px-1.5 py-0.5 rounded">{{.Start.Format "Jan 2"}}</span>
+ </div>
+ <div class="text-xs text-white/60 mb-1">
+ {{if eq (.Start.Format "15:04") "00:00"}}
+ All Day
+ {{else}}
+ {{.Start.Format "3:04 PM"}} - {{.End.Format "3:04 PM"}}
+ {{end}}
+ </div>
+ {{if .Description}}
+ <p class="text-xs text-white/40 line-clamp-2">{{.Description}}</p>
+ {{end}}
+ </a>
+ {{end}}
+ </div>
+ </div>
+ {{end}}
+
<!-- Trello Boards Section -->
{{template "trello-boards" .}}
</div>
-{{end}} \ No newline at end of file
+{{end}}