Move existing themes under a default folder
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
<div style="padding: 20px 20px 0 20px">
|
||||
<table class="table table-striped table-bordered">
|
||||
<tr><td width="100px">{{:: 'realm' | translate}}</td><td>{{event.authDetails.realmId}}</td></tr>
|
||||
<tr><td width="100px">{{:: 'client' | translate}}</td><td>{{event.authDetails.clientId}}</td></tr>
|
||||
<tr><td width="100px">{{:: 'user' | translate}}</td><td>{{event.authDetails.userId}}</td></tr>
|
||||
<tr><td width="100px">{{:: 'ip-address' | translate}}</td><td>{{event.authDetails.ipAddress}}</td></tr>
|
||||
</table>
|
||||
</div>
|
@ -0,0 +1,3 @@
|
||||
<div style="padding: 20px 20px 10px 20px">
|
||||
<pre ng-bind = "{{event.representation}} | json"></pre>
|
||||
</div>
|
39
default-themes/base/admin/resources/partials/modal/role-selector.html
Executable file
39
default-themes/base/admin/resources/partials/modal/role-selector.html
Executable file
@ -0,0 +1,39 @@
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" ng-click="cancel()">
|
||||
<span class="pficon pficon-close"></span>
|
||||
</button>
|
||||
<h4 class="modal-title">{{:: 'role-selector' | translate}}</h4>
|
||||
</div>
|
||||
<div style="padding: 0 15px 15px 15px;">
|
||||
<form>
|
||||
<div data-ng-show="realmRoles.length > 0" style="margin-bottom: 30px;">
|
||||
<label class="control-label" for="available">{{:: 'realm-roles' | translate}}</label>
|
||||
<kc-tooltip>{{:: 'realm-roles.tooltip' | translate}}</kc-tooltip>
|
||||
<select id="available" class="form-control" size="5"
|
||||
ng-dblclick="selectRealmRole()"
|
||||
ng-model="selectedRealmRole.role"
|
||||
ng-options="r.name for r in realmRoles | orderBy:'toString()'">
|
||||
<option style="display:none" value="">{{:: 'select-a-role' | translate}}</option>
|
||||
</select>
|
||||
<button class="btn btn-default" type="submit" data-ng-disabled="!selectedRealmRole.role" ng-click="selectRealmRole()" tooltip-trigger="mouseover mouseout" tooltip="Select realm role" tooltip-placement="right">
|
||||
{{:: 'select-realm-role' | translate}}</i>
|
||||
</button>
|
||||
</div>
|
||||
<div>
|
||||
<label class="control-label" for="clients">{{:: 'client-roles' | translate}}
|
||||
<kc-tooltip>{{:: 'client-roles.tooltip' | translate}}</kc-tooltip>
|
||||
</label>
|
||||
<input type="hidden" style="margin-bottom: 10px;"ui-select2="clientsUiSelect" id="clients" data-ng-model="selectedClient" data-ng-change="changeClient(selectedClient);" data-placeholder="{{:: 'authz-select-client' | translate}}...">
|
||||
</input>
|
||||
<select id="available-client" class="form-control" size="5"
|
||||
ng-dblclick="selectClientRole()"
|
||||
ng-model="selectedClientRole.role"
|
||||
ng-options="r.name for r in clientRoles | orderBy:'toString()'">
|
||||
<option style="display:none" value="">{{:: 'select-a-role' | translate}}</option>
|
||||
</select>
|
||||
<button class="btn btn-default" type="submit" data-ng-disabled="!selectedClientRole.role" ng-click="selectClientRole()" tooltip-trigger="mouseover mouseout" tooltip="Select client role" tooltip-placement="right">
|
||||
{{:: 'select-client-role' | translate}}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
@ -0,0 +1,21 @@
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" ng-click="cancel()">
|
||||
<span class="pficon pficon-close"></span>
|
||||
</button>
|
||||
<h4 class="modal-title">{{:: 'register-required-action' | translate}}</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div>
|
||||
<label class="control-label" for="selector">{{:: 'required-action' | translate}}</label>
|
||||
<select id="selector" class="form-control"
|
||||
ng-model="selected.selected"
|
||||
ng-options="r.name for r in unregisteredRequiredActions">
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" ng-click="cancel()">{{:: 'cancel' | translate}}</button>
|
||||
<button type="button" class="btn btn-primary" ng-click="ok()">{{:: 'ok' | translate}}</button>
|
||||
</div>
|
@ -0,0 +1,8 @@
|
||||
<div style="padding: 0px 20px 0 20px">
|
||||
<table class="table table-striped table-bordered credential-data-table">
|
||||
<tr ng-repeat="key in keys(credentialData) | orderBy">
|
||||
<td class="key">{{key}}</td>
|
||||
<td class="value">{{credentialData[key]}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
@ -0,0 +1,18 @@
|
||||
<!--
|
||||
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
||||
~ and other contributors as indicated by the @author tags.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<div style="padding: 20px 20px 20px 20px; word-wrap: break-word;">{{key}}</div>
|
@ -0,0 +1,3 @@
|
||||
<div style="padding: 20px 20px 10px 20px">
|
||||
<pre ng-bind = "{{object}} | json"></pre>
|
||||
</div>
|
Reference in New Issue
Block a user