2 ============LICENSE_START==========================================
4 ===================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ===================================================================
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
13 http://www.apache.org/licenses/LICENSE-2.0
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.
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
26 https://creativecommons.org/licenses/by/4.0/
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.
34 ============LICENSE_END============================================
38 <div class="w-ecomp-main">
39 <div class="w-ecomp-main-container">
41 <div class="applications-page-main" id="page-content">
42 <div id='app-title' class="w-ecomp-main-view-title">
43 <h1 class="heading-page" >{{'Application Onboarding'|T}}</h1>
45 <div class="apps-table">
46 <div class="table-control">
47 <div class="table-control-fields">
49 <input id="input-table-search" placeholder="Search in entire table" class="table-search-field" type="text" data-ng-model="searchAppName">
52 <div class="table-control-buttons">
53 <button class="btn btn-alt btn-small" ng-click="apps.openAddNewAppModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i> {{'Add App'|T}}</button>
56 <span class="ecomp-spinner" ng-show="apps.isLoadingTable"></span>
59 <div b2b-table table-data="apps.appsList" ng-hide="apps.isLoadingTable" search-string="searchAppName" class="b2b-table-div">
61 <thead b2b-table-row type="header">
62 <th b2b-table-header id="col1" sortable="false" >Thumbnail</th>
63 <th b2b-table-header id="col2" key="name" sortable="true" default-sort="a">Application Name</th>
64 <th b2b-table-header id="col3" sortable="false" >Active?</th>
65 <th b2b-table-header id="col4" sortable="false" >Integration Type</th>
66 <th b2b-table-header id="col5" sortable="false" >Guest Access</th>
67 <th b2b-table-header id="app-header-URL" sortable="false">URL</th>
68 <th b2b-table-header id="app-header-RESTURL" sortable="false">REST URL</th>
69 <th b2b-table-header id="app-header-Topic" sortable="false">Communication Topic</th>
70 <th b2b-table-header id="app-header-CommKey" sortable="false">Communication Key</th>
71 <th b2b-table-header id="app-header-Secret" sortable="false">Communication Secret</th>
72 <th b2b-table-header id="app-header-namespace" sortable="false">Application Namespace</th>
73 <th b2b-table-header id="app-header-central-auth" sortable="false">Central Auth Access</th>
74 <th b2b-table-header id="app-header-delete" sortable="false">Delete</th>
77 <tbody b2b-table-row type="body" row-repeat="rowData in apps.appsList">
79 <td b2b-table-body id="rowheader_t1_{{$index}}" headers="col1" ng-click="apps.openAddNewAppModal(rowData)">
80 <img id="{{$index}}-app-imageUrl" class="small-thumbnail" ng-src="{{rowData.imageLink || apps.emptyImgForPreview}}">
82 <td b2b-table-body headers="rowheader_t1_{{$index}} col2" ng-bind="rowData.name" ng-click="apps.openAddNewAppModal(rowData)"></td>
83 <td b2b-table-body headers="rowheader_t1_{{$index}} col3" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.isEnabled) ? 'yes' : 'no'}}</td>
84 <td b2b-table-body headers="rowheader_t1_{{$index}} col4" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.restrictedApp) ? 'link' : 'standard'}}</td>
85 <td b2b-table-body headers="rowheader_t1_{{$index}} col5" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.isOpen) ? 'yes' : 'no'}}</td>
86 <td b2b-table-body headers="rowheader_t1_{{$index}} col7" ng-click="apps.openAddNewAppModal(rowData)">{{rowData.url | elipsis: 27}}</td>
87 <td b2b-table-body headers="rowheader_t1_{{$index}} col8" ng-click="apps.openAddNewAppModal(rowData)">{{rowData.restUrl | elipsis: 27}}</td>
88 <td b2b-table-body headers="rowheader_t1_{{$index}} col11" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebTopicName"></td>
89 <td b2b-table-body headers="rowheader_t1_{{$index}} col12" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebKey"></td>
90 <td b2b-table-body headers="rowheader_t1_{{$index}} col13" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebSecret"></td>
91 <td b2b-table-body headers="rowheader_t1_{{$index}} col14" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.nameSpace"></td>
92 <td b2b-table-body headers="rowheader_t1_{{$index}} col15" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.isCentralAuth) ? 'yes' : 'no'}}</td>
93 <td b2b-table-body headers="rowheader_t1_{{$index}} col16" >
94 <span class="icon-misc-trash" ng-click="apps.deleteApp(rowData)"></span>