From 099ae41607132b6079083890ab38b15650b30adf Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Mon, 21 Dec 2015 14:33:49 -0500 Subject: [PATCH] added client logo to admin table, closes #280 --- .../webapp/resources/css/mitreid-connect.css | 6 ++++ .../webapp/resources/template/client.html | 33 ++++++++++++------- 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css b/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css index 0a67c56a4..9049d5a81 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css +++ b/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css @@ -186,3 +186,9 @@ h1,label { .user-profile dd, .user-profile dt { height: 20px; } + +/* Client table images */ +.client-logo { + max-width: 64px; + max-height: 64px +} diff --git a/openid-connect-server-webapp/src/main/webapp/resources/template/client.html b/openid-connect-server-webapp/src/main/webapp/resources/template/client.html index 6a61f38c4..5b71f0f6e 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/template/client.html +++ b/openid-connect-server-webapp/src/main/webapp/resources/template/client.html @@ -28,20 +28,29 @@ -
- <%- client.clientName != null ? client.clientName : ( client.clientId.substr(0,8) + '...' ) %> -
-
- -
-
- <% if (client.dynamicallyRegistered) { %> - - <% } %> - <% if (client.allowIntrospection) { %> - + +
+ <% if (client.logoUri) { %> + <% } %> + +
+ <%- client.clientName != null ? client.clientName : ( client.clientId.substr(0,8) + '...' ) %> +
+
+ +
+
+ <% if (client.dynamicallyRegistered) { %> + + <% } %> + <% if (client.allowIntrospection) { %> + + <% } %> +
+ +
Registered <%- displayCreationDate %>