[UI] Handling users and passwords
[validation.git] / ui / src / main / webapp / app / BluvalUI / GetUser / GetUserTemplate.html
1 <!--
2 Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8        http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16
17 <div id="page-content" class="content" style="padding: 25px;">
18     <style>
19 ul.ul-role {
20     list-style: none;
21     padding-left: 0;
22     margin-top: 25px;
23 }
24
25 li.li-role {
26     border: 1px solid black;
27     display: inline-block;
28     padding: 5px 10px;
29     margin-right: 5px;
30     margin-bottom: 5px;
31     text-transform: capitalize;
32 }
33 </style>
34     <div>
35         <h1 class="heading-page">Get User</h1>
36
37         <div ng-show="loadingUsers">
38             <img src=" static/fusion/images/giphy.gif" />
39         </div>
40
41         <h2 class="heading-small"></h2>
42         <table class="table table-striped table-bordered">
43             <thead>
44                 <tr style="background-color: grey;">
45                     <th class>Id&nbsp;</th>
46                     <th class>Login Id&nbsp;</th>
47                     <th class>First name&nbsp;</th>
48                     <th class>Role(s):&nbsp;</th>
49                 </tr>
50             </thead>
51             <tbody>
52                 <tr class="border_bottom"
53                     ng-repeat="userInfo in userInfos">
54                     <td class
55                         style="padding-left: 10px; font-size: 15px; width: 13%;">
56                         {{ userInfo.id }}</td>
57                     <td class
58                         style="padding-left: 10px; font-size: 15px; width: 13%;">
59                         {{ userInfo.loginId }}</td>
60                     <td class
61                         style="padding-left: 10px; font-size: 15px; width: 13%;">{{
62                         userInfo.firstName }}</td>
63                     <td class
64                         style="padding-left: 10px; font-size: 15px; width: 13%;">
65                         <ul class="ul-role">
66                             <li ng-repeat="role in userInfo.roles"
67                                 class="li-role">{{role.name}}</li>
68                         </ul>
69                     </td>
70                 </tr>
71             </tbody>
72         </table>
73     </div>
74 </div>