mirror of
https://github.com/openziti/zrok.git
synced 2025-01-24 06:48:56 +01:00
little ui details
This commit is contained in:
parent
e0541ad094
commit
1c2cfe710a
@ -33,21 +33,24 @@ const EnvironmentDetail = (props) => {
|
|||||||
{
|
{
|
||||||
name: "Frontend",
|
name: "Frontend",
|
||||||
selector: row => <a href={row.frontendEndpoint} target={"_"}>{row.frontendEndpoint}</a>,
|
selector: row => <a href={row.frontendEndpoint} target={"_"}>{row.frontendEndpoint}</a>,
|
||||||
sortable: true
|
sortable: true,
|
||||||
|
hide: "md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Backend",
|
name: "Backend",
|
||||||
selector: row => row.backendProxyEndpoint,
|
selector: row => row.backendProxyEndpoint,
|
||||||
sortable: true
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Share Mode",
|
name: "Share Mode",
|
||||||
selector: row => row.shareMode,
|
selector: row => row.shareMode,
|
||||||
|
hide: "md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Token",
|
name: "Token",
|
||||||
selector: row => row.token,
|
selector: row => row.token,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
|
hide: "md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Activity",
|
name: "Activity",
|
||||||
|
@ -24,7 +24,8 @@ export const mergeGraph = (oldGraph, user, newOverview) => {
|
|||||||
let accountNode = {
|
let accountNode = {
|
||||||
id: user.token,
|
id: user.token,
|
||||||
label: user.email,
|
label: user.email,
|
||||||
type: "account"
|
type: "account",
|
||||||
|
val: 50
|
||||||
}
|
}
|
||||||
newGraph.nodes.push(accountNode);
|
newGraph.nodes.push(accountNode);
|
||||||
|
|
||||||
@ -32,7 +33,8 @@ export const mergeGraph = (oldGraph, user, newOverview) => {
|
|||||||
let envNode = {
|
let envNode = {
|
||||||
id: env.environment.zId,
|
id: env.environment.zId,
|
||||||
label: env.environment.description,
|
label: env.environment.description,
|
||||||
type: "environment"
|
type: "environment",
|
||||||
|
val: 50
|
||||||
};
|
};
|
||||||
newGraph.nodes.push(envNode);
|
newGraph.nodes.push(envNode);
|
||||||
newGraph.links.push({
|
newGraph.links.push({
|
||||||
@ -50,7 +52,7 @@ export const mergeGraph = (oldGraph, user, newOverview) => {
|
|||||||
id: svc.token,
|
id: svc.token,
|
||||||
label: svcLabel,
|
label: svcLabel,
|
||||||
type: "service",
|
type: "service",
|
||||||
val: 10
|
val: 50
|
||||||
};
|
};
|
||||||
newGraph.nodes.push(svcNode);
|
newGraph.nodes.push(svcNode);
|
||||||
newGraph.links.push({
|
newGraph.links.push({
|
||||||
|
@ -53,6 +53,10 @@ code, pre {
|
|||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rdt_TableRow {
|
||||||
|
font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#zrok-enable {
|
#zrok-enable {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user