mirror of
https://github.com/TurTaskProject/TurTaskWeb.git
synced 2025-12-19 05:54:07 +01:00
Update table view
This commit is contained in:
parent
243e43dbcc
commit
f981490a9d
@ -51,11 +51,7 @@ export function TableBoard() {
|
|||||||
{/* head */}
|
{/* head */}
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th></th>
|
||||||
<label>
|
|
||||||
<input type="checkbox" className="checkbox" />
|
|
||||||
</label>
|
|
||||||
</th>
|
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
<th>Priority</th>
|
<th>Priority</th>
|
||||||
@ -67,9 +63,7 @@ export function TableBoard() {
|
|||||||
{tasks.map((task, index) => (
|
{tasks.map((task, index) => (
|
||||||
<tr key={index}>
|
<tr key={index}>
|
||||||
<th>
|
<th>
|
||||||
<label>
|
<label></label>
|
||||||
<input type="checkbox" className="checkbox" />
|
|
||||||
</label>
|
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-3">
|
||||||
@ -86,9 +80,7 @@ export function TableBoard() {
|
|||||||
</td>
|
</td>
|
||||||
<td>{task.priority}</td>
|
<td>{task.priority}</td>
|
||||||
<th>
|
<th>
|
||||||
<button className="btn btn-ghost btn-xs">
|
<button className="btn btn-ghost btn-xs">{task.end_event}</button>
|
||||||
{task.end_event}
|
|
||||||
</button>
|
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user