diff --git a/app/styles/components/_page-header.scss b/app/styles/components/_page-header.scss index 148c00ed0..1f65c9492 100644 --- a/app/styles/components/_page-header.scss +++ b/app/styles/components/_page-header.scss @@ -148,7 +148,7 @@ $nav-spacing: 4px; .user-auth { line-height: initial; padding: 10px 20px 10px 10px; - background: lighten($accent-two, 20); + background: $accent; } } diff --git a/app/styles/layout/_layout.scss b/app/styles/layout/_layout.scss index fa3ac311c..e84f2ef98 100644 --- a/app/styles/layout/_layout.scss +++ b/app/styles/layout/_layout.scss @@ -46,8 +46,8 @@ MAIN { > h4 { border-bottom: solid 2px darken($border, 5%); - margin-bottom: 10px; - padding-bottom: 5px; + margin-bottom: 20px; + padding-bottom: 15px; text-transform: capitalize; } diff --git a/lib/global-admin/addon/clusters/new/rke/controller.js b/lib/global-admin/addon/clusters/new/rke/controller.js index 6e1f38ce5..636cbeb6a 100644 --- a/lib/global-admin/addon/clusters/new/rke/controller.js +++ b/lib/global-admin/addon/clusters/new/rke/controller.js @@ -30,6 +30,12 @@ const headersAll = [ translationKey: 'generic.name', scope: 'embedded', }, + { + name: 'all', + sort: false, + searchField: null, + translationKey: 'clustersPage.addPage.rke.new.headers.labels.all', + }, { name: 'etcd', sort: false, @@ -49,12 +55,6 @@ const headersAll = [ translationKey: 'clustersPage.addPage.rke.new.headers.labels.worker', scope: 'embedded', }, - { - name: 'all', - sort: false, - searchField: null, - translationKey: 'clustersPage.addPage.rke.new.headers.labels.all', - }, ]; const workerHeaders = headersAll.filter((x) => x.scope === 'embedded'); diff --git a/lib/global-admin/addon/clusters/new/rke/template.hbs b/lib/global-admin/addon/clusters/new/rke/template.hbs index 75e65b2dd..a42dd644a 100644 --- a/lib/global-admin/addon/clusters/new/rke/template.hbs +++ b/lib/global-admin/addon/clusters/new/rke/template.hbs @@ -51,6 +51,11 @@ {{host.displayName}} + {{#if (eq scope "dedicated")}} + + {{input type="checkbox" checked=(array-includes host.role 'worker' 'controlplane' 'etcd') change=(action 'selectAllRoles' host)}} + + {{/if}} {{#if (eq scope "dedicated")}} {{!-- disabled=(not-eq host.state "active") --}} @@ -65,11 +70,7 @@ {{!-- disabled=(not-eq host.state "active") --}} {{input type="checkbox" checked=(array-includes host.role 'worker') change=(action 'addRole' host 'worker')}} - {{#if (eq scope "dedicated")}} - - {{input type="checkbox" checked=(array-includes host.role 'worker' 'controlplane' 'etcd') change=(action 'selectAllRoles' host)}} - - {{/if}} + {{else if (eq kind "nomatch")}} {{t 'nodesPage.table.noMatch'}} diff --git a/lib/shared/addon/components/form-name-description/template.hbs b/lib/shared/addon/components/form-name-description/template.hbs index 351f75493..5826e1032 100644 --- a/lib/shared/addon/components/form-name-description/template.hbs +++ b/lib/shared/addon/components/form-name-description/template.hbs @@ -1,7 +1,7 @@
- + {{#if (and descriptionShown (not descriptionExpanded))}}
{{t expandDescriptionAction}} @@ -20,10 +20,10 @@ {{#if (and descriptionShown descriptionExpanded)}}
- +
{{textarea-autogrow id=(concat elementId '-form-description') value=_description classNames="form-control no-resize description" rows="1" placeholder=descriptionPlaceholder disabled=descriptionDisabled}} {{#if descriptionHelp}}

{{t descriptionHelp}}

{{/if}}
{{/if}} -
+
\ No newline at end of file diff --git a/lib/shared/addon/components/modal-add-cluster/template.hbs b/lib/shared/addon/components/modal-add-cluster/template.hbs index 6e220cd5b..fc9ec9c16 100644 --- a/lib/shared/addon/components/modal-add-cluster/template.hbs +++ b/lib/shared/addon/components/modal-add-cluster/template.hbs @@ -6,7 +6,7 @@ }} {{else if (eq mode 'launch')}} {{cloud-host-add-or-edit