|
|
@ -5,11 +5,12 @@
|
|
|
|
{{#zone "content"}}
|
|
|
|
{{#zone "content"}}
|
|
|
|
{{#if deviceFound}}
|
|
|
|
{{#if deviceFound}}
|
|
|
|
{{#if isAuthorized}}
|
|
|
|
{{#if isAuthorized}}
|
|
|
|
<h1 class="page-sub-title device-id device-select" data-deviceid="{{device.deviceIdentifier}}" data-type="{{device.type}}" data-ownership="{{device.viewModel.ownership}}">
|
|
|
|
<h1 class="page-sub-title device-id device-select"
|
|
|
|
Device {{device.name}}
|
|
|
|
data-deviceid="{{deviceView.deviceIdentifier}}" data-type="{{deviceView.deviceType}}" data-ownership="{{deviceView.ownership}}">
|
|
|
|
{{#if device.viewModel.model}}
|
|
|
|
Device {{deviceView.name}}
|
|
|
|
|
|
|
|
{{#if deviceView.model}}
|
|
|
|
<span class="lbl-device">
|
|
|
|
<span class="lbl-device">
|
|
|
|
( {{device.viewModel.vendor}} {{device.viewModel.model}} )
|
|
|
|
( {{deviceView.vendor}} {{deviceView.model}} )
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
@ -23,77 +24,77 @@
|
|
|
|
{{#defineZone "device-detail-properties"}}
|
|
|
|
{{#defineZone "device-detail-properties"}}
|
|
|
|
<table class="table table-responsive table-striped" id="members">
|
|
|
|
<table class="table table-responsive table-striped" id="members">
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
{{#if device.viewModel.deviceIdentifier}}
|
|
|
|
{{#if deviceView.deviceIdentifier}}
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Device ID</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Device ID</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.deviceIdentifier}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.deviceIdentifier}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.deviceName}}
|
|
|
|
{{#if deviceView.name}}
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Name</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Name</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.deviceName}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.name}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.vendor}}
|
|
|
|
{{#if deviceView.vendor}}
|
|
|
|
{{#if device.viewModel.model}}
|
|
|
|
{{#if deviceView.model}}
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Model</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Model</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.vendor}} {{device.viewModel.model}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.vendor}} {{deviceView.model}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.status}}
|
|
|
|
{{#if deviceView.status}}
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Status</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Status</td>
|
|
|
|
<td style="padding:10px 15px;">
|
|
|
|
<td style="padding:10px 15px;">
|
|
|
|
{{#equal device.status "ACTIVE"}}<span><i class="fw fw-ok icon-success"></i> Active</span>{{/equal}}
|
|
|
|
{{#equal deviceView.status "ACTIVE"}}<span><i class="fw fw-ok icon-success"></i> Active</span>{{/equal}}
|
|
|
|
{{#equal device.status "INACTIVE"}}<span><i class="fw fw-warning icon-warning"></i> Inactive</span>{{/equal}}
|
|
|
|
{{#equal deviceView.status "INACTIVE"}}<span><i class="fw fw-warning icon-warning"></i> Inactive</span>{{/equal}}
|
|
|
|
{{#equal device.status "BLOCKED"}}<span><i class="fw fw-remove icon-danger"></i> Blocked</span>{{/equal}}
|
|
|
|
{{#equal deviceView.status "BLOCKED"}}<span><i class="fw fw-remove icon-danger"></i> Blocked</span>{{/equal}}
|
|
|
|
{{#equal device.status "REMOVED"}}<span><i class="fw fw-delete icon-danger"></i> Removed</span>{{/equal}}
|
|
|
|
{{#equal deviceView.status "REMOVED"}}<span><i class="fw fw-delete icon-danger"></i> Removed</span>{{/equal}}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.owner}}
|
|
|
|
{{#if deviceView.owner}}
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Owner</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Owner</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.owner}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.owner}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.ownership}}
|
|
|
|
{{#if deviceView.ownership}}
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Ownership</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Ownership</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.ownership}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.ownership}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.imei}}
|
|
|
|
{{#if deviceView.imei}}
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">IMEI</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">IMEI</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.imei}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.imei}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.udid}}
|
|
|
|
{{#if deviceView.udid}}
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">UDID</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">UDID</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.udid}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.udid}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.os_build_date}}
|
|
|
|
{{#if deviceView.osBuildDate}}
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Firmware Build Date</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Firmware Build Date</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.os_build_date}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.osBuildDate}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.phoneNumber}}
|
|
|
|
{{#if deviceView.phoneNumber}}
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Phone Number</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Phone Number</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.phoneNumber}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.phoneNumber}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.lastUpdatedTime}}
|
|
|
|
{{#if deviceView.lastUpdatedTime}}
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Last Update</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Last Update</td>
|
|
|
|
<td style="padding:10px 15px;">{{device.viewModel.lastUpdatedTime}}</td>
|
|
|
|
<td style="padding:10px 15px;">{{deviceView.lastUpdatedTime}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
@ -101,7 +102,7 @@
|
|
|
|
{{/defineZone}}
|
|
|
|
{{/defineZone}}
|
|
|
|
<div style="background: #11375B; color: #fff; padding: 10px; margin-bottom: 5px">Operations</div>
|
|
|
|
<div style="background: #11375B; color: #fff; padding: 10px; margin-bottom: 5px">Operations</div>
|
|
|
|
<div class="add-margin-top-4x">
|
|
|
|
<div class="add-margin-top-4x">
|
|
|
|
{{unit "mdm.unit.device.operation-bar" deviceType=device.type ownership=device.viewModel.ownership}}
|
|
|
|
{{unit "mdm.unit.device.operation-bar" deviceType=deviceView.deviceType ownership=deviceView.ownership}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -120,8 +121,8 @@
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li role="presentation" class="list-group-item">
|
|
|
|
<li role="presentation" class="list-group-item">
|
|
|
|
<a href="#device_location_tab" role="tab" data-toggle="tab"
|
|
|
|
<a href="#device_location_tab" role="tab" data-toggle="tab"
|
|
|
|
data-lat="{{device.viewModel.location.latitude}}"
|
|
|
|
data-lat="{{deviceView.location.latitude}}"
|
|
|
|
data-long="{{device.viewModel.location.longitude}}"
|
|
|
|
data-long="{{deviceView.location.longitude}}"
|
|
|
|
aria-controls="device_location_tab">
|
|
|
|
aria-controls="device_location_tab">
|
|
|
|
<i class="icon fw fw-map-location"></i><span class="hidden-sm">Device Location</span>
|
|
|
|
<i class="icon fw fw-map-location"></i><span class="hidden-sm">Device Location</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
@ -158,13 +159,13 @@
|
|
|
|
<div class="panel-body ">
|
|
|
|
<div class="panel-body ">
|
|
|
|
<div class="device-detail-body">
|
|
|
|
<div class="device-detail-body">
|
|
|
|
<!-- device summary -->
|
|
|
|
<!-- device summary -->
|
|
|
|
{{#equal device.type "windows"}}
|
|
|
|
{{#equal deviceView.deviceType "windows"}}
|
|
|
|
<div class="message message-info">
|
|
|
|
<div class="message message-info">
|
|
|
|
<h4 class="remove-margin"><i class="icon fw fw-info"></i>Not available yet</h4>
|
|
|
|
<h4 class="remove-margin"><i class="icon fw fw-info"></i>Not available yet</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/equal}}
|
|
|
|
{{/equal}}
|
|
|
|
{{#if device.viewModel.deviceInfo}}
|
|
|
|
{{#if deviceView.deviceInfoAvailable}}
|
|
|
|
{{#if device.viewModel.BatteryLevel}}
|
|
|
|
{{#if deviceView.BatteryLevel}}
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
@ -172,14 +173,14 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-battery"></i></div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-battery"></i></div>
|
|
|
|
<div class="tile-stats">
|
|
|
|
<div class="tile-stats">
|
|
|
|
{{device.viewModel.BatteryLevel.value}} %
|
|
|
|
{{deviceView.BatteryLevel.value}} %
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
<!--{{#if device.viewModel.cpuUsage}}-->
|
|
|
|
<!--{{#if deviceView.cpuUsage}}-->
|
|
|
|
<!--<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">-->
|
|
|
|
<!--<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">-->
|
|
|
|
<!--<div class="col-md-12">-->
|
|
|
|
<!--<div class="col-md-12">-->
|
|
|
|
<!--<div class="wr-stats-board-tile">-->
|
|
|
|
<!--<div class="wr-stats-board-tile">-->
|
|
|
@ -187,14 +188,14 @@
|
|
|
|
<!--<div>-->
|
|
|
|
<!--<div>-->
|
|
|
|
<!--<div class="tile-icon"><i class="fw fw-dashboard"></i></div>-->
|
|
|
|
<!--<div class="tile-icon"><i class="fw fw-dashboard"></i></div>-->
|
|
|
|
<!--<div class="tile-stats">-->
|
|
|
|
<!--<div class="tile-stats">-->
|
|
|
|
<!--{{device.viewModel.cpuUsage.value}} %-->
|
|
|
|
<!--{{deviceView.cpuUsage.value}} %-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--{{/if}}-->
|
|
|
|
<!--{{/if}}-->
|
|
|
|
{{#if device.viewModel.ramUsage}}
|
|
|
|
{{#if deviceView.ramUsage}}
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
@ -202,14 +203,14 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-hardware"></i></div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-hardware"></i></div>
|
|
|
|
<div class="tile-stats">
|
|
|
|
<div class="tile-stats">
|
|
|
|
{{device.viewModel.ramUsage.value}} %
|
|
|
|
{{deviceView.ramUsage.value}} %
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.internalMemory}}
|
|
|
|
{{#if deviceView.internalMemory}}
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
@ -217,9 +218,9 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-hdd"></i></div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-hdd"></i></div>
|
|
|
|
<div class="tile-stats">
|
|
|
|
<div class="tile-stats">
|
|
|
|
{{device.viewModel.internalMemory.usage}} %
|
|
|
|
{{deviceView.internalMemory.usage}} %
|
|
|
|
<span class="tile-stats-free">
|
|
|
|
<span class="tile-stats-free">
|
|
|
|
TOTAL OF {{device.viewModel.internalMemory.total}} GB
|
|
|
|
TOTAL OF {{deviceView.internalMemory.total}} GB
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -227,7 +228,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if device.viewModel.externalMemory}}
|
|
|
|
{{#if deviceView.externalMemory}}
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
@ -235,9 +236,9 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-usb-drive"></i></div>
|
|
|
|
<div class="tile-icon"><i class="fw fw-usb-drive"></i></div>
|
|
|
|
<div class="tile-stats">
|
|
|
|
<div class="tile-stats">
|
|
|
|
{{device.viewModel.externalMemory.usage}} %
|
|
|
|
{{deviceView.externalMemory.usage}} %
|
|
|
|
<span class="tile-stats-free">
|
|
|
|
<span class="tile-stats-free">
|
|
|
|
TOTAL OF {{device.viewModel.externalMemory.total}} GB
|
|
|
|
TOTAL OF {{deviceView.externalMemory.total}} GB
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -284,16 +285,11 @@
|
|
|
|
<i class="fw fw-refresh"></i>
|
|
|
|
<i class="fw fw-refresh"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<div id="policy-spinner" class="wr-advance-operations-init hidden">
|
|
|
|
<div id="policy-spinner"
|
|
|
|
<i class="fw fw-settings fw-spin fw-2x"></i> Loading Policy Compliance...
|
|
|
|
class="wr-advance-operations-init add-padding-bottom-2x add-padding-bottom-4x hidden">
|
|
|
|
|
|
|
|
<i class="fw fw-settings fw-spin fw-2x"></i> Loading Policy Compliance...
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="policy-list-container">
|
|
|
|
<div id="policy-list-container">
|
|
|
|
<div class="message message-info">
|
|
|
|
|
|
|
|
<h4 class="remove-margin">
|
|
|
|
|
|
|
|
<i class="icon fw fw-info"></i>
|
|
|
|
|
|
|
|
There is currently no effective policy applied for this device.
|
|
|
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -311,16 +307,22 @@
|
|
|
|
<div class="panel-heading display-none-xs">Device Location</div>
|
|
|
|
<div class="panel-heading display-none-xs">Device Location</div>
|
|
|
|
<div id="collapseThree" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="device_location">
|
|
|
|
<div id="collapseThree" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="device_location">
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="panel-body">
|
|
|
|
<div id="map-error" class="message message-danger">
|
|
|
|
{{#if deviceView.location}}
|
|
|
|
|
|
|
|
<div id="device-location"
|
|
|
|
|
|
|
|
data-lat="{{deviceView.location.latitude}}"
|
|
|
|
|
|
|
|
data-long="{{deviceView.location.longitude}}">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
|
|
|
|
<div id="map-error" class="message message-warning">
|
|
|
|
<h4 class="remove-margin">
|
|
|
|
<h4 class="remove-margin">
|
|
|
|
<i class="icon fw fw-error"></i>
|
|
|
|
<i class="icon fw fw-warning"></i>
|
|
|
|
Device location cannot be retrieved.
|
|
|
|
Device location information is not available.
|
|
|
|
</h4>
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="device-location"
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
data-lat="{{device.viewModel.location.latitude}}"
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
data-long="{{device.viewModel.location.longitude}}">
|
|
|
|
<p class="add-padding-5x"></p>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -440,15 +442,15 @@
|
|
|
|
{{#if isAuthorized}}
|
|
|
|
{{#if isAuthorized}}
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<script id="policy-view" src="{{@unit.publicUri}}/templates/policy-compliance.hbs"
|
|
|
|
<script id="policy-view" src="{{@unit.publicUri}}/templates/policy-compliance.hbs"
|
|
|
|
data-device-id="{{device.deviceIdentifier}}" data-device-type="{{device.type}}"
|
|
|
|
data-device-id="{{deviceView.deviceIdentifier}}" data-device-type="{{deviceView.deviceType}}"
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<script id="applications-list" src="{{@unit.publicUri}}/templates/applications-list.hbs"
|
|
|
|
<script id="applications-list" src="{{@unit.publicUri}}/templates/applications-list.hbs"
|
|
|
|
data-device-id="{{device.deviceIdentifier}}" data-device-type="{{device.type}}"
|
|
|
|
data-device-id="{{deviceView.deviceIdentifier}}" data-device-type="{{deviceView.deviceType}}"
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<script id="operations-log" src="{{@unit.publicUri}}/templates/operations-log.hbs"
|
|
|
|
<script id="operations-log" src="{{@unit.publicUri}}/templates/operations-log.hbs"
|
|
|
|
data-device-id="{{device.deviceIdentifier}}" data-device-type="{{device.type}}"
|
|
|
|
data-device-id="{{deviceView.deviceIdentifier}}" data-device-type="{{deviceView.deviceType}}"
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|
{{js "js/device-detail.js"}}
|
|
|
|
{{js "js/device-detail.js"}}
|
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script>
|
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script>
|
|
|
|