nexus site path corrected
[portal.git] / ecomp-portal-FE / client / app / views / admins / admins.tpl.html
1 <!--
2   ================================================================================
3   eCOMP Portal
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ================================================================================
19   -->
20 <div class="w-ecomp-main">
21     <div class="w-ecomp-main-container">
22         <div class="admins-page-main" id="contentId">
23             <div id="title" class="w-ecomp-main-view-title">Admins</div>
24             <div class="admins-table">
25                 <div class="table-control">
26                     <div class="table-dropdown-filter">
27                         <div class="c-ecomp-att-abs-select default">
28                             <div class="form-field" id="dropdown-apps"
29                                  att-select="admins.availableApps"
30                                  ng-model="admins.filterByApp"></div>
31                         </div>
32                     </div>
33                     <input id="input-table-search" class="table-search" type="text"
34                            placeholder="Search in entire table"
35                            ng-model="admins.searchString"/>                     
36                     <div id="Add-Admin-button" class="add-button" ng-click="admins.openAddNewAdminModal()">Add Admin</div>
37                 </div>
38                 <span class="ecomp-spinner" ng-show="admins.isLoadingTable"></span>
39                 <div class="c-ecomp-att-abs-table default" ng-hide="admins.isLoadingTable">
40                     <table att-table
41                            table-data="admins.adminsTableData"
42                            search-string="admins.searchString"
43                            view-per-page="admins.viewPerPageIgnored"
44                            current-page="admins.currentPageIgnored"
45                            total-page="admins.totalPageIgnored">
46                         <thead att-table-row type="header">
47                         <tr>
48                             <th id="th-first-name" att-table-header key="firstName" default-sort="a">{{admins.adminsTableHeaders[0]}}</th>
49                             <th id="th-last-name" att-table-header key="lastName" sortable="true">{{admins.adminsTableHeaders[1]}}</th>
50                             <th id="th-userId" att-table-header key="userId" sortable="true">{{admins.adminsTableHeaders[2]}}</th>
51                             <th id="th-apps" att-table-header key="apps" sortable="false">{{admins.adminsTableHeaders[3]}}</th>
52                         </tr>
53                         </thead>
54                         <tbody att-table-row type="body"
55                                class="table-body"
56                                style="overflow-y:scroll"
57                                row-repeat="rowData in admins.adminsTableData | filter: admins.portalsRowFilter">
58                         <tr ng-click="admins.openAddNewAdminModal(rowData)" >
59                             <td att-table-body class="td-first">
60                                 <div id="div-{{rowData.userId}}-{{rowData.firstName}}" ng-bind="rowData.firstName"></div>
61                             </td>
62                             <td att-table-body>
63                                 <div id="div-{{rowData.userId}}-{{rowData.lastName}}" ng-bind="rowData.lastName"></div>
64                             </td>
65                             <td att-table-body>
66                                 <div id="div-{{rowData.userId}}" style="float: left;" ng-bind="rowData.orgUserId"></div>
67                                 <div>
68                                     <span style="float: left; margin-left:15px" class="ion-person" ng-click="admins.openEditUserModal(rowData.orgUserId);$event.stopPropagation()"></span>
69                                 </div>
70                             </td>
71                             <td att-table-body>
72                                 <div id="apps-{{rowData.userId}}-{{app.appName}}" ng-repeat="app in rowData.apps" ng-bind="app.appName"></div>
73                             </td>
74                         </tr>
75                         </tbody>
76                     </table>
77                 </div>
78             </div>
79         </div>
80     </div>
81
82 </div>