|
|
@ -39,25 +39,25 @@ $("#view-search-param").click(function () {
|
|
|
|
$("#view-search-param").addClass('hidden');
|
|
|
|
$("#view-search-param").addClass('hidden');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
var dynamicForm = '<div class="dynamic-search-param row"><div class="row"><a class="close-button-div icon fw fw-error">' +
|
|
|
|
var dynamicForm = '<div class="dynamic-search-param row"><div class="row"><a class="close-button-div icon fw fw-error">'
|
|
|
|
'</a></div><div class="form-group wr-input-control col-md-2"><label class="wr-input-label ">State</label>' +
|
|
|
|
+ '</a></div><div class="form-group wr-input-control col-md-2"><label class="wr-input-label ">State</label>'
|
|
|
|
'<select class="state no-tag form-control select2-custom"><option>AND</option><option>OR</option></select></div><div ' +
|
|
|
|
+ '<select class="state no-tag form-control select2-custom"><option>AND</option><option>OR</option></select></div>'
|
|
|
|
'class="form-group wr-input-control col-md-4"><label class="wr-input-label ">Key</label><select class=' +
|
|
|
|
+ '<div class="form-group wr-input-control col-md-4"><label class="wr-input-label ">Key</label><select class='
|
|
|
|
'"txt-key form-control select2-custom"><option value = "deviceModel">Device Model' +
|
|
|
|
+ '"txt-key form-control select2-custom"><option value = "deviceModel">Device Model</option><option value = '
|
|
|
|
'</option><option value = "PhoneNumber">Phone Number</option><option value = "vendor">Vendor</option><option value = "osVersion">OS Version' +
|
|
|
|
+ '"PhoneNumber">Phone Number</option><option value = "vendor">Vendor</option><option value = "osVersion">'
|
|
|
|
'</option><option value = "batteryLevel">Battery Level</option><option value =' +
|
|
|
|
+ 'OS Version</option><option value = "batteryLevel">Battery Level</option><option value ='
|
|
|
|
' "internalTotalMemory">Internal Total Memory</option> <option value ="internalAvailableMemory">' +
|
|
|
|
+ ' "internalTotalMemory">Internal Total Memory</option><option value ="internalAvailableMemory">'
|
|
|
|
'Internal Available Memory</option> <option value = "externalTotalMemory">External Total Memory</option>' +
|
|
|
|
+ 'Internal Available Memory</option><option value = "externalTotalMemory">External Total Memory</option>'
|
|
|
|
' <option value = "externalAvailableMemory">External Available Memory' +
|
|
|
|
+ '<option value = "externalAvailableMemory">External Available Memory'
|
|
|
|
'</option> <option value = "connectionType">Connection Type</option> <option value =' +
|
|
|
|
+ '</option><option value = "connectionType">Connection Type</option> <option value ='
|
|
|
|
' "ssid">SSID</option><option value = "cpuUsage">CPU Usage</option><option value = "totalRAMMemory">' +
|
|
|
|
+ ' "ssid">SSID</option><option value= "IMEI">IMEI</option><option value = "cpuUsage">CPU Usage</option><option '
|
|
|
|
'Total RAM Memory</option> <option value = "availableRAMMemory">Available RAM Memory</option>' +
|
|
|
|
+ 'value = "totalRAMMemory">Total RAM Memory</option><option value = "availableRAMMemory">Available RAM Memory'
|
|
|
|
'<option value = "pluggedIn">Plugged In</option></select></div>' +
|
|
|
|
+ '</option><option value = "pluggedIn">Plugged In</option></select></div>'
|
|
|
|
'<div class="form-group wr-input-control col-md-2">' +
|
|
|
|
+ '<div class="form-group wr-input-control col-md-2">'
|
|
|
|
'<label class="wr-input-label ">Operator</label><select id = "operators" class="form-control' +
|
|
|
|
+ '<label class="wr-input-label ">Operator</label><select id = "operators" class="form-control'
|
|
|
|
' select2-custom no-tag operator"><option>=</option><option> !=</option><option> %</option>' +
|
|
|
|
+ ' select2-custom no-tag operator"><option>=</option><option>!=</option><option>%</option>'
|
|
|
|
'</select></div><div class="form-group ' + 'wr-input-control col-md-4"><label class="wr-input-label">Value</label>' +
|
|
|
|
+ '</select></div><div class="form-group ' + 'wr-input-control col-md-4"><label class="wr-input-label">Value'
|
|
|
|
'<input type="text" class="form-control txt-value"/></div></div>';
|
|
|
|
+ '</label><input type="text" class="form-control txt-value"/></div></div>';
|
|
|
|
|
|
|
|
|
|
|
|
var nonNumericKeyValuePair = ["deviceModel", "vendor", "osVersion", "connectionType", "ssid", "pluggedIn"];
|
|
|
|
var nonNumericKeyValuePair = ["deviceModel", "vendor", "osVersion", "connectionType", "ssid", "pluggedIn"];
|
|
|
|
|
|
|
|
|
|
|
|