1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
<!--
============LICENSE_START==========================================
ONAP Portal
===================================================================
Copyright © 2017 AT&T Intellectual Property. All rights reserved.
===================================================================
Unless otherwise specified, all software contained herein is licensed
under the Apache License, Version 2.0 (the “License”);
you may not use this software except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Unless otherwise specified, all documentation contained herein is licensed
under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
you may not use this documentation except in compliance with the License.
You may obtain a copy of the License at
https://creativecommons.org/licenses/by/4.0/
Unless required by applicable law or agreed to in writing, documentation
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
============LICENSE_END============================================
ECOMP is a trademark and service mark of AT&T Intellectual Property.
-->
<div class="w-ecomp-dashboard-home" id="widgets">
<div class="dashboard-home-container" id="page-content">
<div align="center" id="errorInfo" class="error-info-txt">
<span class="">You don't have a user account in that
application. Please ask the system administrator. </span>
</div>
<div class="portals-list">
<div>
<div class="simulateGridHeader">
<span class="simulateGridHeaderTitle">Applications <span
class="dashboardSortHeader">Sort by:</span>
<div id="dashboard-dropdown">
<select id="sort-by-{{selectedSortType.value}}" name="dropdown1" b2b-dropdown ng-model="selectedSortType.value" ng-change="selectedSortTypeChanged(selectedSortType.value)">
<option b2b-dropdown-list option-repeat="d in sort_options" value="{{d.value}}">{{d.title}}</option>
</select>
</div>
</span>
</div>
<div class="dashboard-boarder">
<div class="gridster-container override_background">
<div ng-if="appsViewData.length==0">
<div class="app-error-block">
<i class="icon-information full-linear-icon-information"
class="icon-info"></i> <br>
<div class="activity-error-msg1">
You do not have access to any application or function in ECOMP
Portal.
<div ng-include src="'app/views/dashboard/dashboard-extension.tpl.html'"></div>
</div>
</div>
</div>
<div ng-if="appsViewData.length>0" id="page-content"
class="content" gridster="dashboard.gridsterAppOpts">
<ul>
<li gridster-item="item" ng-repeat="item in appsViewData">
<div class="gridster-box" ng-if="item.addRemoveApps == null">
<div class="gridster-box-header">
<i id="gridster-{{item.headerText.split(' ').join('-')}}-icon" class="icon-content-gridguide"></i>
<h3 style="cursor: context-menu">{{item.headerText |
elipsis: 14}}</h3>
</div>
<div class="gridster-box-content"
id="gridster-{{item.headerText.split(' ').join('-')}}-icon-link"
ng-style="{'cursor':'pointer',
'background-image': 'url('+(item.imageLink)+')',
'background-color':'white',
'background-repeat': 'no-repeat',
'background-size': '168px 118px'}"
ng-click="dashboard.goToPortal(item);dashboard.auditLog(item)"
ng-hide="users.isLoadingTable && !users.getUserAppsIsDone">
</div>
</div>
<div class="gridster-box" ng-if="item.addRemoveApps">
<div class="gridster-box-header gridster-box-pointer"
ng-click="dashboard.goToCatalog()">
<i class="icon-content-gridguide"></i>
<h3>Select applications...</h3>
</div>
<div class="gridster-box-content"
id="gridster-personalize"
ng-style="{'cursor':'pointer',
'order': item.order,
'text-align': 'center',
'background-color':'white',
'background-repeat': 'no-repeat',
'background-size': '170px 130px',
'padding': '4px',
'opacity': '1'}"
ng-click="dashboard.goToCatalog()" class="gridsterContent">
<label id="add-icon-label" class="gridster-txt">Click
here to personalize <br> this applications page
</label> <i id="add-icon" class="icon-controls-add-maximize"
class="gridster-icon"></i>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<br> <br>
<div class="simulateGridHeader">
<span class="simulateGridHeaderTitle">Widgets </span>
</div>
<div
ng-show=dashboard.isCommError>Failed to communicate with the
widget microservice.</div>
<div id="widget-boarder" class="content" gridster="dashboard.gridsterWidgetOpts">
<ul>
<li gridster-item="widget" ng-repeat="widget in widgetsViewData">
<div class="box">
<div class="box-header">
<i id="widget-gridster-{{widget.headerText.split(' ').join('-')}}-icon" class="icon-content-gridguide widget-gridster"></i>
<h3>{{ widget.headerText}}</h3>
<div class="box-header-btns pull-right"
ng-if="isAdminPortalAdmin == true" class="ng-scope">
<a id="widgetHeaderBtns"
class="widgetHeaderBtn widgetHeaderBtnPosition singleBtnBorder"
ng-class="singleBtnBorder" alt="Settings"
ng-mousedown="showImpResOption=!showImpResOption"
ng-mouseleave="showImpResOption=false" title="Settings"
ddh-accessibility-click="13,32" tabindex="0"><span
class="widgetHeaderBtns-span"><img
ng-src="assets/images/generic.png"
class="widgetHeaderBtns-img" alt="..."
aria-label="Tap or Click to move"
src="assets/images/generic.png"></span></a>
<ul class="optionsMenu widget-menu-options"
ng-show="showImpResOption"
ng-mouseenter="showImpResOption=true"
ng-mouseleave="showImpResOption=false">
<!-- ngIf: widget.duplicateAllowed -->
<li ng-show="widget.widgetIdentifier != ''"
ng-click="editWidgetModalPopup(importResData, widget.widgetIdentifier);">
<a id="edit-widget-popup" class="optionsMenuLink" href="javascript:void(0)"
ddh-accessibility-click="13,32">Edit</a>
</li>
<li
ng-click="editWidgetParameters(widget.widgetid);">
<a id="parameters-widget-popup" class="optionsMenuLink" href="javascript:void(0)"
ddh-accessibility-click="13,32">Parameters</a>
</li>
<!-- end ngIf: widget.duplicateAllowed -->
</ul>
</div>
</div>
<div class="box-content">
<div dyn-attr="widget.attrb"></div>
</div>
</div>
</li>
</ul>
</div>
<div></div>
<div class="gridster-container override_background">
<div id="dashboardAddWidgetPreference"
ng-style="{'cursor':'pointer'}"
ng-click="dashboard.goToWidgetCatLog()">
<i class="icon-controls-add-maximize"></i> Add Widget
</div>
<div id="dashboardDefaultPreference" ng-style="{'cursor':'pointer'}"
ng-click="restoreSortSelected()">
<i class="icon-arrows-replay-restart"></i> Reset Widget Layout
</div>
</div>
</div>
</div>
</div>
|