From 92bb67ae26037dff07a99cefc1cdcf5ca3afa0bd Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Mon, 9 May 2016 16:57:21 -0400 Subject: [PATCH] Users UX Audit changes --- awx/ui/client/legacy-styles/forms.less | 9 +++++++-- .../notification-templates-list/list.controller.js | 4 ---- awx/ui/client/src/shared/form-generator.js | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/awx/ui/client/legacy-styles/forms.less b/awx/ui/client/legacy-styles/forms.less index 594b5f073e..b753dd8ad1 100644 --- a/awx/ui/client/legacy-styles/forms.less +++ b/awx/ui/client/legacy-styles/forms.less @@ -51,8 +51,8 @@ .Form-title--is_superuser{ height:15px; - color: @btn-txt; - background-color: @btn-bg; + color: @default-interface-txt; + background-color: @default-list-header-bg; border-radius: 5px; border: 1px solid @btn-bord; font-size: 10px; @@ -164,6 +164,11 @@ max-width: none; } +.Form-formGroup--checkbox{ + display: flex; + align-items: flex-end; +} + .Form-subForm { width: 100%; margin-bottom: 15px; diff --git a/awx/ui/client/src/notifications/notification-templates-list/list.controller.js b/awx/ui/client/src/notifications/notification-templates-list/list.controller.js index 04de688cb6..90642e7f36 100644 --- a/awx/ui/client/src/notifications/notification-templates-list/list.controller.js +++ b/awx/ui/client/src/notifications/notification-templates-list/list.controller.js @@ -24,10 +24,6 @@ export default scope: scope }); - - if (scope.removePostRefresh) { - scope.removePostRefresh(); - } scope.removePostRefresh = scope.$on('PostRefresh', function () { Wait('stop'); if (scope.notification_templates) { diff --git a/awx/ui/client/src/shared/form-generator.js b/awx/ui/client/src/shared/form-generator.js index 03d2eeaac3..10930e6ac7 100644 --- a/awx/ui/client/src/shared/form-generator.js +++ b/awx/ui/client/src/shared/form-generator.js @@ -787,6 +787,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat if ((!field.readonly) || (field.readonly && options.mode === 'edit')) { html += "