ebbebd9bb95afce7b755dbee103061bcac38c855
[portal.git] / ecomp-portal-FE-common / client / app / views / microservice-onboarding / microservice-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="microservice-onboarding" id="page-content">
41                         <div id="microservice-onboarding-title" class="w-ecomp-main-view-title">
42                                 <h1 class="heading-page" >Microservice Onboarding</h1>
43                         </div>
44                         <div class="microservices-table">
45                                 <div class="table-control">
46                         <div class="table-control-buttons">
47                                                 <button class="btn btn-alt btn-small"  id="microservice-onboarding-button-add" ng-click="microserviceOnboarding.openAddNewMicroserviceModal()">
48                                         <i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Add Microservice
49                                 </button> 
50                                         </div>
51                                         <div>
52                                                 <div class="c-ecomp-b2b-abs-table default">
53                                                         <table b2b-table table-data="serviceList"
54                                                                 search-string="microserviceOnboarding.searchString"
55                                                                 view-per-page="microserviceOnboarding.viewPerPageIgnored"
56                                                                 current-page="microserviceOnboarding.currentPageIgnored"
57                                                                 total-page="microserviceOnboarding.totalPageIgnored">
58                                                                 <thead b2b-table-row type="header">
59                                                                         <tr>
60                                                                                 <th id="microservice-catalog-th-{{header.value}}"
61                                                                                         ng-repeat="header in microserviceOnboarding.serviceTableHeaders"
62                                                                                         b2b-table-header key="{{header.value}}"
63                                                                                         sortable="{{header.isSortable}}">{{header.name}}</th>
64                                                                                 <th id="microservices-catalog-th-header-delete"
65                                                                                         b2b-table-header sortable="false">Delete</th>
66                                                                         </tr>
67                                                                 </thead>
68                                                                 <tbody b2b-table-row type="body" class="table-body"
69                                                                         row-repeat="rowData in serviceList">
70
71                                                                         <tr>
72                                                                                 <td b2b-table-body
73                                                                                         ng-repeat="header in microserviceOnboarding.serviceTableHeaders"
74                                                                                         ng-click="microserviceOnboarding.openAddNewMicroserviceModal(rowData)">
75                                                                                         <div
76                                                                                                 id="microservices-catalog-microservice-name-{{rowData.id}}"
77                                                                                                 ng-bind="rowData[header.value]"></div>
78                                                                                 </td>
79
80                                                                                 <td b2b-table-body>
81                                                                                         <div id="microservice-onboarding-div-delete-{{$index}}"
82                                                                                                 class="icon-misc-trash"
83                                                                                                 ng-click="microserviceOnboarding.deleteService(rowData)"></div>
84                                                                                 </td>
85                                                                         </tr>
86                                                                 </tbody>
87                                                         </table>
88                                                 </div>
89                                         </div>
90                                 </div>
91                         </div>
92                 </div>
93         </div>
94 </div>