Now this is a TODO APP !!!

This commit is contained in:
Simple_Not
2023-07-01 22:41:34 +10:00
parent 10d557df12
commit da15b454cd
5 changed files with 502 additions and 14 deletions

View File

@@ -1,20 +1,20 @@
{% extends "base.html" %}
{% block content %}
{% block content %}
<div class="w-small w-2/3 mx-auto py-10 text-gray-600">
<input
type="text"
name="search"
hx-post="/search"
hx-trigger="keyup changed delay:250ms"
hx-indicator=".htmx-indicator"
hx-target="#todo-results"
placeholder="Search"
class="bg-white h-10 px-5 pr-10 rounded-full text-2xl focus:outline-none"
>
<span class="htmx-indicator">Searching...</span>
<input
type="text"
name="search"
hx-post="/search"
hx-trigger="keyup changed delay:250ms"
hx-indicator=".htmx-indicator"
hx-target="#todo-results"
placeholder="Search"
class="bg-white h-10 px-5 pr-10 rounded-full text-2xl focus:outline-none"
>
<span class="htmx-indicator">Searching...</span>
</div>
suppss
suppss
<table class="border-collapse w-small w-2/3 mx-auto">
@@ -26,7 +26,7 @@
</tr>
</thead>
<tbody id="todo-results">
{% include 'todo.html' %}
</tbody>
</table>
{% endblock content %}