From adb4703d456efb91f7f37a8752eda94a4d683871 Mon Sep 17 00:00:00 2001 From: Leigh Johnson Date: Tue, 3 May 2016 14:31:15 -0400 Subject: [PATCH] remove license input field and add ng-class to default text --- awx/ui/client/src/license/license.block.less | 3 +++ awx/ui/client/src/license/license.controller.js | 2 +- awx/ui/client/src/license/license.partial.html | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/license/license.block.less b/awx/ui/client/src/license/license.block.less index 40c1b7f07d..2204d37454 100644 --- a/awx/ui/client/src/license/license.block.less +++ b/awx/ui/client/src/license/license.block.less @@ -13,6 +13,9 @@ .License-field--label{ .OnePlusTwo-left--detailsLabel; } +.License-fileName{ + padding-left: 20px; +} .License-management .CodeMirror-scroll{ min-height: 140px; } diff --git a/awx/ui/client/src/license/license.controller.js b/awx/ui/client/src/license/license.controller.js index 4b26604793..53a6a7746f 100644 --- a/awx/ui/client/src/license/license.controller.js +++ b/awx/ui/client/src/license/license.controller.js @@ -73,7 +73,7 @@ export default return moment().add(days, 'days').calendar(); }; var init = function(){ - $scope.fileName = "Please choose a file..."; + $scope.fileName = "No file selected."; $scope.title = $rootScope.licenseMissing ? "Tower License" : "License Management"; Wait('start'); CheckLicense.get() diff --git a/awx/ui/client/src/license/license.partial.html b/awx/ui/client/src/license/license.partial.html index 7d35cce503..414749c79d 100644 --- a/awx/ui/client/src/license/license.partial.html +++ b/awx/ui/client/src/license/license.partial.html @@ -98,8 +98,8 @@
License File
- Browse... - + Browse + {{fileName}}
End User License Agreement