nexus site path corrected
[portal.git] / ecomp-portal-FE / client / app / views / support / get-access / get-access.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-get-access-home">
21     <div class="get-access-home-container">
22         <div class="admins-page-main" id="contentId">
23             <div id="title" class="get-access-home-title">Get Access</div>
24             <div class="get-access-general-div">
25                                 <span>
26                                 Request access for following functions by sending email to the Application's Admin. For Admin contact details, please <a href='contactUs'>click here</a>.
27                                 </span>
28                         </div>
29             <div class="get-access-table">
30                 <div class="table-control">
31                                 <input id="input-table-search" 
32                                         class="table-search" 
33                                         type="text" 
34                                         placeholder="Search" 
35                                         ng-model="access.searchString"/>
36                 <span class="ecomp-spinner" ng-show="access.isLoadingTable"></span>
37                                 <div style="height: auto;" class="c-ecomp-att-abs-table default" ng-hide="access.isLoadingTable">
38                         <!-- expects data to arrive sorted by first column: ecomp_function -->
39                     <table att-table id="table-main"
40                            table-data="access.appTable"
41                            search-string="access.searchString"
42                            view-per-page="access.viewPerPageIgnored"
43                            current-page="access.currentPageIgnored"
44                            total-page="access.totalPageIgnored">
45                         <thead att-table-row type="header">
46                         <tr>
47                             <th id="th-access-0" att-table-header key="ecomp_function" sortable="false">{{access.getAccessTableHeaders[0]}}</th>
48                             <th id="th-access-1" att-table-header key="app_name" sortable="false">{{access.getAccessTableHeaders[1]}}</th>
49                             <th id="th-access-2" att-table-header key="role_name" sortable="false">{{access.getAccessTableHeaders[2]}}</th>
50                         </tr>
51                         </thead>
52                         <!-- Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data -->
53                         <tbody att-table-row type="body"
54                                 class="table-body" 
55                                 track-by="$index"
56                                 row-repeat="rowData in access.appTable">
57                                 <tr id="tr-rowData" ng-click="">
58                                     <td att-table-body>
59                                         <div id="access-page-function"
60                                                 ng-show="$index == 0 || access.appTable[$index-1].ecomp_function != rowData.ecomp_function"
61                                                 ng-bind="rowData.ecomp_function">
62                                         </div>
63                                     </td>
64                                     <td att-table-body>
65                                         <div id="access-page-appName"  
66                                                 ng-show="$index == 0 || access.appTable[$index-1].app_name != rowData.app_name"
67                                                 ng-bind="rowData.app_name"></div>
68                                     </td>
69                                     <td att-table-body>
70                                         <div id="access-page-roleName"  ng-bind="rowData.role_name"></div>
71                                     </td>
72                                 </tr>
73                         </tbody>
74                     </table>
75                 </div>
76             </div>
77         </div>
78     </div>
79 </div>
80 </div>
81 <style>
82 .tablesorter-default{
83      cursor: default; 
84 }
85 .admins-page-main .admins-table .table-body {
86      cursor: default;
87 }
88 </style>