mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: make bg transparent
This commit is contained in:
@@ -94,6 +94,8 @@ export default function SwarmMonitorCard() {
|
|||||||
return <CheckCircle className="h-4 w-4 text-green-500" />;
|
return <CheckCircle className="h-4 w-4 text-green-500" />;
|
||||||
case "Down":
|
case "Down":
|
||||||
return <AlertCircle className="h-4 w-4 text-red-500" />;
|
return <AlertCircle className="h-4 w-4 text-red-500" />;
|
||||||
|
case "Disconnected":
|
||||||
|
return <AlertCircle className="h-4 w-4 text-red-800" />;
|
||||||
default:
|
default:
|
||||||
return <HelpCircle className="h-4 w-4 text-yellow-500" />;
|
return <HelpCircle className="h-4 w-4 text-yellow-500" />;
|
||||||
}
|
}
|
||||||
@@ -101,7 +103,7 @@ export default function SwarmMonitorCard() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full max-w-7xl mx-auto">
|
<div className="w-full max-w-7xl mx-auto">
|
||||||
<Card className="mb-6">
|
<Card className="mb-6 bg-transparent">
|
||||||
<CardHeader className="flex flex-row items-center justify-between">
|
<CardHeader className="flex flex-row items-center justify-between">
|
||||||
<CardTitle className="flex items-center gap-2">
|
<CardTitle className="flex items-center gap-2">
|
||||||
<Server className="h-6 w-6" />
|
<Server className="h-6 w-6" />
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export function NodeCard({ node }: NodeCardProps) {
|
|||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
return (
|
return (
|
||||||
<Card className="w-full">
|
<Card className="w-full bg-transparent">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="flex items-center justify-between">
|
<CardTitle className="flex items-center justify-between">
|
||||||
<span className="flex items-center gap-2">
|
<span className="flex items-center gap-2">
|
||||||
@@ -79,7 +79,7 @@ export function NodeCard({ node }: NodeCardProps) {
|
|||||||
|
|
||||||
console.log(data);
|
console.log(data);
|
||||||
return (
|
return (
|
||||||
<Card className="w-full">
|
<Card className="w-full bg-transparent">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="flex items-center justify-between">
|
<CardTitle className="flex items-center justify-between">
|
||||||
<span className="flex items-center gap-2">
|
<span className="flex items-center gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user