From 73d5ccc099ec38c50b917bfe2ce6113fb7b6beca Mon Sep 17 00:00:00 2001 From: Viliam Rockai Date: Mon, 10 Feb 2014 19:16:59 +0100 Subject: [PATCH] more pages refactored --- .../resources/admin-ui/css/admin-console.css | 109 ++++++- .../resources/admin-ui/css/tables.css | 16 +- .../META-INF/resources/admin/js/app.js | 93 +++++- .../partials/application-credentials.html | 123 ++++---- .../admin/partials/application-detail.html | 206 ++++++------- .../partials/application-installation.html | 45 ++- .../admin/partials/application-list.html | 129 ++++----- .../partials/application-role-detail.html | 273 +++++++++--------- .../admin/partials/application-role-list.html | 145 +++++----- .../partials/application-scope-mappings.html | 183 ++++++------ .../admin/partials/application-sessions.html | 45 ++- .../partials/oauth-client-credentials.html | 115 ++++---- .../admin/partials/oauth-client-detail.html | 170 +++++------ .../partials/oauth-client-installation.html | 36 +-- .../admin/partials/oauth-client-list.html | 121 ++++---- .../partials/oauth-client-scope-mappings.html | 171 ++++++----- .../admin/partials/realm-credentials.html | 4 +- .../admin/partials/realm-default-roles.html | 8 +- .../admin/partials/realm-detail.html | 5 +- .../admin/partials/realm-social.html | 4 +- .../resources/admin/partials/role-detail.html | 262 ++++++++--------- .../resources/admin/partials/role-list.html | 8 +- .../admin/partials/role-mappings.html | 175 +++++------ .../admin/partials/user-credentials.html | 38 ++- .../resources/admin/partials/user-detail.html | 82 +++--- .../resources/admin/partials/user-list.html | 145 +++++----- .../templates/kc-form-control-buttons.html | 11 + 27 files changed, 1397 insertions(+), 1325 deletions(-) create mode 100644 admin-ui/src/main/resources/META-INF/resources/admin/templates/kc-form-control-buttons.html 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 83938148c6..71388893c7 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 @@ -24,18 +24,24 @@ html, body, body > .container, #view, #content-area{ border-radius: 2px; color: #555; cursor: pointer; - font-size: 1em; + font-size: .9em; font-weight: bold; line-height: 2.18182em; border-radius: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15); font-weight: bold; letter-spacing: 0.04em; - padding: 0.307692em 1.07692em; - margin: 0.5em; + /*padding: 0.307692em 1.07692em;*/ + padding: 0 1.07692em; + /*margin: 0.5em;*/ + margin: 0; display: inline-block; } +.kc-button.kc-vertical { + display: block; +} + p.subtitle { position: absolute; right: 2.5em; @@ -98,6 +104,66 @@ header .navbar { font-weight: bold; } +/* Forms */ + +.kc-link { + border: none; + background-color: transparent; + background: none; + box-shadow: none; + font-weight: normal; + font-size: 1em; + color: #0099D3; + letter-spacing: 0; + padding: 0; +} +.kc-link:hover { + text-decoration: underline; +} + +.search-comp { + position: relative; + display: inline-block; + font-size: 0.90909090909091em; +} +.search-comp input[type="text"] { + padding-right: 2.45454545454545em; +} +.search-comp .kc-icon-search { + position: absolute; + right: 0.2em; + top: 0.6em; + opacity: 0.5; + filter: alpha(opacity=50); +} +.search-comp .kc-icon-search:hover, +.search-comp .kc-icon-search:active, +.search-comp .kc-icon-search:focus { + background-image: url('img/sprites.png'); + opacity: 1; + filter: alpha(opacity=100); + -webkit-transition: ease-in-out opacity 0.25s; + -moz-transition: ease-in-out opacity 0.25s; + -o-transition: ease-in-out opacity 0.25s; + transition: ease-in-out opacity 0.25s; +} +.search-comp .kc-icon-search + .tooltip { + width: 20em; + font-weight: normal; +} +.search-comp + span { + font-weight: normal; + color: #A1A1A1; +} +.search-comp + span span { + margin-left: 0.45454545454545em; + margin-right: 0.45454545454545em; + display: inline-block; +} +.search-comp + span .link { + font-size: 0.90909090909091em; +} + /* Top menu */ #kc-navigation li.active { @@ -285,6 +351,17 @@ legend:hover .text { vertical-align: text-top; } +button[class^="kc-icon-"] { + border: none; + box-shadow: none; + background-color: transparent; + padding: 0; + line-height: 1em; +} +button[class^="kc-icon-"]:hover { + background-image: url(img/sprites.png); +} + legend .kc-icon-collapse, legend .kc-icon-expand { background-image: url(../img/icon-collapse-expand.png); @@ -407,6 +484,19 @@ legend .kc-icon-collapse { background-color: #D5ECF9; } +/* If input has a button attached to it*/ + +.kc-button-control { + xwidth: auto; + display: inline-block; +} + +/* More inputs in one line */ + +.kc-multiline input { + margin-bottom: .35em; +} + /* Left-Rigth selector form */ .changing-selectors.application { --padding-left: 12em; @@ -448,7 +538,6 @@ legend .kc-icon-collapse { } .changing-selectors .middle-buttons { display: inline-block; - width: 4.5em; margin-left: 0.8em; margin-right: 0.8em; vertical-align: middle; @@ -464,6 +553,10 @@ legend .kc-icon-collapse { margin-right: 0; } +.changing-selectors .middle-buttons.kc-vertical .kc-button{ + display: block; +} + /* Input file button */ .kc-button-input-file { @@ -512,4 +605,10 @@ legend .kc-icon-collapse { } .kc-link-input-file .link:hover { cursor: pointer; -} \ No newline at end of file +} + +/* Select2 fix for zero-width when nothing is selected */ +.select2-container-multi .select2-choices { + min-width: 22em; +} + diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/tables.css b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/tables.css index a5f44fe889..d16f9b7e4b 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/tables.css +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/tables.css @@ -20,27 +20,27 @@ table thead tr th { border-right: 1px #dcdcdc solid; text-align: left; } -.rcue-table-actions { +.kc-table-actions { padding: 1px; border-top: none; } /* -.rcue-table-actions span:last-child { +.kc-table-actions span:last-child { float: right; } */ -.rcue-table-actions { +.kc-table-actions { padding: 1px; } /* -.rcue-table-actions button { +.kc-table-actions button { padding: 3px 8px; font-size: 11px; box-shadow: 1px 2px 2px #e3e3e3; margin: 4px; } */ -.rcue-table-number { +.kc-table-number { text-align: right; width: 100px; } @@ -83,11 +83,11 @@ table tbody tr:hover { } */ /* Styles from Gabriel */ -.rcue-table-actions button + button, -.rcue-table-actions .button + button { +.kc-table-actions button + button, +.kc-table-actions .button + button { margin-left: 5px; } -.rcue-table-actions div.actions { +.kc-table-actions div.actions { float: right; font-size: 0.90909090909091em; } diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/js/app.js b/admin-ui/src/main/resources/META-INF/resources/admin/js/app.js index 68bc319cda..7c675c03a1 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/js/app.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/js/app.js @@ -792,14 +792,9 @@ module.directive('kcNavigation', function ($compile, Notifications) { attrs.kcSocial = false; } } - /* - controller: function($scope){ - $scope.kcSocial = $scope.kcSocial || false; - } */ } }); - /* * Used to select the element (invoke $(elem).select()) on specified action list. * Usages kc-select-action="click mouseover" @@ -871,4 +866,92 @@ module.filter('capitalize', function() { return function(input) { return input.substring(0, 1).toUpperCase() + input.substring(1); } +}); + + +/* + * TODO - create directive for form controlls + * Would be used like this: + * + */ + +module.directive('kcFormControl', function () { + return { + scope: { + kcCreate: "=", + kcChanged: "=", + kcActionCancel: "&", + kcActionRemove: "&" + }, + restrict: 'E', + replace: true, + templateUrl: "templates/kc-form-control-buttons.html" + } +}); + +module.directive('kcButtonSave', function ($compile, Notifications) { + return { + restrict: 'A', + replace: true, + link: function ($scope, elem, attr, ctrl) { + elem.addClass("btn btn-primary btn-lg"); + elem.attr("type","submit"); + elem.bind('click', function() { + $scope.$apply(function() { + var form = elem.closest('form'); + if (form && form.attr('name')) { + if ($scope[form.attr('name')].$valid) { + form.find('.ng-valid').removeClass('error'); + $scope['save'](); + } else { + Notifications.error("Missing or invalid field(s). Please verify the fields in red.") + form.find('.ng-invalid').addClass('error'); + form.find('.ng-valid').removeClass('error'); + } + } + }); + }) + } + } +}); + +module.directive('kcButtonDelete', function() { + return { + restrict: 'A', + compile: function(element, attrs){ + element.addClass("btn btn-danger btn-lg"); + element.attr("type","submit"); + } + } +}); + +module.directive('kcButtonReset', function ($compile, Notifications) { + return { + restrict: 'A', + link: function ($scope, elem, attr, ctrl) { + elem.addClass("btn btn-default btn-lg"); + elem.attr("type","submit"); + elem.bind('click', function() { + $scope.$apply(function() { + var form = elem.closest('form'); + if (form && form.attr('name')) { + form.find('.ng-valid').removeClass('error'); + form.find('.ng-invalid').removeClass('error'); + $scope['reset'](); + } + }) + }) + } + } +}); + +module.directive('kcButtonCancel', function ($compile, Notifications) { + return { + restrict: 'A', + replace: true, + compile: function(element, attrs){ + element.addClass("btn btn-default btn-lg"); + element.attr("type","submit"); + } + } }); \ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-credentials.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-credentials.html index 59de7a6473..d511b5432f 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-credentials.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-credentials.html @@ -1,67 +1,60 @@ -
-
-
-
- -
- -

{{application.name}} Credentials

-
-
- Change Password -
- -
- -
-
-
- -
- -
-
-
- -
-
-
- Change TOTP Key -
- -
- - -
-
-
- - -
-
-
-
-
-
+
+
+ +
+ +

{{application.name}} Credentials

+
+
+ Change Password +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+ Change TOTP Key +
+ +
+ + +
+
+
+ + +
+
+
diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-detail.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-detail.html index b8ea14464c..214f873a7b 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-detail.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-detail.html @@ -1,118 +1,102 @@ -
-
-
-
- -
-
    -
  • -
-
-
- -

{{realm.realm}} Add Application

-

* Required fields

- -

{{application.name}} Settings

-
-
-
- -
- -
-
- -
- - -
-
- - -
- -
-
-
- - -
- -
-
-
- -
-
- - -
- - -
-
-
- -
-
- - -
- - -
-
-
-
- - +
+
+ +
+ +

{{realm.realm}} Add Application

+

* Required fields

+ +

{{application.name}} Settings

+ +
+
+ +
+
+
-
- - - +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ + +
+
+
+ +
+
+ + +
+ + +
+
+
- +
+ +
-
-
+
+ + + +
+
diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-installation.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-installation.html index 88064bb5bc..77d8dcd9c4 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-installation.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-installation.html @@ -1,27 +1,22 @@ -
-
-
-
- -
-
    -
  • -
-
-
- Download
- -
-
-
+
+
+ + + +
+
    +
  • +
+
+
+ Download
+
diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-list.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-list.html index 6c8b378bff..8a7a50988b 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-list.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-list.html @@ -1,71 +1,64 @@ -
-
-
-
-
-
    -
  • -
-
-
- -

{{realm.realm}} Applications

- - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
- -
Application NameEnabledBase URL
- -
{{app.name}}{{app.enabled}} - {{app.baseUrl}} - Not defined -
- -
+
+
+ +
+ +

{{realm.realm}} Applications

+ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ +
Application NameEnabledBase URL
+ +
{{app.name}}{{app.enabled}} + {{app.baseUrl}} + Not defined +
+ -
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-detail.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-detail.html index e8bd13de7d..e9a7642fbd 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-detail.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-detail.html @@ -1,149 +1,144 @@ -
-
-
-
- -
- -

{{application.name}} Add Role

-

* Required fields

- - +
+
+ -

{{application.name}} {{role.name}}

-
-
-
- +
+ +

{{application.name}} Add Role

+

* Required fields

-
- -
-
-
- + -
- - - -
-
-
- - -
-
-
- - +

{{application.name}} {{role.name}}

+ +
+
+ + +
+
+
+
+ -
- - - +
+ +
-
- Composite Realm Roles -
-
-
- - -
-
- - -
-
- - -
-
-
-
+
+
+ +
+ +
+
+
-
- Composite Application Roles -
- -
-
- -
-
-
-
-
-
- - -
-
- - -
-
- - -
-
-
-
- - - +
+ +
-
-
+
+ + + +
+ +
+ Composite Realm Roles +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
+ Composite Application Roles +
+ +
+
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-list.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-list.html index 1e09376d70..634f5b8b6a 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-list.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-role-list.html @@ -1,78 +1,73 @@ -
-
-
-
- -
- -

{{application.name}} Roles

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Add Role - -
-
-
- - -
-
Role NameCompositeDescription
- -
{{role.name}}{{role.composite}}{{role.description}}
-
+
+
+ + + +
+ +

{{application.name}} Roles

+ -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Add Role + +
+
+
+ + +
+
Role NameCompositeDescription
+ +
{{role.name}}{{role.composite}}{{role.description}}
diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-scope-mappings.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-scope-mappings.html index 827a02843d..d70359e4d9 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-scope-mappings.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-scope-mappings.html @@ -1,95 +1,98 @@ -
-
-
-
- -
- -

{{application.name}} Scope Mappings

-

-
-
- Realm Roles -
-
-
- - -
-
- - -
-
- - -
-
-
-
+
+
-
- Application Roles -
- -
-
- -
-
+ + +
+ +

{{application.name}} Scope Mappings

+

+ +
+ Realm Roles +
+
+
+ +
-
-
-
- - -
-
- - -
-
- - -
-
+
+ +
-
- -
-
-
+
+ + +
+
+
+ + +
+ Application Roles +
+ +
+
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-sessions.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-sessions.html index b00d13c0e9..5f110beb7f 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-sessions.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/application-sessions.html @@ -1,27 +1,22 @@ -
-
-
-
- -
- -

{{application.name}} Sessions (Placeholder Page)

-
-
-
+
+
+ + + +
+ +

{{application.name}} Sessions (Placeholder Page)

diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-credentials.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-credentials.html index 8676a8c8a4..8c2f0bb1ae 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-credentials.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-credentials.html @@ -1,61 +1,60 @@ -
-
-
- +
+
+ -
- -

{{oauth.name}} Credentials

-
-
- Change Password -
- -
- -
-
-
- -
- -
-
-
- -
-
-
- Change TOTP Key -
- -
- - -
-
-
- - -
-
-
-
+
+ +

{{oauth.name}} Credentials

+
+
+ Change Password +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+ Change TOTP Key +
+ +
+ + +
+
+
+ + +
+
+
+ diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-detail.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-detail.html index 528bf6e962..838df6613c 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-detail.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-detail.html @@ -1,100 +1,84 @@ -
-
-
-
- -
-
    -
  • -
-
-
- -

{{realm.realm}} Add OAuth Client

-

* Required fields

- -

{{oauth.name}} Settings

-
-
-
- -
- -
-
+
+
+ +
+ +

{{realm.realm}} Add OAuth Client

+

* Required fields

+ +

{{oauth.name}} Settings

+ +
-
- - -
-
- -
-
- - -
- - -
-
-
- -
-
- - -
- - -
-
-
-
- - +
+ +
+
+
-
- - - +
+ +
+ +
+
+
+ +
+
+ + +
+ +
+
+
+ +
+
+ + +
+ + +
+
+
-
+
+ +
-
-
+
+ + + +
+
-
+
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-installation.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-installation.html index 07a0c80509..d7de9eaacc 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-installation.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-installation.html @@ -1,25 +1,13 @@ -
-
-
-
- -
-
    -
  • -
-
-
- Download
- -
-
-
+
+
+ +
+ + Download
-
+
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-list.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-list.html index 6613d1bb24..84387a290a 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-list.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-list.html @@ -1,67 +1,60 @@ -
-
-
-
-
-
    -
  • -
-
-
- -

{{realm.realm}} OAuth Clients

- - - - - - - - - - - - - - - - - - - - - - -
-
- - -
- -
OAuth Client NameEnabled
- -
{{client.name}}{{client.enabled}}
- -
+
+
+ +
+ +

{{realm.realm}} OAuth Clients

+ + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ +
OAuth Client NameEnabled
+ +
{{client.name}}{{client.enabled}}
+ -
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-scope-mappings.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-scope-mappings.html index 86012bc165..74c5787763 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-scope-mappings.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/oauth-client-scope-mappings.html @@ -1,93 +1,88 @@ -
-
-
-
- -
- -

{{oauth.name}} Scope Mappings

-

-
-
- Realm Roles -
-
-
- - -
-
- - -
-
- - -
-
-
-
+
+
-
- Application Roles -
- -
-
- -
-
+ + +
+ +

{{oauth.name}} Scope Mappings

+

+ +
+ Realm Roles +
+
+
+ +
-
-
-
- - -
-
- - -
-
- - -
-
+
+ +
-
- -
-
-
+
+ + +
+
+
+ + +
+ Application Roles +
+ +
+
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-credentials.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-credentials.html index 2ca0ea8477..a5d56b38b1 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-credentials.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-credentials.html @@ -41,8 +41,8 @@ Table of Password Policies - -
+ +
- -
diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html index c776eca7d8..476049de4e 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html @@ -10,6 +10,7 @@

Add Realm

{{realm.realm}} General Settings

* Required fields

+
Required Settings @@ -21,7 +22,7 @@
- +
@@ -30,7 +31,7 @@
Login Options
- +
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 edf92a3ed2..7ed860526a 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 @@ -20,8 +20,8 @@ Table of social providers - -
+ +
-
-
-
- + -
- -
-
-
- - -
-
-
- - +
+ +

{{realm.realm}} {{role.name}}

+ +

{{realm.realm}} Add Role

+

* Required fields

+ +
+
+ + +
+
+
+
+ -
- - - +
+
- -
- Composite Realm Roles -
-
-
- - -
-
- - -
-
- - -
-
-
-
- -
- Composite Application Roles -
- -
-
- -
-
-
-
-
-
- - -
-
- - -
-
- - -
-
-
-
- - +
+
+ +
+ +
+
+
+
+ +
-
-
+ +
+ + + +
+ +
+ Composite Realm Roles +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
+ Composite Application Roles +
+ +
+
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/role-list.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/role-list.html index e87f890ad2..1ef0b64234 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/role-list.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/role-list.html @@ -12,18 +12,18 @@

You have not configured realm roles. Add Role

- +
- -
-
+
+
+
- -
-
- - -
- +
+
+ +
+ +

{{user.username}}'s Role Mappings

+

All fields required

+ +
+ Realm Roles +
+
+
+ +
-
- -
- Application Roles -
- -
-
- -
-
+
+ +
-
-
-
- - -
-
- - -
-
- - -
-
+
+ +
-
- -
-
-
+ + + + +
+ Application Roles +
+ +
+
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ \ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-credentials.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-credentials.html index b5fb987208..5bc1f280fc 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-credentials.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-credentials.html @@ -1,14 +1,13 @@ -
-
+
- +

{{user.username}}'s Credentials

-
+
Credential Management
- -
- - - + +
+ + +
- -
- + +
+
- -
- + +
+
-
-
-
-
\ No newline at end of file + \ No newline at end of file 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 95b099ea68..eceacaabd9 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 @@ -1,109 +1,95 @@ -
-
-
-
    -
  • -
-
- +
-

Add User

+

Add User

* Required fields

- -

{{user.username}}'s Attributes

+

{{user.username}}'s Attributes

-
+
- -
+ +
-
- + -
- +
- + -
- +
- + -
- +
- + +
+
- + +
+
- + -
+
-
- - +
+ +
-
- - - +
+ + +
-
-
-
-
-
\ No newline at end of file +
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-list.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-list.html index ac727d8217..b7ecfa2fc4 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-list.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/user-list.html @@ -1,79 +1,72 @@ -
-
-
-
-
-
    -
  • -
-
-
- -

{{realm.realm}} Users

- - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
- or -
- Add User -
-
UsernameLast NameFirst NameEmail
{{user.username}}{{user.lastName}}{{user.firstName}}{{user.email}}
- - -
+
+
+ +
+ +

{{realm.realm}} Users

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ or +
+ Add User +
+
UsernameLast NameFirst NameEmail
{{user.username}}{{user.lastName}}{{user.firstName}}{{user.email}}
+ + -
\ No newline at end of file diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/templates/kc-form-control-buttons.html b/admin-ui/src/main/resources/META-INF/resources/admin/templates/kc-form-control-buttons.html new file mode 100644 index 0000000000..0024f3a4bc --- /dev/null +++ b/admin-ui/src/main/resources/META-INF/resources/admin/templates/kc-form-control-buttons.html @@ -0,0 +1,11 @@ +
+
+ + +
+
+ + + +
+
\ No newline at end of file