nexus site path corrected
[portal.git] / ecomp-portal-FE / client / app / views / applications / applications.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="applications-page-main" id="contentId">
23             <div id='app-title' class="w-ecomp-main-view-title">Application Onboarding</div>
24             <div class="apps-table">
25                 <div class="table-control">
26                     <input class="table-search"
27                            id="app-input-table-search"
28                            type="text"
29                            placeholder="Search by Application Name"
30                            ng-model="searchAppName"/>
31                     <div id="button-openAddNewApp" class="add-button" ng-click="apps.openAddNewAppModal()">Add App</div>
32                 </div>
33                 <span class="ecomp-spinner" ng-show="apps.isLoadingTable"></span>
34                 <div class="c-ecomp-att-abs-table default" ng-hide="apps.isLoadingTable" id="div-app-table">
35                     <table att-table id="app-onboarding-table"
36                            table-data="apps.appsList"
37                            search-string="apps.searchString"
38                            view-per-page="apps.viewPerPageIgnored"
39                            current-page="apps.currentPageIgnored"
40                            total-page="apps.totalPageIgnored">
41                         <thead att-table-row type="header" id="att-table-row">
42                             <tr>
43                                 <th id="app-header-delete" att-table-header sortable="false">Delete</th>
44                                 <th id="app-header-Thumbnail" att-table-header sortable="false">Thumbnail</th>
45                                 <th id="app-header-AppName" att-table-header sortable="true">Application Name</th>
46                                 <th id="app-header-Active" att-table-header sortable="false">Active?</th>
47                                 <th id="app-header-IntType" att-table-header sortable="false">Integration Type</th>
48                                 <th id="app-header-Guest" att-table-header sortable="false">Guest Access</th>
49                                 <th id="app-header-URL" att-table-header sortable="false">URL</th>
50                                 <th id="app-header-RESTURL" att-table-header sortable="false">REST URL</th>
51                                 <th id="app-header-Topic" att-table-header sortable="false">Communication Topic</th>
52                                 <th id="app-header-CommKey" att-table-header sortable="false">Communication Key</th>
53                                 <th id="app-header-Secret" att-table-header sortable="false">Communication Secret</th>
54                             </tr>
55                         </thead>
56                         <tbody att-table-row type="body"
57                                class="table-body"
58                                row-repeat="rowData in apps.appsList | filter:{name:searchAppName}  | orderBy: 'name'">
59                             <tr>
60                                 <td ng-click="apps.deleteApp(rowData)">
61                                     <div id="{{$index}}-app-delete" class="ion-trash-b"></div>
62                                 </td>
63                                 <td ng-click="apps.openAddNewAppModal(rowData)">
64                                     <img id="{{$index}}-app-imageUrl" class="small-thumbnail" ng-src="{{rowData.imageUrl || apps.emptyImgForPreview}}">
65                                 </td>
66                                 <td ng-click="apps.openAddNewAppModal(rowData)">
67                                     <div id="{{$index}}-name">{{rowData.name}}</div>
68                                 </td>
69                                 <td ng-click="apps.openAddNewAppModal(rowData)">
70                                     <div id="{{$index}}-isEnabled">{{(rowData.isEnabled) ? 'yes' : 'no'}}</div>
71                                 </td>
72                                 <td ng-click="apps.openAddNewAppModal(rowData)">
73                                     <div id="{{$index}}-restrictedApp">{{(rowData.restrictedApp) ? 'link' : 'standard'}}</div>
74                                 </td>
75                                 <td ng-click="apps.openAddNewAppModal(rowData)">
76                                     <div id="{{$index}}-isOpen">{{(rowData.isOpen) ? 'yes' : 'no'}}</div>
77                                 </td>
78                                 <td ng-click="apps.openAddNewAppModal(rowData)">
79                                     <div id="{{$index}}-url">{{rowData.url | elipsis: 27}}</div>
80                                 </td>
81                                 <td ng-click="apps.openAddNewAppModal(rowData)">
82                                     <div id="{{$index}}-restUrl">{{rowData.restUrl | elipsis: 27}}</div>
83                                 </td>
84                                 <td ng-click="apps.openAddNewAppModal(rowData)">
85                                     <div id="{{$index}}-uebTopicName">{{rowData.uebTopicName}}</div>
86                                 </td>
87                                 <td ng-click="apps.openAddNewAppModal(rowData)">
88                                     <div id="{{$index}}-uebKey">{{rowData.uebKey}}</div>
89                                 </td>
90                                 <td ng-click="apps.openAddNewAppModal(rowData)">
91                                     <div id="{{$index}}-uebSecret">{{rowData.uebSecret}}</div>
92                                 </td>
93                             </tr>
94                         </tbody>
95                     </table>
96                 </div>
97             </div>
98         </div>
99     </div>
100 </div>