@c8y/ng1-modules 1020.10.0 → 1020.14.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.
|
@@ -572,6 +572,7 @@
|
|
|
572
572
|
>
|
|
573
573
|
<input
|
|
574
574
|
type="checkbox"
|
|
575
|
+
name="shouldResetPassword"
|
|
575
576
|
ng-model="user.shouldResetPassword"
|
|
576
577
|
ng-disabled="!notCurrentUser || user.sendPasswordResetEmail"
|
|
577
578
|
/>
|
|
@@ -583,13 +584,14 @@
|
|
|
583
584
|
<div ng-hide="hidePasswordReset || disabledEdit || user.id">
|
|
584
585
|
<label
|
|
585
586
|
class="c8y-checkbox"
|
|
586
|
-
ng-class="{ disabled: user.id
|
|
587
|
+
ng-class="{ disabled: user.id }"
|
|
587
588
|
title="{{ 'Send password reset link as email' | translate }}"
|
|
588
589
|
>
|
|
589
590
|
<input
|
|
590
591
|
type="checkbox"
|
|
592
|
+
name="sendPasswordResetEmail"
|
|
591
593
|
ng-model="user.sendPasswordResetEmail"
|
|
592
|
-
ng-
|
|
594
|
+
ng-change="user.shouldResetPassword = !user.sendPasswordResetEmail"
|
|
593
595
|
/>
|
|
594
596
|
<span></span>
|
|
595
597
|
<span>{{ 'Send password reset link as email' | translate }}</span>
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<div
|
|
3
3
|
title="{{ 'From/To date filter' | translate }}"
|
|
4
4
|
class="form-group datepicker d-inline-block"
|
|
5
|
-
style="vertical-align: top"
|
|
6
5
|
>
|
|
7
6
|
<input
|
|
8
7
|
class="form-control"
|
|
@@ -17,13 +16,12 @@
|
|
|
17
16
|
ng-required="required"
|
|
18
17
|
ng-disabled="disabled"
|
|
19
18
|
ng-click="isOpen = true"
|
|
20
|
-
style="width:
|
|
19
|
+
style="max-width: 120px"
|
|
21
20
|
/>
|
|
22
21
|
</div>
|
|
23
22
|
<div
|
|
24
23
|
class="timepicker form-group d-inline-block"
|
|
25
24
|
ng-class="getInputSizeClass()"
|
|
26
|
-
style="vertical-align: top"
|
|
27
25
|
ng-if="timePickerOptions.show"
|
|
28
26
|
>
|
|
29
27
|
<div
|
|
@@ -38,4 +36,4 @@
|
|
|
38
36
|
ng-disabled="disabled"
|
|
39
37
|
></div>
|
|
40
38
|
</div>
|
|
41
|
-
</div>
|
|
39
|
+
</div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<span c8y-icon="caret-down"></span>
|
|
25
25
|
</button>
|
|
26
26
|
<ul
|
|
27
|
-
class="dropdown-menu dropdown-menu-right
|
|
27
|
+
class="dropdown-menu dropdown-menu-right"
|
|
28
28
|
data-cy="logViewer--dropdown-menu-action-bar"
|
|
29
29
|
uib-dropdown-menu
|
|
30
30
|
>
|
|
@@ -32,12 +32,13 @@
|
|
|
32
32
|
<form
|
|
33
33
|
class="form"
|
|
34
34
|
name="logRequestForm"
|
|
35
|
+
style="overflow: visible !important;"
|
|
35
36
|
>
|
|
36
37
|
<div
|
|
37
38
|
class="form-group c8y-datetime-picker"
|
|
38
39
|
data-cy="fromDatePicker"
|
|
39
40
|
>
|
|
40
|
-
<label>{{ 'From`date`' | translate }}</label>
|
|
41
|
+
<label class="logViewer">{{ 'From`date`' | translate }}</label>
|
|
41
42
|
<c8y-date-time-picker
|
|
42
43
|
placeholder="{{ 'From`date`' | translate }}"
|
|
43
44
|
append-to-body="true"
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
class="form-group c8y-datetime-picker"
|
|
52
53
|
data-cy="toDatePicker"
|
|
53
54
|
>
|
|
54
|
-
<label>{{ 'To`date`' | translate }}</label>
|
|
55
|
+
<label class="logViewer">{{ 'To`date`' | translate }}</label>
|
|
55
56
|
<c8y-date-time-picker
|
|
56
57
|
placeholder="{{ 'To`date`' | translate }}"
|
|
57
58
|
append-to-body="true"
|
|
@@ -62,7 +63,10 @@
|
|
|
62
63
|
</div>
|
|
63
64
|
|
|
64
65
|
<div class="form-group">
|
|
65
|
-
<label
|
|
66
|
+
<label
|
|
67
|
+
class="logViewer"
|
|
68
|
+
translate
|
|
69
|
+
>Type of log</label>
|
|
66
70
|
<ui-select
|
|
67
71
|
required
|
|
68
72
|
ng-init="vm.logtypeSelect = $select"
|
|
@@ -87,7 +91,10 @@
|
|
|
87
91
|
</div>
|
|
88
92
|
|
|
89
93
|
<div class="form-group">
|
|
90
|
-
<label
|
|
94
|
+
<label
|
|
95
|
+
class="logViewer"
|
|
96
|
+
translate
|
|
97
|
+
>Filter by text</label>
|
|
91
98
|
<input
|
|
92
99
|
class="form-control"
|
|
93
100
|
placeholder="{{ 'Filter by text' | translate }}"
|
|
@@ -98,7 +105,10 @@
|
|
|
98
105
|
</div>
|
|
99
106
|
|
|
100
107
|
<div class="form-group">
|
|
101
|
-
<label
|
|
108
|
+
<label
|
|
109
|
+
class="logViewer"
|
|
110
|
+
translate
|
|
111
|
+
>Last lines to display</label>
|
|
102
112
|
<input
|
|
103
113
|
class="form-control"
|
|
104
114
|
placeholder="{{ 'e.g.' | translate }} 10"
|
|
@@ -341,7 +351,9 @@
|
|
|
341
351
|
ng-show="selectedLog.c8y_LogfileRequest.dateFrom"
|
|
342
352
|
>
|
|
343
353
|
<dt translate>Date from</dt>
|
|
344
|
-
<dd
|
|
354
|
+
<dd
|
|
355
|
+
ng-bind="selectedLog.c8y_LogfileRequest.dateFrom|absoluteDate"
|
|
356
|
+
></dd>
|
|
345
357
|
</dl>
|
|
346
358
|
|
|
347
359
|
<dl
|
|
@@ -396,4 +408,4 @@
|
|
|
396
408
|
</div>
|
|
397
409
|
</div>
|
|
398
410
|
<c8y-load-more change-page-size></c8y-load-more>
|
|
399
|
-
</div>
|
|
411
|
+
</div>
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function n(e,n,t,
|
|
1
|
+
"use strict";!function(){function n(e,n,s,t,i){var r=this;function c(){var n=i("User's application access changed.");return t.success(n)}_.assign(r,{save:function(){var n=_.pick(r.user,["id","applications"]);return e.save(n).then(c)},cancel:s.gotoList,$onChanges:function(n){n.user&&r.user&&(r.hasExternalOrigin=e.hasExternalOrigin(r.user),r.hasExternalOrigin&&t.warning(s.EXTERNAL_ORIGIN_TEXT),function(n){s.hasAppManagement(n).then(function(n){r.hasAppManagement=n})}(r.user))},$onDestroy:function(){t.remove({text:s.EXTERNAL_ORIGIN_TEXT,type:"warning"})}})}n.$inject=["c8yUser","c8yApplication","c8yUsersUi","c8yAlert","gettext"],angular.module("c8y.users").component("c8yUserApplicationAccess",{templateUrl:":::PLUGIN_PATH:::/userDetailView/userApplicationAccess.html",bindings:{user:"<"},controller:n,controllerAs:"vm"})}();
|