diff --git a/edc-web/app/templates/device_logs.html b/edc-web/app/templates/device_logs.html index 405abd5..df0c2dc 100644 --- a/edc-web/app/templates/device_logs.html +++ b/edc-web/app/templates/device_logs.html @@ -13,6 +13,8 @@ + + @@ -68,6 +70,8 @@ function renderTable(records) { if (r.event_type === 'online' || r.event_type === 'login') typeStyle = 'color:#27ae60;font-weight:bold;'; else if (r.event_type === 'offline') typeStyle = 'color:#e74c3c;font-weight:bold;'; else if (r.event_type === 'poor') typeStyle = 'color:#f39c12;font-weight:bold;'; + else if (r.event_type === 'tcp_disconnect') typeStyle = 'color:#e74c3c;'; + else if (r.event_type === 'tcp_connect') typeStyle = 'color:#3498db;'; return `