|
|
@ -258,8 +258,9 @@ function loadDevices(searchType, searchParam) {
|
|
|
|
data: 'name',
|
|
|
|
data: 'name',
|
|
|
|
class: 'remove-padding icon-only content-fill',
|
|
|
|
class: 'remove-padding icon-only content-fill',
|
|
|
|
render: function (data, type, row, meta) {
|
|
|
|
render: function (data, type, row, meta) {
|
|
|
|
return '<div class="thumbnail icon"><img class="square-element text fw " src="' + getDeviceTypeThumb(
|
|
|
|
return '<a href="device/' + row.deviceType + '?id=' + row.deviceIdentifier
|
|
|
|
row.deviceType) + '"/></div>';
|
|
|
|
+ '"><div class="thumbnail icon"><img class="square-element text fw " '
|
|
|
|
|
|
|
|
+ 'src="' + getDeviceTypeThumb(row.deviceType) + '"/></div></a>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -333,12 +334,7 @@ function loadDevices(searchType, searchParam) {
|
|
|
|
var deviceIdentifier = row.deviceIdentifier;
|
|
|
|
var deviceIdentifier = row.deviceIdentifier;
|
|
|
|
var html = '<span></span>';
|
|
|
|
var html = '<span></span>';
|
|
|
|
if (status != 'REMOVED') {
|
|
|
|
if (status != 'REMOVED') {
|
|
|
|
html =
|
|
|
|
html = '';
|
|
|
|
'<a href="device/' + deviceType + '?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>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (analyticsEnabled(row.deviceType)) {
|
|
|
|
if (analyticsEnabled(row.deviceType)) {
|
|
|
|
html +=
|
|
|
|
html +=
|
|
|
|