]> source.dussan.org Git - archiva.git/blob
56b02aee515cb9b70d073b0a25774b10175144fd
[archiva.git] /
1 <!--
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
9   ~
10   ~ http://www.apache.org/licenses/LICENSE-2.0
11   ~
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
17   ~ under the License.
18   -->
19
20 <app-paginated-entities [service]="service" pageSize="5"We #parent>
21
22 <table class="table table-striped table-bordered">
23     <thead class="thead-light">
24     <tr>
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>
30         </th>
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>
35         </th>
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>
39     </tr>
40     </thead>
41     <tbody>
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>
52     </tr>
53     </tbody>
54 </table>
55
56 </app-paginated-entities>