Redo manage application page

This commit is contained in:
Joseph Schorr 2015-04-21 15:39:11 -04:00
parent 0b4a903068
commit 4d42431481
4 changed files with 322 additions and 127 deletions

View file

@ -3,7 +3,16 @@
* Page for managing an organization-defined OAuth application.
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('manage-application', 'manage-application.html', ManageApplicationCtrl);
pages.create('manage-application', 'manage-application.html', ManageApplicationCtrl, {
'newLayout': true,
'title': 'Manage Application {{ application.name }}',
'description': 'Manage an OAuth application'
}, ['layout']);
pages.create('manage-application', 'old-manage-application.html', ManageApplicationCtrl, {
'title': 'Manage Application {{ application.name }}',
'description': 'Manage an OAuth application'
}, ['old-layout']);
}]);
function ManageApplicationCtrl($scope, $routeParams, $rootScope, $location, $timeout, OAuthService, ApiService, UserService, Config) {