summaryrefslogtreecommitdiff
path: root/web/templates/partials/tasks-tab.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/partials/tasks-tab.html')
-rw-r--r--web/templates/partials/tasks-tab.html33
1 files changed, 0 insertions, 33 deletions
diff --git a/web/templates/partials/tasks-tab.html b/web/templates/partials/tasks-tab.html
index 520bf0d..04c20da 100644
--- a/web/templates/partials/tasks-tab.html
+++ b/web/templates/partials/tasks-tab.html
@@ -5,39 +5,6 @@
hx-target="#tab-content"
hx-swap="innerHTML">
- <!-- Quick Add Form (Todoist) -->
- {{if .Projects}}
- <details class="mb-6">
- <summary class="cursor-pointer text-sm text-white/70 hover:text-white font-medium transition-colors mb-2">
- + Quick Add Todoist Task
- </summary>
- <form hx-post="/tasks"
- hx-target="#tab-content"
- hx-swap="innerHTML"
- class="mt-3 space-y-3 bg-black/30 p-4 rounded-lg border border-white/10 max-w-md">
-
- <input type="text"
- name="content"
- placeholder="Task content"
- required
- class="w-full px-3 py-2 bg-black/40 border border-white/20 rounded-lg text-sm text-white placeholder-white/50 focus:ring-2 focus:ring-white/30 focus:border-transparent">
-
- <select name="project_id"
- class="w-full px-3 py-2 bg-black/40 border border-white/20 rounded-lg text-sm text-white focus:ring-2 focus:ring-white/30 focus:border-transparent">
- <option value="">Select project (optional)...</option>
- {{range .Projects}}
- <option value="{{.ID}}">{{.Name}}</option>
- {{end}}
- </select>
-
- <button type="submit"
- class="w-full bg-white/10 hover:bg-white/20 text-white px-4 py-2 rounded-lg text-sm font-medium transition-colors border border-white/10">
- Add Task
- </button>
- </form>
- </details>
- {{end}}
-
<!-- Tasks List -->
{{if .Atoms}}
<div class="grid gap-3 sm:grid-cols-2 lg:grid-cols-3">