@c8y/ng1-modules 1017.0.7 → 1017.0.9

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 (60) hide show
  1. package/administration-deviceUsers/views/list.html +1 -0
  2. package/alarmsEventsExplorer/alarmsEventsTimelinesConfig/alarmsEventsTimelinesConfig.html +1 -0
  3. package/app-status/app-events/app-events.html +3 -4
  4. package/app-status/app-status/app-status.html +1 -1
  5. package/asset-notes/assetNotes.html +15 -6
  6. package/assetPropertyWidget/views/main.html +2 -2
  7. package/binaryArtefactsManagement/views/list.html +1 -0
  8. package/commandTemplates/views/commandTemplates.html +1 -0
  9. package/core/ui/containers/header.html +1 -0
  10. package/core/ui/forms/search.html +2 -0
  11. package/core/ui/header/actions.html +1 -0
  12. package/core/ui/itemSelector/itemSelector.html +1 -0
  13. package/core/ui/navigation/breadcrumbs.html +13 -16
  14. package/core/ui/properties/propertySelector.html +1 -0
  15. package/core/ui/schemaForm/overrides/decorators/bootstrap/checkbox.html +8 -2
  16. package/core/ui/schemaForm/overrides/decorators/bootstrap/default.html +9 -10
  17. package/core/ui/schemaForm/overrides/decorators/bootstrap/password.html +9 -8
  18. package/core/ui/schemaForm/overrides/decorators/bootstrap/textarea.html +7 -7
  19. package/core/ui/user/editUser.directive.html +1 -0
  20. package/core/ui/user/userPicker.html +26 -17
  21. package/core/ui/views/actions.html +2 -0
  22. package/core/ui/views/alarmList.html +15 -6
  23. package/core/ui/views/eventList.html +7 -10
  24. package/core/ui/views/filePicker.html +4 -1
  25. package/core/ui/views/loadmore.html +1 -0
  26. package/dataBroker/connectors/connectors.html +1 -0
  27. package/dataBroker/subscriptions/subscription.html +1 -0
  28. package/device-protocol-deviceDatabase4/device-type-create-step.html +11 -10
  29. package/device-protocol-impact/impact-create-step.html +13 -11
  30. package/device-protocol-opcua-v2/opcua-v2-create-step.html +8 -3
  31. package/device-protocols/deviceProtocolList.html +1 -0
  32. package/deviceDatabase4/device-type-list.html +1 -0
  33. package/deviceDatabase4/modals/import-device-type.html +4 -2
  34. package/deviceDetailIdentity/views/identity.html +1 -12
  35. package/deviceStatusWidget/requiredAvailabilityIntervalSetting.html +3 -2
  36. package/devicemanagement-location/views/index.html +5 -6
  37. package/devicemanagement-logViewer/views/index.html +1 -0
  38. package/export/views/list.html +1 -0
  39. package/generic-ui/generic-ui-inventory.html +1 -0
  40. package/groupsHierarchy/views/groupsList.html +1 -0
  41. package/measurements/views/iconBar.html +1 -1
  42. package/package.json +1 -1
  43. package/remoteAccess/remoteAccessEndpointCard/remoteAccessEndpointCard.html +1 -0
  44. package/roles/detail/roleInventoryPermissionList.html +25 -16
  45. package/roles/list/rolesList.html +1 -0
  46. package/simulators/list/list.html +1 -0
  47. package/smartRestEditor/requestEditor/requestEditor.html +2 -2
  48. package/smartRestEditor/valueInput/valueInput.html +1 -3
  49. package/smartRestEditor/views/list.html +1 -0
  50. package/smartRules/list/smartRulesList.html +3 -3
  51. package/smartRules/views/childAssetsSelector.html +1 -0
  52. package/tenantApplications/subscribed-applications/subscribed-applications.html +9 -5
  53. package/tenantApplications/views/index.html +14 -9
  54. package/tenantApplications/views/popover.html +4 -3
  55. package/tenantLicenses/licenseManagement.html +1 -0
  56. package/tenantPolicies/tenantPolicyList/tenantPolicyList.html +1 -0
  57. package/userRoles/copyRolesModal/copyRolesModal.html +8 -5
  58. package/userRoles/inventoryRoleSelector/inventoryRoleSelector.html +2 -0
  59. package/userRoles/inventoryRolesTab/inventoryRolesTab.html +9 -11
  60. package/users/userList/userList.html +1 -0
@@ -1,12 +1,15 @@
1
1
  <div class="modal-inner-scroll">
2
- <p class="text-medium text-center p-l-24 p-r-24 p-t-16 p-b-16 bg-component separator-bottom sticky-top">
2
+ <p
3
+ class="text-medium text-center p-l-24 p-r-24 p-t-16 p-b-16 bg-component separator-bottom sticky-top"
4
+ >
3
5
  {{ vm.wizardCtrl.data.selectedProtocol.name }}
4
6
  </p>
5
7
  <div class="c8y-wizard-body p-t-16">
6
8
  <form class="form" name="modelForm" novalidate>
7
9
  <div class="form-group">
8
- <label translate>Name</label>
10
+ <label for="name" translate>Name</label>
9
11
  <input
12
+ id="name"
10
13
  name="name"
11
14
  class="form-control"
12
15
  ng-model="vm.model.name"
@@ -18,9 +21,10 @@
18
21
  <c8y-error-feedback field="modelForm.name"></c8y-error-feedback>
19
22
  </div>
20
23
  <div class="form-group">
21
- <label translate>Description</label>
24
+ <label for="description" translate>Description</label>
22
25
  <textarea
23
- style="height:150px"
26
+ id="description"
27
+ rows="7"
24
28
  class="form-control"
25
29
  ng-model="vm.model.description"
26
30
  ng-disabled="vm.pending"
@@ -34,26 +38,23 @@
34
38
  title="{{ 'Back' | translate }}"
35
39
  class="btn btn-default"
36
40
  ng-click="vm.wizardCtrl.goToIndex(0)"
37
- translate
38
41
  >
39
- Back
42
+ {{ 'Back' | translate }}
40
43
  </button>
41
44
  <button
42
45
  title="{{ 'Cancel' | translate }}"
43
46
  class="btn btn-default"
44
47
  ng-click="vm.wizardCtrl.dismiss()"
45
- translate
46
48
  >
47
- Cancel
49
+ {{ 'Cancel' | translate }}
48
50
  </button>
49
51
  <button
50
52
  title="{{ 'Create' | translate }}"
51
53
  class="btn btn-primary"
52
54
  ng-click="vm.create(vm.model)"
53
- translate
54
55
  ng-disabled="modelForm.$invalid || vm.pending"
55
56
  >
56
- Create
57
+ {{ 'Create' | translate }}
57
58
  </button>
58
59
  </div>
59
60
  </div>
@@ -1,12 +1,15 @@
1
1
  <div class="modal-inner-scroll">
2
- <p class="text-medium text-center p-l-24 p-r-24 p-t-16 p-b-16 bg-component separator-bottom sticky-top">
2
+ <p
3
+ class="text-medium text-center p-l-24 p-r-24 p-t-16 p-b-16 bg-component separator-bottom sticky-top"
4
+ >
3
5
  {{ vm.wizardCtrl.data.selectedProtocol.name }}
4
6
  </p>
5
7
  <div class="c8y-wizard-body p-t-16">
6
8
  <form class="form" name="modelForm" novalidate>
7
9
  <div class="form-group">
8
- <label translate>ID</label>
10
+ <label for="id" translate>ID</label>
9
11
  <input
12
+ id="id"
10
13
  name="id"
11
14
  class="form-control"
12
15
  ng-model="vm.model.id"
@@ -18,8 +21,9 @@
18
21
  <c8y-error-feedback field="modelForm.id"></c8y-error-feedback>
19
22
  </div>
20
23
  <div class="form-group">
21
- <label translate>Name</label>
24
+ <label for="name" translate>Name</label>
22
25
  <input
26
+ id="name"
23
27
  name="name"
24
28
  class="form-control"
25
29
  ng-model="vm.model.name"
@@ -31,9 +35,10 @@
31
35
  <c8y-error-feedback field="modelForm.name"></c8y-error-feedback>
32
36
  </div>
33
37
  <div class="form-group">
34
- <label translate>Description</label>
38
+ <label for="description" translate>Description</label>
35
39
  <textarea
36
- style="height:150px"
40
+ id="description"
41
+ rows="7"
37
42
  class="form-control"
38
43
  ng-model="vm.model.description"
39
44
  ng-disabled="vm.pending"
@@ -47,26 +52,23 @@
47
52
  title="{{ 'Back' | translate }}"
48
53
  class="btn btn-default"
49
54
  ng-click="vm.wizardCtrl.goToIndex(0)"
50
- translate
51
55
  >
52
- Back
56
+ {{ 'Back' | translate }}
53
57
  </button>
54
58
  <button
55
59
  title="{{ 'Cancel' | translate }}"
56
60
  class="btn btn-default"
57
61
  ng-click="vm.wizardCtrl.dismiss()"
58
- translate
59
62
  >
60
- Cancel
63
+ {{ 'Cancel' | translate }}
61
64
  </button>
62
65
  <button
63
66
  title="{{ 'Create' | translate }}"
64
67
  class="btn btn-primary"
65
68
  ng-click="vm.create(vm.model)"
66
- translate
67
69
  ng-disabled="modelForm.$invalid || vm.pending"
68
70
  >
69
- Create
71
+ {{ 'Create' | translate }}
70
72
  </button>
71
73
  </div>
72
74
  </div>
@@ -7,8 +7,9 @@
7
7
  <form class="form" name="modelForm" novalidate>
8
8
  <div class="c8y-wizard-body p-t-16">
9
9
  <div class="form-group">
10
- <label translate>Name</label>
10
+ <label for="name" translate>Name</label>
11
11
  <input
12
+ id="name"
12
13
  name="name"
13
14
  class="form-control"
14
15
  ng-model="vm.model.name"
@@ -20,8 +21,9 @@
20
21
  <c8y-error-feedback field="modelForm.name"></c8y-error-feedback>
21
22
  </div>
22
23
  <div class="form-group">
23
- <label translate>Description</label>
24
+ <label for="description" translate>Description</label>
24
25
  <textarea
26
+ id="description"
25
27
  rows="4"
26
28
  class="form-control"
27
29
  ng-model="vm.model.description"
@@ -34,7 +36,10 @@
34
36
  <button
35
37
  type="button"
36
38
  class="btn-help btn-help--sm"
37
- aria-label="{{ 'Help' | translate }}"
39
+ aria-label="{{
40
+ 'Selecting a reference server allows you to create device types based on the OPC UA model stored on an OPC UA server. This greatly simplifies the mapping process, since device types can be created based on OPC UA browse paths being actually present on the server.'
41
+ | translate
42
+ }}"
38
43
  uib-popover="{{
39
44
  'Selecting a reference server allows you to create device types based on the OPC UA model stored on an OPC UA server. This greatly simplifies the mapping process, since device types can be created based on OPC UA browse paths being actually present on the server.'
40
45
  | translate
@@ -88,6 +88,7 @@
88
88
  class="dropdown-toggle c8y-dropdown"
89
89
  title="{{ 'Actions' | translate }}"
90
90
  uib-dropdown-toggle
91
+ aria-haspopup="true"
91
92
  >
92
93
  <i c8y-icon="ellipsis-v"></i>
93
94
  </button>
@@ -39,6 +39,7 @@
39
39
  type="button"
40
40
  class="dropdown-toggle c8y-dropdown btn-link"
41
41
  uib-dropdown-toggle
42
+ aria-haspopup="true"
42
43
  >
43
44
  <i c8y-icon="ellipsis-v"></i>
44
45
  </button>
@@ -28,6 +28,7 @@
28
28
  <a
29
29
  class="btn btn-primary btn-xs showOnHover pull-right"
30
30
  uib-tooltip="{{ 'Download' | translate }}"
31
+ aria-label="{{ 'Download' | translate }}"
31
32
  tooltip-popup-delay="500"
32
33
  tooltip-append-to-body="true"
33
34
  download="{{ vm.downloadFileName(deviceTypeInfo) }}"
@@ -54,13 +55,14 @@
54
55
  </ui-select>
55
56
  </div>
56
57
 
57
- <label translate>Or load it from a file</label>
58
+ <label for="file" translate>Or load it from a file</label>
58
59
  <div
59
60
  class="input-group"
60
61
  ng-file-select="vm.onCustomDeviceTypeFileSelected($files)"
61
62
  ng-class="{ 'has-error': vm.customDeviceTypeFeedback.type === 'error' }"
62
63
  >
63
64
  <input
65
+ id="file"
64
66
  class="form-control"
65
67
  ng-model="vm.selection.custom.file.name"
66
68
  placeholder="{{ 'Select file to upload' | translate }}…"
@@ -85,7 +87,7 @@
85
87
  class="form-group"
86
88
  ng-class="{ 'has-error': vm.importForm.name.$dirty && vm.importForm.name.$invalid }"
87
89
  >
88
- <label translate>Name</label>
90
+ <label for="name" translate>Name</label>
89
91
  <input
90
92
  class="form-control"
91
93
  id="name"
@@ -61,7 +61,7 @@
61
61
  </c8y-ui-action-bar-set>
62
62
 
63
63
  <div class="row">
64
- <div class="col-md-8">
64
+ <div class="col-md-12">
65
65
  <c8y-ui-empty-state
66
66
  ng-if="ids.length === 0"
67
67
  [icon]="'barcode'"
@@ -114,16 +114,5 @@
114
114
  </div>
115
115
  </div>
116
116
  </div>
117
- <div class="col-md-4">
118
- <div class="card" data-cy="identity-help-text">
119
- <div class="card-header">
120
- <div class="card-title" translate>External ID</div>
121
- </div>
122
- <hr />
123
- <div class="card-block">
124
- <p class="text-pre-wrap">{{ helpText | translate }}</p>
125
- </div>
126
- </div>
127
- </div>
128
117
  </div>
129
118
  </div>
@@ -14,10 +14,10 @@
14
14
  ng-hide="!!vm.status.maintenanceStatus"
15
15
  ng-click="vm.toggleEdit()"
16
16
  uib-tooltip="{{ 'Edit' | translate }}"
17
- aria-label="{{ 'Edit' | translate }}"
18
17
  tooltip-popup-delay="500"
19
18
  tooltip-append-to-body="true"
20
19
  tooltip-trigger="'mouseenter focus'"
20
+ aria-label="{{ 'Edit' | translate }}"
21
21
  >
22
22
  <i c8y-icon="pencil"></i>
23
23
  </button>
@@ -45,8 +45,8 @@
45
45
  ng-class="{ 'btn-pending': vm.saveInProgress }"
46
46
  ng-disabled="vm.saveInProgress || vm.availabilityForm.$invalid || !!vm.status.maintenanceStatus"
47
47
  ng-click="vm.save()"
48
- aria-label="{{ 'Save' | translate }}"
49
48
  type="button"
49
+ aria-label="{{ 'Save' | translate }}"
50
50
  >
51
51
  <span title="{{ 'Save' | translate }}" ng-hide="vm.saveInProgress" class="text-success">
52
52
  <i c8y-icon="check"></i>
@@ -87,6 +87,7 @@
87
87
  <input
88
88
  id="maintenance"
89
89
  title="{{ 'Enable/disable maintenance' | translate }}"
90
+ aria-label="{{ 'Enable/disable maintenance' | translate }}"
90
91
  type="checkbox"
91
92
  ng-click="vm.switchMaintenance(vm.device)"
92
93
  ng-checked="vm.status.maintenanceStatus"
@@ -30,7 +30,10 @@
30
30
  popover-placement="left"
31
31
  popover-trigger="'focus'"
32
32
  class="btn-help"
33
- aria-label="{{ 'Help' | translate }}"
33
+ aria-label="{{
34
+ 'Device location may be set by the device itself, or manually in the platform'
35
+ | translate
36
+ }}"
34
37
  >
35
38
  <i c8y-icon="question-circle-o"></i>
36
39
  </button>
@@ -117,11 +120,7 @@
117
120
  class="form-control"
118
121
  />
119
122
  <span class="input-group-btn">
120
- <button
121
- title="{{ 'Search' | translate }}"
122
- class="btn btn-dot"
123
- type="submit"
124
- >
123
+ <button title="{{ 'Search' | translate }}" class="btn btn-dot" type="submit">
125
124
  <i c8y-icon="search"></i>
126
125
  </button>
127
126
  </span>
@@ -211,6 +211,7 @@
211
211
  type="button"
212
212
  class="dropdown-toggle c8y-dropdown btn-link"
213
213
  uib-dropdown-toggle
214
+ aria-haspopup="true"
214
215
  >
215
216
  <i c8y-icon="ellipsis-v"></i>
216
217
  </button>
@@ -168,6 +168,7 @@
168
168
  data-cy="Actions"
169
169
  class="dropdown-toggle c8y-dropdown"
170
170
  uib-dropdown-toggle
171
+ aria-haspopup="true"
171
172
  >
172
173
  <i c8y-icon="ellipsis-v"></i>
173
174
  </button>
@@ -48,6 +48,7 @@
48
48
  title="{{ 'Settings' | translate }}"
49
49
  class="dropdown-toggle c8y-dropdown"
50
50
  uib-dropdown-toggle
51
+ aria-haspopup="true"
51
52
  >
52
53
  <i c8y-icon="ellipsis-v"></i>
53
54
  </button>
@@ -27,6 +27,7 @@
27
27
  class="dropdown-toggle c8y-dropdown"
28
28
  ng-click="addNewGroup()"
29
29
  uib-dropdown-toggle
30
+ aria-haspopup="true"
30
31
  >
31
32
  <i c8y-icon="plus-circle"></i>
32
33
  <span>{{ 'Add group' | translate }}</span>
@@ -41,7 +41,7 @@
41
41
  <button
42
42
  type="button"
43
43
  class="btn-help btn-help--sm"
44
- aria-label="{{ 'Help' | translate }}"
44
+ aria-label="{{ 'Drag x-axis to the left or right to move time.<br>Select time period to zoom.<br>Double click to zoom out.<br>Values in the y-axis may be truncated, hover over the values or the circle in the bottom to display whole values.' | translate }}"
45
45
  uib-popover-html="'Drag x-axis to the left or right to move time.<br>Select time period to zoom.<br>Double click to zoom out.<br>Values in the y-axis may be truncated, hover over the values or the circle in the bottom to display whole values.' | translate"
46
46
  popover-placement="right"
47
47
  popover-trigger="'focus'"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1017.0.7",
3
+ "version": "1017.0.9",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -59,6 +59,7 @@
59
59
  type="button"
60
60
  class="dropdown-toggle c8y-dropdown"
61
61
  uib-dropdown-toggle
62
+ aria-haspopup="true"
62
63
  >
63
64
  <i c8y-icon="ellipsis-v"></i>
64
65
  </button>
@@ -4,26 +4,29 @@
4
4
  <div class="d-flex">
5
5
  <div class="c8y-list__item__block flex-grow">
6
6
  <div class="c8y-list__item__body text-truncate-wrap p-l-0">
7
- <span class="text-muted"><em translate>No permissions for this scope.</em></span>
7
+ <span class="text-muted"><em translate>No permissions for this scope.</em></span>
8
8
  <button
9
- title="{{ 'Add' | translate }}"
10
- type="button"
11
- ng-click="vm.add()"
12
- class="btn-clean p-8"
13
- >
14
- <i c8y-icon="plus-circle" class="text-primary m-r-4 m-l-4 text-16"></i>
15
- </button>
9
+ title="{{ 'Add' | translate }}"
10
+ type="button"
11
+ ng-click="vm.add()"
12
+ class="btn-clean p-8"
13
+ >
14
+ <i c8y-icon="plus-circle" class="text-primary m-r-4 m-l-4 text-16"></i>
15
+ </button>
16
16
  </div>
17
17
  </div>
18
18
  </div>
19
19
  </li>
20
- <li class="c8y-list__item c8y-list__item--double-actions bg-level-1" ng-repeat="permission in vm.scopedPermissions">
20
+ <li
21
+ class="c8y-list__item c8y-list__item--double-actions bg-level-1"
22
+ ng-repeat="permission in vm.scopedPermissions"
23
+ >
21
24
  <div class="c8y-list__item__block d-flex a-i-center">
22
25
  <div class="c8y-list__item__body text-truncate-wrap p-l-0">
23
26
  <div class="row">
24
27
  <div class="col-sm-8">
25
28
  <div class="d-flex-md a-i-center p-b-xs-8">
26
- <label class="m-b-0 m-r-4">{{ 'Type' | translate }} </label>
29
+ <label class="m-b-0 m-r-4">{{ 'Type' | translate }}</label>
27
30
  <input
28
31
  type="text"
29
32
  class="form-control"
@@ -36,7 +39,7 @@
36
39
  </div>
37
40
  <div class="col-sm-4">
38
41
  <div class="d-flex-md a-i-center">
39
- <label class="m-b-0 m-r-4">{{ 'Permission' | translate }} </label>
42
+ <label class="m-b-0 m-r-4">{{ 'Permission' | translate }}</label>
40
43
  <div class="flex-grow d-flex a-i-center">
41
44
  <div class="c8y-select-wrapper flex-grow">
42
45
  <select
@@ -46,14 +49,20 @@
46
49
  ng-options="access.value as (access.label | translate) for access in vm.accessTypes.values()"
47
50
  ng-model="permission.permission"
48
51
  ng-change="vm.removeId(permission)"
49
- >
50
- </select>
52
+ ></select>
51
53
  </div>
52
54
  <button
53
55
  type="button"
54
56
  ng-show="vm.isOverridden(permission)"
55
57
  class="btn-dot m-l-8"
56
- uib-popover="{{ 'This permission is overridden by a more generic one in this role.' | translate }}"
58
+ uib-popover="{{
59
+ 'This permission is overridden by a more generic one in this role.'
60
+ | translate
61
+ }}"
62
+ aria-label="{{
63
+ 'This permission is overridden by a more generic one in this role.'
64
+ | translate
65
+ }}"
57
66
  popover-append-to-body="true"
58
67
  popover-trigger="'focus'"
59
68
  popover-placement="auto"
@@ -72,14 +81,14 @@
72
81
  class="btn-dot m-l-auto"
73
82
  ng-click="vm.remove(permission)"
74
83
  >
75
- <i c8y-icon="minus-circle" class="text-danger" ></i>
84
+ <i c8y-icon="minus-circle" class="text-danger"></i>
76
85
  </button>
77
86
  <button
78
87
  title="{{ 'Add' | translate }}"
79
88
  type="button"
80
89
  ng-click="vm.add()"
81
90
  class="btn-dot"
82
- ng-show="$index === (vm.scopedPermissions.length - 1)"
91
+ ng-show="$index === vm.scopedPermissions.length - 1"
83
92
  >
84
93
  <i c8y-icon="plus-circle" class="text-primary"></i>
85
94
  </button>
@@ -130,6 +130,7 @@
130
130
  title="{{ 'Actions' | translate }}"
131
131
  class="dropdown-toggle c8y-dropdown"
132
132
  uib-dropdown-toggle
133
+ aria-haspopup="true"
133
134
  ng-click="::$event.stopPropagation()"
134
135
  >
135
136
  <span>
@@ -83,6 +83,7 @@
83
83
  type="button"
84
84
  title="{{ 'Actions' | translate }}"
85
85
  uib-dropdown-toggle
86
+ aria-haspopup="true"
86
87
  ng-click="$event.stopPropagation()"
87
88
  >
88
89
  <span><i c8y-icon="ellipsis-v"></i></span>
@@ -193,7 +193,7 @@
193
193
  <div>
194
194
  <c8y-smart-rest-value-input
195
195
  aria-label="{{ 'Value' | translate }}"
196
- name="mandatoryValueInput"
196
+ name="'mandatoryValueInput' + $index"
197
197
  type="mandatoryValue.type"
198
198
  value="mandatoryValue.value"
199
199
  data-required="false"
@@ -286,7 +286,7 @@
286
286
  <label class="visible-sm visible-xs" translate>Value</label>
287
287
  <c8y-smart-rest-value-input
288
288
  aria-label="{{ 'Value' | translate }}"
289
- name="customValueInput"
289
+ name="'customValueInput' + $index"
290
290
  type="customValue.type"
291
291
  placeholder="'Value' | translate"
292
292
  value="customValue.value"
@@ -1,7 +1,6 @@
1
1
  <span ng-switch="vm.type">
2
2
  <span ng-switch-when="STRING">
3
3
  <input
4
- aria-label="{{ 'Input' | translate }}"
5
4
  name="{{ vm.name }}"
6
5
  placeholder="{{ vm.placeholder }}"
7
6
  type="text"
@@ -14,7 +13,7 @@
14
13
  <c8y-date-time-picker
15
14
  ng-model="vm.value"
16
15
  placeholder="{{ vm.placeholder }}"
17
- class="m-r-16 d-inline-block;"
16
+ class="m-r-16 d-inline-block"
18
17
  ng-required="vm.required"
19
18
  ></c8y-date-time-picker>
20
19
  </div>
@@ -33,7 +32,6 @@
33
32
  </span>
34
33
  <span ng-switch-when="INTEGER">
35
34
  <input
36
- aria-label="{{ 'Input' | translate }}"
37
35
  name="{{ vm.name }}"
38
36
  placeholder="{{ vm.placeholder }}"
39
37
  type="number"
@@ -122,6 +122,7 @@
122
122
  class="dropdown-toggle c8y-dropdown"
123
123
  title="{{ 'Actions' | translate }}"
124
124
  uib-dropdown-toggle
125
+ aria-haspopup="true"
125
126
  >
126
127
  <span>
127
128
  <i c8y-icon="ellipsis-v"></i>
@@ -102,15 +102,15 @@
102
102
  </button>
103
103
  </li>
104
104
  <li ng-if="vm.canModify(rule)">
105
- <buttonn
105
+ <button
106
106
  title="{{ 'Delete smart rule' | translate }}"
107
107
  ng-click="vm.remove(rule)"
108
108
  >
109
109
  <i c8y-icon="times"></i>
110
110
  {{ 'Delete' | translate }}
111
- </buttonn>
111
+ </button>
112
112
  </li>
113
- <li role="separator" class="divider" ng-if="vm.canInspect()"></li>
113
+ <li class="divider" ng-if="vm.canInspect()"></li>
114
114
  <li ng-if="vm.canInspect()">
115
115
  <a
116
116
  ng-href="/apps/administration#/eventprocessing/{{ rule.cepModuleId }}"
@@ -4,6 +4,7 @@
4
4
  class="btn dropdown-toggle c8y-dropdown"
5
5
  title="{{ ctrl.getSelectedText() }}"
6
6
  uib-dropdown-toggle
7
+ aria-haspopup="true"
7
8
  >
8
9
  <span class="text-truncate">
9
10
  <i c8y-icon="check" ng-class="{'text-success': ctrl.areAllOriginallySelected()}"></i>
@@ -31,23 +31,27 @@
31
31
  {{ a | humanizeAppName }}
32
32
  </p>
33
33
  <button
34
- uib-tooltip="{{'Status' | translate}}: {{::vm.getStringTooltip(a.id) | translate}}"
34
+ uib-tooltip="{{ 'Status' | translate }}: {{::vm.getStringTooltip(a.id) | translate}}"
35
35
  tooltip-popup-delay="500"
36
36
  tooltip-append-to-body="true"
37
37
  tooltip-placement="right"
38
- aria-label="{{'Status' | translate}}"
38
+ aria-label="{{ 'Status' | translate }}"
39
39
  class="btn-clean m-l-4"
40
40
  ng-if="::vm.getStatusIcon(a.id)"
41
41
  >
42
42
  <i c8y-icon="{{::vm.getStatusIcon(a.id)}}"></i>
43
43
  </button>
44
+
44
45
  <button
45
- title="{{ 'unsubscribe' | translate }}"
46
+ class="btn btn-dot m-l-auto m-r-8 text-muted"
46
47
  type="button"
47
48
  ng-click="vm.dissociate(a)"
48
- class="btn btn-primary btn-xs showOnHover m-l-auto m-r-8"
49
+ uib-tooltip="{{ 'Unsubscribe' | translate }}"
50
+ aria-label="{{ 'Unsubscribe' | translate }}"
51
+ tooltip-popup-delay="500"
52
+ tooltip-append-to-body="true"
49
53
  >
50
- {{ 'unsubscribe' | translate }}
54
+ <i c8y-icon="unsubscribe"></i>
51
55
  </button>
52
56
  </div>
53
57
  </div>
@@ -56,12 +56,14 @@
56
56
  </span>
57
57
  </div>
58
58
  <div class="flex-no-shrink d-flex">
59
- <label class="control-label m-b-0 m-r-4 a-s-center">{{ 'Owner' | translate }}</label>
59
+ <label for="owner" class="control-label m-b-0 m-r-4 a-s-center">
60
+ {{ 'Owner' | translate }}
61
+ </label>
60
62
  <div class="c8y-select-wrapper">
61
63
  <select
62
64
  ng-options="owner.value as owner.label for owner in owners | orderBy:'label'"
63
65
  ng-model="filter.owner"
64
- aria-label="{{ 'Owner' | translate }}"
66
+ id="owner"
65
67
  class="form-control"
66
68
  ></select>
67
69
  </div>
@@ -73,7 +75,7 @@
73
75
  <li
74
76
  class="c8y-list__item collapsible bg-inherit"
75
77
  ng-class="{ expanded: isOpen(a) }"
76
- ng-repeat="a in applications|filter:filterOwner|filter:filter.text"
78
+ ng-repeat="a in applications |filter:filterOwner|filter:filter.text"
77
79
  >
78
80
  <div class="c8y-list__item__block">
79
81
  <div class="c8y-list__item__appicon p-l-0">
@@ -82,19 +84,22 @@
82
84
  <div class="c8y-list__item__body m-t-auto m-b-auto">
83
85
  <div class="d-flex">
84
86
  <button
87
+ title="{{ a | humanizeAppName }}"
85
88
  class="btn-clean text-truncate"
86
89
  ng-click="openItem(a)"
87
- title="{{ a | humanizeAppName }}"
88
90
  >
89
91
  {{ a | humanizeAppName }}
90
92
  </button>
93
+
91
94
  <button
92
- title="{{ 'subscribe' | translate }}"
93
- ng-click="associate(a)"
94
- class="btn btn-primary btn-xs showOnHover m-l-auto m-r-8"
95
- translate
95
+ class="btn-dot m-l-auto m-r-8"
96
+ type="button"
97
+ uib-tooltip="{{ 'Subscribe' | translate }}"
98
+ aria-label="{{ 'Subscribe' | translate }}"
99
+ tooltip-popup-delay="500"
100
+ tooltip-append-to-body="true"
96
101
  >
97
- subscribe
102
+ <i c8y-icon="subscription"></i>
98
103
  </button>
99
104
  </div>
100
105
  </div>