Create Topology Metrics Source Type to be in each Card

pull/10002/head
kenia 2021-04-08 15:15:19 -04:00
parent e9d01a3d4c
commit fc40212823
4 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,6 @@
<span
class="topology-metrics-source-type"
{{tooltip (t "components.consul.topology-metrics.source-type.tooltip")}}
>
{{t "components.consul.topology-metrics.source-type.text"}}
</span>

View File

@ -0,0 +1,4 @@
.topology-metrics-source-type {
margin: 6px 0 6px 12px;
display: table;
}

View File

@ -79,6 +79,8 @@
@import 'consul-ui/components/role-selector'; @import 'consul-ui/components/role-selector';
@import 'consul-ui/components/topology-metrics'; @import 'consul-ui/components/topology-metrics';
@import 'consul-ui/components/topology-metrics/card';
@import 'consul-ui/components/topology-metrics/source-type';
@import 'consul-ui/components/topology-metrics/popover'; @import 'consul-ui/components/topology-metrics/popover';
@import 'consul-ui/components/topology-metrics/series'; @import 'consul-ui/components/topology-metrics/series';
@import 'consul-ui/components/topology-metrics/stats'; @import 'consul-ui/components/topology-metrics/stats';

View File

@ -1,7 +1,8 @@
span.policy-service-identity, span.policy-service-identity,
span.policy-node-identity, span.policy-node-identity,
.leader, .leader,
.consul-auth-method-type { .consul-auth-method-type,
.topology-metrics-source-type {
@extend %pill-200, %frame-gray-600; @extend %pill-200, %frame-gray-600;
} }
span.policy-service-identity::before, span.policy-service-identity::before,