|
|
@ -31,6 +31,9 @@
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "device-details"}}
|
|
|
|
{{#zone "device-details"}}
|
|
|
|
|
|
|
|
<span class="device-id"
|
|
|
|
|
|
|
|
data-deviceid="{{device.deviceIdentifier}}"
|
|
|
|
|
|
|
|
data-type="{{device.type}}"></span>
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "device-view-tabs"}}
|
|
|
|
{{#zone "device-view-tabs"}}
|
|
|
@ -38,45 +41,42 @@
|
|
|
|
data-toggle="tab" aria-controls="device_statistics">Device
|
|
|
|
data-toggle="tab" aria-controls="device_statistics">Device
|
|
|
|
Statistics</a>
|
|
|
|
Statistics</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li><a class="list-group-item location_tab" href="#geo_dashboard" role="tab" data-toggle="tab"
|
|
|
|
<li><a class="initGeoLocationLink" href="#geo_dashboard" role="tab" data-toggle="tab"
|
|
|
|
aria-controls="geo_dashboard">Device Location</a></li>
|
|
|
|
aria-controls="geo_dashboard"
|
|
|
|
|
|
|
|
data-lat="{{device.location.latitude}}"
|
|
|
|
|
|
|
|
data-long="{{device.location.longitude}}">Device Location</a></li>
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "device-view-tab-contents"}}
|
|
|
|
{{#zone "device-view-tab-contents"}}
|
|
|
|
<div class="panel panel-default tab-pane active"
|
|
|
|
<div class="panel panel-default tab-pane active"
|
|
|
|
id="device_statistics" role="tabpanel" aria-labelledby="device_statistics">
|
|
|
|
id="device_statistics" role="tabpanel" aria-labelledby="device_statistics">
|
|
|
|
<div class="panel-heading">Device Statistics</div>
|
|
|
|
|
|
|
|
{{unit "cdmf.unit.device.type.android_sense.realtime.analytics-view" device=device}}
|
|
|
|
{{unit "cdmf.unit.device.type.android_sense.realtime.analytics-view" device=device}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel panel-default tab-pane"
|
|
|
|
<div class="panel panel-default tab-pane"
|
|
|
|
id="geo_dashboard" role="tabpanel" aria-labelledby="geo_dashboard">
|
|
|
|
id="geo_dashboard" role="tabpanel" aria-labelledby="geo_dashboard">
|
|
|
|
<div class="panel-heading">Device Location</div>
|
|
|
|
{{#if locationEnabled}}
|
|
|
|
<br/>
|
|
|
|
<div id="location" class="tab-pane">
|
|
|
|
{{unit "cdmf.unit.geo-dashboard" device=device}}
|
|
|
|
<div class="tab-actions">
|
|
|
|
{{#if locationHistory}}
|
|
|
|
<div class="action-btn-container" id="location-action-bar">
|
|
|
|
<div id="device-location"
|
|
|
|
</div>
|
|
|
|
data-locations = "{{locationHistory}}">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
<a class="padding-left" target="_blank"
|
|
|
|
{{unit "cdmf.unit.geo-dashboard" device=device noGeoFencing=false hideSearch=true}}
|
|
|
|
href="{{portalUrl}}/portal/dashboards/geo-dashboard/?GLOBAL-STATE={{anchor}}">
|
|
|
|
</div>
|
|
|
|
<span class="fw-stack">
|
|
|
|
|
|
|
|
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
|
|
|
|
|
|
|
<i class="fw fw-map-location fw-stack-1x"></i>
|
|
|
|
|
|
|
|
</span> Add Geo Fencing
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
{{else}}
|
|
|
|
<div id="map-error" class="message message-warning">
|
|
|
|
<div id="map-error" class="message message-warning">
|
|
|
|
<h4 class="remove-margin">
|
|
|
|
<h4 class="remove-margin">
|
|
|
|
<i class="icon fw fw-warning"></i>
|
|
|
|
<i class="icon fw fw-warning"></i>
|
|
|
|
|
|
|
|
{{#if geoServicesEnabled}}
|
|
|
|
Device location information is not available.
|
|
|
|
Device location information is not available.
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
|
|
|
|
Geo Location Based Services is not enabled.
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
</h4>
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
<div id="chartWrapper">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|