From 2bb5c1e3b3404d81821f3a2364415e3114a78dc9 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Fri, 8 Sep 2017 09:01:58 +0200 Subject: [PATCH 1/5] Added section to agent tabs --- pandora_console/operation/agentes/ver_agente.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 95928a784d..f888115173 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1055,6 +1055,13 @@ if($modules_wux){ $wux_console_tab = ""; } +$url_route_analyzer = enterprise_hook('get_url_route_analyzer_modules', array($id_agente)); +if ($url_route_analyzer) { + $url_route_analyzer_tab = enterprise_hook('url_route_analyzer_tab'); + if ($url_route_analyzer_tab == -1) + $url_route_analyzer_tab = ""; +} + /* GIS tab */ $gistab=""; if ($config['activate_gis']) { @@ -1186,7 +1193,8 @@ $onheader = array('manage' => $managetab, 'graphs' => $graphs, 'policy' => $policyTab, 'ux_console' => $ux_console_tab, - 'wux_console' => $wux_console_tab); + 'wux_console' => $wux_console_tab, + 'url_route_analyzer' => $url_route_analyzer_tab); //Added after it exists // If the agent has incidents associated @@ -1307,7 +1315,10 @@ switch ($tab) { enterprise_include ("operation/agentes/ux_console_view.php"); break; case "wux_console_tab": - enterprise_include ("operation/agentes/wux_console_view.php"); + enterprise_include ("operation/agentes/wux_console_vpiew.php"); + break; + case "url_route_analyzer_tab": + enterprise_include ("operation/agentes/url_route_analyzer.php"); break; case "graphs"; require("operation/agentes/graphs.php"); From eb03e4753e0666f0692239a9063a7edcc96219d5 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Mon, 11 Sep 2017 11:51:08 +0200 Subject: [PATCH 2/5] Minor change --- pandora_console/operation/agentes/ver_agente.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index f888115173..632e5bc779 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1058,8 +1058,9 @@ if($modules_wux){ $url_route_analyzer = enterprise_hook('get_url_route_analyzer_modules', array($id_agente)); if ($url_route_analyzer) { $url_route_analyzer_tab = enterprise_hook('url_route_analyzer_tab'); - if ($url_route_analyzer_tab == -1) + if ($url_route_analyzer_tab == -1) { $url_route_analyzer_tab = ""; + } } /* GIS tab */ From e9db7e95f875b7dbb4838308ca945c9737447f3d Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Mon, 2 Oct 2017 17:53:30 +0200 Subject: [PATCH 3/5] Added image to url analyzer --- pandora_console/images/analizador-rutas.png | Bin 0 -> 482 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 pandora_console/images/analizador-rutas.png diff --git a/pandora_console/images/analizador-rutas.png b/pandora_console/images/analizador-rutas.png new file mode 100644 index 0000000000000000000000000000000000000000..8481c8e8b9cdeec8d3f20c984d40a2a59b9a20b3 GIT binary patch literal 482 zcmV<80UiE{P)4E?O1XH8{4HCRT4pML*$`3>fGmvQ)KnxZ%jRt6Zd!RuE zL|Kg%?s(J6f4J2kqb2|%?ASj3yBB|pC;sRJOvOrUfAXF!^ z&lMPm1yHL6Kx}{jV?;^s3=I89>JouAEnpx6Fd`+M{S4%R2cTpEOBU!ZZGh%Gl3a@9 z!wEq3g&4`58~_c+_dt9AXs9E$M2xJ^fPi@*HSs_k08KZ6*u0ONL_y)RkqC!g0J?4i zx*!W$&PL>F3IG!l8)PG>)S6FZSk4FKD Date: Tue, 3 Oct 2017 15:20:35 +0200 Subject: [PATCH 4/5] Added new styles to route analyzer --- pandora_console/include/styles/pandora.css | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 905f57d35a..58a85f6adf 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -4299,4 +4299,28 @@ div#footer_help{ .pagination_show_more{ text-align: center; margin-top: 10px; -} \ No newline at end of file +} + +.dashed{ + stroke-dasharray: 10; + +} +.path { + stroke-dasharray: 500; + stroke-dashoffset: 500; + animation: dash 15s linear; +} + +@keyframes dash { + from { + stroke-dashoffset: 500; + } + to { + stroke-dashoffset: 0; + } +} + +.route { + fill: none; + transition: all 4s ease-in-out; +} From 09f73929aa077f5186d03b2e1e57d00456bfda4a Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Tue, 3 Oct 2017 16:40:01 +0200 Subject: [PATCH 5/5] Changed route analyzer styles --- pandora_console/include/styles/pandora.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 58a85f6adf..fcf084085b 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -4322,5 +4322,5 @@ div#footer_help{ .route { fill: none; - transition: all 4s ease-in-out; + transition: all 2s ease-in-out; }