From 0fdab8c9f1e1b3a0bdbe82d1ce9f45361ee531ce Mon Sep 17 00:00:00 2001 From: vrockai Date: Fri, 6 Dec 2013 10:44:44 +0100 Subject: [PATCH 1/7] KEYCLOAK-202 set pointer cursor for action icons --- .../META-INF/resources/admin/partials/realm-social.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-social.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-social.html index bbbbfd0546..dbdeb24e75 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-social.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-social.html @@ -122,4 +122,8 @@ display: inline-block; margin: 5px; } + + .social-provider .icon-remove, .social-provider .icon-question { + cursor: pointer; + } \ No newline at end of file From 3ffab32eb311be28d4183f0e82ad9929d3d1be1b Mon Sep 17 00:00:00 2001 From: vrockai Date: Fri, 6 Dec 2013 10:58:24 +0100 Subject: [PATCH 2/7] KEYCLOAK-204 set validation for numbers to time inputs --- .../META-INF/resources/admin/partials/realm-tokens.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-tokens.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-tokens.html index 7a2b92b9b2..91ea2d355e 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-tokens.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-tokens.html @@ -26,7 +26,7 @@
- +
+
+
+
From e646f0afe5cde0fc839b05c7251f43fff50d8078 Mon Sep 17 00:00:00 2001 From: vrockai Date: Fri, 6 Dec 2013 13:38:47 +0100 Subject: [PATCH 5/7] KEYCLOAK-201 set min and max dimensions for textarea --- .../META-INF/resources/admin-ui/css/admin-console.css | 6 ++++++ .../META-INF/resources/admin-ui/css/admin-console.less | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css index 6d30cdf331..2482800781 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css @@ -5,6 +5,12 @@ body { color: #4d5258; font-family: "Open Sans", sans-serif; } +.admin-console #content textarea { + min-width: 10em; + max-width: 74em; + min-height: 10em; + max-height: 50em; +} /* Feedback */ .feedback-aligner { top: 0.9em; diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less index 1f49e268a3..e1e0993813 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less @@ -15,6 +15,15 @@ body { font-family: @open-sans; } +.admin-console { + #content textarea { + min-width: 10em; + max-width: 74em; + min-height: 10em; + max-height: 50em; + } +} + /* Feedback */ .feedback-aligner { From d0f4ac47ea5628f9221c64f526a871d289c6e015 Mon Sep 17 00:00:00 2001 From: vrockai Date: Fri, 6 Dec 2013 15:55:45 +0100 Subject: [PATCH 6/7] KEYCLOAK-186 added help/info about value types --- .../META-INF/resources/admin/js/controllers/realm.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js index 6598992017..3d053af638 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js @@ -192,11 +192,11 @@ module.controller('RealmRequiredCredentialsCtrl', function($scope, Realm, realm, /* Map used in the table when hovering over (i) icon */ $scope.policyMessages = { - length: "Minimal password length. Default value is 8.", - digits: "Minimal number of digits in password. Default value is 1.", - lowerCase: "Minimal number of lowercase characters in password. Default value is 1.", - upperCase: "Minimal number of uppercase characters in password. Default value is 1.", - specialChars: "Minimal number of special characters in password. Default value is 1." + length: "Minimal password length (integer type). Default value is 8.", + digits: "Minimal number (integer type) of digits in password. Default value is 1.", + lowerCase: "Minimal number (integer type) of lowercase characters in password. Default value is 1.", + upperCase: "Minimal number (integer type) of uppercase characters in password. Default value is 1.", + specialChars: "Minimal number (integer type) of special characters in password. Default value is 1." } // $scope.policy is an object representing passwordPolicy string From 468a060f55144189821a9a0a520bb75cf99addf4 Mon Sep 17 00:00:00 2001 From: vrockai Date: Fri, 6 Dec 2013 17:01:16 +0100 Subject: [PATCH 7/7] KEYCLOAK-208 added validation to username and email --- .../META-INF/resources/admin/partials/user-detail.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-detail.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-detail.html index 0735afac27..fa1683b6d6 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-detail.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-detail.html @@ -36,8 +36,9 @@
+ + required ng-pattern="/^[^\<\>\\\/]*$/" data-ng-readonly="!create">
@@ -45,7 +46,7 @@
-