latest changes
This commit is contained in:
@@ -12,7 +12,9 @@
|
||||
hx-post="{{ path('app_braindump_dump') }}"
|
||||
hx-target="#tasks-result"
|
||||
hx-swap="innerHTML"
|
||||
>
|
||||
hx-indicator="#thinking"
|
||||
hx-disabled-elt="this"
|
||||
>
|
||||
|
||||
<input
|
||||
type="hidden"
|
||||
@@ -34,12 +36,28 @@
|
||||
></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit">
|
||||
✨ Suggest tasks
|
||||
</button>
|
||||
<button type="submit">
|
||||
<span class="material-symbols-outlined">robot_2</span>
|
||||
Suggest tasks
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
<span
|
||||
id="thinking"
|
||||
class="htmx-indicator"
|
||||
aria-live="polite"
|
||||
>
|
||||
<span class="material-symbols-outlined spinner">progress_activity</span>
|
||||
Thinking…
|
||||
</span> <span
|
||||
id="request-failed"
|
||||
class="request-failed"
|
||||
aria-live="assertive"
|
||||
hidden
|
||||
>
|
||||
<span class="material-symbols-outlined">error</span>
|
||||
Something went wrong
|
||||
</span>
|
||||
<div id="tasks-result" class="task-result">
|
||||
{# HTMX will put the proposed tasks here #}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user