@c8y/ng1-modules 1018.155.0 → 1018.158.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES +2171 -3054
- package/administration-applicationSettings/views/index.html +51 -18
- package/devicemanagement-deviceNetwork/views/network.html +54 -33
- package/devicemanagement-logViewer/views/index.html +98 -40
- package/package.json +1 -1
- package/smartRestEditor/requestEditor/requestEditor.html +123 -49
- package/tenantPolicies/retentionRule/retentionRuleRow.html +29 -12
- package/tenantPolicies/tenantOptions/tenantOptionsRow.html +30 -9
- package/tenantPolicies/tenantPolicyDetail/accordion.html +14 -4
- package/tenantPolicies/tenantPolicyDetail/tenantPolicyDetail.html +65 -22
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div
|
|
2
|
+
class="log-viewer"
|
|
3
|
+
ng-controller="logViewerCtrl as vm"
|
|
4
|
+
>
|
|
2
5
|
<c8y-ui-action-bar-set>
|
|
3
6
|
<li>
|
|
4
7
|
<div
|
|
@@ -10,34 +13,46 @@
|
|
|
10
13
|
>
|
|
11
14
|
<button
|
|
12
15
|
class="dropdown-toggle c8y-dropdown"
|
|
13
|
-
type="button"
|
|
14
16
|
title="{{ 'Request log file' | translate }}"
|
|
15
|
-
uib-dropdown-toggle
|
|
16
17
|
aria-haspopup="true"
|
|
18
|
+
type="button"
|
|
19
|
+
uib-dropdown-toggle
|
|
17
20
|
>
|
|
18
21
|
<i c8y-icon="file-text"></i>
|
|
19
22
|
<span translate>Request log file</span>
|
|
20
23
|
<span c8y-icon="caret-down"></span>
|
|
21
24
|
</button>
|
|
22
|
-
<ul
|
|
25
|
+
<ul
|
|
26
|
+
class="dropdown-menu dropdown-menu-right dropdown-menu-action-bar"
|
|
27
|
+
uib-dropdown-menu
|
|
28
|
+
>
|
|
23
29
|
<li class="dropdown-form">
|
|
24
|
-
<form
|
|
25
|
-
|
|
30
|
+
<form
|
|
31
|
+
class="form"
|
|
32
|
+
name="logRequestForm"
|
|
33
|
+
>
|
|
34
|
+
<div
|
|
35
|
+
class="form-group c8y-datetime-picker"
|
|
36
|
+
data-cy="fromDatePicker"
|
|
37
|
+
>
|
|
26
38
|
<label>{{ 'From`date`' | translate }}</label>
|
|
27
39
|
<c8y-date-time-picker
|
|
40
|
+
placeholder="{{ 'From`date`' | translate }}"
|
|
28
41
|
is-open="vm.datePickerFromOpen"
|
|
29
42
|
ng-model="vm.filters.dateFrom"
|
|
30
|
-
placeholder="{{ 'From`date`' | translate }}"
|
|
31
43
|
max-date="vm.filters.dateTo"
|
|
32
44
|
></c8y-date-time-picker>
|
|
33
45
|
</div>
|
|
34
46
|
|
|
35
|
-
<div
|
|
47
|
+
<div
|
|
48
|
+
class="form-group c8y-datetime-picker"
|
|
49
|
+
data-cy="toDatePicker"
|
|
50
|
+
>
|
|
36
51
|
<label>{{ 'To`date`' | translate }}</label>
|
|
37
52
|
<c8y-date-time-picker
|
|
53
|
+
placeholder="{{ 'To`date`' | translate }}"
|
|
38
54
|
is-open="vm.datePickerToOpen"
|
|
39
55
|
ng-model="vm.filters.dateTo"
|
|
40
|
-
placeholder="{{ 'To`date`' | translate }}"
|
|
41
56
|
min-date="vm.filters.dateFrom"
|
|
42
57
|
></c8y-date-time-picker>
|
|
43
58
|
</div>
|
|
@@ -45,9 +60,9 @@
|
|
|
45
60
|
<div class="form-group">
|
|
46
61
|
<label translate>Type of log</label>
|
|
47
62
|
<ui-select
|
|
63
|
+
required
|
|
48
64
|
ng-init="vm.logtypeSelect = $select"
|
|
49
65
|
ng-model="vm.filters.logFile"
|
|
50
|
-
required
|
|
51
66
|
>
|
|
52
67
|
<ui-select-match
|
|
53
68
|
title="{{ $select.selected.name }}"
|
|
@@ -58,7 +73,10 @@
|
|
|
58
73
|
<ui-select-choices
|
|
59
74
|
repeat="logType.name as logType in vm.logTypes | filter: $select.search | orderBy:'name'"
|
|
60
75
|
>
|
|
61
|
-
<div
|
|
76
|
+
<div
|
|
77
|
+
title="{{ logType.name }}"
|
|
78
|
+
ng-bind="logType.name"
|
|
79
|
+
></div>
|
|
62
80
|
</ui-select-choices>
|
|
63
81
|
</ui-select>
|
|
64
82
|
</div>
|
|
@@ -76,17 +94,17 @@
|
|
|
76
94
|
<div class="form-group">
|
|
77
95
|
<label translate>Last lines to display</label>
|
|
78
96
|
<input
|
|
79
|
-
type="number"
|
|
80
97
|
class="form-control"
|
|
81
|
-
ng-model="vm.filters.maximumLines"
|
|
82
98
|
placeholder="{{ 'e.g.' | translate }} 10"
|
|
99
|
+
type="number"
|
|
83
100
|
required
|
|
101
|
+
ng-model="vm.filters.maximumLines"
|
|
84
102
|
/>
|
|
85
103
|
</div>
|
|
86
104
|
<button
|
|
87
105
|
class="btn btn-primary btn-block"
|
|
88
|
-
type="button"
|
|
89
106
|
title="{{ 'Request log file' | translate }}"
|
|
107
|
+
type="button"
|
|
90
108
|
ng-disabled="logRequestForm.$invalid"
|
|
91
109
|
ng-click="requestLogfile(vm.filters); isOpen = !isOpen"
|
|
92
110
|
c8yProductExperience
|
|
@@ -107,13 +125,16 @@
|
|
|
107
125
|
</c8y-ui-action-bar-set>
|
|
108
126
|
|
|
109
127
|
<c8y-ui-empty-state
|
|
110
|
-
ng-show="operations.length === 0"
|
|
111
128
|
[icon]="'file-text'"
|
|
112
129
|
[title]="'No logs found.' | translate"
|
|
130
|
+
ng-show="operations.length === 0"
|
|
113
131
|
></c8y-ui-empty-state>
|
|
114
132
|
|
|
115
133
|
<div class="c8y-list__group">
|
|
116
|
-
<div
|
|
134
|
+
<div
|
|
135
|
+
class="page-sticky-header c8y-list__item hidden-xs"
|
|
136
|
+
ng-if="operations.length > 0"
|
|
137
|
+
>
|
|
117
138
|
<div class="c8y-list__item__block">
|
|
118
139
|
<div class="c8y-list__item__icon">
|
|
119
140
|
<i class="p-l-24"></i>
|
|
@@ -134,20 +155,23 @@
|
|
|
134
155
|
|
|
135
156
|
<div
|
|
136
157
|
class="c8y-list__item collapsible"
|
|
137
|
-
ng-repeat="op in operations track by op.id"
|
|
138
158
|
ng-class="{ expanded: op === selectedLog, 'realtime-animation-list': realtimeAnimation }"
|
|
159
|
+
ng-repeat="op in operations track by op.id"
|
|
139
160
|
>
|
|
140
161
|
<div class="c8y-list__item__block">
|
|
141
162
|
<div class="c8y-list__item__icon">
|
|
142
163
|
<button
|
|
143
164
|
class="btn btn-dot"
|
|
144
|
-
type="button"
|
|
145
165
|
aria-label="{{ op.status | translate }}"
|
|
146
166
|
uib-tooltip="{{ op.status | translate }}"
|
|
147
167
|
tooltip-popup-delay="500"
|
|
148
168
|
tooltip-trigger="'mouseenter'"
|
|
169
|
+
type="button"
|
|
149
170
|
>
|
|
150
|
-
<i
|
|
171
|
+
<i
|
|
172
|
+
ng-class="statusClass(op)"
|
|
173
|
+
c8y-icon="{{ statusIcon(op) }}"
|
|
174
|
+
></i>
|
|
151
175
|
</button>
|
|
152
176
|
</div>
|
|
153
177
|
|
|
@@ -156,9 +180,9 @@
|
|
|
156
180
|
<div class="col-sm-5">
|
|
157
181
|
<button
|
|
158
182
|
class="btn-clean"
|
|
159
|
-
type="button"
|
|
160
|
-
title="{{ getOperationDesc(op) | translate }}"
|
|
161
183
|
ng-class="{ 'no-pointer': !hasLogFile(op) }"
|
|
184
|
+
title="{{ getOperationDesc(op) | translate }}"
|
|
185
|
+
type="button"
|
|
162
186
|
ng-click="selectLogfile(op)"
|
|
163
187
|
>
|
|
164
188
|
{{ getOperationDesc(op) | translate }}
|
|
@@ -169,7 +193,10 @@
|
|
|
169
193
|
class="text-muted"
|
|
170
194
|
ng-if="op.c8y_LogfileRequest.dateFrom && op.c8y_LogfileRequest.dateTo"
|
|
171
195
|
>
|
|
172
|
-
<i
|
|
196
|
+
<i
|
|
197
|
+
class="m-r-4"
|
|
198
|
+
c8y-icon="calendar"
|
|
199
|
+
></i>
|
|
173
200
|
{{ op.c8y_LogfileRequest.dateFrom | absoluteDate }} –
|
|
174
201
|
{{ op.c8y_LogfileRequest.dateTo | absoluteDate }}
|
|
175
202
|
</small>
|
|
@@ -178,14 +205,14 @@
|
|
|
178
205
|
</div>
|
|
179
206
|
<div class="c8y-list__item__actions showOnHover">
|
|
180
207
|
<button
|
|
181
|
-
ng-if="!hasLogFile(op) && isPending(op)"
|
|
182
208
|
class="btn btn-dot a-s-center"
|
|
183
|
-
type="button"
|
|
184
|
-
uib-tooltip="{{ 'Cancel operation' | translate }}"
|
|
185
209
|
aria-label="{{ 'Cancel operation' | translate }}"
|
|
210
|
+
uib-tooltip="{{ 'Cancel operation' | translate }}"
|
|
186
211
|
tooltip-popup-delay="500"
|
|
187
|
-
popover-trigger="'mouseenter focus'"
|
|
188
212
|
tooltip-placement="left"
|
|
213
|
+
type="button"
|
|
214
|
+
ng-if="!hasLogFile(op) && isPending(op)"
|
|
215
|
+
popover-trigger="'mouseenter focus'"
|
|
189
216
|
ng-click="cancel(op)"
|
|
190
217
|
c8yProductExperience
|
|
191
218
|
[actionName]="PRODUCT_EXPERIENCE.EVENT"
|
|
@@ -197,11 +224,11 @@
|
|
|
197
224
|
</button>
|
|
198
225
|
<button
|
|
199
226
|
class="btn btn-dot btn-dot--danger a-s-center"
|
|
200
|
-
type="button"
|
|
201
227
|
aria-label="{{ 'Delete operation' | translate }}"
|
|
202
228
|
uib-tooltip="{{ 'Delete operation' | translate }}"
|
|
203
229
|
tooltip-popup-delay="500"
|
|
204
230
|
tooltip-placement="left"
|
|
231
|
+
type="button"
|
|
205
232
|
ng-click="remove(op)"
|
|
206
233
|
ng-if="!hasLogFile(op) && isFailed(op)"
|
|
207
234
|
>
|
|
@@ -209,31 +236,43 @@
|
|
|
209
236
|
</button>
|
|
210
237
|
<button
|
|
211
238
|
class="collapse-btn"
|
|
212
|
-
type="button"
|
|
213
|
-
title="{{ 'Expand' | translate }}"
|
|
214
239
|
ng-class="{ active: op === selectedLog }"
|
|
240
|
+
title="{{ 'Expand' | translate }}"
|
|
241
|
+
type="button"
|
|
215
242
|
ng-click="op===selectedLog ? selectLogfile({}) :selectLogfile(op);"
|
|
216
243
|
ng-if="hasLogFile(op)"
|
|
217
244
|
>
|
|
218
245
|
<i c8y-icon="chevron-down"></i>
|
|
219
246
|
</button>
|
|
220
247
|
<span
|
|
221
|
-
ng-if="!hasLogFile(op) && !isPending(op) && !isFailed(op)"
|
|
222
248
|
class="dropdown settings m-r-40"
|
|
249
|
+
ng-if="!hasLogFile(op) && !isPending(op) && !isFailed(op)"
|
|
223
250
|
></span>
|
|
224
|
-
<span
|
|
251
|
+
<span
|
|
252
|
+
class="dropdown settings"
|
|
253
|
+
ng-if="hasLogFile(op)"
|
|
254
|
+
is-open="isopen"
|
|
255
|
+
uib-dropdown
|
|
256
|
+
>
|
|
225
257
|
<button
|
|
226
258
|
class="dropdown-toggle c8y-dropdown btn-link"
|
|
227
|
-
type="button"
|
|
228
259
|
title="{{ 'Actions' | translate }}"
|
|
229
|
-
uib-dropdown-toggle
|
|
230
260
|
aria-haspopup="true"
|
|
261
|
+
type="button"
|
|
262
|
+
uib-dropdown-toggle
|
|
231
263
|
>
|
|
232
264
|
<i c8y-icon="ellipsis-v"></i>
|
|
233
265
|
</button>
|
|
234
|
-
<ul
|
|
266
|
+
<ul
|
|
267
|
+
class="dropdown-menu dropdown-menu-right"
|
|
268
|
+
uib-dropdown-menu
|
|
269
|
+
>
|
|
235
270
|
<li>
|
|
236
|
-
<button
|
|
271
|
+
<button
|
|
272
|
+
title="{{ 'Delete log' | translate }}"
|
|
273
|
+
type="button"
|
|
274
|
+
ng-click="remove(op)"
|
|
275
|
+
>
|
|
237
276
|
<i c8y-icon="delete"></i>
|
|
238
277
|
{{ 'Delete' | translate }}
|
|
239
278
|
</button>
|
|
@@ -267,11 +306,22 @@
|
|
|
267
306
|
</span>
|
|
268
307
|
</div>
|
|
269
308
|
</div>
|
|
270
|
-
<div
|
|
309
|
+
<div
|
|
310
|
+
class="collapse"
|
|
311
|
+
uib-collapse="!(op === selectedLog)"
|
|
312
|
+
>
|
|
271
313
|
<div class="c8y-list__collapse__container">
|
|
272
|
-
<div
|
|
314
|
+
<div
|
|
315
|
+
class="row"
|
|
316
|
+
ng-show="op === selectedLog"
|
|
317
|
+
>
|
|
273
318
|
<div class="col-sm-3">
|
|
274
|
-
<div
|
|
319
|
+
<div
|
|
320
|
+
class="legend form-block"
|
|
321
|
+
translate
|
|
322
|
+
>
|
|
323
|
+
Details
|
|
324
|
+
</div>
|
|
275
325
|
<dl
|
|
276
326
|
class="dl-inline small text-muted m-b-0"
|
|
277
327
|
ng-show="selectedLog.c8y_LogfileRequest.dateFrom"
|
|
@@ -301,7 +351,10 @@
|
|
|
301
351
|
ng-show="selectedLog.c8y_LogfileRequest.searchText"
|
|
302
352
|
>
|
|
303
353
|
<dt translate>Filtered by text</dt>
|
|
304
|
-
<dd
|
|
354
|
+
<dd
|
|
355
|
+
class="text-pre"
|
|
356
|
+
ng-bind="selectedLog.c8y_LogfileRequest.searchText"
|
|
357
|
+
></dd>
|
|
305
358
|
</dl>
|
|
306
359
|
<dl
|
|
307
360
|
class="dl-inline small text-muted m-b-0"
|
|
@@ -312,7 +365,12 @@
|
|
|
312
365
|
</dl>
|
|
313
366
|
</div>
|
|
314
367
|
<div class="col-sm-9">
|
|
315
|
-
<div
|
|
368
|
+
<div
|
|
369
|
+
class="legend form-block"
|
|
370
|
+
translate
|
|
371
|
+
>
|
|
372
|
+
Log
|
|
373
|
+
</div>
|
|
316
374
|
<c8y-log-viewer></c8y-log-viewer>
|
|
317
375
|
</div>
|
|
318
376
|
</div>
|