Move agentless-notice banner css to it's own file

This commit is contained in:
wenincode 2022-10-13 10:38:26 -06:00
parent eb2cdcfb94
commit 31cbbc85e3
5 changed files with 7 additions and 12 deletions

View File

@ -0,0 +1,4 @@
.agentless-node-notice header {
display: flex;
justify-content: space-between;
}

View File

@ -1,9 +1,3 @@
import PeeredResourceController from 'consul-ui/controllers/_peered-resource';
import { action } from '@ember/object';
export default class DcNodesController extends PeeredResourceController {
@action
dismissAgentlessNotice() {
console.log('dismiss this here')
}
}
export default class DcNodesController extends PeeredResourceController {}

View File

@ -110,3 +110,4 @@
@import 'consul-ui/components/consul/peer/info';
@import 'consul-ui/components/consul/peer/form';
@import 'consul-ui/components/consul/hcp/home';
@import 'consul-ui/components/consul/node/agentless-notice';

View File

@ -4,7 +4,3 @@ html[data-route^='dc.nodes.show.metadata'] table tr {
html[data-route^='dc.nodes.show.sessions'] .consul-lock-session-list {
@extend %list-after-secondary-nav;
}
html[data-route^='dc.nodes.index'] .agentless-node-notice header {
display: flex;
justify-content: space-between;
}

View File

@ -38,7 +38,7 @@ module('Integration | Component | consul node agentless-notice', function (hooks
this.set('nodes', [
{
Meta: {
'synthetic-node': false,
'synthetic-node': true,
},
},
]);