Move agentless-notice banner css to it's own file
This commit is contained in:
parent
eb2cdcfb94
commit
31cbbc85e3
|
@ -0,0 +1,4 @@
|
||||||
|
.agentless-node-notice header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
|
@ -1,9 +1,3 @@
|
||||||
import PeeredResourceController from 'consul-ui/controllers/_peered-resource';
|
import PeeredResourceController from 'consul-ui/controllers/_peered-resource';
|
||||||
import { action } from '@ember/object';
|
|
||||||
|
|
||||||
export default class DcNodesController extends PeeredResourceController {
|
export default class DcNodesController extends PeeredResourceController {}
|
||||||
@action
|
|
||||||
dismissAgentlessNotice() {
|
|
||||||
console.log('dismiss this here')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -110,3 +110,4 @@
|
||||||
@import 'consul-ui/components/consul/peer/info';
|
@import 'consul-ui/components/consul/peer/info';
|
||||||
@import 'consul-ui/components/consul/peer/form';
|
@import 'consul-ui/components/consul/peer/form';
|
||||||
@import 'consul-ui/components/consul/hcp/home';
|
@import 'consul-ui/components/consul/hcp/home';
|
||||||
|
@import 'consul-ui/components/consul/node/agentless-notice';
|
||||||
|
|
|
@ -4,7 +4,3 @@ html[data-route^='dc.nodes.show.metadata'] table tr {
|
||||||
html[data-route^='dc.nodes.show.sessions'] .consul-lock-session-list {
|
html[data-route^='dc.nodes.show.sessions'] .consul-lock-session-list {
|
||||||
@extend %list-after-secondary-nav;
|
@extend %list-after-secondary-nav;
|
||||||
}
|
}
|
||||||
html[data-route^='dc.nodes.index'] .agentless-node-notice header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ module('Integration | Component | consul node agentless-notice', function (hooks
|
||||||
this.set('nodes', [
|
this.set('nodes', [
|
||||||
{
|
{
|
||||||
Meta: {
|
Meta: {
|
||||||
'synthetic-node': false,
|
'synthetic-node': true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue