@c8y/ng1-modules 1017.137.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
@@ -30,21 +30,28 @@
30
30
  </div>
31
31
  <div class="col-2">
32
32
  <button
33
- ng-click="vm.connect()"
34
- type="button"
35
- ng-disabled="vm.isDisabled(vm.endpoint)"
36
33
  class="btn btn-dot"
37
- aria-label="{{ 'Endpoint status' | translate }}"
34
+ type="button"
35
+ aria-label="{{
36
+ (vm.getDisabledTooltip(vm.endpoint)
37
+ ? vm.getDisabledTooltip(vm.endpoint)
38
+ : vm.endpoint.connection.status
39
+ ? labelShowConnection
40
+ : labelConnect
41
+ ) | translate
42
+ }}"
38
43
  uib-tooltip="{{
39
44
  (vm.getDisabledTooltip(vm.endpoint)
40
45
  ? vm.getDisabledTooltip(vm.endpoint)
41
46
  : vm.endpoint.connection.status
42
- ? 'Show connection'
43
- : 'Connect'
47
+ ? labelShowConnection
48
+ : labelConnect
44
49
  ) | translate
45
50
  }}"
46
51
  tooltip-popup-delay="500"
47
52
  tooltip-append-to-body="true"
53
+ ng-click="vm.connect()"
54
+ ng-disabled="vm.isDisabled(vm.endpoint)"
48
55
  >
49
56
  <i ng-if="!vm.endpoint.connection.status" c8y-icon="disconnected"></i>
50
57
  <i ng-if="vm.endpoint.connection.status" c8y-icon="eye"></i>
@@ -55,9 +62,9 @@
55
62
  <div class="c8y-list__item__actions">
56
63
  <div class="dropdown" uib-dropdown>
57
64
  <button
58
- title="{{ 'Actions' | translate }}"
59
- type="button"
60
65
  class="dropdown-toggle c8y-dropdown"
66
+ type="button"
67
+ title="{{ 'Actions' | translate }}"
61
68
  uib-dropdown-toggle
62
69
  aria-haspopup="true"
63
70
  >
@@ -65,13 +72,13 @@
65
72
  </button>
66
73
  <ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu>
67
74
  <li>
68
- <button title="{{ 'Edit' | translate }}" type="button" ng-click="vm.edit()">
75
+ <button type="button" title="{{ 'Edit' | translate }}" ng-click="vm.edit()">
69
76
  <i c8y-icon="pencil"></i>
70
77
  {{ 'Edit' | translate }}
71
78
  </button>
72
79
  </li>
73
80
  <li>
74
- <button title="{{ 'Remove' | translate }}" type="button" ng-click="vm.remove()">
81
+ <button type="button" title="{{ 'Remove' | translate }}" ng-click="vm.remove()">
75
82
  <i c8y-icon="minus-circle"></i>
76
83
  {{ 'Remove' | translate }}
77
84
  </button>
@@ -1,6 +1,6 @@
1
1
  <div class="modal-header dialog-header">
2
2
  <i c8y-icon="laptop"></i>
3
- <h1 id="modal-title" class="h4 text-uppercase" translate>Remote access endpoint</h1>
3
+ <div id="modal-title" class="modal-title" translate>Remote access endpoint</div>
4
4
  </div>
5
5
  <div class="modal-inner-scroll">
6
6
  <div class="modal-body" id="modal-body">
@@ -64,12 +64,12 @@
64
64
  {{ 'Host' | translate }}
65
65
  <button
66
66
  class="btn-help btn-help--sm"
67
- aria-label="{{ 'Help' | translate }}"
68
67
  type="button"
68
+ aria-label="{{ 'Help' | translate }}"
69
69
  uib-popover-html="'IP address or hostname in the local network' | translate"
70
- popover-append-to-body="true"
71
70
  popover-placement="right"
72
71
  popover-trigger="'focus'"
72
+ popover-append-to-body="true"
73
73
  ></button>
74
74
  </label>
75
75
  <div class="input-group typeahead">
@@ -141,16 +141,18 @@
141
141
  />
142
142
  <span class="input-group-btn" ng-show="vm.passwordAlreadyExists">
143
143
  <button
144
- title="{{ 'Change' | translate }}"
145
144
  class="btn btn-default"
145
+ type="button"
146
+ title="{{ 'Change' | translate }}"
146
147
  ng-if="!vm.changingPassword"
147
148
  ng-click="vm.changePassword()"
148
149
  >
149
150
  {{ 'Change' | translate }}
150
151
  </button>
151
152
  <button
152
- title="{{ 'Cancel' | translate }}"
153
153
  class="btn btn-default"
154
+ type="button"
155
+ title="{{ 'Cancel' | translate }}"
154
156
  ng-if="vm.changingPassword"
155
157
  ng-click="vm.cancelChangePassword()"
156
158
  >
@@ -207,16 +209,18 @@
207
209
  <div class="form-group">
208
210
  <span ng-show="vm.credentialsAvailable() || vm.initialCredentialType === 'USER_PASS'">
209
211
  <button
210
- title="{{ 'Change credentials' | translate }}"
211
212
  class="btn btn-default"
213
+ type="button"
214
+ title="{{ 'Change credentials' | translate }}"
212
215
  ng-if="!vm.changingCredentials"
213
216
  ng-click="vm.changeCredentials()"
214
217
  >
215
218
  {{ 'Change credentials' | translate }}
216
219
  </button>
217
220
  <button
218
- title="{{ 'Cancel' | translate }}"
219
221
  class="btn btn-default"
222
+ type="button"
223
+ title="{{ 'Cancel' | translate }}"
220
224
  ng-if="vm.changingCredentials"
221
225
  ng-click="vm.cancelChangeCredentials()"
222
226
  >
@@ -248,9 +252,9 @@
248
252
  <div class="form-group" ng-if="vm.initialCredentialType === 'KEY_PAIR'">
249
253
  <span>
250
254
  <button
251
- title="{{ 'Change public/private keys' | translate }}"
252
- type="button"
253
255
  class="btn btn-default"
256
+ type="button"
257
+ title="{{ 'Change public/private keys' | translate }}"
254
258
  ng-hide="vm.changingKeyPair"
255
259
  ng-click="vm.changeKeyPair()"
256
260
  >
@@ -260,9 +264,9 @@
260
264
  </div>
261
265
  <div class="form-group" ng-if="!vm.keyPairAvailable() || vm.changingKeyPair">
262
266
  <button
263
- title="{{ 'Generate public and private keys' | translate }}"
264
- type="button"
265
267
  class="btn btn-default p-l-16"
268
+ type="button"
269
+ title="{{ 'Generate public and private keys' | translate }}"
266
270
  ng-class="{ 'btn-pending': vm.generating }"
267
271
  ng-disabled="vm.generating"
268
272
  ng-click="vm.generateKeys()"
@@ -275,8 +279,8 @@
275
279
  <label for="privateKey">
276
280
  {{ 'Private key' | translate }}
277
281
  <button
278
- type="button"
279
282
  class="btn-help btn-help--sm"
283
+ type="button"
280
284
  aria-label="{{ 'Help' | translate }}"
281
285
  uib-popover-html="'<small>Supported formats: OpenSSHv1, OpenSSHv2, PEM, SSH2.<br />Supported algorithms: RSA, DSA, ECDSA, ED25519.</small>' | translate"
282
286
  popover-append-to-body="true"
@@ -296,8 +300,8 @@
296
300
  <label for="publicKey">
297
301
  {{ 'Public key' | translate }}
298
302
  <button
299
- type="button"
300
303
  class="btn-help btn-help--sm"
304
+ type="button"
301
305
  aria-label="{{ 'Help' | translate }}"
302
306
  uib-popover-html="'<small>Supported formats: OpenSSHv1, OpenSSHv2, PEM, SSH2.<br />Supported algorithms: RSA, DSA, ECDSA, ED25519.</small>' | translate"
303
307
  popover-append-to-body="true"
@@ -306,6 +310,7 @@
306
310
  ></button>
307
311
  <button
308
312
  class="m-l-16 btn-link interact"
313
+ type="button"
309
314
  title="{{ 'Download key' | translate }}"
310
315
  ng-click="vm.downloadPublicKey()"
311
316
  ng-if="vm.endpoint.config.publicKey"
@@ -326,8 +331,9 @@
326
331
  <div class="form-group" ng-if="vm.privateKeyAlreadyExists || vm.publicKeyAlreadyExists">
327
332
  <span>
328
333
  <button
329
- title="{{ 'Cancel' | translate }}"
330
334
  class="btn btn-default"
335
+ type="button"
336
+ title="{{ 'Cancel' | translate }}"
331
337
  ng-show="vm.changingKeyPair"
332
338
  ng-click="vm.cancelChangeKeyPair()"
333
339
  >
@@ -358,8 +364,9 @@
358
364
  <div class="form-group" ng-if="vm.initialCredentialType === 'CERTIFICATE'">
359
365
  <span>
360
366
  <button
361
- title="{{ 'Change private key/certificate' | translate }}"
362
367
  class="btn btn-default"
368
+ type="button"
369
+ title="{{ 'Change private key/certificate' | translate }}"
363
370
  ng-hide="vm.changingCertificate"
364
371
  ng-click="vm.changeCertificate()"
365
372
  >
@@ -371,8 +378,8 @@
371
378
  <label for="privateKey">
372
379
  {{ 'Private key' | translate }}
373
380
  <button
374
- type="button"
375
381
  class="btn-help btn-help--sm"
382
+ type="button"
376
383
  aria-label="{{ 'Help' | translate }}"
377
384
  uib-popover-html="'<small>Supported formats: OpenSSHv1, OpenSSHv2, PEM, SSH2.<br />Supported algorithms: RSA, DSA.</small>' | translate"
378
385
  popover-append-to-body="true"
@@ -392,8 +399,8 @@
392
399
  <label for="certificate">
393
400
  {{ 'Certificate' | translate }}
394
401
  <button
395
- type="button"
396
402
  class="btn-help btn-help--sm"
403
+ type="button"
397
404
  aria-label="{{ 'Help' | translate }}"
398
405
  uib-popover-html="'<small>Supported formats: OpenSSHv1, OpenSSHv2, PEM, SSH2.<br />Supported algorithms: RSA, DSA.</small>' | translate"
399
406
  popover-append-to-body="true"
@@ -413,8 +420,9 @@
413
420
  <div class="form-group" ng-if="vm.certificateAlreadyExists || vm.privateKeyAlreadyExists">
414
421
  <span>
415
422
  <button
416
- title="{{ 'Cancel' | translate }}"
417
423
  class="btn btn-default"
424
+ title="{{ 'Cancel' | translate }}"
425
+ type="button"
418
426
  ng-show="vm.changingCertificate"
419
427
  ng-click="vm.cancelChangeCertificate()"
420
428
  >
@@ -429,8 +437,8 @@
429
437
  <label for="hostKey">
430
438
  {{ 'Host key' | translate }}
431
439
  <button
432
- type="button"
433
440
  class="btn-help btn-help--sm"
441
+ type="button"
434
442
  aria-label="{{ 'Help' | translate }}"
435
443
  uib-popover-html="'<small>Supported formats: OpenSSHv1, OpenSSHv2, PEM, SSH2.<br />Supported algorithms: RSA, DSA, ECDSA, ED25519.</small>' | translate"
436
444
  popover-append-to-body="true"
@@ -453,17 +461,17 @@
453
461
 
454
462
  <div class="modal-footer">
455
463
  <button
456
- title="{{ 'Cancel' | translate }}"
457
- type="button"
458
464
  class="btn btn-default"
465
+ type="button"
466
+ title="{{ 'Cancel' | translate }}"
459
467
  ng-click="vm.cancel()"
460
468
  >
461
469
  {{ 'Cancel' | translate }}
462
470
  </button>
463
471
  <button
464
- title="{{ 'Save' | translate }}"
465
- type="button"
466
472
  class="btn btn-primary"
473
+ type="button"
474
+ title="{{ 'Save' | translate }}"
467
475
  ng-disabled="endpointForm.$pending || endpointForm.$invalid"
468
476
  ng-click="vm.save()"
469
477
  >
@@ -56,8 +56,8 @@
56
56
  {{ 'Permissions' | translate }}
57
57
  </div>
58
58
  <button
59
+ class="btn-help"
59
60
  type="button"
60
- class="btn-help m-l-4"
61
61
  aria-label="{{ 'Help' | translate }}"
62
62
  uib-popover-template="'helpContent.html'"
63
63
  popover-trigger="'focus'"
@@ -97,12 +97,12 @@
97
97
  </div>
98
98
 
99
99
  <button
100
- class="btn-help m-l-4"
101
- aria-label="{{ 'Help' | translate }}"
100
+ class="btn-help"
102
101
  type="button"
102
+ aria-label="{{ 'Help' | translate }}"
103
103
  uib-popover="{{ 'This role has access to the applications selected below' | translate }}"
104
104
  popover-trigger="'focus'"
105
- popover-placement="auto"
105
+ popover-placement="right"
106
106
  popover-append-to-body="true"
107
107
  ></button>
108
108
  </div>
@@ -122,17 +122,17 @@
122
122
  </form>
123
123
  <div class="card-footer large-padding separator-top grid__col-fullspan">
124
124
  <button
125
- title="{{ 'Cancel' | translate }}"
126
- type="button"
127
125
  class="btn btn-default"
126
+ type="button"
127
+ title="{{ 'Cancel' | translate }}"
128
128
  ng-click="vm.cancel()"
129
129
  >
130
130
  {{ 'Cancel' | translate }}
131
131
  </button>
132
132
  <button
133
- title="{{ 'Save' | translate }}"
134
- type="button"
135
133
  class="btn btn-primary"
134
+ type="button"
135
+ title="{{ 'Save' | translate }}"
136
136
  ng-click="vm.save()"
137
137
  ng-disabled="vm.saving || vm.globalRoleDetailForm.$invalid || (vm.role.id && vm.globalRoleDetailForm.$pristine)"
138
138
  >
@@ -54,9 +54,9 @@
54
54
  {{ 'Permissions' | translate }}
55
55
  </div>
56
56
  <button
57
- class="btn-help m-l-4"
58
- aria-label="{{ 'Help' | translate }}"
57
+ class="btn-help"
59
58
  type="button"
59
+ aria-label="{{ 'Help' | translate }}"
60
60
  uib-popover-template="'helpContent.html'"
61
61
  popover-trigger="'focus'"
62
62
  popover-placement="right"
@@ -85,13 +85,13 @@
85
85
  <legend class="text-14">
86
86
  {{ scope.label | translate }}
87
87
  <button
88
- class="btn-help btn-help--sm m-l-4"
89
- aria-label="{{ 'Help' | translate }}"
88
+ class="btn-help btn-help--sm"
90
89
  type="button"
91
- ng-show="::vm.STRINGS.PERMISSIONS_SCOPES[scope.value]"
92
- popover-placement="right auto"
93
- popover-trigger="'focus'"
90
+ aria-label="{{ 'Help' | translate }}"
94
91
  uib-popover="{{::vm.STRINGS.PERMISSIONS_SCOPES[scope.value] | translate}}"
92
+ popover-placement="right"
93
+ popover-trigger="'focus'"
94
+ ng-show="::vm.STRINGS.PERMISSIONS_SCOPES[scope.value]"
95
95
  ></button>
96
96
  </legend>
97
97
 
@@ -104,18 +104,18 @@
104
104
  </div>
105
105
  <div class="card-footer separator sticky-bottom grid__col--fullspan">
106
106
  <button
107
- title="{{ 'Cancel' | translate }}"
108
- type="button"
109
107
  class="btn btn-default"
108
+ type="button"
109
+ title="{{ 'Cancel' | translate }}"
110
110
  ng-click="vm.cancel()"
111
111
  ng-disabled="vm.saving"
112
112
  >
113
113
  {{ 'Cancel' | translate }}
114
114
  </button>
115
115
  <button
116
- title="{{ 'Save' | translate }}"
117
- type="button"
118
116
  class="btn btn-primary"
117
+ type="button"
118
+ title="{{ 'Save' | translate }}"
119
119
  ng-click="vm.save()"
120
120
  ng-disabled="vm.saving || vm.inventoryRoleDetailForm.$invalid || (vm.role.id && vm.inventoryRoleDetailForm.$pristine)"
121
121
  >
@@ -6,10 +6,10 @@
6
6
  <div class="c8y-list__item__body text-truncate-wrap p-l-0">
7
7
  <span class="text-muted"><em translate>No permissions for this scope.</em></span>
8
8
  <button
9
- title="{{ 'Add' | translate }}"
9
+ class="btn-clean p-8"
10
10
  type="button"
11
+ title="{{ 'Add' | translate }}"
11
12
  ng-click="vm.add()"
12
- class="btn-clean p-8"
13
13
  >
14
14
  <i c8y-icon="plus-circle" class="text-primary m-r-4 m-l-4 text-16"></i>
15
15
  </button>
@@ -52,20 +52,17 @@
52
52
  ></select>
53
53
  </div>
54
54
  <button
55
- type="button"
56
- ng-show="vm.isOverridden(permission)"
57
55
  class="btn-dot m-l-8"
56
+ type="button"
57
+ aria-label="{{ 'Help' | translate }}"
58
58
  uib-popover="{{
59
59
  'This permission is overridden by a more generic one in this role.'
60
60
  | translate
61
61
  }}"
62
- aria-label="{{
63
- 'This permission is overridden by a more generic one in this role.'
64
- | translate
65
- }}"
66
- popover-append-to-body="true"
67
62
  popover-trigger="'focus'"
68
- popover-placement="auto"
63
+ popover-placement="right"
64
+ popover-append-to-body="true"
65
+ ng-show="vm.isOverridden(permission)"
69
66
  >
70
67
  <i c8y-icon="exclamation-triangle" class="text-warning"></i>
71
68
  </button>
@@ -76,18 +73,18 @@
76
73
  </div>
77
74
  <div class="c8y-list__item__actions d-flex a-i-center">
78
75
  <button
79
- title="{{ 'Remove' | translate }}"
80
- type="button"
81
76
  class="btn-dot m-l-auto"
77
+ type="button"
78
+ title="{{ 'Remove' | translate }}"
82
79
  ng-click="vm.remove(permission)"
83
80
  >
84
81
  <i c8y-icon="minus-circle" class="text-danger"></i>
85
82
  </button>
86
83
  <button
87
- title="{{ 'Add' | translate }}"
84
+ class="btn-dot"
88
85
  type="button"
86
+ title="{{ 'Add' | translate }}"
89
87
  ng-click="vm.add()"
90
- class="btn-dot"
91
88
  ng-show="$index === vm.scopedPermissions.length - 1"
92
89
  >
93
90
  <i c8y-icon="plus-circle" class="text-primary"></i>
@@ -3,14 +3,14 @@
3
3
  <label>
4
4
  <span translate>SVG</span>
5
5
  <button
6
- type="button"
7
6
  class="btn-help btn-help--sm"
7
+ type="button"
8
8
  aria-label="{{ 'Help' | translate }}"
9
+ uib-popover="{{ 'Toggle help text' | translate }}"
10
+ popover-placement="right"
11
+ popover-trigger="'focus'"
12
+ popover-append-to-body="true"
9
13
  ng-click="svgTooltipVisible = !svgTooltipVisible"
10
- uib-tooltip="{{ 'Toggle help text' | translate }}"
11
- tooltip-popup-delay="500"
12
- tooltip-append-to-body="true"
13
- tooltip-placement="right"
14
14
  ></button>
15
15
  </label>
16
16
 
@@ -35,10 +35,11 @@
35
35
 
36
36
  <button
37
37
  class="m-l-auto btn btn-icon p-l-8 p-r-8 showOnHover"
38
- uib-tooltip="{{ 'Remove' | translate }}"
38
+ type="button"
39
39
  aria-label="{{ 'Remove' | translate }}"
40
+ uib-tooltip="{{ 'Remove' | translate }}"
40
41
  tooltip-popup-delay="500"
41
- tooltip-trigger="'mouseenter focus'"
42
+ tooltip-trigger="'mouseenter'"
42
43
  tooltip-placement="left"
43
44
  ng-click="vm.remove(instruction)"
44
45
  >
@@ -46,26 +47,25 @@
46
47
  </button>
47
48
  </li>
48
49
 
49
- <li ng-show="vm.instructions.length === 0" class="p-24">
50
- <div class="c8y-empty-state text-left ng-scope">
51
- <h1 c8y-icon="installing-updates"></h1>
52
- <p>
53
- <strong translate>No instructions.</strong>
54
- <span translate>Click below to add the first one.</span>
55
- <br />
56
- <small c8y-guide-docs translate>
57
- Find out more in the
58
- <a
59
- c8y-guide-href="users-guide/device-management/#simulator"
60
- target="_blank"
61
- rel="noopener noreferrer"
62
- >
63
- User guide`KEEP_ORIGINAL`
64
- </a>
65
- .
66
- </small>
67
- </p>
68
- </div>
50
+ <li class="p-24">
51
+ <c8y-ui-empty-state
52
+ ng-show="vm.instructions.length === 0"
53
+ [icon]="'installing-updates'"
54
+ [title]="'No instructions.' | translate"
55
+ [subtitle]="'Click below to add the first one.' | translate"
56
+ >
57
+ <small c8y-guide-docs translate>
58
+ Find out more in the
59
+ <a
60
+ c8y-guide-href="users-guide/device-management/#simulator"
61
+ target="_blank"
62
+ rel="noopener noreferrer"
63
+ >
64
+ User guide`KEEP_ORIGINAL`
65
+ </a>
66
+ .
67
+ </small>
68
+ </c8y-ui-empty-state>
69
69
  </li>
70
70
  </ul>
71
71
  </div>
@@ -10,8 +10,8 @@
10
10
  <label for="name">
11
11
  <span translate>Custom operation type</span>
12
12
  <button
13
- type="submit"
14
13
  class="btn-help btn-help--sm"
14
+ type="button"
15
15
  aria-label="{{ 'Help' | translate }}"
16
16
  uib-popover="{{
17
17
  'Insert the custom operation type to be supported by your simulator.' | translate
@@ -36,16 +36,17 @@
36
36
 
37
37
  <div class="modal-footer">
38
38
  <button
39
- title="{{ 'Cancel' | translate }}"
40
- type="button"
41
39
  class="btn btn-default"
40
+ type="button"
41
+ title="{{ 'Cancel' | translate }}"
42
42
  ng-click="vm.dismiss()"
43
43
  >
44
44
  {{ 'Cancel' | translate }}
45
45
  </button>
46
46
  <button
47
- title="{{ 'Add' | translate }}"
48
47
  class="btn btn-primary"
48
+ type="button"
49
+ title="{{ 'Add' | translate }}"
49
50
  ng-click="vm.close({$value: vm.op})"
50
51
  ng-disabled="newOpForm.$invalid"
51
52
  >
@@ -11,12 +11,12 @@
11
11
  <span translate>Template name</span>
12
12
  <button
13
13
  class="btn-help btn-help--sm"
14
- aria-label="{{ 'Help' | translate }}"
15
14
  type="button"
15
+ aria-label="{{ 'Help' | translate }}"
16
16
  uib-popover="{{ 'Descriptive template name' | translate }}"
17
- popover-append-to-body="true"
18
17
  popover-trigger="'focus'"
19
18
  popover-placement="right"
19
+ popover-append-to-body="true"
20
20
  ></button>
21
21
  </label>
22
22
  <input
@@ -36,12 +36,12 @@
36
36
  <span translate>Template ID</span>
37
37
  <button
38
38
  class="btn-help btn-help--sm"
39
- aria-label="{{ 'Help' | translate }}"
40
39
  type="button"
40
+ aria-label="{{ 'Help' | translate }}"
41
41
  uib-popover="{{ 'Unique template ID' | translate }}"
42
- popover-append-to-body="true"
43
42
  popover-trigger="'focus'"
44
43
  popover-placement="right"
44
+ popover-append-to-body="true"
45
45
  ></button>
46
46
  </label>
47
47
  <input
@@ -68,17 +68,17 @@
68
68
 
69
69
  <div class="modal-footer">
70
70
  <button
71
- title="{{ 'Cancel' | translate }}"
72
- type="button"
73
71
  class="btn btn-default"
72
+ type="button"
73
+ title="{{ 'Cancel' | translate }}"
74
74
  ng-click="$ctrl.cancel()"
75
75
  >
76
76
  {{ 'Cancel' | translate }}
77
77
  </button>
78
78
  <button
79
- title="{{ 'Continue' | translate }}"
80
- type="button"
81
79
  class="btn btn-primary"
80
+ type="button"
81
+ title="{{ 'Continue' | translate }}"
82
82
  ng-click="$ctrl.ok()"
83
83
  ng-disabled="newSmartRestTemplateForm.$pending || newSmartRestTemplateForm.$invalid"
84
84
  data-cy="add-smartRest-template"