@c8y/ng1-modules 1017.138.0 → 1017.139.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.
Files changed (114) hide show
  1. package/aclManagement/views/permissionEditor.html +2 -2
  2. package/actilityProviderSettings/actilitySettings.html +8 -8
  3. package/administration-alarmMapping/views/index.html +13 -13
  4. package/administration-applications/appWizard/appWizardClone2Step.html +5 -4
  5. package/administration-applications/appWizard/appWizardExternalStep.html +6 -6
  6. package/administration-applications/appWizard/appWizardSmartAppStep.html +6 -3
  7. package/administration-applications/application-detail/application-detail.html +7 -2
  8. package/administration-applications/application-list-view/application-list-view.html +9 -7
  9. package/administration-applications/views/applicationAccessEditor.html +1 -1
  10. package/administration-archivesEditor/views/upload.html +4 -4
  11. package/administration-eventProcessing/list/eventProcessingRulesList.html +4 -1
  12. package/administration-retentionRules/views/list.html +6 -6
  13. package/administration-storageLimitEmail/views/storageLimitForm.html +3 -2
  14. package/alarms/widget-config.html +11 -9
  15. package/app-status/app-instances/app-instances.html +4 -3
  16. package/app-status/app-status/app-status.html +16 -25
  17. package/app-status/app-tenant-subscriptions-list/app-tenant-subscriptions-list.html +7 -5
  18. package/assetTable/views/addOperation.html +10 -6
  19. package/assetTable/views/assets.html +11 -4
  20. package/assetTable/views/assets2.html +1 -1
  21. package/assetTable/views/rendererButton.html +2 -2
  22. package/binaryArtefactsManagement/views/list.html +1 -1
  23. package/configurationRepository/views/list.html +15 -13
  24. package/connectivityV2/sms.html +2 -2
  25. package/connectivityV2/status.html +14 -12
  26. package/core/ui/configurable-device-list-columns/modal-columns-configure.component.html +14 -14
  27. package/core/ui/filteringSorting/filteredSortedList.html +2 -3
  28. package/core/ui/forms/search.html +9 -8
  29. package/core/ui/navigation/breadcrumbs.html +4 -3
  30. package/core/ui/navigation/navigator.html +2 -1
  31. package/core/ui/operations/operations-timeline.html +5 -3
  32. package/core/ui/properties/propertySelector.html +9 -8
  33. package/core/ui/properties/schemaPropertySelector.html +15 -13
  34. package/core/ui/realtime/realtime-switch.html +2 -2
  35. package/core/ui/roles/roles-matrix.html +6 -6
  36. package/core/ui/user/editUser.directive.html +53 -46
  37. package/core/ui/user/measurementUnitPreference.html +2 -2
  38. package/core/ui/views/alarmList.html +32 -27
  39. package/core/ui/views/auditList.html +8 -7
  40. package/core/ui/views/binaryInput.html +37 -27
  41. package/core/ui/views/coreLogin.html +24 -24
  42. package/core/ui/views/deviceStatusDisplay.html +13 -9
  43. package/core/ui/views/editRetentionRuleDirective.html +3 -3
  44. package/core/ui/views/filePicker.html +2 -2
  45. package/core/ui/views/loadmore.html +3 -3
  46. package/dataBroker/connectors/connectors.html +21 -18
  47. package/device-protocol-impact/impact-resource.html +10 -10
  48. package/device-protocol-lwm2m/lwm2mResource.html +5 -6
  49. package/device-protocol-lwm2m/lwm2mValidationRules/lwm2mValidationRule.html +9 -8
  50. package/device-protocol-opcua-v2/opcua-v2-create-step.html +7 -8
  51. package/deviceDatabase4/detail/discrete-inputs.html +9 -9
  52. package/deviceDatabase4/detail/discrete-outputs.html +7 -7
  53. package/deviceDatabase4/detail/holding-registers.html +6 -6
  54. package/deviceDatabase4/detail/input-registers.html +9 -8
  55. package/deviceDatabase4/detail/message-id-configuration.html +4 -4
  56. package/deviceDatabase4/modals/configure-discrete-io.html +19 -25
  57. package/deviceDatabase4/modals/configure-register.html +177 -67
  58. package/deviceDatabase4/modals/import-device-type.html +5 -5
  59. package/deviceDetailIdentity/views/identity.html +8 -8
  60. package/deviceGroupAssignment/groupAssignment.component.html +6 -6
  61. package/deviceStatusWidget/ownerStatus.html +10 -10
  62. package/deviceStatusWidget/requiredAvailabilityIntervalSetting.html +8 -8
  63. package/devicemanagement-aclManagement/views/index.html +10 -10
  64. package/devicemanagement-deviceNetwork/views/network.html +6 -6
  65. package/devicemanagement-location/views/index.html +21 -21
  66. package/devicemanagement-logViewer/views/index.html +34 -24
  67. package/enterpriseEdition/customBranding/brandingConfigurationForm.component.js +1 -1
  68. package/enterpriseEdition/customBranding/brandingConfigurationForm.html +13 -20
  69. package/export/views/detail.html +4 -3
  70. package/export/views/list.html +13 -13
  71. package/export/views/properties.html +7 -7
  72. package/generic-ui/generic-ui-inventory-property.html +13 -12
  73. package/generic-ui/generic-ui-operation-list-button.html +2 -2
  74. package/htmlWidget/views/config.html +6 -7
  75. package/kpi/views/edit.html +3 -3
  76. package/kpi/views/pieChart.html +6 -5
  77. package/measurements/views/iconBar.html +11 -7
  78. package/modbusConfiguration4/fieldbus-device-list.html +17 -14
  79. package/modbusWidget4/widget.html +4 -3
  80. package/modbusWidgets/views/widget.html +4 -4
  81. package/package.json +1 -1
  82. package/remoteAccess/remoteAccessEndpointCard/remoteAccessEndpointCard.component.js +1 -1
  83. package/remoteAccess/remoteAccessEndpointCard/remoteAccessEndpointCard.html +17 -10
  84. package/remoteAccess/remoteAccessEndpointModal/remoteAccessEndpointModal.html +31 -23
  85. package/roles/detail/roleDetailGlobal.html +8 -8
  86. package/roles/detail/roleDetailInventory.html +11 -11
  87. package/roles/detail/roleInventoryPermissionList.html +11 -14
  88. package/scada/views/componentConfig.html +5 -5
  89. package/simulators/detail/instructionList.html +22 -22
  90. package/simulators/detail/operationAddDialog.html +5 -4
  91. package/smartRestEditor/addTemplate/addTemplate.modal.html +8 -8
  92. package/smartRestEditor/requestEditor/requestEditor.html +20 -20
  93. package/smartRestEditor/responseEditor/responseEditor.html +11 -10
  94. package/smartRules/list/smartRulesList.html +13 -6
  95. package/smartRules/views/edit.html +9 -3
  96. package/smartRules/views/paramInputAlarmType.html +4 -4
  97. package/smartRules/views/paramInputEscalationSteps.html +6 -2
  98. package/smartRules/views/paramInputKpi.html +2 -2
  99. package/smartRules/views/paramInputOperation.html +2 -2
  100. package/tenantApplications/subscribed-applications/subscribed-applications.html +9 -8
  101. package/tenantApplications/views/index.html +5 -4
  102. package/tenantPolicies/retentionRule/retentionRuleRow.html +12 -9
  103. package/tenantPolicies/systemOptions/systemOptionsRow.html +2 -0
  104. package/tenantPolicies/tenantOptions/tenantOptionsRow.html +18 -14
  105. package/tenantPolicies/tenantPolicyDetail/tenantPolicyDetail.html +40 -29
  106. package/tenantPolicies/tenantPolicyDetail/tenantPolicyRow.html +3 -3
  107. package/trackerRegistration/views/index.html +2 -0
  108. package/trafficLightWidget/states-mapping.html +8 -8
  109. package/userRoles/inventoryRoleSelector/inventoryRoleSelector.html +10 -12
  110. package/userRoles/inventoryRolesTab/inventoryRolesTab.html +15 -15
  111. package/users/applicationAccess/applicationAccess.html +18 -17
  112. package/users/userDetailView/userDetailView.html +10 -10
  113. package/users/userList/userList.html +22 -17
  114. package/users/userRemovalModal/userRemovalModal.component.html +10 -10
@@ -50,11 +50,12 @@
50
50
  {{ 'Retention rules' | translate }}
51
51
  <button
52
52
  class="btn-help btn-help--sm"
53
+ type="button"
53
54
  aria-label="{{ 'Help' | translate }}"
54
55
  uib-popover="{{ 'Use * to allow any values.' | translate }}"
55
- popover-append-to-body="true"
56
56
  popover-trigger="'focus'"
57
57
  popover-placement="right"
58
+ popover-append-to-body="true"
58
59
  ></button>
59
60
  </div>
60
61
 
@@ -71,29 +72,29 @@
71
72
  <script type="text/ng-template" id="confirmDeleteRetentionRule.html">
72
73
  <div class="text-pre-normal">
73
74
  <h4 class="popover-title m-b-8 p-0">
74
- <i class="text-danger m-r-4" c8y-icon="exclamation-circle"></i>
75
+ <i
76
+ class="text-danger m-r-4"
77
+ c8y-icon="exclamation-circle"></i>
75
78
  {{ 'Remove retention rule' | translate}}
76
79
  </h4>
77
- <p class="m-b-16" translate>
80
+ <p
81
+ class="m-b-16"
82
+ translate>
78
83
  Do you want to remove this retention rule? This operation is irreversible.
79
84
  </p>
80
85
  <div class="d-flex">
81
86
  <button
82
- title="{{ 'Cancel' | translate }}"
83
- type="button"
84
87
  class="btn btn-default btn-sm m-r-4"
85
- ng-click="popoverIsOpen = !popoverIsOpen; $event.stopPropagation();"
86
-
87
- >
88
+ type="button"
89
+ title="{{ 'Cancel' | translate }}"
90
+ ng-click="popoverIsOpen = !popoverIsOpen; $event.stopPropagation();">
88
91
  {{'Cancel' | translate}}
89
92
  </button>
90
93
  <button
91
- title="{{ 'Remove' | translate }}"
92
- type="button"
93
94
  class="btn btn-danger btn-sm"
94
- ng-click='vm.onRemove({rule: vm.rule})'
95
-
96
- >
95
+ type="button"
96
+ title="{{ 'Remove' | translate }}"
97
+ ng-click="vm.onRemove({rule: vm.rule})">
97
98
  {{'Remove' | translate}}
98
99
  </button>
99
100
  </div>
@@ -110,8 +111,8 @@
110
111
 
111
112
  <button
112
113
  class="btn btn-default"
113
- title="{{ 'Add retention rule' | translate }}"
114
114
  type="button"
115
+ title="{{ 'Add retention rule' | translate }}"
115
116
  ng-click="vm.addRetentionRule(); vm.policyForm.$setDirty()"
116
117
  >
117
118
  <i c8y-icon="plus-circle"></i>
@@ -133,21 +134,31 @@
133
134
 
134
135
  <uib-accordion close-others="false">
135
136
  <script type="text/ng-template" id="confirmDelete.html">
136
- <div class="text-pre-normal">
137
- <h4 class="popover-title m-b-8 p-0">
138
- <i class="text-danger m-r-4" c8y-icon="exclamation-circle" ></i>
139
- {{ 'Remove tenant option' | translate}}
140
- </h4>
141
- <p class="m-b-16" translate>
142
- Do you want to remove this tenant option? This operation is irreversible.
143
- </p>
137
+ <div class="text-pre-normal">
138
+ <h4 class="popover-title m-b-8 p-0">
139
+ <i
140
+ class="text-danger m-r-4"
141
+ c8y-icon="exclamation-circle"></i>
142
+ {{ 'Remove tenant option' | translate}}
143
+ </h4>
144
+ <p
145
+ class="m-b-16"
146
+ translate>
147
+ Do you want to remove this tenant option? This operation is irreversible.
148
+ </p>
144
149
  <div class="d-flex">
145
- <button class="btn btn-default btn-sm m-r-4"
146
- ng-click="popoverIsOpen = !popoverIsOpen; $event.stopPropagation();"
147
- >
150
+ <button
151
+ class="btn btn-default btn-sm m-r-4"
152
+ type="button"
153
+ title="{{'Cancel' | translate}}"
154
+ ng-click="popoverIsOpen = !popoverIsOpen; $event.stopPropagation();">
148
155
  {{'Cancel' | translate}}
149
156
  </button>
150
- <button class="btn btn-danger btn-sm" ng-click='vm.onRemove({option: vm.option})'>
157
+ <button
158
+ class="btn btn-danger btn-sm"
159
+ type="button"
160
+ title="{{'Remove' | translate}}"
161
+ ng-click="vm.onRemove({option: vm.option})">
151
162
  {{'Remove' | translate}}
152
163
  </button>
153
164
  </div>
@@ -163,8 +174,8 @@
163
174
 
164
175
  <button
165
176
  class="btn btn-default"
166
- title="{{ 'Add tenant option definition' | translate }}"
167
177
  type="button"
178
+ title="{{ 'Add tenant option definition' | translate }}"
168
179
  ng-click="vm.addTenantOption(); vm.policyForm.$setDirty()"
169
180
  >
170
181
  <i c8y-icon="plus-circle"></i>
@@ -177,16 +188,16 @@
177
188
  <div class="col-md-8">
178
189
  <button
179
190
  class="btn btn-default"
180
- title="{{ 'Cancel' | translate }}"
181
191
  type="button"
192
+ title="{{ 'Cancel' | translate }}"
182
193
  ng-click="vm.cancel()"
183
194
  >
184
195
  {{ 'Cancel' | translate }}
185
196
  </button>
186
197
  <button
187
198
  class="btn btn-danger"
188
- title="{{ 'Remove' | translate }}"
189
199
  type="button"
200
+ title="{{ 'Remove' | translate }}"
190
201
  ng-if="vm.editingPolicy.id"
191
202
  ng-click="vm.remove()"
192
203
  >
@@ -54,13 +54,13 @@
54
54
  <button
55
55
  class="showOnHover text-16"
56
56
  ng-class="{ open: popoverIsOpen }"
57
+ type="button"
57
58
  style="line-height: 14px"
58
- ng-click="$event.stopPropagation();vm.onRemove({rule: vm.rule})"
59
+ aria-label="{{ 'Remove' | translate }}"
59
60
  uib-tooltip="{{ 'Remove' | translate }}"
60
61
  tooltip-popup-delay="500"
61
62
  tooltip-append-to-body="true"
62
- aria-label="{{ 'Remove' | translate }}"
63
- type="button"
63
+ ng-click="$event.stopPropagation();vm.onRemove({rule: vm.rule})"
64
64
  >
65
65
  <i class="text-muted" c8y-icon="minus-circle"></i>
66
66
  </button>
@@ -204,6 +204,7 @@
204
204
  <div class="form-group" ng-if="shouldDisplayFirstSendButton()">
205
205
  <button
206
206
  class="btn btn-default"
207
+ type="button"
207
208
  ng-click="sendFirstConfigurationBatch()"
208
209
  ng-disabled="forms.trackerForm.$invalid"
209
210
  >
@@ -225,6 +226,7 @@
225
226
 
226
227
  <button
227
228
  class="btn btn-default"
229
+ type="button"
228
230
  ng-show="registration.status > 0"
229
231
  ng-click="onClickResetRegistrationData()"
230
232
  >
@@ -11,17 +11,18 @@
11
11
  <th translate>State</th>
12
12
  <th>
13
13
  <span translate>Property</span>
14
- <button class="btn-help btn-help--sm"
15
- aria-label="{{'Help' | translate}}"
14
+ <button
15
+ class="btn-help btn-help--sm"
16
16
  type="button"
17
- uib-tooltip="{{
17
+ aria-label="{{ 'Help' | translate }}"
18
+ uib-popover="{{
18
19
  'The value of the selected data point or property must be one of the following to have the respective light on: true, 1, any non-empty string or any non-null number.'
19
20
  | translate
20
21
  }}"
21
- tooltip-popup-delay="500"
22
- tooltip-append-to-body="true"
23
- >
24
- </button>
22
+ popover-trigger="'focus'"
23
+ popover-placement="right"
24
+ popover-append-to-body="true"
25
+ ></button>
25
26
  </th>
26
27
  <th></th>
27
28
  </tr>
@@ -66,4 +67,3 @@
66
67
  </tbody>
67
68
  </table>
68
69
  </div>
69
-
@@ -7,8 +7,8 @@
7
7
  dropdown-append-to-body="true"
8
8
  >
9
9
  <button
10
- type="button"
11
10
  class="btn dropdown-toggle c8y-dropdown"
11
+ type="button"
12
12
  title="{{ vm.displayTextAssigned() || 'Select inventory roles' | translate }}"
13
13
  uib-dropdown-toggle
14
14
  aria-haspopup="true"
@@ -101,27 +101,25 @@
101
101
  </span>
102
102
  </label>
103
103
  <button
104
- type="button"
105
104
  class="btn-help btn-help--sm"
106
- ng-show="::role.description"
105
+ type="button"
107
106
  aria-label="{{ 'Help' | translate }}"
108
107
  uib-popover-html="vm.getFormattedInventoryRoleDescription(role.description)"
109
- popover-append-to-body="'true'"
110
108
  popover-trigger="'focus'"
111
109
  popover-class="high-popover"
112
110
  popover-placement="right"
113
- >
114
- <i c8y-icon="question-circle-o"></i>
115
- </button>
111
+ popover-append-to-body="true"
112
+ ng-show="::role.description"
113
+ ></button>
116
114
  <button
117
- type="button"
118
- ng-show="::vm.isInherited(role)"
119
115
  class="text-warning btn-clean"
120
- uib-popover="{{::'This role is already assigned to a parent asset.' | translate}}"
116
+ type="button"
121
117
  aria-label="{{::'This role is already assigned to a parent asset.' | translate}}"
122
- popover-append-to-body="'true'"
118
+ uib-popover="{{::'This role is already assigned to a parent asset.' | translate}}"
123
119
  popover-trigger="'focus'"
124
120
  popover-placement="right"
121
+ popover-append-to-body="true"
122
+ ng-show="::vm.isInherited(role)"
125
123
  >
126
124
  <i c8y-icon="warning"></i>
127
125
  </button>
@@ -131,9 +129,9 @@
131
129
  <li class="divider"></li>
132
130
  <li class="bg-level-0">
133
131
  <button
132
+ class="btn btn-primary btn-block"
134
133
  type="button"
135
134
  title="{{ 'Apply' | translate }}"
136
- class="btn btn-primary btn-block"
137
135
  ng-click="::vm.apply()"
138
136
  ng-disabled="vm.isUnchanged"
139
137
  >
@@ -23,12 +23,12 @@
23
23
  {{ 'Assign inventory roles to device groups' | translate }}
24
24
  </div>
25
25
  <button
26
- type="button"
27
26
  class="btn-help btn-help--sm"
28
- popover-trigger="'focus'"
29
- popover-placement="bottom auto"
30
- uib-popover-template="'helpContent.html'"
27
+ type="button"
31
28
  aria-label="{{ 'Help' | translate }}"
29
+ uib-popover-template="'helpContent.html'"
30
+ popover-trigger="'focus'"
31
+ popover-placement="bottom"
32
32
  ></button>
33
33
  </div>
34
34
  <div class="inner-scroll">
@@ -66,9 +66,9 @@
66
66
  </div>
67
67
  <div class="col-md-4 col-md-offset-4 d-flex">
68
68
  <button
69
- title="{{ 'Copy inventory roles from another user' | translate }}"
70
- type="button"
71
69
  class="m-l-auto btn btn-clean"
70
+ type="button"
71
+ title="{{ 'Copy inventory roles from another user' | translate }}"
72
72
  ng-click="vm.copyRoles()"
73
73
  >
74
74
  <i c8y-icon="clipboard"></i>
@@ -81,14 +81,14 @@
81
81
  <div class="c8y-list__item__block">
82
82
  <div class="c8y-list__item__icon p-l-0 p-r-4">
83
83
  <button
84
- type="button"
85
84
  class="btn-dot"
86
- ng-click="vm.expandGroups = !vm.expandGroups"
87
- ng-disabled="vm.expandGroups"
85
+ type="button"
86
+ aria-label="{{ 'Expand all groups' | translate }}"
88
87
  uib-tooltip="{{ 'Expand all groups' | translate }}"
89
88
  tooltip-popup-delay="500"
90
89
  tooltip-placement="right"
91
- aria-label="{{ 'Expand all groups' | translate }}"
90
+ ng-click="vm.expandGroups = !vm.expandGroups"
91
+ ng-disabled="vm.expandGroups"
92
92
  >
93
93
  <i c8y-icon="level-down"></i>
94
94
  </button>
@@ -102,16 +102,16 @@
102
102
  <label class="m-b-0">
103
103
  {{ 'Inventory roles' | translate }}
104
104
  <button
105
- type="button"
106
105
  class="btn-help btn-help--sm"
106
+ type="button"
107
+ aria-label="{{ 'Help' | translate }}"
107
108
  uib-popover="{{
108
109
  'Use dropdown to select which roles should be applied to each group and its children.'
109
110
  | translate
110
111
  }}"
111
112
  popover-trigger="'focus'"
112
- popover-placement="auto"
113
+ popover-placement="right"
113
114
  popover-append-to-body="true"
114
- aria-label="{{ 'Help' | translate }}"
115
115
  ></button>
116
116
  </label>
117
117
  </div>
@@ -142,9 +142,9 @@
142
142
  {{ 'Clear changes' | translate }}
143
143
  </button>
144
144
  <button
145
- title="{{ 'Save' | translate }}"
146
- type="submit"
147
145
  class="btn btn-primary"
146
+ type="submit"
147
+ title="{{ 'Save' | translate }}"
148
148
  ng-disabled="vm.isUnchanged()"
149
149
  ng-click="vm.onSaveInventoryRoles()"
150
150
  >
@@ -32,24 +32,25 @@
32
32
  </label>
33
33
  <span class="m-l-auto"></span>
34
34
  <button
35
- type="button"
36
35
  class="btn-help"
36
+ type="button"
37
37
  aria-label="{{ 'Help' | translate }}"
38
- popover-append-to-body="true"
39
- popover-placement="right auto"
40
- popover-trigger="'focus'"
41
- ng-show="alreadyInGlobalRole(application)"
42
38
  uib-popover="{{
43
39
  'This application is already made available in a global role' | translate
44
40
  }}"
41
+ popover-placement="right"
42
+ popover-trigger="'focus'"
43
+ popover-append-to-body="true"
44
+ ng-show="alreadyInGlobalRole(application)"
45
45
  ></button>
46
46
  <button
47
- type="button"
48
47
  class="btn-dot"
49
- popover-append-to-body="true"
50
- popover-placement="right auto"
51
- popover-trigger="'focus'"
48
+ type="button"
49
+ aria-label="{{ 'This application is not accessible by the owner.' | translate }}"
52
50
  uib-popover="{{ 'This application is not accessible by the owner.' | translate }}"
51
+ popover-placement="right"
52
+ popover-trigger="'focus'"
53
+ popover-append-to-body="true"
53
54
  ng-show="notAvailableInOwner(application) && !alreadyInGlobalRole(application)"
54
55
  >
55
56
  <i c8y-icon="warning" class="text-warning"></i>
@@ -62,13 +63,13 @@
62
63
  <div class="legend form-block p-t-16" ng-show="privateApps.length">
63
64
  {{ 'Custom applications' | translate }}
64
65
  <button
65
- class="btn-help btn-help--sm m-l-4"
66
- aria-label="{{ 'Help' | translate }}"
66
+ class="btn-help btn-help--sm"
67
67
  type="button"
68
+ aria-label="{{ 'Help' | translate }}"
68
69
  uib-popover="{{ 'Applications owned by your tenant' | translate }}"
69
- popover-append-to-body="true"
70
- popover-placement="right auto"
70
+ popover-placement="right"
71
71
  popover-trigger="'focus'"
72
+ popover-append-to-body="true"
72
73
  ></button>
73
74
  </div>
74
75
  <div
@@ -104,13 +105,13 @@
104
105
  <button
105
106
  class="btn-help m-l-auto"
106
107
  type="button"
107
- aria-label="{{ 'Info' | translate }}"
108
- popover-placement="right auto"
109
- popover-trigger="'focus'"
110
- ng-show="alreadyInGlobalRole(application)"
108
+ aria-label="{{ 'Help' | translate }}"
111
109
  uib-popover="{{
112
110
  'This application is already made available in a global role' | translate
113
111
  }}"
112
+ popover-placement="right"
113
+ popover-trigger="'focus'"
114
+ ng-show="alreadyInGlobalRole(application)"
114
115
  ></button>
115
116
  </div>
116
117
  </div>
@@ -62,17 +62,17 @@
62
62
  </div>
63
63
  <button
64
64
  class="m-l-auto btn-clean"
65
- aria-label="{{ 'Global roles' | translate }}"
66
65
  type="button"
67
- ng-click="$event.preventDefault()"
68
- ng-show="restrictedByOwner(group)"
69
- popover-append-to-body="true"
70
- popover-trigger="'focus'"
71
- popover-placement="auto"
66
+ aria-label="{{ 'Global roles' | translate }}"
72
67
  uib-popover="{{
73
68
  'Only global roles defined on the owner can be defined on the owned user.'
74
69
  | translate
75
70
  }}"
71
+ popover-trigger="'focus'"
72
+ popover-placement="right"
73
+ popover-append-to-body="true"
74
+ ng-click="$event.preventDefault()"
75
+ ng-show="restrictedByOwner(group)"
76
76
  >
77
77
  <i c8y-icon="exclamation-circle" class="text-warning"></i>
78
78
  </button>
@@ -98,17 +98,17 @@
98
98
  <button
99
99
  title="{{ 'Cancel' | translate }}"
100
100
  type="button"
101
- ng-click="vm.cancel()"
102
101
  class="btn btn-default"
102
+ ng-click="vm.cancel()"
103
103
  >
104
104
  {{ 'Cancel' | translate }}
105
105
  </button>
106
106
  <button
107
- title="{{ 'Save' | translate }}"
108
- ng-if="canEditUser(currentUser, user)"
109
- ng-class="{ 'btn-save': showPassword }"
110
107
  class="btn btn-primary"
111
108
  type="button"
109
+ title="{{ 'Save' | translate }}"
110
+ ng-class="{ 'btn-save': showPassword }"
111
+ ng-if="canEditUser(currentUser, user)"
112
112
  ng-disabled="saving || vm.isUserAndRolesFormPristine() || vm.isUserFormInvalid() || vm.isRolesFormInvalid()"
113
113
  ng-click="checkPassword(user)"
114
114
  >
@@ -1,6 +1,5 @@
1
1
  <div class="page-sticky-header user-list-row hidden-sm hidden-xs">
2
2
  <div class="col-expand"></div>
3
- <!-- <div class="col-selector"></div> -->
4
3
  <label class="col-username" translate>Username and login alias</label>
5
4
  <label class="col-subaccounts"></label>
6
5
  <label class="col-fullname" translate>Name and email</label>
@@ -17,6 +16,7 @@
17
16
  >
18
17
  <button
19
18
  class="col-expand interact btn-clean"
19
+ type="button"
20
20
  title="{{ 'Direct sub-users' | translate }}"
21
21
  ng-click="::!vm.searchOn() && vm.toggleExpanded(user)"
22
22
  ng-show="::user.subusersCount"
@@ -29,6 +29,7 @@
29
29
 
30
30
  <button
31
31
  class="col-username interact text-truncate btn-clean l-h-1"
32
+ type="button"
32
33
  ng-style="{ width: 250 - user._depth * 4 }"
33
34
  ng-click="vm.editUser(user)"
34
35
  >
@@ -63,10 +64,12 @@
63
64
  <div class="col-subaccounts text-center">
64
65
  <button
65
66
  class="btn-clean"
66
- ng-show="user.subusersCount"
67
+ type="button"
68
+ aria-label="{{ 'Direct sub-users' | translate }}"
67
69
  uib-tooltip="{{ 'Direct sub-users' | translate }}"
68
70
  tooltip-popup-delay="500"
69
- ng-show="vm.USER_HIERARCHY"
71
+ tooltip-placement="right"
72
+ ng-show="vm.USER_HIERARCHY && user.subusersCount"
70
73
  >
71
74
  <span class="badge badge-info">{{ user.subusersCount }}</span>
72
75
  </button>
@@ -74,8 +77,9 @@
74
77
 
75
78
  <button
76
79
  class="col-fullname interact text-truncate btn-clean l-h-1"
77
- ng-click="vm.editUser(user)"
80
+ type="button"
78
81
  title="{{ 'Edit user' | translate }}"
82
+ ng-click="vm.editUser(user)"
79
83
  >
80
84
  <span title="{{::vm.fullName(user)}}">{{::vm.fullName(user)}}</span>
81
85
  <br />
@@ -97,14 +101,14 @@
97
101
  <div class="col-sm-1 p-l-sm-4">
98
102
  <button
99
103
  class="btn-help"
100
- ng-if="vm.hasExternalOrigin(user) && !vm.mapRolesOnlyForNewUser"
104
+ type="button"
105
+ aria-label="{{ 'Help' | translate }}"
106
+ uib-popover-html="vm.editGlobalRolesForUserWithExternalOrigin | translate"
101
107
  popover-trigger="'focus'"
102
- popover-append-to-body="true"
103
108
  popover-placement="right"
104
- uib-popover-html="vm.editGlobalRolesForUserWithExternalOrigin | translate"
105
- >
106
- <i c8y-icon="question-circle-o"></i>
107
- </button>
109
+ popover-append-to-body="true"
110
+ ng-if="vm.hasExternalOrigin(user) && !vm.mapRolesOnlyForNewUser"
111
+ ></button>
108
112
  </div>
109
113
  </div>
110
114
  </div>
@@ -138,8 +142,9 @@
138
142
  <div class="col-actions">
139
143
  <div class="dropdown" uib-dropdown>
140
144
  <button
141
- title="{{ 'Actions' | translate }}"
142
145
  class="dropdown-toggle c8y-dropdown"
146
+ type="button"
147
+ title="{{ 'Actions' | translate }}"
143
148
  uib-dropdown-toggle
144
149
  aria-haspopup="true"
145
150
  ng-click="::$event.stopPropagation()"
@@ -155,6 +160,7 @@
155
160
  </li>
156
161
  <li>
157
162
  <button
163
+ type="button"
158
164
  title="{{ 'Copy inventory roles from' | translate }}…"
159
165
  ng-click="vm.copyInventoryRoles(user)"
160
166
  >
@@ -163,16 +169,14 @@
163
169
  </button>
164
170
  </li>
165
171
  <li ng-show="::vm.showDelegate(user)">
166
- <button
167
- title="{{ 'Delegate' | translate }}"
168
- ng-click="vm.delegate(user)"
169
- >
172
+ <button type="button" title="{{ 'Delegate' | translate }}" ng-click="vm.delegate(user)">
170
173
  <i c8y-icon="batch-assign"></i>
171
174
  {{ 'Delegate' | translate }}
172
175
  </button>
173
176
  </li>
174
177
  <li ng-show="::vm.showUndelegate(user)">
175
178
  <button
179
+ type="button"
176
180
  title="{{ 'Undelegate' | translate }}"
177
181
  ng-click="vm.removeDelegate(user)"
178
182
  >
@@ -181,19 +185,20 @@
181
185
  </button>
182
186
  </li>
183
187
  <li ng-show="user.enabled && !vm.isCurrent(user)">
184
- <button title="{{ 'Disable' | translate }}" ng-click="vm.disable(user)">
188
+ <button type="button" title="{{ 'Disable' | translate }}" ng-click="vm.disable(user)">
185
189
  <i c8y-icon="ban"></i>
186
190
  {{ 'Disable' | translate }}
187
191
  </button>
188
192
  </li>
189
193
  <li ng-hide="::(user.enabled)">
190
- <button title="{{ 'Enable' | translate }}" ng-click="vm.enable(user)">
194
+ <button type="button" title="{{ 'Enable' | translate }}" ng-click="vm.enable(user)">
191
195
  <i c8y-icon="check-circle-o"></i>
192
196
  {{ 'Enable' | translate }}
193
197
  </button>
194
198
  </li>
195
199
  <li>
196
200
  <button
201
+ type="button"
197
202
  title="{{ 'Delete' | translate }}"
198
203
  ng-click="vm.remove(user)"
199
204
  ng-hide="::vm.isUndeletable(user)"
@@ -25,9 +25,9 @@
25
25
  <span></span>
26
26
  <span>{{ 'Assign a new owner' | translate }}</span>
27
27
  <button
28
- class="btn-help btn-help--sm text-14 m-l-4"
29
- aria-label="{{ 'Help' | translate }}"
28
+ class="btn-help btn-help--sm"
30
29
  type="button"
30
+ aria-label="{{ 'Help' | translate }}"
31
31
  uib-popover="{{
32
32
  'Assigns a new owner to all direct sub-users of the deleted user.' | translate
33
33
  }}"
@@ -41,9 +41,9 @@
41
41
  <span></span>
42
42
  <span>{{ 'Keep without an owner' | translate }}</span>
43
43
  <button
44
- class="btn-help btn-help--sm text-14 m-l-4"
45
- aria-label="{{ 'Help' | translate }}"
44
+ class="btn-help btn-help--sm"
46
45
  type="button"
46
+ aria-label="{{ 'Help' | translate }}"
47
47
  uib-popover="{{
48
48
  'Direct sub-users of the deleted user become independent users.' | translate
49
49
  }}"
@@ -57,9 +57,9 @@
57
57
  <span></span>
58
58
  <span>{{ 'Delete along with the owner' | translate }}</span>
59
59
  <button
60
- class="btn-help btn-help--sm text-14 m-l-4"
61
- aria-label="{{ 'Help' | translate }}"
60
+ class="btn-help btn-help--sm"
62
61
  type="button"
62
+ aria-label="{{ 'Help' | translate }}"
63
63
  uib-popover="{{
64
64
  'All direct and indirect sub-users of the deleted user will be deleted.' | translate
65
65
  }}"
@@ -78,17 +78,17 @@
78
78
  ></c8y-ui-user-picker>
79
79
  <div class="alert-footer">
80
80
  <button
81
- title="{{ 'Cancel' | translate }}"
82
- type="button"
83
81
  class="btn btn-default"
82
+ type="button"
83
+ title="{{ 'Cancel' | translate }}"
84
84
  ng-click="vm.dismiss()"
85
85
  >
86
86
  {{ 'Cancel' | translate }}
87
87
  </button>
88
88
  <button
89
- title="{{ 'Delete' | translate }}"
90
- type="button"
91
89
  class="btn btn-primary"
90
+ type="button"
91
+ title="{{ 'Delete' | translate }}"
92
92
  ng-disabled="!vm.canConfirm()"
93
93
  ng-click="vm.confirm()"
94
94
  >