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============================================
36 ECOMP is a trademark and service mark of AT&T Intellectual Property.
38 <div class="w-ecomp-main">
39 <div class="w-ecomp-main-container">
40 <div class="widgets-page-main" id="page-content">
41 <div id="widget-onboarding-title" class="w-ecomp-main-view-title">Widget Onboarding</div>
42 <div class="widgets-table">
43 <div class="table-control">
44 <div class="c-ecomp-portal-abs-select default">
45 <div class="form-field" id="widegets-available-apps"
46 att-select="widgets.availableApps"
47 ng-model="widgets.filterByApp"></div>
49 <input class="table-search" type="text" id="widget-onboarding-table-search"
50 placeholder="Search in entire table"
51 ng-model="widgets.searchString"/>
53 <div id="widget-onboarding-button-add" class="add-button" ng-click="widgets.openWidgetDetailsModal()">Add Widget</div>
55 <div class="error-text" ng-show="infoMessage">
56 <span class="error-help">Only widgets for active applications are displayed.</span>
57 <button type="button" class="close" ng-click="hideMe()">×</button>
59 <div class="error-text" ng-show="noWidgets">
60 <span class="informational">There are currently no widgets available.</span>
63 <span class="ecomp-spinner" ng-show="widgets.isLoadingTable"></span>
64 <div class="c-ecomp-portal-abs-table default" ng-hide="widgets.isLoadingTable">
66 table-data="widgets.widgetsList"
67 search-string="widgets.searchString"
68 view-per-page="widgets.viewPerPageIgnored"
69 current-page="widgets.currentPageIgnored"
70 total-page="widgets.totalPageIgnored">
71 <thead b2b-table-row type="header">
73 <th id="widget-onboarding-th-header-name" ng-repeat="header in widgets.widgetsTableHeaders" b2b-table-header key="{{header.value}}" sortable="{{header.isSortable}}">{{header.name}}</th>
74 <th id="widget-onboarding-th-header-url" b2b-table-header key="url" sortable="{{false}}">URL</th>
75 <th id="widget-onboarding-th-header-delete" b2b-table-header sortable="{{false}}">Delete</th>
78 <tbody b2b-table-row type="body"
80 row-repeat="rowData in widgets.widgetsList | filter:widgets.filterByDropdownValue">
82 <td b2b-table-body ng-repeat="header in widgets.widgetsTableHeaders" ng-click="widgets.openWidgetDetailsModal(rowData)">
83 <div id="widget-onboarding-div-{{rowData[header.value].split(' ').join('-')}}" ng-bind="rowData[header.value]"></div>
85 <td b2b-table-body ng-click="widgets.openWidgetDetailsModal(rowData)">
86 <div id="widget-onboarding-div-url-{{rowData[header.value].split(' ').join('-')}}" ng-bind="rowData.url | trusted"></div>
89 <div id="widget-onboarding-div-delete-widget-{{$index}}" class="delete-widget" ng-click="widgets.deleteWidget(rowData)"></div>