aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-05-22 16:57:43 +0200
committerMax Magorsch <arzano@gentoo.org>2020-05-22 16:57:43 +0200
commita005ba8e29ff68950bc6b9c93898ddb34fb25d60 (patch)
tree24e4051efc3e19c04095aa0ce3695c5c7dd43110 /admin/resources/templates/kc-tabs-client.html
downloadtyrian-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-client.html')
-rw-r--r--admin/resources/templates/kc-tabs-client.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/admin/resources/templates/kc-tabs-client.html b/admin/resources/templates/kc-tabs-client.html
new file mode 100644
index 0000000..008f32b
--- /dev/null
+++ b/admin/resources/templates/kc-tabs-client.html
@@ -0,0 +1,63 @@
+<div data-ng-controller="ClientTabCtrl">
+
+ <h1 data-ng-show="create">{{:: 'add-client' | translate}}</h1>
+ <h1 data-ng-hide="create">
+ {{client.clientId|capitalize}}
+ <i id="removeClient" class="pficon pficon-delete clickable" data-ng-show="client.access.manage" data-ng-click="removeClient()"></i>
+ </h1>
+
+ <ul class="nav nav-tabs" data-ng-hide="create && !path[4]">
+ <li ng-class="{active: !path[4]}"><a href="#/realms/{{realm.realm}}/clients/{{client.id}}">{{:: 'settings' | translate}}</a></li>
+ <li ng-class="{active: path[4] == 'credentials'}"
+ data-ng-show="!client.publicClient && client.protocol == 'openid-connect' && !client.origin">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/credentials">{{:: 'credentials' | translate}}</a>
+ </li>
+ <li ng-class="{active: path[4] == 'saml'}" data-ng-show="client.protocol == 'saml' && (client.attributes['saml.client.signature'] == 'true' || client.attributes['saml.encrypt'] == 'true')"><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/saml/keys">{{:: 'saml-keys' | translate}}</a></li>
+ <li ng-class="{active: path[4] == 'roles'}" data-ng-show="!client.origin"><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/roles">{{:: 'roles' | translate}}</a></li>
+ <li ng-class="{active: path[4] == 'client-scopes'}" data-ng-show="!client.bearerOnly">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/client-scopes/setup-scopes">{{:: 'client-scopes' | translate}}</a>
+ <kc-tooltip>{{:: 'client-scopes.tooltip' | translate}}</kc-tooltip>
+ </li>
+ <li ng-class="{active: path[4] == 'mappers'}" data-ng-show="!client.bearerOnly">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/mappers">{{:: 'mappers' | translate}}</a>
+ <kc-tooltip>{{:: 'mappers.tooltip' | translate}}</kc-tooltip>
+ </li>
+ <li ng-class="{active: path[4] == 'scope-mappings'}" data-ng-show="!client.bearerOnly">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/scope-mappings">{{:: 'scope' | translate}}</a>
+ <kc-tooltip>{{:: 'scope.tooltip' | translate}}</kc-tooltip>
+ </li>
+ <li ng-class="{active: path[4] == 'authz'}"
+ data-ng-show="!disableAuthorizationTab && client.authorizationServicesEnabled && !client.origin">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/authz/resource-server">{{:: 'authz-authorization' |
+ translate}}</a></li>
+ <li ng-class="{active: path[4] == 'revocation'}" data-ng-show="client.protocol != 'docker-v2' && client.protocol != 'saml' && !client.origin"><a
+ href="#/realms/{{realm.realm}}/clients/{{client.id}}/revocation">{{:: 'revocation' | translate}}</a>
+ </li>
+ <!-- <li ng-class="{active: path[4] == 'identity-provider'}" data-ng-show="realm.identityFederationEnabled"><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/identity-provider">Identity Provider</a></li> -->
+ <li ng-class="{active: path[4] == 'sessions'}" data-ng-show="!client.bearerOnly">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/sessions">{{:: 'sessions' | translate}}</a>
+ <kc-tooltip>{{:: 'sessions.tooltip' | translate}}</kc-tooltip>
+ </li>
+
+ <li ng-class="{active: path[4] == 'offline-access'}" data-ng-show="!client.bearerOnly">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/offline-access">{{:: 'offline-access' | translate}}</a>
+ <kc-tooltip>{{:: 'offline-access.tooltip' | translate}}</kc-tooltip>
+ </li>
+
+ <li ng-class="{active: path[4] == 'clustering'}" data-ng-show="!client.publicClient && !client.origin"><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/clustering">{{:: 'clustering' | translate}}</a></li>
+
+ <li ng-class="{active: path[4] == 'installation'}" data-ng-show="!client.origin">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/installation">{{:: 'installation' | translate}}</a>
+ <kc-tooltip>{{:: 'installation.tooltip' | translate}}</kc-tooltip>
+ </li>
+
+ <li ng-class="{active: path[4] == 'service-account-roles'}" data-ng-show="client.serviceAccountsEnabled && !(client.bearerOnly || client.publicClient)">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/service-account-roles">{{:: 'service-account-roles' | translate}}</a>
+ <kc-tooltip>{{:: 'service-account-roles.tooltip' | translate}}</kc-tooltip>
+ </li>
+ <li ng-class="{active: path[4] == 'permissions'}" data-ng-show="serverInfo.featureEnabled('ADMIN_FINE_GRAINED_AUTHZ') && client.access.manage && access.manageAuthorization">
+ <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/permissions">{{:: 'authz-permissions' | translate}}</a>
+ <kc-tooltip>{{:: 'manage-permissions-client.tooltip' | translate}}</kc-tooltip>
+ </li>
+ </ul>
+</div>