From 2b663bb23c9663de1e3fa4083194f4228601a1e9 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Fri, 30 Aug 2013 17:05:34 -0400 Subject: [PATCH] UI for scope editing --- .../src/main/webapp/resources/js/scope.js | 4 +++- .../src/main/webapp/resources/template/scope.html | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/openid-connect-server/src/main/webapp/resources/js/scope.js b/openid-connect-server/src/main/webapp/resources/js/scope.js index e47d91b8b..bb4883d24 100644 --- a/openid-connect-server/src/main/webapp/resources/js/scope.js +++ b/openid-connect-server/src/main/webapp/resources/js/scope.js @@ -243,7 +243,9 @@ var SystemScopeFormView = Backbone.View.extend({ description:$('#description textarea').val(), icon:$('#iconDisplay input').val(), defaultScope:$('#defaultScope input').is(':checked'), - allowDynReg:$('#allowDynReg input').is(':checked') + allowDynReg:$('#allowDynReg input').is(':checked'), + structured:$('#structured').is(':checked'), + structuredParamDescription:$('#structuredParamDescription').val() }); if (valid) { diff --git a/openid-connect-server/src/main/webapp/resources/template/scope.html b/openid-connect-server/src/main/webapp/resources/template/scope.html index 2fcbdb42f..296b7d437 100644 --- a/openid-connect-server/src/main/webapp/resources/template/scope.html +++ b/openid-connect-server/src/main/webapp/resources/template/scope.html @@ -142,13 +142,17 @@ -
+

Is the scope structured with structured values like base:extension?

+
+ +

Human-readable description of the structured parameter

+