Security/ Package Name changes
[portal.git] / ecomp-portal-FE-common / client / app / views / account-onboarding / account-onboarding.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   ECOMP is a trademark and service mark of AT&T Intellectual Property.
37   -->
38   <div class="w-ecomp-main">
39         <div class="w-ecomp-main-container">
40                 <div class="account-onboarding" id="page-content">
41                         <div id="account-onboarding-title" class="w-ecomp-main-view-title">
42                                 <h1 class="heading-page" >App Account Management</h1>
43                         </div>
44                         <div class="account-table">
45                                 <div class="table-control">
46
47                                         <div class="table-control-buttons">
48                                                 <button class="btn btn-alt btn-small"
49                                                         id="account-onboarding-button-add"
50                                                         ng-click="accountOnboarding.openAddNewAccountModal()">
51                                                         <i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Add
52                                                         Account
53                                                 </button>
54                                         </div>
55
56
57                                         <div>
58                                                 <div class="c-ecomp-b2b-abs-table default">
59                                                         <table b2b-table table-data="serviceList"
60                                                                 view-per-page="accountOnboardingviewPerPageIgnored"
61                                                                 current-page="accountOnboarding.currentPageIgnored"
62                                                                 total-page="accountOnboarding.totalPageIgnored">
63                                                                 <thead b2b-table-row type="header">
64                                                                         <tr>
65                                                                                 <th id="account-catalog-th-header-name-{{header.value}}"
66                                                                                         ng-repeat="header in accountOnboarding.accoutTableHeaders"
67                                                                                         b2b-table-header key="{{header.value}}"
68                                                                                         sortable="{{header.isSortable}}">{{header.name}}</th>
69
70                                                                                 <th id="account-catalog-th-header-endpoints" b2b-table-header
71                                                                                         key="endpoints" sortable="false">Endpoints</th>
72
73                                                                                 <th id="account-catalog-th-header-delete" b2b-table-header
74                                                                                         sortable="false">Delete</th>
75                                                                         </tr>
76                                                                 </thead>
77                                                                 <tbody b2b-table-row type="body" class="table-body"
78                                                                         row-repeat="rowData in accountList">
79
80                                                                         <tr>
81                                                                                 <td b2b-table-body
82                                                                                         ng-repeat="header in accountOnboarding.accoutTableHeaders"
83                                                                                         ng-click="accountOnboarding.openAddNewAccountModal(rowData)">
84                                                                                         <div id="account-catalog-name-{{rowData.id}}"
85                                                                                                 ng-bind="rowData[header.value]"></div>
86                                                                                 </td>
87
88                                                                                 <td b2b-table-body
89                                                                                         ng-click="accountOnboarding.openAddNewAccountModal(rowData)">
90                                                                                         <div ng-show="rowData.endpoints.length > 0">
91                                                                                                 <div ng-repeat="row in rowData.endpoints">
92                                                                                                         <div id="account-catalog-account-endpoint"
93                                                                                                                 ng-bind="row.name"></div>
94                                                                                                 </div>
95                                                                                         </div>
96                                                                                         <div ng-hide="rowData.endpoints.length > 0">All
97                                                                                                 endpoints</div>
98                                                                                 </td>
99
100                                                                                 <td b2b-table-body>
101                                                                                         <div id="account-onboarding-div-delete-{{$index}}"
102                                                                                                 class="icon-misc-trash"
103                                                                                                 ng-click="accountOnboarding.deleteAccount(rowData)"></div>
104                                                                                 </td>
105                                                                         </tr>
106                                                                 </tbody>
107                                                         </table>
108                                                 </div>
109                                         </div>
110                                 </div>
111                         </div>
112                 </div>
113         </div>
114 </div>