diff --git a/app/styles/components/_dropdown.scss b/app/styles/components/_dropdown.scss index feed356c6..cddf99dd2 100644 --- a/app/styles/components/_dropdown.scss +++ b/app/styles/components/_dropdown.scss @@ -124,13 +124,6 @@ $dropdown-caret-color : $mid-grey !default; cursor: default; transition: ease-in-out all .25s; } - - &:nth-child(2) { - margin-top: 4px; - } - &:last-child { - margin-bottom: 8px; - } } } .resource-actions-tabbable { diff --git a/app/styles/components/_searchable-select.scss b/app/styles/components/_searchable-select.scss index 577ccc5f7..2c754ef16 100644 --- a/app/styles/components/_searchable-select.scss +++ b/app/styles/components/_searchable-select.scss @@ -52,7 +52,9 @@ z-index: 2; border: 1px solid $accent-border; border-top: none; - padding: 2px 0 5px; + + @expand .dropdown-menu; + input { margin-bottom: 10px; border-left: none; @@ -73,6 +75,14 @@ padding: 0px 0; padding-left: $indent; position: relative; + border-bottom: 1px $border solid; + padding: 8px 18px; + font-size: 14px; + + &:last-child { + border-bottom: 0; + } + .icon-check { margin-left: -15px; margin-right: 5px; diff --git a/lib/global-admin/addon/clusters/new/rke/controller.js b/lib/global-admin/addon/clusters/new/rke/controller.js index 636cbeb6a..6e1f38ce5 100644 --- a/lib/global-admin/addon/clusters/new/rke/controller.js +++ b/lib/global-admin/addon/clusters/new/rke/controller.js @@ -30,12 +30,6 @@ 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, @@ -55,6 +49,12 @@ 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 173dadbdf..fba3e1737 100644 --- a/lib/global-admin/addon/clusters/new/rke/template.hbs +++ b/lib/global-admin/addon/clusters/new/rke/template.hbs @@ -51,11 +51,7 @@ {{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") --}} @@ -70,7 +66,11 @@ {{!-- 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/machine/driver-amazonec2/template.hbs b/lib/shared/addon/components/machine/driver-amazonec2/template.hbs index be76ed22a..e818dd309 100644 --- a/lib/shared/addon/components/machine/driver-amazonec2/template.hbs +++ b/lib/shared/addon/components/machine/driver-amazonec2/template.hbs @@ -115,10 +115,9 @@ {{/if}}
-
- -
-
+ + + {{#if isStep3}} {{#if subnetChoices.length}} {{#each subnetChoices as |choice|}} @@ -147,8 +146,7 @@ {{/each}}
-{{!--
- --}} {{/if}} + {{/if}} {{/each}} {{/if}} {{else}} @@ -160,7 +158,7 @@ {{/if}}
{{/if}} - + {{#if isStep3}} @@ -181,7 +179,7 @@
- {{t 'machine.driverAmazon.securityGroupSection'}} +

{{t 'machine.driverAmazon.securityGroupSection'}}

{{!--
--}} diff --git a/lib/shared/addon/components/project-member-row/template.hbs b/lib/shared/addon/components/project-member-row/template.hbs index 291a626a1..c3c921854 100644 --- a/lib/shared/addon/components/project-member-row/template.hbs +++ b/lib/shared/addon/components/project-member-row/template.hbs @@ -1,7 +1,7 @@ - + {{t kind}} - + {{#if owner}} {{owner.displayName}} {{else if editing}} @@ -10,7 +10,7 @@ {{member.role.user.displayName}} {{/if}} - + {{#if owner}} {{if (eq type 'project') 'Project Owner' 'Cluster Owner'}} {{else if (or hasCustom member.customRolesExisting)}} diff --git a/lib/shared/addon/components/searchable-select/template.hbs b/lib/shared/addon/components/searchable-select/template.hbs index d5ae175cb..76e1b2f80 100644 --- a/lib/shared/addon/components/searchable-select/template.hbs +++ b/lib/shared/addon/components/searchable-select/template.hbs @@ -2,7 +2,7 @@ {{input disabled=readOnly class=(concat 'form-control input-search search ' class) placeholder=placeholder type="text" autocomplete="off" value=filter}} {{#if showOptions}} -
+
{{#if prompt}}