From e1ec8a90c1b69adc6a849e958c2c7cd9a5354529 Mon Sep 17 00:00:00 2001 From: Laux Dev <2201104208@student.buksu.edu.ph> Date: Mon, 16 Mar 2026 10:19:36 +0800 Subject: [PATCH] Fixed --- frontend/src/app/agents/card/Card.jsx | 37 +++++++ .../src/app/agents/card/styles.module.css | 42 ++++++++ frontend/src/app/agents/page.jsx | 96 +++++++++++-------- frontend/src/app/agents/styles.module.css | 39 ++++++++ .../mobileSearchBar/MobileSearchBar.jsx | 13 +++ .../mobileSearchBar/styles.module.css | 28 ++++++ .../app/components/topHeader/TopHeader.jsx | 4 +- .../components/topHeader/styles.module.css | 6 ++ frontend/src/app/credentials/card/Card.jsx | 4 +- frontend/src/app/credentials/page.jsx | 10 +- frontend/src/app/globals.css | 2 +- frontend/src/app/hooks/useIsMobile.jsx | 12 ++- frontend/src/app/organization/card/Card.jsx | 4 +- frontend/src/app/organization/page.jsx | 12 +-- frontend/src/app/projects/page.jsx | 9 +- .../src/app/projects/project-card/Card.jsx | 18 ++-- .../src/app/projects/view/styles.module.css | 1 + 17 files changed, 260 insertions(+), 77 deletions(-) create mode 100644 frontend/src/app/agents/card/Card.jsx create mode 100644 frontend/src/app/agents/card/styles.module.css create mode 100644 frontend/src/app/components/mobileSearchBar/MobileSearchBar.jsx create mode 100644 frontend/src/app/components/mobileSearchBar/styles.module.css diff --git a/frontend/src/app/agents/card/Card.jsx b/frontend/src/app/agents/card/Card.jsx new file mode 100644 index 0000000..83a69c4 --- /dev/null +++ b/frontend/src/app/agents/card/Card.jsx @@ -0,0 +1,37 @@ +import DeleteIcon from "@/app/components/icons/delete"; +import React from "react"; +import styles from "./styles.module.css"; + +const Card = (props) => { + return ( +
Name
+{props?.data?.name}
+Endpoint
+{props?.data?.endPoint}
+Type
+{props?.data?.type}
+Proxy Name
+{props?.data?.proxyName}
+Date Created
+{props?.data?.dateCreated}
+| Name | -Endpoint | -Type | -Proxy Name | -Date Created | + {isMobile ? ( +
|---|
| Name | +Endpoint | +Type | +Proxy Name | +Date Created | -- | + + - - {sampleData.map((org, index) => { - return ( - | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {org.name} | -{org.endPoint} | -
- {org.type}
- |
- {org.proxyName} | -{org.dateCreated} | -
-
-
- {org.name} |
+ {org.endPoint} |
+
+ |
+ {org.type}
+ {org.proxyName} |
+ {org.dateCreated} |
+
+ |
-
+
-
+
+
+
-
-
- |
Manage Env. Key
+ {!isMobile &&Manage Env. Key
}Name
-mongo tls ca crt
+{props?.data?.name}
Organization ID
-67160a5ae69144ff19aafb86
+{props?.data?.organizationId}
Organization Name
-ProjectMoonShot Inc.
+{props?.data?.organizationName}
Date Created
-2024-10-21 08:01:30.556 +0000 UTC
+{props?.data?.dateCreated}
Name
-DOKS One Cooperative Bank Backend Develop
+{props?.data?.name}
CPU Used/Limit
- 13500 /{" "} - 20000 + {props?.data?.cpuUsed} /{" "} + {props?.data?.cpuLimit}
Memory Used/Limit
- 13500 /{" "} - 20000 + {props?.data?.memoryUsed} /{" "} + {props?.data?.memoryLimit}
Storage Used/Limit
- 10000 /{" "} - 1000000 + {props?.data?.storageUsed} /{" "} + {props?.data?.storageLimit}
Date Created
-2025-11-07 01:43:18.313 +0000 UTC
+{props?.data?.dateCreated}