From 2beff07d4bfb08ddce5f97ba5f89b352cf55dcc6 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Thu, 15 Nov 2012 17:51:31 -0500 Subject: [PATCH] added icons and tooltips to approved site table --- .../src/main/webapp/resources/js/admin.js | 6 +++++- .../src/main/webapp/resources/template/admin.html | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) 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 d397a7b12..d37d8d78c 100644 --- a/openid-connect-server/src/main/webapp/resources/js/admin.js +++ b/openid-connect-server/src/main/webapp/resources/js/admin.js @@ -35,7 +35,7 @@ events:{ "click .btn":function (e) { e.preventDefault(); - this.$el.tooltip('destroy'); + this.$el.tooltip('delete'); this.model.destroy(); } }, @@ -687,6 +687,10 @@ var json = {grant: this.model.toJSON(), client: this.options.client.toJSON()}; this.$el.html(this.template(json)); + + this.$('.dynamically-registered').tooltip({title: 'This client was dynamically registered'}); + this.$('.whitelisted-site').tooltip({title: 'This site was whitelisted by an adminstrator'}); + return this; }, 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 a05b95232..14fe517fc 100644 --- a/openid-connect-server/src/main/webapp/resources/template/admin.html +++ b/openid-connect-server/src/main/webapp/resources/template/admin.html @@ -358,6 +358,7 @@ + @@ -376,6 +377,15 @@
Application Created Last Accessed