+
diff --git a/ui/packages/consul-ui/app/components/topology-metrics/skin.scss b/ui/packages/consul-ui/app/components/topology-metrics/skin.scss
index 7f52c7e766..12a1f144e1 100644
--- a/ui/packages/consul-ui/app/components/topology-metrics/skin.scss
+++ b/ui/packages/consul-ui/app/components/topology-metrics/skin.scss
@@ -104,24 +104,24 @@
circle {
fill: $white;
}
- #allow-arrow {
+ .allow-arrow {
fill: $gray-300;
stroke-linejoin: round;
}
path,
- #allow-dot,
- #allow-arrow {
+ .allow-dot,
+ .allow-arrow {
stroke: $gray-300;
stroke-width: 2;
}
path[data-permission='deny'] {
stroke: $red-500;
}
- #deny-dot {
+ .deny-dot {
stroke: $red-500;
stroke-width: 2;
}
- #deny-arrow {
+ .deny-arrow {
fill: $red-500;
stroke: $red-500;
stroke-linejoin: round;
diff --git a/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.hbs b/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.hbs
index 43085279f0..cb2bfefb2f 100644
--- a/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.hbs
+++ b/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.hbs
@@ -8,46 +8,76 @@
preserveAspectRatio="none"
>
-
+
-
+
-
+
-
+
{{#each @lines as |line|}}
{{#if (eq line.permission 'deny')}}
{{else}}
{{/if}}
@@ -59,7 +89,7 @@
{{#if (or (not item.Intention.Allowed) item.Intention.HasPermissions)}}
diff --git a/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.js b/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.js
index b90b73f32a..51bd4aab09 100644
--- a/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.js
+++ b/ui/packages/consul-ui/app/components/topology-metrics/up-lines/index.js
@@ -1,9 +1,15 @@
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
+import { inject as service } from '@ember/service';
export default class TopologyMetricsUpLines extends Component {
@tracked iconPositions;
+ @service('dom') dom;
+
+ get guid() {
+ return this.dom.guid(this);
+ }
@action
getIconPositions() {
diff --git a/ui/packages/consul-ui/app/styles/components.scss b/ui/packages/consul-ui/app/styles/components.scss
index 73c3037189..b1bafe475c 100644
--- a/ui/packages/consul-ui/app/styles/components.scss
+++ b/ui/packages/consul-ui/app/styles/components.scss
@@ -62,6 +62,7 @@
@import 'consul-ui/components/consul/external-source';
@import 'consul-ui/components/consul/kind';
@import 'consul-ui/components/consul/intention';
+@import 'consul-ui/components/consul/lock-session/form';
@import 'consul-ui/components/role-selector';
@import 'consul-ui/components/topology-metrics';
diff --git a/ui/packages/consul-ui/app/styles/components/anchors.scss b/ui/packages/consul-ui/app/styles/components/anchors.scss
index d1a4ce320f..9714fc318c 100644
--- a/ui/packages/consul-ui/app/styles/components/anchors.scss
+++ b/ui/packages/consul-ui/app/styles/components/anchors.scss
@@ -18,7 +18,7 @@ a[rel*='external']::after {
margin-left: 0.2em;
}
-[role='tabpanel'] > p:only-child [rel*='help']::after {
+.tab-section > p:only-child [rel*='help']::after {
content: none;
}
%main-content p a,
diff --git a/ui/packages/consul-ui/app/styles/components/app-view/layout.scss b/ui/packages/consul-ui/app/styles/components/app-view/layout.scss
index 358cd64e25..31676b0c4e 100644
--- a/ui/packages/consul-ui/app/styles/components/app-view/layout.scss
+++ b/ui/packages/consul-ui/app/styles/components/app-view/layout.scss
@@ -26,10 +26,6 @@
}
/* content */
-%app-view-content h2 {
- padding-bottom: 0.2em;
- margin-bottom: 0.5em;
-}
%app-view-content-empty {
margin-top: 0 !important;
padding: 50px;
diff --git a/ui/packages/consul-ui/app/styles/components/app-view/skin.scss b/ui/packages/consul-ui/app/styles/components/app-view/skin.scss
index 713e3b9b87..cc252099b1 100644
--- a/ui/packages/consul-ui/app/styles/components/app-view/skin.scss
+++ b/ui/packages/consul-ui/app/styles/components/app-view/skin.scss
@@ -4,13 +4,9 @@
%app-view-title {
border-bottom: $decor-border-100;
}
-%app-view-content h2,
%app-view-content form:not(.filter-bar) fieldset {
border-bottom: $decor-border-200;
}
-%app-view-content fieldset h2 {
- border-bottom: none;
-}
%app-view-header h1 > em {
color: $gray-600;
}
@@ -21,7 +17,6 @@
color: $gray-400;
}
%app-view-title,
-%app-view-content h2,
%app-view-content form:not(.filter-bar) fieldset {
border-color: $gray-200;
}
diff --git a/ui/packages/consul-ui/app/styles/layout.scss b/ui/packages/consul-ui/app/styles/layout.scss
index 99f8c7d0f3..786e100f8c 100644
--- a/ui/packages/consul-ui/app/styles/layout.scss
+++ b/ui/packages/consul-ui/app/styles/layout.scss
@@ -17,9 +17,9 @@ html[data-route$='edit'] .app-view > header + div > *:first-child {
/* most tabs have margin after the tab bar, unless the tab has a filter bar */
/* if it is a filter bar and the thing after the filter bar is a p then it also */
/* needs a top margun :S */
-%app-view-content [role='tabpanel'] > *:first-child:not(.filter-bar):not(table),
-%app-view-content [role='tabpanel'] > .filter-bar + p,
-%app-view-content [role='tabpanel'] .consul-health-check-list {
+%app-view-content .tab-section > *:first-child:not(.filter-bar):not(table),
+%app-view-content .tab-section > .filter-bar + p,
+%app-view-content .tab-section .consul-health-check-list {
margin-top: 1.25em;
}
.consul-upstream-instance-list,
diff --git a/ui/packages/consul-ui/app/styles/routes/dc/services/index.scss b/ui/packages/consul-ui/app/styles/routes/dc/services/index.scss
index a886c028c2..e13631e503 100644
--- a/ui/packages/consul-ui/app/styles/routes/dc/services/index.scss
+++ b/ui/packages/consul-ui/app/styles/routes/dc/services/index.scss
@@ -8,11 +8,11 @@ html[data-route^='dc.services.instance'] .app-view > header dl {
html[data-route^='dc.services.instance'] .app-view > header dt {
font-weight: $typo-weight-bold;
}
-html[data-route^='dc.services.instance'] [role='tabpanel'] section:not(:last-child) {
+html[data-route^='dc.services.instance'] .tab-section section:not(:last-child) {
padding-bottom: 24px;
border-bottom: 1px solid $gray-200;
}
-html[data-route^='dc.services.instance.metadata'] [role='tabpanel'] section h3,
-html[data-route^='dc.services.instance.proxy'] [role='tabpanel'] section h3 {
+html[data-route^='dc.services.instance.metadata'] .tab-section section h3,
+html[data-route^='dc.services.instance.proxy'] .tab-section section h3 {
margin: 24px 0 12px 0;
}
diff --git a/ui/packages/consul-ui/app/templates/dc/acls/tokens/edit.hbs b/ui/packages/consul-ui/app/templates/dc/acls/tokens/edit.hbs
index f18a7cef32..ac071d27a1 100644
--- a/ui/packages/consul-ui/app/templates/dc/acls/tokens/edit.hbs
+++ b/ui/packages/consul-ui/app/templates/dc/acls/tokens/edit.hbs
@@ -64,7 +64,7 @@
@type="info"
as |notice|>
- Update
+ Update
diff --git a/ui/packages/consul-ui/app/templates/dc/acls/tokens/index.hbs b/ui/packages/consul-ui/app/templates/dc/acls/tokens/index.hbs
index 9c5e4314c6..19582e6312 100644
--- a/ui/packages/consul-ui/app/templates/dc/acls/tokens/index.hbs
+++ b/ui/packages/consul-ui/app/templates/dc/acls/tokens/index.hbs
@@ -60,7 +60,7 @@
@type="info"
as |notice|>
- Update
+ Update
We have upgraded our ACL System to allow the creation of reusable policies that can be applied to tokens. Read more about the changes and how to upgrade legacy tokens in our documentation.
diff --git a/ui/packages/consul-ui/app/templates/dc/nodes/show/healthchecks.hbs b/ui/packages/consul-ui/app/templates/dc/nodes/show/healthchecks.hbs
index 48e5cc256a..0cb9d223dc 100644
--- a/ui/packages/consul-ui/app/templates/dc/nodes/show/healthchecks.hbs
+++ b/ui/packages/consul-ui/app/templates/dc/nodes/show/healthchecks.hbs
@@ -9,7 +9,6 @@
) as |filters|}}
{{#let (or sortBy "Status:asc") as |sort|}}
{{/let}}
{{/let}}
\ No newline at end of file
diff --git a/ui/packages/consul-ui/app/templates/dc/nodes/show/metadata.hbs b/ui/packages/consul-ui/app/templates/dc/nodes/show/metadata.hbs
index c8bc020fba..d97fd9740a 100644
--- a/ui/packages/consul-ui/app/templates/dc/nodes/show/metadata.hbs
+++ b/ui/packages/consul-ui/app/templates/dc/nodes/show/metadata.hbs
@@ -1,5 +1,4 @@
-