Remove old security scanner UI code

This commit is contained in:
Joseph Schorr 2016-05-04 15:25:30 -04:00
parent 7fcb152e5f
commit 9c22ee3e29
6 changed files with 2 additions and 230 deletions

View file

@ -1,19 +0,0 @@
(function() {
/**
* Experiment enable page: New layout
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('exp-new-sec-layout', 'exp-new-sec-layout.html', ExpCtrl, {
'newLayout': true
});
}]);
function ExpCtrl($scope, CookieService) {
$scope.isEnabled = CookieService.get('quay.exp-new-sec-layout') == 'true';
$scope.setEnabled = function(value) {
$scope.isEnabled = value;
CookieService.putPermanent('quay.exp-new-sec-layout', value.toString());
};
}
}());

View file

@ -17,7 +17,6 @@
$scope.imageSecurityCounter = 0;
$scope.imagePackageCounter = 0;
$scope.newUIExperiment = true; //CookieService.get('quay.exp-new-sec-layout') == 'true';
$scope.options = {
'vulnFilter': ''