|
|
@ -24,14 +24,37 @@
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "device-thumbnail"}}
|
|
|
|
{{#zone "device-thumbnail"}}
|
|
|
|
<img src="{{@unit.publicUri}}/images/respberry-icon.png"/>
|
|
|
|
<img src="{{@unit.publicUri}}/images/respberry-icon.png" class="img-responsive"/>
|
|
|
|
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "device-details-header"}}
|
|
|
|
|
|
|
|
<h1 class="device-id"
|
|
|
|
|
|
|
|
data-deviceid="{{device.deviceIdentifier}}"
|
|
|
|
|
|
|
|
data-type="{{device.type}}"
|
|
|
|
|
|
|
|
data-ownership="{{device.ownership}}"
|
|
|
|
|
|
|
|
data-owner="{{device.owner}}">
|
|
|
|
|
|
|
|
{{device.enrolmentInfo.owner}}'s {{device.name}}
|
|
|
|
|
|
|
|
<a id="device-info-tooltip" href="#" data-toggle="tooltip" title="Device Identifier: {{device.deviceIdentifier}}">
|
|
|
|
|
|
|
|
<i class="fw fw-info"></i>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<h4>Ownership - <strong>{{device.enrolmentInfo.ownership}}</strong></h4>
|
|
|
|
|
|
|
|
<h4>Device is
|
|
|
|
|
|
|
|
<strong>
|
|
|
|
|
|
|
|
{{#equal device.enrolmentInfo.status "ACTIVE"}}Active{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.enrolmentInfo.status "INACTIVE"}}Inactive{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.enrolmentInfo.status "BLOCKED"}}Blocked{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.enrolmentInfo.status "REMOVED"}}Removed{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.enrolmentInfo.status "UNREACHABLE"}}Unreachable{{/equal}}
|
|
|
|
|
|
|
|
</strong>
|
|
|
|
|
|
|
|
</h4>
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "device-opetations"}}
|
|
|
|
{{#zone "device-opetations"}}
|
|
|
|
<div style="background: #11375B; color: #fff; padding: 10px; margin-bottom: 5px">
|
|
|
|
<div class="operation-container">
|
|
|
|
Operations
|
|
|
|
<div class="operation-title">
|
|
|
|
|
|
|
|
<h4>Device Operations</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="add-margin-top-4x">
|
|
|
|
|
|
|
|
{{unit "cdmf.unit.device.operation-bar" device=device autoCompleteParams=autoCompleteParams
|
|
|
|
{{unit "cdmf.unit.device.operation-bar" device=device autoCompleteParams=autoCompleteParams
|
|
|
|
encodedFeaturePayloads=encodedFeaturePayloads}}
|
|
|
|
encodedFeaturePayloads=encodedFeaturePayloads}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -42,10 +65,6 @@
|
|
|
|
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" href="#event_log" role="tab" data-toggle="tab"
|
|
|
|
|
|
|
|
aria-controls="event_log">Operations Log</a></li>
|
|
|
|
|
|
|
|
<li><a class="list-group-item" href="#geo_dashboard" role="tab" data-toggle="tab"
|
|
|
|
|
|
|
|
aria-controls="geo_dashboard">Map</a></li>
|
|
|
|
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "device-view-tab-contents"}}
|
|
|
|
{{#zone "device-view-tab-contents"}}
|
|
|
@ -54,43 +73,4 @@
|
|
|
|
<div class="panel-heading">Device Statistics</div>
|
|
|
|
<div class="panel-heading">Device Statistics</div>
|
|
|
|
{{unit "cdmf.unit.device.type.raspberrypi.realtime.analytics-view" device=device}}
|
|
|
|
{{unit "cdmf.unit.device.type.raspberrypi.realtime.analytics-view" device=device}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel panel-default tab-pane" id="event_log" role="tabpanel"
|
|
|
|
|
|
|
|
aria-labelledby="event_log">
|
|
|
|
|
|
|
|
<div class="panel-heading">Operations Log <span><a href="#"
|
|
|
|
|
|
|
|
id="refresh-operations"><i
|
|
|
|
|
|
|
|
class="fw fw-refresh"></i></a></span></div>
|
|
|
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
|
|
|
<div id="operations-spinner" class="wr-advance-operations-init hidden">
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<i class="fw fw-settings fw-spin fw-2x"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Loading Operations Log . . .
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="operations-log-container">
|
|
|
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
|
|
|
Not available yet
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br class="c-both"/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel panel-default tab-pane"
|
|
|
|
|
|
|
|
id="geo_dashboard" role="tabpanel" aria-labelledby="geo_dashboard">
|
|
|
|
|
|
|
|
<div class="panel-heading">Map</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="chartWrapper">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a class="padding-left"
|
|
|
|
|
|
|
|
href="{{portalUrl}}/portal/dashboards/geo-dashboard/?GLOBAL-STATE={{anchor}}">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span class="fw-stack">
|
|
|
|
|
|
|
|
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
|
|
|
|
|
|
|
<i class="fw fw-statistics fw-stack-1x"></i>
|
|
|
|
|
|
|
|
</span> View Device Location
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|