mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: improve UI
This commit is contained in:
@@ -27,8 +27,7 @@ export const AddNode = () => {
|
||||
<DialogTitle>Add Node</DialogTitle>
|
||||
<DialogDescription className="flex flex-col gap-2">
|
||||
Follow the steps to add a new node to your cluster, before you start
|
||||
working with this feature, you need to understand how docker swarm
|
||||
works.{" "}
|
||||
using this feature, you need to understand how docker swarm works.{" "}
|
||||
<Link
|
||||
href="https://docs.docker.com/engine/swarm/"
|
||||
target="_blank"
|
||||
|
||||
@@ -52,16 +52,16 @@ export const ShowRegistry = () => {
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-1 gap-6">
|
||||
{data?.map((registry, index) => (
|
||||
<div
|
||||
key={registry.registryId}
|
||||
className="flex items-center justify-between border p-4 rounded-lg hover:bg-muted cursor-pointer"
|
||||
className="flex items-center justify-between border p-4 rounded-lg"
|
||||
>
|
||||
<span className="text-sm text-muted-foreground">
|
||||
{index + 1}. {registry.registryName}
|
||||
</span>
|
||||
<div className="flex flex-row gap-3">
|
||||
<div className="flex flex-row gap-1">
|
||||
<UpdateDockerRegistry registryId={registry.registryId} />
|
||||
<DeleteRegistry registryId={registry.registryId} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user