2 ~ Licensed to the Apache Software Foundation (ASF) under one
3 ~ or more contributor license agreements. See the NOTICE file
4 ~ distributed with this work for additional information
5 ~ regarding copyright ownership. The ASF licenses this file
6 ~ to you under the Apache License, Version 2.0 (the
7 ~ "License"); you may not use this file except in compliance
8 ~ with the License. You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing,
13 ~ software distributed under the License is distributed on an
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ~ KIND, either express or implied. See the License for the
16 ~ specific language governing permissions and limitations
20 <app-paginated-entities [service]="service" pageSize="5"We #parent>
22 <table class="table table-striped table-bordered">
23 <thead class="thead-light">
25 <th scope="col">{{'users.list.table.head.user_id' | translate}}</th>
26 <th scope="col">{{'users.list.table.head.fullName' | translate}}</th>
27 <th scope="col">{{'users.list.table.head.email' | translate}}</th>
28 <th scope="col"><span class="fas fa-check" placement="top"
29 [ngbTooltip]="heads.validated" [attr.aria-label]="heads.validated"></span>
31 <th scope="col"><span class="fas fa-lock" placement="top"
32 [ngbTooltip]="heads.locked" [attr.aria-label]="heads.locked"></span></th>
33 <th scope="col"><span class="fa fa-chevron-circle-right" placement="top"
34 [ngbTooltip]="heads.pwchange" [attr.aria-label]="heads.pwchange"></span>
36 <th scope="col">{{'users.list.table.head.lastLogin' | translate}}</th>
37 <th scope="col">{{'users.list.table.head.created' | translate}}</th>
38 <th scope="col">{{'users.list.table.head.lastPwChange' | translate}}</th>
42 <tr *ngFor="let user of parent.items$ | async" [ngClass]="(user.permanent||user.readOnly)?'table-secondary':''" >
43 <td><span data-toggle="tooltip" placement="left" ngbTooltip="{{user.id}}">{{user.user_id}}</span></td>
44 <td>{{user.fullName}}</td>
45 <td>{{user.email}}</td>
46 <td><span class="far" [attr.aria-valuetext]="user.validated" [ngClass]="user.validated?'fa-check-circle':'fa-circle'"></span></td>
47 <td><span class="far" [attr.aria-valuetext]="user.locked" [ngClass]="user.locked?'fa-check-circle':'fa-circle'"></span></td>
48 <td><span class="far" [attr.aria-valuetext]="user.passwordChangeRequired" [ngClass]="user.passwordChangeRequired?'fa-check-circle':'fa-circle'"></span></td>
49 <td>{{user.timestampLastLogin | date:'yyyy-MM-ddTHH:mm:ss'}}</td>
50 <td>{{user.timestampAccountCreation | date : 'yyyy-MM-ddTHH:mm:ss'}}</td>
51 <td>{{user.timestampLastPasswordChange| date : 'yyyy-MM-ddTHH:mm:ss'}}</td>
56 </app-paginated-entities>