diff --git a/static/css/core-ui.css b/static/css/core-ui.css
index 499cfbef7..496edfaa3 100644
--- a/static/css/core-ui.css
+++ b/static/css/core-ui.css
@@ -891,6 +891,11 @@
.cor-title-link a {
color: white;
+ text-decoration: none !important;
+}
+
+.cor-title-link a.back-link .avatar {
+ margin-right: 6px;
}
.cor-title-link a.back-link:before {
diff --git a/static/js/pages/manage-application.js b/static/js/pages/manage-application.js
index 804696de8..5d3a2b5ad 100644
--- a/static/js/pages/manage-application.js
+++ b/static/js/pages/manage-application.js
@@ -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) {
diff --git a/static/partials/manage-application.html b/static/partials/manage-application.html
index d4101c5a1..2906a4b8f 100644
--- a/static/partials/manage-application.html
+++ b/static/partials/manage-application.html
@@ -1,150 +1,140 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
Warning: There is no OAuth Redirect setup for this application. Please enter it in the Settings tab.
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Deleting an application cannot be undone. Any existing users of your application will break!. Here be dragons!
-
-
-
-
-
-
-
-
-
- Click the button below to generate a new
OAuth 2 Access Token.
+
+
+
+
+
+
+
+
+ - Client ID:
+
+
+
+ - Client Secret:
+ - {{ application.client_secret }}
+
+
+
+
+
+
diff --git a/static/partials/old-manage-application.html b/static/partials/old-manage-application.html
new file mode 100644
index 000000000..d4101c5a1
--- /dev/null
+++ b/static/partials/old-manage-application.html
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+
+
+
+
+ Warning: There is no OAuth Redirect setup for this application. Please enter it in the Settings tab.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Deleting an application cannot be undone. Any existing users of your application will break!. Here be dragons!
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ |
+ |
+
+
+ Client ID: |
+
+
+ |
+
+
+ Client Secret: |
+
+ {{ application.client_secret }}
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Note that resetting the Client Secret for this application will not invalidate any user tokens.
+
+
Are you sure you want to reset your Client Secret? Any existing users of this Secret will break!
+
+
+
+
+
+
+
+
+
+
+
+
+ Are you absolutely, positively sure you would like to delete this application? This cannot be undone.
+
+
+
+
+