mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update styles
This commit is contained in:
@@ -98,8 +98,12 @@ export const ShowDomains = ({ applicationId }: Props) => {
|
|||||||
applicationId={applicationId}
|
applicationId={applicationId}
|
||||||
domainId={item.domainId}
|
domainId={item.domainId}
|
||||||
>
|
>
|
||||||
<Button variant="ghost">
|
<Button
|
||||||
<PenBoxIcon className="size-4 text-muted-foreground" />
|
variant="ghost"
|
||||||
|
size="icon"
|
||||||
|
className="group hover:bg-blue-500/10 "
|
||||||
|
>
|
||||||
|
<PenBoxIcon className="size-3.5 text-primary group-hover:text-blue-500" />
|
||||||
</Button>
|
</Button>
|
||||||
</AddDomain>
|
</AddDomain>
|
||||||
<DialogAction
|
<DialogAction
|
||||||
|
|||||||
@@ -22,13 +22,13 @@ import { Input } from "@/components/ui/input";
|
|||||||
import { api } from "@/utils/api";
|
import { api } from "@/utils/api";
|
||||||
import type { ServiceType } from "@dokploy/server/db/schema";
|
import type { ServiceType } from "@dokploy/server/db/schema";
|
||||||
import { zodResolver } from "@hookform/resolvers/zod";
|
import { zodResolver } from "@hookform/resolvers/zod";
|
||||||
|
import copy from "copy-to-clipboard";
|
||||||
import { Copy, Trash2 } from "lucide-react";
|
import { Copy, Trash2 } from "lucide-react";
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { useForm } from "react-hook-form";
|
import { useForm } from "react-hook-form";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import copy from "copy-to-clipboard";
|
|
||||||
|
|
||||||
const deleteComposeSchema = z.object({
|
const deleteComposeSchema = z.object({
|
||||||
projectName: z.string().min(1, {
|
projectName: z.string().min(1, {
|
||||||
|
|||||||
@@ -97,8 +97,12 @@ export const ShowDomainsCompose = ({ composeId }: Props) => {
|
|||||||
composeId={composeId}
|
composeId={composeId}
|
||||||
domainId={item.domainId}
|
domainId={item.domainId}
|
||||||
>
|
>
|
||||||
<Button variant="ghost">
|
<Button
|
||||||
<PenBoxIcon className="size-4 text-muted-foreground" />
|
variant="ghost"
|
||||||
|
size="icon"
|
||||||
|
className="group hover:bg-blue-500/10 "
|
||||||
|
>
|
||||||
|
<PenBoxIcon className="size-3.5 text-primary group-hover:text-blue-500" />
|
||||||
</Button>
|
</Button>
|
||||||
</AddDomainCompose>
|
</AddDomainCompose>
|
||||||
<DialogAction
|
<DialogAction
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ const MENU: Menu = {
|
|||||||
settings: [
|
settings: [
|
||||||
{
|
{
|
||||||
isSingle: true,
|
isSingle: true,
|
||||||
title: "Server",
|
title: "Web Server",
|
||||||
url: "/dashboard/settings/server",
|
url: "/dashboard/settings/server",
|
||||||
icon: Activity,
|
icon: Activity,
|
||||||
// Only enabled for admins in non-cloud environments
|
// Only enabled for admins in non-cloud environments
|
||||||
@@ -262,7 +262,7 @@ const MENU: Menu = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
isSingle: true,
|
isSingle: true,
|
||||||
title: "Servers",
|
title: "Remote Servers",
|
||||||
url: "/dashboard/settings/servers",
|
url: "/dashboard/settings/servers",
|
||||||
icon: Server,
|
icon: Server,
|
||||||
// Only enabled for admins
|
// Only enabled for admins
|
||||||
|
|||||||
Reference in New Issue
Block a user