|
|
|
@ -1,13 +1,8 @@
|
|
|
|
|
{{#zone "main"}}
|
|
|
|
|
<div class="row wr-group-board">
|
|
|
|
|
<div class="row wr-device-board">
|
|
|
|
|
<div class="col-lg-12 wr-secondary-bar">
|
|
|
|
|
<label class="device-id device-select" data-groupid="{{group.id}}">
|
|
|
|
|
Group {{group.name}}
|
|
|
|
|
<span class="lbl-device">
|
|
|
|
|
{{#if group.viewModel.vendor}}
|
|
|
|
|
({{group.viewModel.vendor}} {{group.viewModel.model}})
|
|
|
|
|
{{/if}}
|
|
|
|
|
</span>
|
|
|
|
|
Group: {{group.name}}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -25,13 +20,21 @@
|
|
|
|
|
<div class="col-lg-2 ast-desc-image">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-12 col-sm-4">
|
|
|
|
|
<img src="{{self.publicURL}}/img/group-icon.png" style="width:200px" />
|
|
|
|
|
<img src="{{self.publicURL}}/img/group-icon.png" style="width:200px"/>
|
|
|
|
|
</div>
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
<div class="col-lg-12 col-sm-4 ast-desc">
|
|
|
|
|
<div class="ast-group-desc"><b>Description</b><br/> <span>{{group.description}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
<div class="ast-group-desc"><b>No. of Devices:</b> {{group.deviceCount}}</div>
|
|
|
|
|
<div class="ast-group-desc"><b>Users:</b> {{group.users}}</div>
|
|
|
|
|
<div class="ast-group-desc"><b>Created on:</b><br/> <span class="formatDate">{{group.dateOfCreation}}</span></div>
|
|
|
|
|
<div class="ast-group-desc"><b>Modified on:</b><br/> <span class="formatDate">{{group.dateOfLastUpdate}}</span></div>
|
|
|
|
|
<div class="ast-group-desc"><b>Created on:</b> <span
|
|
|
|
|
class="formatDate">{{group.dateOfCreation}}</span></div>
|
|
|
|
|
<div class="ast-group-desc"><b>Modified on:</b> <span
|
|
|
|
|
class="formatDate">{{group.dateOfLastUpdate}}</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -42,51 +45,6 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
<div class="col-lg-6 col-md-6">
|
|
|
|
|
{{#if group.viewModel.BatteryLevel}}
|
|
|
|
|
<div class="col-lg-4">
|
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
|
<div class="tile-name">BATTERY</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="tile-icon"><i class="fw fw-battery"></i></div>
|
|
|
|
|
<div class="tile-stats">{{group.viewModel.BatteryLevel}}%</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if group.viewModel.DeviceCapacity}}
|
|
|
|
|
<div class="col-lg-4">
|
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
|
<div class="tile-name">STORAGE</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="tile-icon"><i class="fw fw-hdd"></i></div>
|
|
|
|
|
<div class="tile-stats">{{group.viewModel.DeviceCapacityPercentage}}%<span class="tile-stats-free">{{group.viewModel.DeviceCapacityUsed}} GB Free</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{#if group.viewModel.internal_memory.FreeCapacity}}
|
|
|
|
|
<div class="col-lg-4">
|
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
|
<div class="tile-name">LOCAL STORAGE</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="tile-icon"><i class="fw fw-hdd"></i></div>
|
|
|
|
|
<div class="tile-stats">{{group.viewModel.internal_memory.DeviceCapacityPercentage}}%<span class="tile-stats-free">{{group.viewModel.internal_memory.FreeCapacity}} GB Free</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{#if group.viewModel.external_memory.FreeCapacity}}
|
|
|
|
|
<div class="col-lg-4">
|
|
|
|
|
<div class="wr-stats-board-tile">
|
|
|
|
|
<div class="tile-name">EXTERNAL STORAGE</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="tile-icon"><i class="fw fw-hdd"></i></div>
|
|
|
|
|
<div class="tile-stats">{{group.viewModel.external_memory.DeviceCapacityPercentage}}%<span class="tile-stats-free">{{group.viewModel.external_memory.FreeCapacity}} GB Free</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -98,7 +56,8 @@
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
|
<div class="panel-heading" role="tab" id="headingFour">
|
|
|
|
|
<h2 class="sub-title panel-title">
|
|
|
|
|
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
|
|
|
|
|
<a class="collapsed" data-toggle="collapse" data-parent="#accordion"
|
|
|
|
|
href="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
|
|
|
|
|
<span class="fw-stack">
|
|
|
|
|
<i class="fw fw-ring fw-stack-2x"></i>
|
|
|
|
|
<i class="fw fw-arrow fw-down-arrow fw-stack-1x"></i>
|
|
|
|
@ -107,55 +66,37 @@
|
|
|
|
|
</a>
|
|
|
|
|
</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
|
|
|
|
|
<div id="collapseFour" class="panel-collapse collapse" role="tabpanel"
|
|
|
|
|
aria-labelledby="headingFour">
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<a href="../../groups/analytics?id={{id}}" ><i class="fw fw-charts"></i> Show Statistics</a>
|
|
|
|
|
<a href="../../groups/analytics?id={{group.id}}"><i class="fw fw-charts"></i>
|
|
|
|
|
Show Statistics</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- policies -->
|
|
|
|
|
<!-- devices -->
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
|
<div class="panel-heading" role="tab" id="headingTwo">
|
|
|
|
|
<h2 class="sub-title panel-title">
|
|
|
|
|
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
|
|
|
|
|
<a class="collapsed" data-toggle="collapse" data-parent="#accordion"
|
|
|
|
|
href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
|
|
|
|
|
<span class="fw-stack">
|
|
|
|
|
<i class="fw fw-ring fw-stack-2x"></i>
|
|
|
|
|
<i class="fw fw-arrow fw-down-arrow fw-stack-1x"></i>
|
|
|
|
|
</span>
|
|
|
|
|
Policies
|
|
|
|
|
Group Devices
|
|
|
|
|
</a>
|
|
|
|
|
</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
|
|
|
|
|
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel"
|
|
|
|
|
aria-labelledby="headingTwo">
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
Not available yet
|
|
|
|
|
<a href="../../device?id={{group.id}}"><i class="fw fw-charts"></i> Show Devices
|
|
|
|
|
in Group</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- /policies -->
|
|
|
|
|
|
|
|
|
|
<!-- installed applications -->
|
|
|
|
|
<!--<div class="panel panel-default">-->
|
|
|
|
|
<!--<div class="panel-heading" role="tab" id="headingThree">-->
|
|
|
|
|
<!--<h2 class="sub-title panel-title">-->
|
|
|
|
|
<!--<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">-->
|
|
|
|
|
<!--<span class="fw-stack">-->
|
|
|
|
|
<!--<i class="fw fw-ring fw-stack-2x"></i>-->
|
|
|
|
|
<!--<i class="fw fw-arrow fw-down-arrow fw-stack-1x"></i>-->
|
|
|
|
|
<!--</span>-->
|
|
|
|
|
<!--Installed Applications-->
|
|
|
|
|
<!--</a>-->
|
|
|
|
|
<!--</h2>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">-->
|
|
|
|
|
<!--<div class="panel-body">-->
|
|
|
|
|
<!--Not available yet-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!-- /installed applications -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -171,6 +112,5 @@
|
|
|
|
|
|
|
|
|
|
{{/zone}}
|
|
|
|
|
{{#zone "bottomJs"}}
|
|
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script>
|
|
|
|
|
<script src="{{self.publicURL}}/js/group-detail.js"></script>
|
|
|
|
|
{{/zone}}
|