@c8y/ng1-modules 1018.0.35 → 1018.0.37
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.
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="c8y-list__group m-b-24"
|
|
3
|
-
>
|
|
1
|
+
<div class="c8y-list__group m-b-24">
|
|
4
2
|
<div
|
|
5
3
|
class="page-sticky-header c8y-list__item hidden-xs"
|
|
6
4
|
ng-if="vm.protocols.length && (vm.protocols | filter: vm.filter).length"
|
|
@@ -31,10 +29,7 @@
|
|
|
31
29
|
</div>
|
|
32
30
|
</div>
|
|
33
31
|
|
|
34
|
-
<div
|
|
35
|
-
class="c8y-list__item"
|
|
36
|
-
ng-repeat="protocol in vm.protocols | orderBy:['name', vm.getTitle]"
|
|
37
|
-
>
|
|
32
|
+
<div class="c8y-list__item" ng-repeat="protocol in vm.protocols | orderBy:['name', vm.getTitle]">
|
|
38
33
|
<div class="c8y-list__item__block">
|
|
39
34
|
<div class="c8y-list__item__icon">
|
|
40
35
|
<i c8y-icon="{{ vm.CONFIG.icon }}"></i>
|
|
@@ -50,10 +45,11 @@
|
|
|
50
45
|
{{ ::vm.getTitle(protocol) }}
|
|
51
46
|
</span>
|
|
52
47
|
<button
|
|
53
|
-
ng-if="::!vm.isReadOnly(protocol)"
|
|
54
48
|
class="btn-clean text-truncate"
|
|
55
|
-
|
|
49
|
+
type="button"
|
|
56
50
|
title="{{::vm.getTitle(protocol)}}"
|
|
51
|
+
ng-click="vm.edit(protocol)"
|
|
52
|
+
ng-if="::!vm.isReadOnly(protocol)"
|
|
57
53
|
>
|
|
58
54
|
{{::vm.getTitle(protocol)}}
|
|
59
55
|
</button>
|
|
@@ -86,6 +82,7 @@
|
|
|
86
82
|
<span class="dropdown" uib-dropdown>
|
|
87
83
|
<button
|
|
88
84
|
class="dropdown-toggle c8y-dropdown"
|
|
85
|
+
type="button"
|
|
89
86
|
title="{{ 'Actions' | translate }}"
|
|
90
87
|
uib-dropdown-toggle
|
|
91
88
|
aria-haspopup="true"
|
|
@@ -94,14 +91,18 @@
|
|
|
94
91
|
</button>
|
|
95
92
|
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu>
|
|
96
93
|
<li ng-if="::!vm.isReadOnly(protocol)">
|
|
97
|
-
<button title="{{ 'Edit' | translate }}" ng-click="vm.edit(protocol)">
|
|
94
|
+
<button type="button" title="{{ 'Edit' | translate }}" ng-click="vm.edit(protocol)">
|
|
98
95
|
<i c8y-icon="edit"></i>
|
|
99
96
|
{{ 'Edit' | translate }}
|
|
100
97
|
</button>
|
|
101
98
|
</li>
|
|
102
99
|
<li>
|
|
103
|
-
<button
|
|
104
|
-
|
|
100
|
+
<button
|
|
101
|
+
type="button"
|
|
102
|
+
title="{{ 'Delete' | translate }}"
|
|
103
|
+
ng-click="vm.remove(protocol)"
|
|
104
|
+
>
|
|
105
|
+
<i c8y-icon="delete"></i>
|
|
105
106
|
{{ 'Delete' | translate }}
|
|
106
107
|
</button>
|
|
107
108
|
</li>
|
|
@@ -109,7 +110,11 @@
|
|
|
109
110
|
ng-repeat="action in vm.getProtocolActionsMemoized(protocol)"
|
|
110
111
|
ng-if="::!vm.isReadOnly(protocol)"
|
|
111
112
|
>
|
|
112
|
-
<button
|
|
113
|
+
<button
|
|
114
|
+
type="button"
|
|
115
|
+
title="{{ action.label | translate }}"
|
|
116
|
+
ng-click="action.execute(protocol)"
|
|
117
|
+
>
|
|
113
118
|
<i c8y-icon="{{ action.icon }}"></i>
|
|
114
119
|
{{ action.label | translate }}
|
|
115
120
|
</button>
|