@c8y/ng1-modules 1018.481.0 → 1018.482.19
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 +2393 -453
- package/core/cumulocity.json +1 -0
- package/core/ui/directives/keyShortcut.js +1 -0
- package/core/ui/properties/propertiesLibrary.service.js +1 -1
- package/core/ui/views/auditList.html +39 -17
- package/core/ui/views/editRetentionRuleModal.html +17 -8
- package/enterpriseEdition/customBranding/brandingConfigurationForm.html +2 -0
- package/kpi/views/linearGauge.html +6 -4
- package/measurements/measurements2/chart.controller.js +1 -1
- package/package.json +1 -1
- package/roles/detail/roleDetailGlobal.html +2 -0
- package/tenants/views/detail.html +178 -74
- package/users/userListView/userListView.html +2 -0
- package/devicemanagement-location/controllers/location.js +0 -1
- package/devicemanagement-location/cumulocity.json +0 -24
- package/devicemanagement-location/img/location-widget-pr.png +0 -0
- package/devicemanagement-location/index.js +0 -1
- package/devicemanagement-location/style.css +0 -8
- package/devicemanagement-location/views/component.html +0 -11
- package/devicemanagement-location/views/index.html +0 -163
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
<div data-ng-controller="locationCtrl">
|
|
2
|
-
<c8y-ui-action-bar-set>
|
|
3
|
-
<c8y-realtime-btn class="btn btn-link" subscriber-id="id"></c8y-realtime-btn>
|
|
4
|
-
|
|
5
|
-
<button
|
|
6
|
-
class="btn btn-link"
|
|
7
|
-
type="button"
|
|
8
|
-
title="{{ 'Center map' | translate }}"
|
|
9
|
-
ng-click="centerMap()"
|
|
10
|
-
>
|
|
11
|
-
<i c8y-icon="dot-circle-o"></i>
|
|
12
|
-
{{ 'Center map' | translate }}
|
|
13
|
-
</button>
|
|
14
|
-
</c8y-ui-action-bar-set>
|
|
15
|
-
|
|
16
|
-
<div class="card content-fullpage card--grid grid__col--8-4--md">
|
|
17
|
-
<leaflet
|
|
18
|
-
width="100%"
|
|
19
|
-
height="100%"
|
|
20
|
-
markers="markers"
|
|
21
|
-
center="center"
|
|
22
|
-
defaults="mapDefaults"
|
|
23
|
-
id="locationId"
|
|
24
|
-
event-broadcast="events"
|
|
25
|
-
style="min-height: 30vh"
|
|
26
|
-
></leaflet>
|
|
27
|
-
|
|
28
|
-
<div class="d-flex d-col bg-inherit content-fullpage">
|
|
29
|
-
<div class="card-header separator">
|
|
30
|
-
<span class="card-title" translate>Device location</span>
|
|
31
|
-
<button
|
|
32
|
-
class="btn-help"
|
|
33
|
-
type="button"
|
|
34
|
-
aria-label="{{ 'Help' | translate }}"
|
|
35
|
-
uib-popover-html="'Device location may be set by the device itself, or manually in the platform' | translate"
|
|
36
|
-
popover-placement="left"
|
|
37
|
-
popover-trigger="'focus'"
|
|
38
|
-
popover-append-to-body="true"
|
|
39
|
-
></button>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="inner-scroll">
|
|
42
|
-
<form
|
|
43
|
-
class="card-block"
|
|
44
|
-
ng-class="{ 'form-read-only': !noeditable }"
|
|
45
|
-
name="locationForm"
|
|
46
|
-
novalidate
|
|
47
|
-
>
|
|
48
|
-
<div
|
|
49
|
-
class="form-group m-b-24"
|
|
50
|
-
ng-class="{ 'has-error': invalid('locationForm', 'latitude') }"
|
|
51
|
-
>
|
|
52
|
-
<label for="latitude">
|
|
53
|
-
<span translate>Latitude</span>
|
|
54
|
-
(°)
|
|
55
|
-
</label>
|
|
56
|
-
<input
|
|
57
|
-
type="number"
|
|
58
|
-
name="latitude"
|
|
59
|
-
id="latitude"
|
|
60
|
-
class="form-control"
|
|
61
|
-
ng-disabled="!noeditable"
|
|
62
|
-
ng-model="location.lat"
|
|
63
|
-
ng-pattern="pattern.latitude"
|
|
64
|
-
/>
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
<div
|
|
68
|
-
class="form-group m-b-24"
|
|
69
|
-
ng-class="{ 'has-error': invalid('locationForm', 'longitude') }"
|
|
70
|
-
>
|
|
71
|
-
<label for="longitude">
|
|
72
|
-
<span translate>Longitude</span>
|
|
73
|
-
(°)
|
|
74
|
-
</label>
|
|
75
|
-
<input
|
|
76
|
-
type="number"
|
|
77
|
-
name="longitude"
|
|
78
|
-
id="longitude"
|
|
79
|
-
class="form-control"
|
|
80
|
-
ng-disabled="!noeditable"
|
|
81
|
-
ng-model="location.lng"
|
|
82
|
-
ng-pattern="pattern.longitude"
|
|
83
|
-
/>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<div
|
|
87
|
-
class="form-group m-b-24"
|
|
88
|
-
ng-class="{ 'has-error': invalid('locationForm', 'altitude') }"
|
|
89
|
-
>
|
|
90
|
-
<label for="altitude">
|
|
91
|
-
<span translate>Altitude</span>
|
|
92
|
-
(m)
|
|
93
|
-
</label>
|
|
94
|
-
<input
|
|
95
|
-
type="number"
|
|
96
|
-
name="altitude"
|
|
97
|
-
id="altitude"
|
|
98
|
-
class="form-control"
|
|
99
|
-
ng-disabled="!noeditable"
|
|
100
|
-
ng-model="location.alt"
|
|
101
|
-
ng-pattern="pattern.altitude"
|
|
102
|
-
/>
|
|
103
|
-
</div>
|
|
104
|
-
</form>
|
|
105
|
-
<form
|
|
106
|
-
class="card-block bg-level-1"
|
|
107
|
-
name="addressForm"
|
|
108
|
-
ng-show="noeditable"
|
|
109
|
-
novalidate
|
|
110
|
-
ng-submit="gotoAddress(location.address)"
|
|
111
|
-
>
|
|
112
|
-
<div class="form-group">
|
|
113
|
-
<label for="latlong">{{ 'Find lat/long by address' | translate }}</label>
|
|
114
|
-
<div class="input-group input-group-search">
|
|
115
|
-
<input
|
|
116
|
-
type="text"
|
|
117
|
-
id="latlong"
|
|
118
|
-
ng-model="location.address"
|
|
119
|
-
placeholder="{{ 'e.g.' | translate }} Speditionstraße 13, Düsseldorf"
|
|
120
|
-
class="form-control"
|
|
121
|
-
/>
|
|
122
|
-
<span class="input-group-btn">
|
|
123
|
-
<button class="btn btn-dot" type="submit" title="{{ 'Search' | translate }}">
|
|
124
|
-
<i c8y-icon="search"></i>
|
|
125
|
-
</button>
|
|
126
|
-
</span>
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
129
|
-
</form>
|
|
130
|
-
</div>
|
|
131
|
-
<div class="card-footer separator">
|
|
132
|
-
<button
|
|
133
|
-
class="btn btn-default"
|
|
134
|
-
type="button"
|
|
135
|
-
title="{{ 'Edit location' | translate }}"
|
|
136
|
-
ng-click="noeditable = !noeditable"
|
|
137
|
-
ng-show="!noeditable"
|
|
138
|
-
>
|
|
139
|
-
{{ 'Edit location' | translate }}
|
|
140
|
-
</button>
|
|
141
|
-
<button
|
|
142
|
-
class="btn btn-default"
|
|
143
|
-
type="button"
|
|
144
|
-
title="{{ 'Cancel' | translate }}"
|
|
145
|
-
ng-click="cancel()"
|
|
146
|
-
ng-show="noeditable"
|
|
147
|
-
>
|
|
148
|
-
{{ 'Cancel' | translate }}
|
|
149
|
-
</button>
|
|
150
|
-
<button
|
|
151
|
-
class="btn btn-primary"
|
|
152
|
-
type="button"
|
|
153
|
-
title="{{ 'Save' | translate }}"
|
|
154
|
-
ng-disabled="locationForm.$invalid"
|
|
155
|
-
ng-click="save()"
|
|
156
|
-
ng-show="noeditable"
|
|
157
|
-
>
|
|
158
|
-
{{ 'Save' | translate }}
|
|
159
|
-
</button>
|
|
160
|
-
</div>
|
|
161
|
-
</div>
|
|
162
|
-
</div>
|
|
163
|
-
</div>
|