summaryrefslogtreecommitdiff
path: root/web/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/index.html')
-rw-r--r--web/templates/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/templates/index.html b/web/templates/index.html
index 050f0bf..a5a7f38 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -56,6 +56,22 @@
onclick="setActiveTab(this)">
🍽️ Meals
</button>
+ <button
+ class="tab-button {{if eq .ActiveTab "timeline"}}tab-button-active{{end}}"
+ hx-get="/tabs/timeline"
+ hx-target="#tab-content"
+ hx-push-url="?tab=timeline"
+ onclick="setActiveTab(this)">
+ 📅 Timeline
+ </button>
+ <button
+ class="tab-button {{if eq .ActiveTab "shopping"}}tab-button-active{{end}}"
+ hx-get="/tabs/shopping"
+ hx-target="#tab-content"
+ hx-push-url="?tab=shopping"
+ onclick="setActiveTab(this)">
+ 🛒 Shopping
+ </button>
</nav>
</div>