Merge branch '1134-url-routes-analyzer-feature-dev' into 'develop'

1134 url routes analyzer feature dev

See merge request !870
This commit is contained in:
vgilc 2017-10-04 09:42:37 +02:00
commit 82f8b333d5
3 changed files with 39 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

View File

@ -4300,3 +4300,27 @@ div#footer_help{
text-align: center;
margin-top: 10px;
}
.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 2s ease-in-out;
}

View File

@ -1055,6 +1055,14 @@ 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 +1194,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 +1316,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");