Replace ecomp references
[portal.git] / ecomp-portal-FE-common / client / app / views / support / get-access / get-access.tpl.html
1 <!--
2   ============LICENSE_START==========================================
3   ONAP Portal
4   ===================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6   ===================================================================
7  
8   Unless otherwise specified, all software contained herein is licensed
9   under the Apache License, Version 2.0 (the "License");
10   you may not use this software except in compliance with the License.
11   You may obtain a copy of the License at
12  
13               http://www.apache.org/licenses/LICENSE-2.0
14  
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20  
21   Unless otherwise specified, all documentation contained herein is licensed
22   under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23   you may not use this documentation except in compliance with the License.
24   You may obtain a copy of the License at
25  
26               https://creativecommons.org/licenses/by/4.0/
27  
28   Unless required by applicable law or agreed to in writing, documentation
29   distributed under the License is distributed on an "AS IS" BASIS,
30   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31   See the License for the specific language governing permissions and
32   limitations under the License.
33  
34   ============LICENSE_END============================================
35  
36   
37   -->
38 <div class="w-ecomp-get-access-home">
39         <div class="get-access-home-container" id="page-content">
40                 <div class="admins-page-main">
41                         <div id="title" class="w-ecomp-main-view-title">
42                         <h1 class="heading-page">Get Access</h1>
43                         </div>
44                         <div ng-include
45                                 src="'app/views/support/get-access/get-accessinfo.html'"></div>
46                         <div class="get-access-table">
47                                 <div class="table-control">
48                                         <input id="input-table-search" class="table-search" type="text"
49                                                 placeholder="Search" ng-model="access.searchString" /> <span
50                                                 class="ecomp-spinner" ng-show="access.isLoadingTable"></span>
51                                         <div b2b-table table-data="access.appTable"
52                                                 ng-hide="access.isLoadingTable"
53                                                 search-string="access.searchString"
54                                                 class="b2b-table-div">
55                                                 <table>
56                                                         <thead b2b-table-row type="header">
57                                                                 <tr>
58                                                                         <th id="th-access-0" b2b-table-header key="ecomp_function"
59                                                                                 sortable="false" >{{access.getAccessTableHeaders[0]}}</th>
60                                                                         <th id="th-access-1" b2b-table-header key="app_name"
61                                                                                 sortable="false">{{access.getAccessTableHeaders[1]}}</th>
62                                                                         <th id="th-access-2" b2b-table-header key="role_name"
63                                                                                 sortable="false">{{access.getAccessTableHeaders[2]}}</th>
64                                                                         <th id="th-access-3" b2b-table-header key="current_role"
65                                                                                 sortable="false">{{access.getAccessTableHeaders[3]}}</th>
66                                                                         <th id="th-access-4" b2b-table-header key="request_access"
67                                                                                 sortable="false">{{access.getAccessTableHeaders[4]}}</th>
68                                                                 </tr>
69                                                         </thead>
70                                                         <tbody b2b-table-row type="body"
71                                                                 row-repeat="rowData in access.appTable | filter:access.searchString | startFrom:(access.currentPage-1)*access.viewPerPage | limitTo:access.viewPerPage | orderBy:'ecomp_function'"  track-by="$index">
72                                                                 <tr id="tr-rowData" ng-click="openAppRoleModal(rowData)">
73                                                                         <td b2b-table-body>
74                                                                                 <div id="access-page-function"
75                                                                                         ng-if="rowData.ecomp_function !== 'Ecomp Function Not Available'"
76                                                                                         ng-bind="rowData.ecomp_function"></div>
77                                                                                 <div id="access-page-function"
78                                                                                         ng-if="rowData.ecomp_function === 'Ecomp Function Not Available'"
79                                                                                         ng-bind="rowData.ecomp_function"></div>
80                                                                         </td>
81                                                                         <td b2b-table-body>
82                                                                                 <div id="access-page-appName"
83                                                                                         ng-bind="rowData.app_name"></div>
84                                                                         </td>
85                                                                         <td b2b-table-body>
86                                                                                 <div id="access-page-roleName" ng-bind="rowData.role_name"></div>
87                                                                         </td>
88                                                                         <td b2b-table-body>
89                                                                                 <div id="access-page-currentRole"
90                                                                                         ng-if="rowData.current_role === 'Y'">
91                                                                                         <i class="icon-controls-check"></i>
92                                                                                 </div>
93                                                                         </td>
94                                                                         <td b2b-table-body>
95                                                                                 <div id="access-page-RequestAccess"
96                                                                                         ng-if="rowData.request_type !== null"
97                                                                                         ng-bind="rowData.request_type"></div>
98                                                                         </td>
99                                                                 </tr>
100                                                         </tbody>
101                                                 </table>
102                                         </div>
103                                 </div>
104                         </div>
105                         <div b2b-pagination="" input-id="goto-page-1" total-pages="access.totalPage" current-page="access.currentPage" click-handler="access.updateTable" role="navigation" aria-label="Customer Data Pages"></div>     
106                 </div>
107         </div>
108 </div>
109
110 <style>
111 .tablesorter-default {
112         cursor: default;
113 }
114
115 .admins-page-main .admins-table .table-body {
116         cursor: default;
117 }
118 </style>