This commit is contained in:
Jan K9f 2025-06-20 14:17:08 +02:00
commit 28c0420354
Signed by: jank
GPG key ID: 22BEAC760B3333D6
39 changed files with 9664 additions and 0 deletions

View file

@ -0,0 +1,31 @@
<p>todo-table works!</p>
<table>
<thead>
<tr>
<td>Done</td>
<td>Name</td>
<td>Due</td>
<td>Actions</td>
</tr>
</thead>
<tbody>
@for (task of tasks.value(); track task.id) {
<tr>
<td>
<input
(change)="toggleTaskDoneStatus(task)"
type="checkbox"
name=""
[checked]="task.done"
/>
</td>
<td>{{task.title}}</td>
<td>{{task.dueDate}}</td>
<td>
<button (click)="editTask(task)">Edit</button
><button (click)="deleteTask(task)">Delete</button>
</td>
</tr>
}
</tbody>
</table>