From 0672cd0483febdda7171e303ad73e6989d56150e Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 8 Mar 2019 18:36:05 +0100 Subject: [PATCH] clean, move jquery-bootgrid converters now included in library --- .../views/OPNsense/CaptivePortal/clients.volt | 7 ------ .../OPNsense/Diagnostics/systemactivity.volt | 25 ------------------- .../mvc/app/views/OPNsense/Proxy/index.volt | 11 -------- .../views/OPNsense/TrafficShaper/index.volt | 11 -------- 4 files changed, 54 deletions(-) diff --git a/src/opnsense/mvc/app/views/OPNsense/CaptivePortal/clients.volt b/src/opnsense/mvc/app/views/OPNsense/CaptivePortal/clients.volt index 56cf78ac9..92d87d4cc 100644 --- a/src/opnsense/mvc/app/views/OPNsense/CaptivePortal/clients.volt +++ b/src/opnsense/mvc/app/views/OPNsense/CaptivePortal/clients.volt @@ -64,13 +64,6 @@ POSSIBILITY OF SUCH DAMAGE. "commands": function (column, row) { return ""; } - }, - converters: { - // convert datetime type fields from unix timestamp to readable format - datetime: { - from: function (value) { return moment(parseInt(value)*1000); }, - to: function (value) { return value.format("lll"); } - } } }; $("#grid-clients").bootgrid('destroy'); diff --git a/src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemactivity.volt b/src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemactivity.volt index 533bf103d..e40d61fa7 100644 --- a/src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemactivity.volt +++ b/src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemactivity.volt @@ -29,7 +29,6 @@ POSSIBILITY OF SUCH DAMAGE.