From a220230d0b7a669e00611292185e3e7de279b72e Mon Sep 17 00:00:00 2001 From: Laux Dev <2201104208@student.buksu.edu.ph> Date: Tue, 17 Mar 2026 17:02:41 +0800 Subject: [PATCH 1/2] add --- frontend/src/app/agents/page.jsx | 49 +++--- frontend/src/app/agents/styles.module.css | 11 +- .../src/app/components/icons/hamburger.jsx | 5 +- frontend/src/app/components/navbar/Navbar.jsx | 84 +++++++++- .../navbar/navleft/styles.module.css | 2 +- .../components/navbar/navright/Profile.jsx | 51 +++--- .../navbar/navright/styles.module.css | 10 +- .../app/components/navbar/styles.module.css | 145 +++++++++++++++++- .../src/app/components/sidebar/Sidebar.jsx | 32 ++-- frontend/src/app/globals.css | 2 +- frontend/src/app/hooks/useIsMobile.jsx | 2 +- frontend/src/app/hooks/useNagivation.jsx | 36 +++++ frontend/src/app/organization/page.jsx | 45 +++--- .../src/app/organization/styles.module.css | 9 ++ frontend/src/app/projects/page.jsx | 51 +++--- frontend/src/app/projects/styles.module.css | 9 ++ 16 files changed, 412 insertions(+), 131 deletions(-) create mode 100644 frontend/src/app/hooks/useNagivation.jsx diff --git a/frontend/src/app/agents/page.jsx b/frontend/src/app/agents/page.jsx index cf12780..d5269ea 100644 --- a/frontend/src/app/agents/page.jsx +++ b/frontend/src/app/agents/page.jsx @@ -112,30 +112,32 @@ const AgentsPage = () => { topbarTitle="Agents" requiredButtons={["title", "add", "search"]} /> - {isMobile ? ( -
| Name | -Endpoint | -Type | -Proxy Name | -Date Created | + -- |
|---|
| Name | +Endpoint | +Type | +Proxy Name | +Date Created | -+ + + + + {!isMobile && + sampleData.map((org, index) => { return ( |
|---|---|---|---|---|
Internal Developer Platform
+By Project Moonshot Inc.
+Home
+Organization
+Project
+Users
+Roles
+Credentials
+Agents
+Download ICTL v3
+{data.name}
-{data.role}
-{data.name}
+{data.role}
+| Organization Name | -Date Created | -- |
|---|
| Organization Name | +Date Created | ++ |
|---|---|---|
| {org.organizationName} | @@ -100,10 +100,9 @@ const OrganizationPage = () => {
| Name | -Version | -CPU Used/Limit | -Memory Used/Limit | -Storage Used/Limit | -Date Created | -- |
|---|
| Name | +Version | +CPU Used/Limit | +Memory Used/Limit | +Storage Used/Limit | +Date Created | ++ |
|---|---|---|---|---|---|---|
View Logs
diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css index 73a4924..99ad07d 100644 --- a/frontend/src/app/globals.css +++ b/frontend/src/app/globals.css @@ -16,6 +16,7 @@ html, body { max-width: 100vw; overflow-x: hidden; + font-size: 16px; } body { diff --git a/frontend/src/app/projects/view/AddServicesModal/styles.module.css b/frontend/src/app/projects/view/AddServicesModal/styles.module.css index 19262a9..e6946f3 100644 --- a/frontend/src/app/projects/view/AddServicesModal/styles.module.css +++ b/frontend/src/app/projects/view/AddServicesModal/styles.module.css @@ -8,11 +8,13 @@ display: flex; align-items: center; justify-content: center; + padding: 5px; background-color: #00000037; } .modal { display: inline-flex; padding: 24px 24px 32px 24px; + flex-direction: column; align-items: flex-start; gap: 48px; @@ -70,7 +72,7 @@ } .content { display: flex; - width: 545px; + flex-direction: column; align-items: flex-start; gap: 16px; diff --git a/frontend/src/app/projects/view/[servicesId]/LogsModal/logsModas.jsx b/frontend/src/app/projects/view/[servicesId]/LogsModal/logsModas.jsx new file mode 100644 index 0000000..5563cdd --- /dev/null +++ b/frontend/src/app/projects/view/[servicesId]/LogsModal/logsModas.jsx @@ -0,0 +1,74 @@ +import CloseIcon from "@/app/components/icons/close"; +import React from "react"; +import styles from "./styles.module.css"; + +const LogsModal = (props) => { + return ( +Server Logs: gateway-api
+Connected
+Auto Scroll
+124 Lines
+Environment Variables
-Volumes
-Config Maps
-Environment Variables
-Key
-Value
-No Environment Variables added
-REQUEST_SERVICE_GRPC
-request-service:50053
-Volumes
-Name
-Path
-Size/Type
-Access Mode
-Storage Class
-No volume added
-Config maps
-No config map added
-Project Details
+Settings
Environment Variables
+Volumes
+Config Maps
+Environment Variables
+Key
+Value
+No Environment Variables added
+REQUEST_SERVICE_GRPC
+request-service:50053
+Volumes
+Name
+Path
+Size/Type
+Access Mode
+Storage Class
+No volume added
+Config maps
+No config map added
+