[UI] Handling users and passwords
[validation.git] / ui / src / main / webapp / app / BluvalUI / GetUser / GetUserTemplate.html
diff --git a/ui/src/main/webapp/app/BluvalUI/GetUser/GetUserTemplate.html b/ui/src/main/webapp/app/BluvalUI/GetUser/GetUserTemplate.html
new file mode 100644 (file)
index 0000000..7b8176d
--- /dev/null
@@ -0,0 +1,74 @@
+<!--
+Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
+
+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 id="page-content" class="content" style="padding: 25px;">
+    <style>
+ul.ul-role {
+    list-style: none;
+    padding-left: 0;
+    margin-top: 25px;
+}
+
+li.li-role {
+    border: 1px solid black;
+    display: inline-block;
+    padding: 5px 10px;
+    margin-right: 5px;
+    margin-bottom: 5px;
+    text-transform: capitalize;
+}
+</style>
+    <div>
+        <h1 class="heading-page">Get User</h1>
+
+        <div ng-show="loadingUsers">
+            <img src=" static/fusion/images/giphy.gif" />
+        </div>
+
+        <h2 class="heading-small"></h2>
+        <table class="table table-striped table-bordered">
+            <thead>
+                <tr style="background-color: grey;">
+                    <th class>Id&nbsp;</th>
+                    <th class>Login Id&nbsp;</th>
+                    <th class>First name&nbsp;</th>
+                    <th class>Role(s):&nbsp;</th>
+                </tr>
+            </thead>
+            <tbody>
+                <tr class="border_bottom"
+                    ng-repeat="userInfo in userInfos">
+                    <td class
+                        style="padding-left: 10px; font-size: 15px; width: 13%;">
+                        {{ userInfo.id }}</td>
+                    <td class
+                        style="padding-left: 10px; font-size: 15px; width: 13%;">
+                        {{ userInfo.loginId }}</td>
+                    <td class
+                        style="padding-left: 10px; font-size: 15px; width: 13%;">{{
+                        userInfo.firstName }}</td>
+                    <td class
+                        style="padding-left: 10px; font-size: 15px; width: 13%;">
+                        <ul class="ul-role">
+                            <li ng-repeat="role in userInfo.roles"
+                                class="li-role">{{role.name}}</li>
+                        </ul>
+                    </td>
+                </tr>
+            </tbody>
+        </table>
+    </div>
+</div>