Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "default/base.html" %}
- {% block title %} Connections timeline {% endblock %}
- {% block content %}
- <div style=margin-left:5px><p><strong>Removable Media Connections</strong></p></div>
- <div style=float:left;margin-top:5px;margin-left:5px>
- <ul>
- <li><em>Displaying {{distinct_evidence|safe}} unique evidence item(s)</em></li>
- <li><em>{{distinct_instance_id|safe}} instance id items</em></li>
- <li> <em>Last install time is {{latest_date_time|safe}}</em></li>
- </ul>
- </div>
- <script type="text/javascript" >
- $(document).ready(function(){
- var data = {{usb_data|safe}};
- var data2={{evtx_data|safe}};
- var data3= {{evt_data|safe}};
- var source =
- {
- localdata: data,
- datatype: "json",
- datafields:
- [ { name: 'evidence', map: 'fields>evidence', type: 'string' },
- { name: 'device_name', map: 'fields>device_name', type: 'string' },
- { name: 'vid_pid', map: 'fields>vid_pid', type: 'datetime' },
- { name: 'install', map: 'fields>install', type: 'timestamp' },
- { name: 'volume_device', map: 'fields>volume_device', type: 'timestamp' },
- { name: 'disk_device', map: 'fields>disk_device', type: 'timestamp' },
- { name: 'usb_type', map: 'fields>usb_type', type: 'string' },
- { name: 'vid', map: 'fields>vid', type: 'string' },
- { name: 'pid', map: 'fields>pid', type: 'string' },
- { name: 'hub', map: 'fields>hub', type: 'number' },
- { name: 'port', map: 'fields>port', type: 'number' },
- { name: 'vendor', map: 'fields>vendor', type: 'string' },
- { name: 'product', map: 'fields>product', type: 'string' },
- { name: 'revision', map: 'fields>revision', type: 'string' },
- { name: 'volume_guid', map: 'fields>volume_guid', type: 'string' },
- { name: 'volume', map: 'fields>volume', type: 'string' },
- { name: 'volume_name', map: 'fields>volume_name', type: 'string' },
- { name: 'users1', map: 'fields>users1', type: 'string' },
- { name: 'users_datetime1', map: 'fields>users_datetime1', type: 'timestamp' },
- { name: 'user2', map: 'fields>user', type: 'string' },
- { name: 'users_datetime2', map: 'fields>users_datetime2', type: 'timestamp' },
- { name: 'users3', map: 'fields>user', type: 'string' },
- { name: 'users_datetime3', map: 'fields>users_datetime3', type: 'timestamp' },
- { name: 'instance_id', map: 'fields>instance_id', type: 'string' },
- { name: 'property_keys', map: 'fields>property_keys', type: 'timestamp' },
- { name: 'vol_serial1', map: 'fields>vol_serial1', type: 'string' },
- { name: 'vol_name1', map: 'fields>vol_name1', type: 'string' },
- { name: 'last_modify_regtimes1', map: 'fields>last_modify_regtimes1', type: 'timestamp' },
- { name: 'vol_serial2', map: 'fields>vol_serial2', type: 'string' },
- { name: 'vol_name2', map: 'fields>vol_name2', type: 'string' },
- { name: 'last_modify_regtimes2', map: 'fields>last_modify_regtimes2', type: 'timestamp' },
- { name: 'vol_serial3', map: 'fields>vol_serial3', type: 'string' },
- { name: 'vol_name3', map: 'fields>vol_name3', type: 'string' },
- { name: 'last_modify_regtime3', map: 'fields>last_modify_regtime3', type: 'timestamp' },
- { name: 'vol_serial4', map: 'fields>vol_serial4', type: 'string' },
- { name: 'vol_name4', map: 'fields>vol_name4', type: 'string' },
- { name: 'last_modify_regtime4', map: 'fields>last_modify_regtime4', type: 'timestamp' },
- { name: 'vol_serial5', map: 'fields>vol_serial5', type: 'string' },
- { name: 'vol_name5', map: 'fields>vol_name5', type: 'string' },
- { name: 'last_modify_regtime5', map: 'fields>last_modify_regtime5', type: 'timestamp' },
- ],
- };
- var addfilter = function () {
- var filtergroup = new $.jqx.filter();
- var filter_or_operator = 1;
- var filtervalue = '';
- var filtercondition = 'contains';
- var filter1 = filtergroup.createfilter('stringfilter', filtervalue, filtercondition);
- filtervalue = '';
- filtercondition = 'contains';
- var filter2 = filtergroup.createfilter('stringfilter', filtervalue, filtercondition);
- filtergroup.addfilter(filter_or_operator, filter1);
- filtergroup.addfilter(filter_or_operator, filter2);
- // add the filters.
- $("#jqxgrid").jqxGrid('addfilter', 'evidence', filtergroup);
- // apply the filters.
- $("#jqxgrid").jqxGrid('applyfilters');
- }
- var source2 =
- {
- localdata: data2,
- datatype: "json",
- datafields:
- [
- { name: 'evidence', map: 'fields>evidence', type: 'string' },
- { name: 'created_timestamp', map: 'fields>created_timestamp', type: 'timestamp' },
- { name: 'timestamp_desc', map: 'fields>timestamp_desc', type: 'string' },
- { name: 'filename', map: 'fields>filename', type: 'string' },
- { name: 'file_path', map: 'fields>file_path', type: 'string' },
- { name: 'record_number', map: 'fields>record_number', type: 'stirng' },
- { name: 'orig_filename_lagacy', map: 'fields>orig_filename_lagacy', type: 'string' },
- { name: 'computer_name', map: 'fields>drive_letter', type: 'string' },
- { name: 'user_sid', map: 'fields>user_sid', type: 'string' },
- { name: 'event_identifier', map: 'fields>event_identifier', type: 'string' },
- { name: 'event_level', map: 'fields>event_level', type: 'string' },
- { name: 'event_category', map: 'fields>event_category', type: 'string' },
- { name: 'event_name', map: 'fields>event_name', type: 'string' },
- { name: 'strings', map: 'fields>strings', type: 'string' },
- { name: 'xml_string', map: 'fields>xml_string', type: 'string' },
- { name: 'vss', map: 'fields>vss', type: 'string' },
- ],
- };
- var addfilter = function () {
- var filtergroup = new $.jqx.filter();
- var filter_or_operator = 1;
- var filtervalue = '';
- var filtercondition = '';
- var filter1 = filtergroup.createfilter('stringfilter', filtervalue, filtercondition);
- filtervalue = '';
- filtercondition = 'contains';
- var filter2 = filtergroup.createfilter('stringfilter', filtervalue, filtercondition);
- filtergroup.addfilter(filter_or_operator, filter1);
- filtergroup.addfilter(filter_or_operator, filter2);
- // add the filters.
- $("#jqxgrid2").jqxGrid('addfilter', 'evidence', filtergroup);
- // apply the filters.
- $("#jqxgrid2").jqxGrid('applyfilters');
- }
- var source3 =
- {
- localdata: data3,
- datatype: "json",
- datafields:
- [
- { name: 'evidence', map: 'fields>evidence', type: 'string' },
- { name: 'created_timestamp', map: 'fields>created_timestamp', type: 'timestamp' },
- { name: 'timestamp_desc', map: 'fields>timestamp_desc', type: 'string' },
- { name: 'filename', map: 'fields>filename', type: 'string' },
- { name: 'file_path', map: 'fields>file_path', type: 'string' },
- { name: 'record_number', map: 'fields>record_number', type: 'stirng' },
- { name: 'computer_name', map: 'fields>computer_name', type: 'string' },
- { name: 'event_identifier', map: 'fields>event_identifier', type: 'string' },
- { name: 'source_name', map: 'fields>source_name', type: 'string' },
- { name: 'event_category', map: 'fields>event_category', type: 'string' },
- { text: 'event_type_string', columntype: 'textbox', datafield: 'event_type_string', width: 70 },
- { name: 'event_name', map: 'fields>event_name', type: 'string' },
- { name: 'strings', map: 'fields>strings', type: 'string' },
- { name: 'vss', map: 'fields>vss', type: 'string' },
- ],
- };
- var dataAdapter = new $.jqx.dataAdapter(source);
- // initialize jqxGrid
- $("#jqxgrid").jqxGrid(
- {
- width: '100%',
- height:450,
- source: dataAdapter,
- altrows: true,
- sortable: true,
- groupable: true,
- columnsresize: true,
- filterable: true,
- autoshowfiltericon: false,
- selectionmode: 'multiplecellsextended',
- ready: function () {
- addfilter();
- var localizationObject = {
- filterstringcomparisonoperators: ['contains', 'does not contain'],
- // filter numeric comparison operators.
- filternumericcomparisonoperators: ['less than', 'greater than'],
- // filter date comparison operators.
- filterdatecomparisonoperators: ['less than', 'greater than'],
- // filter bool comparison operators.
- filterbooleancomparisonoperators: ['equal', 'not equal']
- }
- $("#jqxgrid").jqxGrid('localizestrings', localizationObject);
- },
- updatefilterconditions: function (type, defaultconditions) {
- var stringcomparisonoperators = ['CONTAINS', 'DOES_NOT_CONTAIN'];
- var numericcomparisonoperators = ['LESS_THAN', 'GREATER_THAN'];
- var datecomparisonoperators = ['LESS_THAN', 'GREATER_THAN'];
- var booleancomparisonoperators = ['EQUAL', 'NOT_EQUAL'];
- switch (type) {
- case 'stringfilter':
- return stringcomparisonoperators;
- case 'numericfilter':
- return numericcomparisonoperators;
- case 'datefilter':
- return datecomparisonoperators;
- case 'booleanfilter':
- return booleancomparisonoperators;
- }
- },
- updatefilterpanel: function (filtertypedropdown1, filtertypedropdown2, filteroperatordropdown, filterinputfield1, filterinputfield2, filterbutton, clearbutton,
- columnfilter, filtertype, filterconditions) {
- var index1 = 0;
- var index2 = 0;
- if (columnfilter != null) {
- var filter1 = columnfilter.getfilterat(0);
- var filter2 = columnfilter.getfilterat(1);
- if (filter1) {
- index1 = filterconditions.indexOf(filter1.comparisonoperator);
- var value1 = filter1.filtervalue;
- filterinputfield1.val(value1);
- }
- if (filter2) {
- index2 = filterconditions.indexOf(filter2.comparisonoperator);
- var value2 = filter2.filtervalue;
- filterinputfield2.val(value2);
- }
- }
- filtertypedropdown1.jqxDropDownList({ autoDropDownHeight: true, selectedIndex: index1 });
- filtertypedropdown2.jqxDropDownList({ autoDropDownHeight: true, selectedIndex: index2 });
- },
- columns:
- [ { text: 'evidence', columntype: 'textbox', datafield: 'evidence', width: 50 },
- { text: 'Device Name', columntype: 'textbox', datafield: 'device_name', width: 130 },
- { text: 'VID/PID', columntype: 'datetimeinput',cellsformat: 'T', datafield: 'vid_pid', width: 90 },
- { text: 'Install', columntype: 'textbox', datafield: 'install', width: 60 },
- { text: 'Disk Device', columntype: 'textbox', datafield: 'disk_device', width: 100 },
- { text: 'Volume Device', columntype: 'textbox', datafield: 'volume_device',width: 130},
- { text: 'Type', columntype: 'textbox', datafield: 'usb_type',width: 60 },
- { text: 'VID', columntype: 'textbox', datafield: 'vid', width: 60 },
- { text: 'PID', columntype: 'textbox', datafield: 'pid', width: 70 },
- { text: 'Vendor', columntype: 'textbox', datafield: 'vendor', width: 90 },
- { text: 'Product', columntype: 'textbox', datafield: 'product',width: 60 },
- { text: 'Revision', columntype: 'textbox', datafield: 'revision', width: 100 },
- { text: 'Volume Guid', columntype: 'textbox', datafield: 'volume_guid', width: 130},
- { text: 'volume', columntype: 'textbox', datafield: 'volume', width: 60 },
- { text: 'Volume Name', columntype: 'textbox', datafield: 'volume_name', width: 60 },
- { text: 'Users 1', columntype: 'textbox', datafield: 'users1', width: 50 },
- { text: 'user date time', columntype: 'textbox', datafield: 'user_datetime', width: 50 },
- { text: 'Users 2', columntype: 'textbox', datafield: 'users2', width: 50 },
- { text: 'user date time 2', columntype: 'textbox', datafield: 'users_datetime2', width: 50 },
- { text: 'Users 3', columntype: 'textbox', datafield: 'users3', width: 50 },
- { text: 'user date time 3', columntype: 'textbox', datafield: 'users_datetime3', width: 50 },
- { text: 'Instance Id', columntype: 'textbox', datafield: 'instance_id', width: 150 },
- { text: 'Volume Serial 1', columntype: 'textbox', datafield: 'vol_serial1',width: 60 },
- { text: 'Volume Name 1', columntype: 'textbox', datafield: 'vol_name1', width: 100 },
- { text: 'last Modify regtimes1', columntype: 'textbox', datafield: 'last_modify_regtimes1', width: 130},
- { text: 'volume serial 2', columntype: 'textbox', datafield: 'vol_serial2', width: 60 },
- { text: 'Volume name 2', columntype: 'textbox', datafield: 'vol_name2', width: 60 },
- { text: 'Last Modify regtimes2', columntype: 'textbox', datafield: 'last_modify_regtimes2', width: 70 },
- { text: 'volume serial 3', columntype: 'textbox', datafield: 'vol_serial3', width: 60 },
- { text: 'Volume name 3', columntype: 'textbox', datafield: 'vol_name3', width: 60 },
- { text: 'Last Modify regtime3', columntype: 'textbox', datafield: 'last_modify_regtime3',width: 70 },
- { text: 'volume serial 4', columntype: 'textbox', datafield: 'vol_serial4', width: 60 },
- { text: 'Volume name 4', columntype: 'textbox', datafield: 'vol_name4', width: 60 },
- { text: 'Last Modify regtime4', columntype: 'textbox', datafield: 'last_modify_regtime4', width: 70 },
- { text: 'volume serial 5', columntype: 'textbox', datafield: 'vol_serial5', width: 60 },
- { text: 'Volume name 5', columntype: 'textbox', datafield: 'vol_name5', width: 60 },
- { text: 'Last Modify regtime5', columntype: 'textbox', datafield: 'last_modify_regtime5', width: 70 },
- { text: 'Hub', datafield: 'hub', cellsalign: 'right', cellsformat: 'n2' }
- ]
- });
- var dataAdapter2 = new $.jqx.dataAdapter(source2);
- // initialize jqxGrid
- $("#jqxgrid2").jqxGrid(
- {
- width: '100%',
- height:450,
- source: dataAdapter2,
- altrows: true,
- sortable: true,
- filterable: true,
- groupable: true,
- columnsresize: true,
- selectionmode: 'multiplecellsextended',
- ready: function () {
- addfilter();
- var localizationObject = {
- filterstringcomparisonoperators: ['contains', 'does not contain'],
- // filter numeric comparison operators.
- filternumericcomparisonoperators: ['less than', 'greater than'],
- // filter date comparison operators.
- filterdatecomparisonoperators: ['less than', 'greater than'],
- // filter bool comparison operators.
- filterbooleancomparisonoperators: ['equal', 'not equal']
- }
- $("#jqxgrid2").jqxGrid('localizestrings', localizationObject);
- },
- updatefilterconditions: function (type, defaultconditions) {
- var stringcomparisonoperators = ['CONTAINS', 'DOES_NOT_CONTAIN'];
- var numericcomparisonoperators = ['LESS_THAN', 'GREATER_THAN'];
- var datecomparisonoperators = ['LESS_THAN', 'GREATER_THAN'];
- var booleancomparisonoperators = ['EQUAL', 'NOT_EQUAL'];
- switch (type) {
- case 'stringfilter':
- return stringcomparisonoperators;
- case 'numericfilter':
- return numericcomparisonoperators;
- case 'datefilter':
- return datecomparisonoperators;
- case 'booleanfilter':
- return booleancomparisonoperators;
- }
- },
- updatefilterpanel: function (filtertypedropdown1, filtertypedropdown2, filteroperatordropdown, filterinputfield1, filterinputfield2, filterbutton, clearbutton,
- columnfilter, filtertype, filterconditions) {
- var index1 = 0;
- var index2 = 0;
- if (columnfilter != null) {
- var filter1 = columnfilter.getfilterat(0);
- var filter2 = columnfilter.getfilterat(1);
- if (filter1) {
- index1 = filterconditions.indexOf(filter1.comparisonoperator);
- var value1 = filter1.filtervalue;
- filterinputfield1.val(value1);
- }
- if (filter2) {
- index2 = filterconditions.indexOf(filter2.comparisonoperator);
- var value2 = filter2.filtervalue;
- filterinputfield2.val(value2);
- }
- }
- filtertypedropdown1.jqxDropDownList({ autoDropDownHeight: true, selectedIndex: index1 });
- filtertypedropdown2.jqxDropDownList({ autoDropDownHeight: true, selectedIndex: index2 });
- },
- columns:
- [
- { text: 'Evidence', columntype: 'textbox', datafield: 'evidence', width: 130 },
- { text: 'Timestamp', columntype: 'textbox', datafield: 'created_timestamp', width: 90 },
- { text: 'Timestamp Description', columntype: 'textbox', datafield: 'timestamp_desc', width: 60 },
- { text: 'File Name', columntype: 'textbox', datafield: 'filename', width: 130},
- { text: 'File Path ', columntype: 'textbox', datafield: 'file_path', width: 100 },
- { text: 'Record Number', columntype: 'textbox', datafield: 'record_number', width: 60 },
- { text: 'computer Name', columntype: 'textbox', datafield: 'computer_name', width: 60 },
- { text: 'User Sid ', columntype: 'textbox', datafield: 'user_sid', width: 70 },
- { text: 'Event Identifier', columntype: 'textbox', datafield: 'event_identifier', width: 70 },
- { text: 'Event Level', columntype: 'textbox', datafield: 'event_level', width: 70 },
- { text: 'Event Category', columntype: 'textbox', datafield: 'event_category', width: 70 },
- { text: 'Event Name', columntype: 'textbox', datafield: 'event_name', width: 70 },
- { text: 'Strings', columntype: 'textbox', datafield: 'strings', width: 70 },
- { text: 'Xml String', datafield: 'xml_string', cellsalign: 'right', cellsformat: 'n2' }
- ]
- });
- var addfilter = function () {
- var filtergroup = new $.jqx.filter();
- var filter_or_operator = 1;
- var filtervalue = '';
- var filtercondition = '';
- var filter1 = filtergroup.createfilter('stringfilter', filtervalue, filtercondition);
- filtervalue = '';
- filtercondition = 'contains';
- var filter2 = filtergroup.createfilter('stringfilter', filtervalue, filtercondition);
- filtergroup.addfilter(filter_or_operator, filter1);
- filtergroup.addfilter(filter_or_operator, filter2);
- // add the filters.
- $("#jqxgrid3").jqxGrid('addfilter', 'evidence', filtergroup);
- // apply the filters.
- $("#jqxgrid3").jqxGrid('applyfilters');
- }
- var dataAdapter3 = new $.jqx.dataAdapter(source3);
- // initialize jqxGrid
- $("#jqxgrid3").jqxGrid(
- {
- width: '100%',
- height:450,
- source: dataAdapter3,
- altrows: true,
- filterable: true,
- sortable: true,
- groupable: true,
- columnsresize: true,
- selectionmode: 'multiplecellsextended',
- ready: function () {
- addfilter();
- var localizationObject = {
- filterstringcomparisonoperators: ['contains', 'does not contain'],
- // filter numeric comparison operators.
- filternumericcomparisonoperators: ['less than', 'greater than'],
- // filter date comparison operators.
- filterdatecomparisonoperators: ['less than', 'greater than'],
- // filter bool comparison operators.
- filterbooleancomparisonoperators: ['equal', 'not equal']
- }
- $("#jqxgrid3").jqxGrid('localizestrings', localizationObject);
- },
- updatefilterconditions: function (type, defaultconditions) {
- var stringcomparisonoperators = ['CONTAINS', 'DOES_NOT_CONTAIN'];
- var numericcomparisonoperators = ['LESS_THAN', 'GREATER_THAN'];
- var datecomparisonoperators = ['LESS_THAN', 'GREATER_THAN'];
- var booleancomparisonoperators = ['EQUAL', 'NOT_EQUAL'];
- switch (type) {
- case 'stringfilter':
- return stringcomparisonoperators;
- case 'numericfilter':
- return numericcomparisonoperators;
- case 'datefilter':
- return datecomparisonoperators;
- case 'booleanfilter':
- return booleancomparisonoperators;
- }
- },
- updatefilterpanel: function (filtertypedropdown1, filtertypedropdown2, filteroperatordropdown, filterinputfield1, filterinputfield2, filterbutton, clearbutton,
- columnfilter, filtertype, filterconditions) {
- var index1 = 0;
- var index2 = 0;
- if (columnfilter != null) {
- var filter1 = columnfilter.getfilterat(0);
- var filter2 = columnfilter.getfilterat(1);
- if (filter1) {
- index1 = filterconditions.indexOf(filter1.comparisonoperator);
- var value1 = filter1.filtervalue;
- filterinputfield1.val(value1);
- }
- if (filter2) {
- index2 = filterconditions.indexOf(filter2.comparisonoperator);
- var value2 = filter2.filtervalue;
- filterinputfield2.val(value2);
- }
- }
- filtertypedropdown1.jqxDropDownList({ autoDropDownHeight: true, selectedIndex: index1 });
- filtertypedropdown2.jqxDropDownList({ autoDropDownHeight: true, selectedIndex: index2 });
- },
- columns:
- [
- { text: 'Evidence', columntype: 'textbox', datafield: 'evidence', width: 130 },
- { text: 'Timestamp', columntype: 'textbox', datafield: 'created_timestamp', width: 90 },
- { text: 'Timestamp Description', columntype: 'textbox', datafield: 'timestamp_desc', width: 60 },
- { text: 'File Name', columntype: 'textbox', datafield: 'filename', width: 130},
- { text: 'File Path ', columntype: 'textbox', datafield: 'file_path', width: 100 },
- { text: 'Record Number', columntype: 'textbox', datafield: 'record_number', width: 60 },
- { text: 'computer Name', columntype: 'textbox', datafield: 'computer_name', width: 60 },
- { text: 'source name ', columntype: 'textbox', datafield: 'source_name', width: 70 },
- { text: 'Event Identifier', columntype: 'textbox', datafield: 'event_identifier', width: 70 },
- { text: 'Event Category', columntype: 'textbox', datafield: 'event_category', width: 70 },
- { text: 'Event type string', columntype: 'textbox', datafield: 'event_type_string', width: 70 },
- { text: 'Strings', datafield: 'strings', cellsalign: 'right', cellsformat: 'n2' }
- ]
- });
- $("#excelExport").jqxButton({ theme: theme });
- $("#xmlExport").jqxButton({ theme: theme });
- $("#csvExport").jqxButton({ theme: theme });
- $("#tsvExport").jqxButton({ theme: theme });
- $("#htmlExport").jqxButton({ theme: theme });
- $("#jsonExport").jqxButton({ theme: theme });
- $("#excelExport").click(function () {
- $("#jqxgrid").jqxGrid('exportdata', 'xls', 'jqxGrid');
- });
- $("#xmlExport").click(function () {
- $("#jqxgrid").jqxGrid('exportdata', 'xml', 'jqxGrid');
- });
- $("#csvExport").click(function () {
- $("#jqxgrid").jqxGrid('exportdata', 'csv', 'jqxGrid');
- });
- $("#tsvExport").click(function () {
- $("#jqxgrid").jqxGrid('exportdata', 'tsv', 'jqxGrid');
- });
- $("#htmlExport").click(function () {
- $("#jqxgrid").jqxGrid('exportdata', 'html', 'jqxGrid');
- });
- $("#jsonExport").click(function () {
- $("#jqxgrid").jqxGrid('exportdata', 'json', 'jqxGrid');
- });
- $("#excelExport2").click(function () {
- $("#jqxgrid2").jqxGrid('exportdata', 'xls', 'jqxGrid');
- });
- $("#xmlExport2").click(function () {
- $("#jqxgrid2").jqxGrid('exportdata', 'xml', 'jqxGrid');
- });
- $("#csvExport2").click(function () {
- $("#jqxgrid2").jqxGrid('exportdata', 'csv', 'jqxGrid');
- });
- $("#tsvExport2").click(function () {
- $("#jqxgrid2").jqxGrid('exportdata', 'tsv', 'jqxGrid');
- });
- $("#htmlExport2").click(function () {
- $("#jqxgrid2").jqxGrid('exportdata', 'html', 'jqxGrid');
- });
- $("#jsonExport2").click(function () {
- $("#jqxgrid2").jqxGrid('exportdata', 'json', 'jqxGrid');
- });
- $("#excelExport3").click(function () {
- $("#jqxgrid3").jqxGrid('exportdata', 'xls', 'jqxGrid');
- });
- $("#xmlExport3").click(function () {
- $("#jqxgrid3").jqxGrid('exportdata', 'xml', 'jqxGrid');
- });
- $("#csvExport3").click(function () {
- $("#jqxgrid3").jqxGrid('exportdata', 'csv', 'jqxGrid');
- });
- $("#tsvExport3").click(function () {
- $("#jqxgrid3").jqxGrid('exportdata', 'tsv', 'jqxGrid');
- });
- $("#htmlExport3").click(function () {
- $("#jqxgrid3").jqxGrid('exportdata', 'html', 'jqxGrid');
- });
- $("#jsonExport3").click(function () {
- $("#jqxgrid3").jqxGrid('exportdata', 'json', 'jqxGrid');
- });
- });
- </script>
- </head>
- <div id='jqxWidget' style="font-size: 13px; font-family: Verdana; float:left;margin-left: 5px;width: 100%">
- <div id="jqxgrid" style=margin-bottom:30px></div>
- <div style='margin-top: 20px;margin-bottom:20px'>
- <div style='float: left;'>
- <input type="button" value="Export to Excel" id='excelExport' />
- <input type="button" value="Export to XML" id='xmlExport' />
- </div>
- <div style='margin-left: 10px; float: left;margin-bottom:30px'>
- <input type="button" value="Export to CSV" id='csvExport' />
- <input type="button" value="Export to TSV" id='tsvExport' />
- </div>
- <div style='margin-left: 10px; float: left;margin-bottom:30px'>
- <input type="button" value="Export to HTML" id='htmlExport' />
- <input type="button" value="Export to JSON" id='jsonExport' />
- </div>
- </div>
- </div>
- <div style=margin-left:5px;float:left;position;absolute>
- <p><strong>Windows 7/8 Event Logs</strong></p>
- <ul>
- <li><em>Number of events listed {{evtx_events_count}}</em></li>
- </ul>
- </div>
- <div id='jqxWidget' style="font-size: 13px; font-family: Verdana; float:left;margin-left: 5px;width: 100%">
- <div id='jqxgrid2' style=width:100%;margin-bottom:30px></div>
- <div style='float: left;'>
- <input type="button" value="Export to Excel" id='excelExport2' />
- <input type="button" value="Export to XML" id='xmlExport2' />
- </div>
- <div style='margin-left: 10px; float: left;margin-bottom:30px'>
- <input type="button" value="Export to CSV" id='csvExport2' />
- <input type="button" value="Export to TSV" id='tsvExport2' />
- </div>
- <div style='margin-left: 10px; float: left;margin-bottom:30px'>
- <input type="button" value="Export to HTML" id='htmlExport2' />
- <input type="button" value="Export to JSON" id='jsonExport2' />
- </div>
- </div>
- <div style=margin-left:5px;float:left;position;absolute>
- <p><strong>Windows XP Event Logs</strong></p>
- <ul>
- <li><em>Number of events listed {{evt_events_count}}</em> </li>
- </ul>
- </div>
- <div id='jqxWidget' style="font-size: 13px; font-family: Verdana; float:left;margin-left: 5px;width: 100%">
- <div id='jqxgrid3' style=width:100%;margin-bottom:30px></div>
- <div style='float: left;'>
- <input type="button" value="Export to Excel" id='excelExport3' />
- <input type="button" value="Export to XML" id='xmlExport3' />
- </div>
- <div style='margin-left: 10px; float: left;'>
- <input type="button" value="Export to CSV" id='csvExport3' />
- <input type="button" value="Export to TSV" id='tsvExport3' />
- </div>
- <div style='margin-left: 10px; float: left;'>
- <input type="button" value="Export to HTML" id='htmlExport3' />
- <input type="button" value="Export to JSON" id='jsonExport3' />
- </div>
- </div>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement