mirror of
https://github.com/openziti/zrok.git
synced 2025-02-16 18:20:51 +01:00
polish/org
This commit is contained in:
parent
bd8ca333f7
commit
918fa06ca0
@ -1,4 +1,4 @@
|
||||
import AccountDetail from "./AccountDetail";
|
||||
import AccountDetail from "./account/AccountDetail";
|
||||
import ShareDetail from "./share/ShareDetail";
|
||||
import EnvironmentDetail from "./environment/EnvironmentDetail";
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
import {mdiCardAccountDetails, mdiEyeOutline, mdiEyeOffOutline} from "@mdi/js";
|
||||
import Icon from "@mdi/react";
|
||||
import PropertyTable from "../PropertyTable";
|
||||
import PropertyTable from "../../PropertyTable";
|
||||
import {Tab, Tabs} from "react-bootstrap";
|
||||
import {useState} from "react";
|
||||
import {secretString} from "./util";
|
||||
import {secretString} from "../../Utils";
|
||||
|
||||
const AccountDetail = (props) => {
|
||||
const [showToken, setShowToken] = useState(false);
|
@ -1,7 +1,7 @@
|
||||
import PropertyTable from "../../PropertyTable";
|
||||
import Icon from "@mdi/react";
|
||||
import {mdiEyeOffOutline, mdiEyeOutline} from "@mdi/js";
|
||||
import {secretString} from "../util";
|
||||
import {secretString} from "../../Utils";
|
||||
import {useState} from "react";
|
||||
|
||||
const DetailTab = (props) => {
|
||||
|
@ -5,7 +5,7 @@ import {mdiEyeOffOutline, mdiEyeOutline, mdiShareVariant} from "@mdi/js";
|
||||
import Icon from "@mdi/react";
|
||||
import PropertyTable from "../../PropertyTable";
|
||||
import {Tab, Tabs} from "react-bootstrap";
|
||||
import {secretString} from "../util";
|
||||
import {secretString} from "../../Utils";
|
||||
import ActionsTab from "./ActionsTab";
|
||||
|
||||
const ShareDetail = (props) => {
|
||||
@ -38,11 +38,15 @@ const ShareDetail = (props) => {
|
||||
}, [props.selection]);
|
||||
|
||||
const customProperties = {
|
||||
metrics: row => <Sparklines data={row.value} limit={60} height={10}>
|
||||
<SparklinesLine color={"#3b2693"}/>
|
||||
<SparklinesSpots/>
|
||||
</Sparklines>,
|
||||
frontendEndpoint: row => <a href={row.value} target="_">{row.value}</a>,
|
||||
metrics: row => (
|
||||
<Sparklines data={row.value} limit={60} height={10}>
|
||||
<SparklinesLine color={"#3b2693"}/>
|
||||
<SparklinesSpots/>
|
||||
</Sparklines>
|
||||
),
|
||||
frontendEndpoint: row => (
|
||||
<a href={row.value} target="_">{row.value}</a>
|
||||
),
|
||||
backendProxyEndpoint: row => {
|
||||
if(row.value.startsWith("http://") || row.value.startsWith("https://")) {
|
||||
return <a href={row.value} target="_">{row.value}</a>;
|
||||
|
Loading…
Reference in New Issue
Block a user