From 5f6213f0f08865ff92e6c33ca79ac91a0ae95ec9 Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Wed, 5 Apr 2023 14:15:23 +0200 Subject: [PATCH] 10863-Buttons Network maps --- pandora_console/include/class/NetworkMap.class.php | 2 +- .../include/javascript/functions_pandora_networkmap.js | 2 +- pandora_console/include/styles/networkmap.css | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/class/NetworkMap.class.php b/pandora_console/include/class/NetworkMap.class.php index 2f073fed3a..b2599e7208 100644 --- a/pandora_console/include/class/NetworkMap.class.php +++ b/pandora_console/include/class/NetworkMap.class.php @@ -3245,7 +3245,7 @@ class NetworkMap $table->data['template_row']['node_target'] = ''; $table->data['template_row']['edit'] = ''; - $table->data['template_row']['edit'] .= ''; + $table->data['template_row']['edit'] .= ''; // '.html_print_image('images/edit.svg', true, ['class' => 'invert_filter']).''; $table->data['template_row']['edit'] .= ''.html_print_image('images/delete.svg', true, ['class' => 'main_menu_icon invert_filter', 'style' => 'padding: 10px']).''; diff --git a/pandora_console/include/javascript/functions_pandora_networkmap.js b/pandora_console/include/javascript/functions_pandora_networkmap.js index 5aef8c40ca..5a2f75889e 100644 --- a/pandora_console/include/javascript/functions_pandora_networkmap.js +++ b/pandora_console/include/javascript/functions_pandora_networkmap.js @@ -844,7 +844,7 @@ function edit_node(data_node, dblClick) { "update_fictional_node(" + node_selected.id_db + ");" ); - $("#node_options-node_name-2 input").attr( + $("#button-upd_only_node").attr( "onclick", "update_node_name(" + node_selected.id_db + ");" ); diff --git a/pandora_console/include/styles/networkmap.css b/pandora_console/include/styles/networkmap.css index 314bd92ce5..9f47c2cda8 100644 --- a/pandora_console/include/styles/networkmap.css +++ b/pandora_console/include/styles/networkmap.css @@ -37,3 +37,8 @@ .holding_area_link { stroke-dasharray: 12, 3; } + +img.circle-relations { + width: 12px; + border-radius: 50%; +}