New login screen UI
This commit is contained in:
parent
2d4337ef82
commit
f97b8e2304
24 changed files with 394 additions and 212 deletions
|
@ -4,7 +4,9 @@
|
|||
*/
|
||||
angular.module('quayPages').config(['pages', function(pages) {
|
||||
pages.create('landing', 'landing.html', LandingCtrl, {
|
||||
'pageClass': 'landing-page'
|
||||
'pageClass': function(Features) {
|
||||
return Features.BILLING ? 'landing-page' : '';
|
||||
}
|
||||
});
|
||||
}]);
|
||||
|
||||
|
@ -20,7 +22,6 @@
|
|||
UserService.updateUserIn($scope, function(user) {
|
||||
if (!user.anonymous) {
|
||||
$location.path('/repository');
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -81,13 +82,5 @@
|
|||
}
|
||||
});
|
||||
};
|
||||
|
||||
$scope.getEnterpriseLogo = function() {
|
||||
if (!Config.ENTERPRISE_LOGO_URL) {
|
||||
return '/static/img/QuayEnterprise_horizontal_color.svg';
|
||||
}
|
||||
|
||||
return Config.ENTERPRISE_LOGO_URL;
|
||||
};
|
||||
}
|
||||
})();
|
||||
|
|
Reference in a new issue