+
{intl.formatMessage({ id: "gateways.title" })}
@@ -279,8 +252,25 @@ export function Gateways() {
+ {isLoading && (
+
+
+
+ {intl.formatMessage({ id: "gateways.loadingVirtualServers" })}
+
+
+ )}
+
{error && (
-
+
{intl.formatMessage({ id: "gateways.errorLoadingVirtualServers" })}
@@ -288,12 +278,10 @@ export function Gateways() {
)}
-
- {canCreateServer &&
navigate(CREATE_SERVER_PATH)} />}
- {layoutServers.map((server) => {
- const hasComponents = hasVirtualServerComponents(server);
-
- return (
+ {!isLoading && (
+
+ {canCreateServer && navigate(CREATE_SERVER_PATH)} />}
+ {servers.map((server) => (
- );
- })}
-
+ ))}
+
+ )}
{detailsServerId && (
{group.label}
@@ -168,7 +168,7 @@ function PromptGroupCard({
: "prompts.details.status.inactive",
})}
className={`mr-1 inline-block h-1.5 w-1.5 flex-shrink-0 rounded-full ${
- enabled ? "bg-emerald-400" : "bg-gray-400"
+ enabled ? "bg-tool-status-active" : "bg-tool-status-inactive"
}`}
/>
{getPromptLabel(prompt)}
@@ -221,13 +221,13 @@ function AddPromptsCard({
-
+
{intl.formatMessage({ id: "prompts.add.title" })}
-
+
{intl.formatMessage({ id: "prompts.add.description" })}
@@ -502,7 +502,7 @@ export function Prompts() {
/>
) : (
<>
-
+
{intl.formatMessage({ id: "prompts.title" })}
@@ -514,7 +514,7 @@ export function Prompts() {
className="flex items-center justify-center p-12"
>
{intl.formatMessage({ id: "prompts.loading" })}
-
+
) : (
<>
diff --git a/src/pages/Resources.tsx b/src/pages/Resources.tsx
index 391d2da..1f9ed0d 100644
--- a/src/pages/Resources.tsx
+++ b/src/pages/Resources.tsx
@@ -98,11 +98,11 @@ const ResourceGroupCard = memo(function ResourceGroupCard({