From 04f458c007edcc165b0ba459ca6c6fb934224268 Mon Sep 17 00:00:00 2001 From: mabashian Date: Fri, 30 Aug 2019 10:16:24 -0400 Subject: [PATCH] Cleanup inline styles --- awx/ui/client/src/license/license.block.less | 10 ++++++++++ awx/ui/client/src/license/license.controller.js | 1 - awx/ui/client/src/license/license.partial.html | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/license/license.block.less b/awx/ui/client/src/license/license.block.less index 415c8a1fab..bc7008e7e6 100644 --- a/awx/ui/client/src/license/license.block.less +++ b/awx/ui/client/src/license/license.block.less @@ -188,3 +188,13 @@ font-weight: 400; margin-top: 10px; } + +.License-action { + display: flex; + flex-direction: row; + align-content:flex-end; +} + +.License-actionError { + flex: 1; +} diff --git a/awx/ui/client/src/license/license.controller.js b/awx/ui/client/src/license/license.controller.js index 40eeeff071..318e28c864 100644 --- a/awx/ui/client/src/license/license.controller.js +++ b/awx/ui/client/src/license/license.controller.js @@ -181,7 +181,6 @@ export default }); }).catch((data) => { Wait('stop'); - reset(); $scope.licenseError = data.error; }); }; diff --git a/awx/ui/client/src/license/license.partial.html b/awx/ui/client/src/license/license.partial.html index 4a6ae096cf..7b857ad506 100644 --- a/awx/ui/client/src/license/license.partial.html +++ b/awx/ui/client/src/license/license.partial.html @@ -176,8 +176,8 @@ -
-
+
+
Save successful! Save unsuccessful - {{licenseError}}