Remove old security scanner UI code
This commit is contained in:
parent
7fcb152e5f
commit
9c22ee3e29
6 changed files with 2 additions and 230 deletions
|
@ -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());
|
||||
};
|
||||
}
|
||||
}());
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
$scope.imageSecurityCounter = 0;
|
||||
$scope.imagePackageCounter = 0;
|
||||
$scope.newUIExperiment = true; //CookieService.get('quay.exp-new-sec-layout') == 'true';
|
||||
|
||||
$scope.options = {
|
||||
'vulnFilter': ''
|
||||
|
|
Reference in a new issue