From 48866c15f2bfcb65361a1306acce943011962a9b Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Fri, 21 Dec 2012 16:07:59 -0500 Subject: [PATCH] button display cleanup --- .../src/main/webapp/WEB-INF/tags/topbar.tag | 2 +- .../src/main/webapp/resources/js/admin.js | 4 +- .../main/webapp/resources/template/admin.html | 78 +++++++++++-------- 3 files changed, 49 insertions(+), 35 deletions(-) diff --git a/openid-connect-server/src/main/webapp/WEB-INF/tags/topbar.tag b/openid-connect-server/src/main/webapp/WEB-INF/tags/topbar.tag index 13b2055e1..443ade3a5 100644 --- a/openid-connect-server/src/main/webapp/WEB-INF/tags/topbar.tag +++ b/openid-connect-server/src/main/webapp/WEB-INF/tags/topbar.tag @@ -52,7 +52,7 @@ - Log in + Log in diff --git a/openid-connect-server/src/main/webapp/resources/js/admin.js b/openid-connect-server/src/main/webapp/resources/js/admin.js index 99070784d..abb7d2e63 100644 --- a/openid-connect-server/src/main/webapp/resources/js/admin.js +++ b/openid-connect-server/src/main/webapp/resources/js/admin.js @@ -413,7 +413,7 @@ }, events:{ - "click .btn-primary":"saveClient", + "click .btn-save":"saveClient", "click #allowRefresh" : "toggleRefreshTokenTimeout", "click #disableAccessTokenTimeout" : function(){ $("#access-token-timeout-seconds", this.$el).prop('disabled',!$("#access-token-timeout-seconds", this.$el).prop('disabled')); }, "click #disableIDTokenTimeout" : function(){ $("#id-token-timeout-seconds", this.$el).prop('disabled',!$("#id-token-timeout-seconds", this.$el).prop('disabled')); }, @@ -857,7 +857,7 @@ }, events:{ - 'click .btn-primary':'saveWhiteList', + 'click .btn-save':'saveWhiteList', 'click .btn-cancel':'cancelWhiteList', }, diff --git a/openid-connect-server/src/main/webapp/resources/template/admin.html b/openid-connect-server/src/main/webapp/resources/template/admin.html index 83076702a..fd461d0fd 100644 --- a/openid-connect-server/src/main/webapp/resources/template/admin.html +++ b/openid-connect-server/src/main/webapp/resources/template/admin.html @@ -9,27 +9,32 @@ <%=clientId%> -
<%=clientDescription%>
+ <%=clientName%> + <% if (clientDescription) { %> +
<%=clientDescription%>
+ <% } %> -      +   +   + @@ -56,8 +61,9 @@
-
-   +
+   +
@@ -248,8 +254,9 @@
-
-   +
+   +
@@ -306,17 +313,18 @@ -    +   + @@ -342,8 +350,9 @@
-
-   +
+   +
@@ -360,8 +369,9 @@
-
-   +
+   +
@@ -375,13 +385,13 @@

Approved sites

-
- +
+

Sites you have manually approved

- +
@@ -396,9 +406,11 @@
+
+

Sites that have been whitelisted by an administrator

- +
@@ -413,8 +425,10 @@
-
- +
+ +
+
@@ -448,7 +462,7 @@ - + @@ -459,7 +473,7 @@
- +
@@ -469,7 +483,7 @@
- +