diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-05-22 16:57:43 +0200 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-05-22 16:57:43 +0200 |
commit | a005ba8e29ff68950bc6b9c93898ddb34fb25d60 (patch) | |
tree | 24e4051efc3e19c04095aa0ce3695c5c7dd43110 /admin/resources/templates/kc-tabs-role.html | |
download | tyrian-keycloak-theme-a005ba8e29ff68950bc6b9c93898ddb34fb25d60.tar.gz tyrian-keycloak-theme-a005ba8e29ff68950bc6b9c93898ddb34fb25d60.tar.bz2 tyrian-keycloak-theme-a005ba8e29ff68950bc6b9c93898ddb34fb25d60.zip |
Initial version of the theme
Please note that this is currently still a WIP
and likely to change a lot in future.
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'admin/resources/templates/kc-tabs-role.html')
-rw-r--r-- | admin/resources/templates/kc-tabs-role.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/admin/resources/templates/kc-tabs-role.html b/admin/resources/templates/kc-tabs-role.html new file mode 100644 index 0000000..f00515b --- /dev/null +++ b/admin/resources/templates/kc-tabs-role.html @@ -0,0 +1,16 @@ +<div data-ng-controller="RoleTabCtrl"> + <h1 data-ng-hide="create">{{role.name|capitalize}} <i id="removeRole" class="pficon pficon-delete clickable" data-ng-show="!create && access.manageRealm" + data-ng-hide="changed" data-ng-click="remove()"></i></h1> + <h1 data-ng-show="create">{{:: 'add-role' | translate}}</h1> + + <ul class="nav nav-tabs" data-ng-show="!create"> + <li ng-class="{active: !path[4]}"><a href="#/realms/{{realm.realm}}/roles/{{role.id}}">{{:: 'details' | translate}}</a></li> + <li ng-class="{active: path[4] == 'role-attributes'}"><a href="#/realms/{{realm.realm}}/roles/{{role.id}}/role-attributes">{{:: 'attributes' | translate}}</a></li> + <li ng-class="{active: path[4] == 'permissions'}" data-ng-show="serverInfo.featureEnabled('ADMIN_FINE_GRAINED_AUTHZ') && access.manageRealm && access.manageAuthorization"> + <a href="#/realms/{{realm.realm}}/roles/{{role.id}}/permissions">{{:: 'authz-permissions' | translate}}</a> + <kc-tooltip>{{:: 'manage-permissions-role.tooltip' | translate}}</kc-tooltip> + </li> + <li ng-class="{active: path[4] == 'users'}" data-ng-show="access.manageRealm && access.manageAuthorization"> + <a href="#/realms/{{realm.realm}}/roles/{{role.id}}/users">{{:: 'authz-users' | translate}}</a></li> + </ul> +</div>
\ No newline at end of file |