mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
always tabs; always blue (#141)
This commit is contained in:
parent
5d27c608a3
commit
67dabbf73a
@ -1,12 +1,17 @@
|
||||
import {mdiCardAccountDetails} from "@mdi/js";
|
||||
import Icon from "@mdi/react";
|
||||
import PropertyTable from "../PropertyTable";
|
||||
import {Tab, Tabs} from "react-bootstrap";
|
||||
|
||||
const AccountDetail = (props) => {
|
||||
return (
|
||||
<div>
|
||||
<h2><Icon path={mdiCardAccountDetails} size={2} />{" "}{props.user.email}</h2>
|
||||
<PropertyTable object={props.user} />
|
||||
<Tabs defaultActiveKey={"detail"}>
|
||||
<Tab eventKey={"detail"} title={"Detail"}>
|
||||
<PropertyTable object={props.user} />
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ import {useEffect, useState} from "react";
|
||||
import {mdiShareVariant} from "@mdi/js";
|
||||
import Icon from "@mdi/react";
|
||||
import PropertyTable from "../PropertyTable";
|
||||
import {Tab, Tabs} from "react-bootstrap";
|
||||
|
||||
const ShareDetail = (props) => {
|
||||
const [detail, setDetail] = useState({});
|
||||
@ -40,7 +41,11 @@ const ShareDetail = (props) => {
|
||||
return (
|
||||
<div>
|
||||
<h2><Icon path={mdiShareVariant} size={2} />{" "}{detail.backendProxyEndpoint}</h2>
|
||||
<PropertyTable object={detail} custom={customProperties} />
|
||||
<Tabs defaultActiveKey={"detail"}>
|
||||
<Tab eventKey={"detail"} title={"Detail"}>
|
||||
<PropertyTable object={detail} custom={customProperties} />
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user