forked from community/device-mgt-core
parent
1e709bc394
commit
bcbde92143
@ -1,87 +0,0 @@
|
|||||||
{{#each devices}}
|
|
||||||
{{deviceMap this}}
|
|
||||||
<tr data-type="selectable" data-deviceid="{{deviceIdentifier}}" data-devicetype="{{type}}">
|
|
||||||
<td class="remove-padding icon-only content-fill">
|
|
||||||
<div class="thumbnail icon">
|
|
||||||
<img class="square-element text fw "
|
|
||||||
src="{{../imageLocation}}{{type}}.type-view/images/thumb.png"/>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td class="fade-edge" data-search="{{properties.DEVICE_MODEL}},{{properties.VENDOR}}"
|
|
||||||
data-display="{{properties.DEVICE_MODEL}}">
|
|
||||||
<h4 data-deviceid="{{deviceIdentifier}}">{{name}}</h4>
|
|
||||||
{{#if properties.VENDOR}}
|
|
||||||
<div>({{properties.VENDOR}} - {{properties.DEVICE_MODEL}})</div>
|
|
||||||
{{/if}}
|
|
||||||
</td>
|
|
||||||
<td class="fade-edge remove-padding-top" data-search="{{enrolmentInfo.owner}}"
|
|
||||||
data-display="{{enrolmentInfo.owner}}"
|
|
||||||
data-grid-label="Owner">{{enrolmentInfo.owner}}</td>
|
|
||||||
<td class="fade-edge remove-padding-top" data-search="{{enrolmentInfo.status}}"
|
|
||||||
data-display="{{enrolmentInfo.status}}" data-grid-label="Status">
|
|
||||||
{{#equal enrolmentInfo.status "ACTIVE"}}<span><i class="fw fw-ok icon-success"></i> Active</span>{{/equal}}
|
|
||||||
{{#equal enrolmentInfo.status "INACTIVE"}}<span><i
|
|
||||||
class="fw fw-warning icon-warning"></i> Inactive</span>{{/equal}}
|
|
||||||
{{#equal enrolmentInfo.status "BLOCKED"}}<span><i class="fw fw-remove icon-danger"></i> Blocked</span>{{/equal}}
|
|
||||||
{{#equal enrolmentInfo.status "REMOVED"}}<span><i class="fw fw-delete icon-danger"></i> Removed</span>{{/equal}}
|
|
||||||
</td>
|
|
||||||
<td class="fade-edge remove-padding-top" data-search="{{type}}" data-display="{{type}}"
|
|
||||||
data-grid-label="Type">{{type}}</td>
|
|
||||||
|
|
||||||
<td class="fade-edge remove-padding-top" data-search="{{enrolmentInfo.ownership}}"
|
|
||||||
data-display="{{enrolmentInfo.ownership}}"
|
|
||||||
data-grid-label="Ownership">{{enrolmentInfo.ownership}}</td>
|
|
||||||
|
|
||||||
<td class="text-right content-fill text-left-on-grid-view no-wrap">
|
|
||||||
{{#unequal enrolmentInfo.status "REMOVED"}}
|
|
||||||
<a href="device/{{type}}?id={{deviceIdentifier}}"
|
|
||||||
data-click-event="remove-form" class="btn padding-reduce-on-grid-view">
|
|
||||||
<span class="fw-stack">
|
|
||||||
<i class="fw fw-ring fw-stack-2x"></i>
|
|
||||||
<i class="fw fw-view fw-stack-1x"></i>
|
|
||||||
</span>
|
|
||||||
<span class="hidden-xs hidden-on-grid-view">View</span>
|
|
||||||
</a>
|
|
||||||
<a href="analytics?deviceId={{deviceIdentifier}}&deviceType={{type}}&deviceName={{name}}"
|
|
||||||
data-click-event="remove-form" class="btn padding-reduce-on-grid-view">
|
|
||||||
<span class="fw-stack">
|
|
||||||
<i class="fw fw-ring fw-stack-2x"></i>
|
|
||||||
<i class="fw fw-statistics fw-stack-1x"></i>
|
|
||||||
</span>
|
|
||||||
<span class="hidden-xs hidden-on-grid-view">Analytics</span>
|
|
||||||
</a>
|
|
||||||
{{#unless ../../isGroupView}}
|
|
||||||
<a href="#" data-click-event="remove-form"
|
|
||||||
class="btn padding-reduce-on-grid-view group-device-link"
|
|
||||||
data-deviceid="{{deviceIdentifier}}" data-devicetype="{{type}}"
|
|
||||||
data-devicename="{{name}}">
|
|
||||||
<span class="fw-stack">
|
|
||||||
<i class="fw fw-ring fw-stack-2x"></i>
|
|
||||||
<i class="fw fw-grouping fw-stack-1x"></i>
|
|
||||||
</span>
|
|
||||||
<span class="hidden-xs hidden-on-grid-view">Group</span>
|
|
||||||
</a>
|
|
||||||
{{/unless}}
|
|
||||||
<a href="#" data-click-event="remove-form"
|
|
||||||
class="btn padding-reduce-on-grid-view edit-device-link"
|
|
||||||
data-deviceid="{{deviceIdentifier}}" data-devicetype="{{type}}"
|
|
||||||
data-devicename="{{name}}">
|
|
||||||
<span class="fw-stack">
|
|
||||||
<i class="fw fw-ring fw-stack-2x"></i>
|
|
||||||
<i class="fw fw-edit fw-stack-1x"></i>
|
|
||||||
</span>
|
|
||||||
<span class="hidden-xs hidden-on-grid-view">Edit</span>
|
|
||||||
</a>
|
|
||||||
<a href="#" data-click-event="remove-form"
|
|
||||||
class="btn padding-reduce-on-grid-view remove-device-link"
|
|
||||||
data-deviceid="{{deviceIdentifier}}" data-devicetype="{{type}}">
|
|
||||||
<span class="fw-stack">
|
|
||||||
<i class="fw fw-ring fw-stack-2x"></i>
|
|
||||||
<i class="fw fw-delete fw-stack-1x"></i>
|
|
||||||
</span>
|
|
||||||
<span class="hidden-xs hidden-on-grid-view">Delete</span>
|
|
||||||
</a>
|
|
||||||
{{/unequal}}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{{/each}}
|
|
Loading…
Reference in new issue