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">
40 <div class="widget-onboarding" id="page-content">
41 <div id="title" class="w-ecomp-main-view-title">
42 <h1 class="heading-page">Widget Onboarding</h1>
44 <div class="widgets-table">
45 <div class="table-control">
46 <div class="c-ecomp-abs-select default">
47 <div class="table-dropdown">
48 <select id="dropdown1" name="dropdown1" b2b-dropdown
49 placeholder-text="All Applications"
50 ng-model="widgetOnboarding.filterByApp.value">
51 <option b2b-dropdown-list
52 option-repeat="d in widgetOnboarding.availableApps"
53 value="{{d.value}}">{{d.title}}</option>
57 <input class="table-search" type="text"
58 id="widget-onboarding-table-search"
59 placeholder="Search in entire table"
60 data-ng-model="widgetOnboarding.searchString" />
62 <button id="widget-onboarding-button-add"
63 class="btn btn-alt btn-small"
64 ng-click="widgetOnboarding.openWidgetCatalogDetailsModal()">
65 <i class="icon-people-userbookmark" aria-hidden="true"></i> Add
69 <div id="widget-onboarding-communcation-message"
70 ng-show="widgetOnboarding.isCommError">Failed to communicate
71 with the widget microservice.</div>
73 <div ng-hide="widgetOnboarding.isCommError">
74 <div b2b-table table-data="portalAdmin.portalAdminsTableData"
75 ng-hide="widgetOnboarding.isLoadingTable"
76 search-string="widgetOnboarding.searchString" class="b2b-table-div">
78 <thead b2b-table-row type="header">
80 <th id="widgets-catalog-th-header-name"
81 ng-repeat="header in widgetOnboarding.widgetsTableHeaders"
82 b2b-table-header key="{{header.value}}"
83 sortable="{{header.isSortable}}">{{header.name}}</th>
84 <th id="widgets-catalog-th-header-url" b2b-table-header
85 key="appName" sortable="false">Application</th>
87 <th id="widgets-catalog-th-header-download" b2b-table-header
88 sortable="false">Download</th>
90 <th id="widgets-catalog-th-header-delete" b2b-table-header
91 sortable="false">Delete</th>
94 <tbody b2b-table-row type="body" class="table-body"
95 row-repeat="rowData in widgetsList | filter:widgetOnboarding.filterByDropdownValue">
98 ng-repeat="header in widgetOnboarding.widgetsTableHeaders"
99 id="widgets-catalog-widget-name-{{rowData.id}}-body"
100 ng-click="widgetOnboarding.openWidgetCatalogDetailsModal(rowData)">
101 <div id="widgets-catalog-widget-name-{{rowData.id}}"
102 ng-bind="rowData[header.value]"></div>
106 id="widget-catalog-widget-application-{{rowData.id}}-body"
107 ng-click="widgetOnboarding.openWidgetCatalogDetailsModal(rowData)">
108 <div ng-repeat="row in rowData.appContent">
109 <div id="widget-catalog-widget-application-{{rowData.id}}"
115 <div id="widget-onboarding-div-download-widget-{{$index}}" class="icon-arrows-download"
116 ng-click="widgetOnboarding.downloadWidget(rowData)"></div>
120 <div id="widget-onboarding-div-delete-widget-{{$index}}" class="icon-misc-trash"
121 ng-click="widgetOnboarding.deleteWidget(rowData)"></div>