From 0dac9f4f3482610e5a7fb754f0ac96fa6fe5b630 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Tue, 3 Jan 2023 11:36:31 -0500 Subject: [PATCH] detail card details (#141) --- ui/src/console/detail/AccountDetail.js | 5 ++++- ui/src/console/detail/EnvironmentDetail.js | 4 +++- ui/src/console/detail/ServiceDetail.js | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ui/src/console/detail/AccountDetail.js b/ui/src/console/detail/AccountDetail.js index 4da788e9..230d950f 100644 --- a/ui/src/console/detail/AccountDetail.js +++ b/ui/src/console/detail/AccountDetail.js @@ -1,7 +1,10 @@ +import {mdiCardAccountDetails} from "@mdi/js"; +import Icon from "@mdi/react"; + const AccountDetail = (props) => { return (
-

Your Account: {props.user.email}

+

{" "}{props.user.email}

); } diff --git a/ui/src/console/detail/EnvironmentDetail.js b/ui/src/console/detail/EnvironmentDetail.js index 16df2286..151654e3 100644 --- a/ui/src/console/detail/EnvironmentDetail.js +++ b/ui/src/console/detail/EnvironmentDetail.js @@ -2,6 +2,8 @@ import * as metadata from "../../api/metadata"; import {useEffect, useState} from "react"; import DataTable from 'react-data-table-component'; import {Sparklines, SparklinesLine, SparklinesSpots} from "react-sparklines"; +import {mdiConsoleNetwork} from "@mdi/js"; +import Icon from "@mdi/react"; const EnvironmentDetail = (props) => { const [detail, setDetail] = useState({}); @@ -64,7 +66,7 @@ const EnvironmentDetail = (props) => { if(detail.environment) { return (
-

Environment: {detail.environment.description} ({detail.environment.zId})

+

{" "}{detail.environment.description}

{ const [detail, setDetail] = useState({}); @@ -29,7 +31,7 @@ const ServiceDetail = (props) => { if(detail) { return (
-

Service: {detail.token}

+

{" "}{detail.backendProxyEndpoint}