From 9ecdec3f452bea55073b09beba2731092bf68657 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Thu, 23 Jul 2015 10:40:32 +0200 Subject: [PATCH] KEYCLOAK-1591 Issues with token settings page --- .../admin/resources/partials/brute-force.html | 20 +- .../resources/partials/realm-detail.html | 2 +- .../resources/partials/realm-tokens.html | 202 +++++++++--------- .../keycloak/admin/resources/css/styles.css | 17 ++ 4 files changed, 126 insertions(+), 115 deletions(-) diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/brute-force.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/brute-force.html index 5ea711e57b..e26e126c70 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/brute-force.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/brute-force.html @@ -17,15 +17,15 @@
-
+
How many failures before wait is triggered.
-
+
-
+
@@ -41,15 +41,15 @@
-
+
If a failure happens concurrently too quickly, lock out the user.
-
+
-
+
@@ -62,9 +62,9 @@
How long to wait after a quick login failure.
-
+
-
+
@@ -77,9 +77,9 @@
Max time a user will be locked out.
-
+
-
+
diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html index e1ff6834a6..469e8c62d2 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-detail.html @@ -1,7 +1,7 @@
-
+
diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-tokens.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-tokens.html index 4f5518de23..56ed0d74fb 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-tokens.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-tokens.html @@ -2,115 +2,107 @@ -
-
- -
-
-
- - -
-
-
- Time a session is allowed to be idle before it expires. Tokens and browser sessions are invalidated when a session is expired. + +
+ + +
+ +
-
- -
-
-
- - -
-
-
- Max time before a session is expired. Tokens and browser sessions are invalidated when a session is expired. + Time a session is allowed to be idle before it expires. Tokens and browser sessions are invalidated when a session is expired. + +
+ +
+ + +
+ +
-
- -
-
-
- - -
-
-
- Max time before an access token is expired. This value is recommended to be short relative to the SSO timeout. + Max time before a session is expired. Tokens and browser sessions are invalidated when a session is expired. +
+ +
+ + +
+ +
-
- -
-
-
- - -
-
-
- Max time an client has to finish the access token protocol. This should normally be 1 minute.
-
- -
-
-
- - -
-
-
- Max time a user has to complete a login. This is recommended to be relatively long. 30 minutes or more. + Max time before an access token is expired. This value is recommended to be short relative to the SSO timeout. +
+ +
+ + +
+ +
-
- -
-
-
- - -
-
-
- Max time a user has to complete login related actions like update password or configure totp. This is recommended to be relatively long. 5 minutes or more. + Max time an client has to finish the access token protocol. This should normally be 1 minute. +
+ +
+ + +
+ +
-
+ Max time a user has to complete a login. This is recommended to be relatively long. 30 minutes or more. +
+ +
+ + +
+ + +
+ + Max time a user has to complete login related actions like update password or configure totp. This is recommended to be relatively long. 5 minutes or more. + +
@@ -118,7 +110,9 @@
+ +
\ No newline at end of file diff --git a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css b/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css index 83f09293f1..30fb25a8b4 100644 --- a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css +++ b/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css @@ -312,4 +312,21 @@ h1 i { left: 0; right: 0; bottom: 0; +} + + +/* Time selector */ + +.time-selector input { + display: inline-block; + width: 120px; + padding-right: 0; + margin-right: 0; +} + +.time-selector select { + display: inline-block; + width: 80px; + margin-left: 0; + padding-left: 0; } \ No newline at end of file