@c8y/ng1-modules 1018.155.0 → 1018.158.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.
- package/NOTICES +2171 -3054
- package/administration-applicationSettings/views/index.html +51 -18
- package/devicemanagement-deviceNetwork/views/network.html +54 -33
- package/devicemanagement-logViewer/views/index.html +98 -40
- package/package.json +1 -1
- package/smartRestEditor/requestEditor/requestEditor.html +123 -49
- package/tenantPolicies/retentionRule/retentionRuleRow.html +29 -12
- package/tenantPolicies/tenantOptions/tenantOptionsRow.html +30 -9
- package/tenantPolicies/tenantPolicyDetail/accordion.html +14 -4
- package/tenantPolicies/tenantPolicyDetail/tenantPolicyDetail.html +65 -22
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
<c8y-breadcrumbs-set>
|
|
4
4
|
<c8y-breadcrumbs-item
|
|
5
|
+
icon="c8y-tenant-policies"
|
|
5
6
|
path="#tenantpolicies"
|
|
6
7
|
label="{{ 'Tenant policies' | translate }}"
|
|
7
|
-
icon="c8y-tenant-policies"
|
|
8
8
|
></c8y-breadcrumbs-item>
|
|
9
9
|
<c8y-breadcrumbs-item
|
|
10
|
-
label="{{ 'Tenants' | translate }}"
|
|
11
10
|
icon="c8y-layers"
|
|
11
|
+
label="{{ 'Tenants' | translate }}"
|
|
12
12
|
></c8y-breadcrumbs-item>
|
|
13
13
|
</c8y-breadcrumbs-set>
|
|
14
14
|
|
|
15
|
-
<form
|
|
15
|
+
<form
|
|
16
|
+
name="vm.policyForm"
|
|
17
|
+
novalidate
|
|
18
|
+
>
|
|
16
19
|
<div class="row">
|
|
17
20
|
<div class="col-lg-9 col-xs-12">
|
|
18
21
|
<div class="card card--fullpage">
|
|
@@ -24,24 +27,34 @@
|
|
|
24
27
|
<div class="inner-scroll">
|
|
25
28
|
<div class="card-block">
|
|
26
29
|
<div class="form-group">
|
|
27
|
-
<label
|
|
30
|
+
<label
|
|
31
|
+
for="name"
|
|
32
|
+
translate
|
|
33
|
+
>
|
|
34
|
+
Name
|
|
35
|
+
</label>
|
|
28
36
|
<input
|
|
37
|
+
class="form-control"
|
|
29
38
|
id="name"
|
|
39
|
+
placeholder="{{ 'e.g. My tenant policy' | translate }}"
|
|
30
40
|
name="name"
|
|
31
41
|
type="text"
|
|
32
|
-
class="form-control"
|
|
33
|
-
placeholder="{{ 'e.g. My tenant policy' | translate }}"
|
|
34
42
|
required
|
|
35
43
|
ng-model="vm.editingPolicy.name"
|
|
36
44
|
/>
|
|
37
45
|
<c8y-error-feedback field="vm.policyForm.name"></c8y-error-feedback>
|
|
38
46
|
</div>
|
|
39
47
|
<div class="form-group">
|
|
40
|
-
<label
|
|
48
|
+
<label
|
|
49
|
+
for="description"
|
|
50
|
+
translate
|
|
51
|
+
>
|
|
52
|
+
Description
|
|
53
|
+
</label>
|
|
41
54
|
<textarea
|
|
55
|
+
class="form-control"
|
|
42
56
|
id="description"
|
|
43
57
|
name="description"
|
|
44
|
-
class="form-control"
|
|
45
58
|
rows="4"
|
|
46
59
|
ng-maxlength="1000"
|
|
47
60
|
ng-model="vm.editingPolicy.description"
|
|
@@ -54,8 +67,8 @@
|
|
|
54
67
|
{{ 'Retention rules' | translate }}
|
|
55
68
|
<button
|
|
56
69
|
class="btn-help btn-help--sm"
|
|
57
|
-
type="button"
|
|
58
70
|
aria-label="{{ 'Help' | translate }}"
|
|
71
|
+
type="button"
|
|
59
72
|
uib-popover="{{ 'Use * to allow any values.' | translate }}"
|
|
60
73
|
popover-trigger="'focus'"
|
|
61
74
|
popover-placement="right"
|
|
@@ -67,13 +80,24 @@
|
|
|
67
80
|
class="c8y-empty-state bg-level-1 p-l-8"
|
|
68
81
|
ng-if="vm.editingPolicy.retentions.length === 0"
|
|
69
82
|
>
|
|
70
|
-
<i
|
|
83
|
+
<i
|
|
84
|
+
class="c8y-icon-duocolor"
|
|
85
|
+
c8y-icon="c8y-tenant-policies icon-32"
|
|
86
|
+
></i>
|
|
71
87
|
<div>
|
|
72
|
-
<p
|
|
88
|
+
<p
|
|
89
|
+
class="text-medium"
|
|
90
|
+
translate
|
|
91
|
+
>
|
|
92
|
+
No retention rules defined.
|
|
93
|
+
</p>
|
|
73
94
|
<span translate>You must add at least one retention rule.</span>
|
|
74
95
|
</div>
|
|
75
96
|
</div>
|
|
76
|
-
<script
|
|
97
|
+
<script
|
|
98
|
+
id="confirmDeleteRetentionRule.html"
|
|
99
|
+
type="text/ng-template"
|
|
100
|
+
>
|
|
77
101
|
<div class="text-pre-normal">
|
|
78
102
|
<h4 class="popover-title m-b-8 p-0">
|
|
79
103
|
<i
|
|
@@ -115,8 +139,8 @@
|
|
|
115
139
|
|
|
116
140
|
<button
|
|
117
141
|
class="btn btn-default"
|
|
118
|
-
type="button"
|
|
119
142
|
title="{{ 'Add retention rule' | translate }}"
|
|
143
|
+
type="button"
|
|
120
144
|
ng-click="vm.addRetentionRule(); vm.policyForm.$setDirty()"
|
|
121
145
|
>
|
|
122
146
|
<i c8y-icon="plus-circle"></i>
|
|
@@ -124,20 +148,36 @@
|
|
|
124
148
|
</button>
|
|
125
149
|
|
|
126
150
|
<fieldset>
|
|
127
|
-
<div
|
|
151
|
+
<div
|
|
152
|
+
class="legend form-block"
|
|
153
|
+
translate
|
|
154
|
+
>
|
|
155
|
+
Tenant options
|
|
156
|
+
</div>
|
|
128
157
|
<div
|
|
129
158
|
class="c8y-empty-state bg-level-1 p-l-8"
|
|
130
159
|
ng-if="vm.editingPolicy.options.length === 0"
|
|
131
160
|
>
|
|
132
|
-
<i
|
|
161
|
+
<i
|
|
162
|
+
class="c8y-icon-duocolor icon-32"
|
|
163
|
+
c8y-icon="c8y-tenant-policies"
|
|
164
|
+
></i>
|
|
133
165
|
<div>
|
|
134
|
-
<p
|
|
166
|
+
<p
|
|
167
|
+
class="text-medium"
|
|
168
|
+
translate
|
|
169
|
+
>
|
|
170
|
+
No options defined.
|
|
171
|
+
</p>
|
|
135
172
|
<span translate>Add an option below.</span>
|
|
136
173
|
</div>
|
|
137
174
|
</div>
|
|
138
175
|
|
|
139
176
|
<uib-accordion close-others="false">
|
|
140
|
-
<script
|
|
177
|
+
<script
|
|
178
|
+
id="confirmDelete.html"
|
|
179
|
+
type="text/ng-template"
|
|
180
|
+
>
|
|
141
181
|
<div class="text-pre-normal">
|
|
142
182
|
<h4 class="popover-title m-b-8 p-0">
|
|
143
183
|
<i
|
|
@@ -178,8 +218,8 @@
|
|
|
178
218
|
|
|
179
219
|
<button
|
|
180
220
|
class="btn btn-default"
|
|
181
|
-
type="button"
|
|
182
221
|
title="{{ 'Add tenant option definition' | translate }}"
|
|
222
|
+
type="button"
|
|
183
223
|
ng-click="vm.addTenantOption(); vm.policyForm.$setDirty()"
|
|
184
224
|
>
|
|
185
225
|
<i c8y-icon="plus-circle"></i>
|
|
@@ -188,20 +228,23 @@
|
|
|
188
228
|
</div>
|
|
189
229
|
</div>
|
|
190
230
|
<div class="card-footer separator">
|
|
191
|
-
<div
|
|
231
|
+
<div
|
|
232
|
+
class="row"
|
|
233
|
+
changed="vm.policyForm.$dirty"
|
|
234
|
+
>
|
|
192
235
|
<div class="col-md-8">
|
|
193
236
|
<button
|
|
194
237
|
class="btn btn-default"
|
|
195
|
-
type="button"
|
|
196
238
|
title="{{ 'Cancel' | translate }}"
|
|
239
|
+
type="button"
|
|
197
240
|
ng-click="vm.cancel()"
|
|
198
241
|
>
|
|
199
242
|
{{ 'Cancel' | translate }}
|
|
200
243
|
</button>
|
|
201
244
|
<button
|
|
202
245
|
class="btn btn-danger"
|
|
203
|
-
type="button"
|
|
204
246
|
title="{{ 'Remove' | translate }}"
|
|
247
|
+
type="button"
|
|
205
248
|
ng-if="vm.editingPolicy.id"
|
|
206
249
|
ng-click="vm.remove()"
|
|
207
250
|
>
|
|
@@ -209,8 +252,8 @@
|
|
|
209
252
|
</button>
|
|
210
253
|
<button
|
|
211
254
|
class="btn btn-primary"
|
|
212
|
-
type="submit"
|
|
213
255
|
title="{{ 'Save' | translate }}"
|
|
256
|
+
type="submit"
|
|
214
257
|
ng-disabled="!vm.editingPolicy.retentions.length || vm.policyForm.$invalid || vm.policyForm.$pristine"
|
|
215
258
|
ng-click="vm.save()"
|
|
216
259
|
>
|