Added image upload for custom logo

This commit is contained in:
Ken Hoes
2016-11-14 08:59:13 -05:00
parent 99fd30e84f
commit 8028b7ef75
9 changed files with 221 additions and 57 deletions

View File

@@ -93,7 +93,7 @@ export default ['$log', '$cookieStore', '$compile', '$window', '$rootScope',
$rootScope.loginConfig.promise.then(function () {
if ($AnsibleConfig.custom_logo) {
scope.customLogo = "custom_console_logo.png";
scope.customLogo = $rootScope.custom_logo;
scope.customLogoPresent = true;
} else {
scope.customLogo = "tower-logo-login.svg";