Redo the build status box on the repo page to be a much nicer drop down

This commit is contained in:
Joseph Schorr 2014-02-10 01:18:14 -05:00
parent df389e81c7
commit 9e8f765040
4 changed files with 99 additions and 29 deletions

View file

@ -2534,6 +2534,14 @@ quayApp.directive('ngBlur', function() {
};
});
quayApp.directive('ngVisible', function () {
return function (scope, element, attr) {
scope.$watch(attr.ngVisible, function (visible) {
element.css('visibility', visible ? 'visible' : 'hidden');
});
};
});
quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanService', '$http', '$timeout',
function($location, $rootScope, Restangular, UserService, PlanService, $http, $timeout) {