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.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/web/templates/index.html b/web/templates/index.html
index b544ec3..b545a6e 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -61,8 +61,13 @@
</div>
<!-- Tab Content -->
- <div id="tab-content">
- {{template "tasks-tab" .}}
+ <div id="tab-content"
+ hx-get="/tabs/tasks"
+ hx-trigger="load"
+ hx-swap="innerHTML">
+ <div class="text-center py-8">
+ <div class="inline-block animate-pulse text-gray-600">Loading...</div>
+ </div>
</div>
</div>