From 7e350039146d3d75a5de3a06a6899a5b14dfd8a1 Mon Sep 17 00:00:00 2001 From: "Eric A. Miller" Date: Thu, 14 Aug 2014 20:38:03 -0400 Subject: [PATCH] Convert template to DataTables column --- .../plugin/observium/device_port_column.tt | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt b/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt index 05a687d2..00dd09a5 100644 --- a/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt +++ b/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt @@ -1,6 +1,19 @@ - + { + "title": 'Traffic', + "name": 'observium', + "data": null, + "visible": true, + "orderable": false, + "searchable": false, + "render": function ( data, type, row, meta ) { + var cell_str = ''; + cell_str = cell_str + '\'' + cell_str = cell_str + '>'; + return cell_str; + } + } \ No newline at end of file