From faa45cc606d2904613ad358395c50bd7ce510496 Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Thu, 31 Aug 2017 15:34:18 -0400 Subject: [PATCH] Align key toggle button to role dropdown in user team permissions modal --- .../rbac-user-team.partial.html | 60 +++++++++---------- awx/ui/client/src/access/add-rbac.block.less | 9 +++ 2 files changed, 38 insertions(+), 31 deletions(-) diff --git a/awx/ui/client/src/access/add-rbac-user-team/rbac-user-team.partial.html b/awx/ui/client/src/access/add-rbac-user-team/rbac-user-team.partial.html index 23d6ed36b1..276184ec21 100644 --- a/awx/ui/client/src/access/add-rbac-user-team/rbac-user-team.partial.html +++ b/awx/ui/client/src/access/add-rbac-user-team/rbac-user-team.partial.html @@ -98,11 +98,6 @@ 2 Please assign roles to the selected resources -
- Key -
-
-
+
+ +
+ +
+
+ Key +
+
+ +
+
{{ key.name }}
@@ -158,29 +168,17 @@
+
- -
- -
- - - -
- - -
- + + +
+ +
diff --git a/awx/ui/client/src/access/add-rbac.block.less b/awx/ui/client/src/access/add-rbac.block.less index 177388c07e..1f9ea39ea2 100644 --- a/awx/ui/client/src/access/add-rbac.block.less +++ b/awx/ui/client/src/access/add-rbac.block.less @@ -220,3 +220,12 @@ .AddPermissions-keyDescription { flex: 1 0 auto; } + +.AddPermissions-roleSet { + display: flex; + + .AddPermissions-roleSet-dropdown { + flex: 1; + margin-right: 20px; + } +} \ No newline at end of file