refactor: Update layout of task template actions for improved alignment and usability
This commit is contained in:
@@ -89,20 +89,12 @@ export default function TaskTemplatesPage() {
|
|||||||
{template.description}
|
{template.description}
|
||||||
</p>
|
</p>
|
||||||
)}{" "}
|
)}{" "}
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-end">
|
||||||
<span className="text-xs text-gray-500">
|
|
||||||
Template ID: {template.task_id}
|
|
||||||
</span>
|
|
||||||
<div className="flex space-x-2">
|
|
||||||
<Link href={`/tasks/templates/${template.task_id}/edit`}>
|
<Link href={`/tasks/templates/${template.task_id}/edit`}>
|
||||||
<Button variant="outline" size="sm">
|
<Button variant="outline" size="sm">
|
||||||
Edit
|
Edit
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
<Button variant="secondary" size="sm">
|
|
||||||
Duplicate
|
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user