From 98d51e75485351755f2e5b0ed1a194a0f87c3e80 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Fri, 3 Jul 2015 11:13:10 +0200 Subject: [PATCH] Change visual of nodo --- .../godmode/modules/manage_nc_groups.php | 4 +-- .../modules/manage_network_components.php | 4 +-- .../modules/manage_network_templates.php | 4 +-- pandora_console/godmode/servers/plugin.php | 31 ++++++++---------- pandora_console/images/cross.png | Bin 1508 -> 471 bytes pandora_console/include/styles/pandora.css | 4 +++ 6 files changed, 24 insertions(+), 23 deletions(-) diff --git a/pandora_console/godmode/modules/manage_nc_groups.php b/pandora_console/godmode/modules/manage_nc_groups.php index f784e5bb4d..9c7bb691dc 100644 --- a/pandora_console/godmode/modules/manage_nc_groups.php +++ b/pandora_console/godmode/modules/manage_nc_groups.php @@ -228,7 +228,7 @@ if (isset($data)) { echo "
"; html_print_input_hidden('multiple_delete', 1); html_print_table ($table); - echo "
"; + echo "
"; html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); echo "
"; echo ""; @@ -239,7 +239,7 @@ else { echo '
'; -echo '
'; +echo '
'; html_print_input_hidden ('new', 1); html_print_submit_button (__('Create'), 'crt', false, 'class="sub next"'); echo '
'; diff --git a/pandora_console/godmode/modules/manage_network_components.php b/pandora_console/godmode/modules/manage_network_components.php index 2fb07c5f61..0a067b94b2 100644 --- a/pandora_console/godmode/modules/manage_network_components.php +++ b/pandora_console/godmode/modules/manage_network_components.php @@ -603,7 +603,7 @@ if (isset($data)) { "&sec2=godmode/modules/manage_network_components&search_id_group=0search_string=&pure=".$pure."'>"; html_print_input_hidden('multiple_delete', 1); html_print_table ($table); - echo "
"; + echo "
"; html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); echo "
"; echo ""; @@ -613,7 +613,7 @@ else { } echo '
'; -echo '
'; +echo '
'; html_print_input_hidden ('new_component', 1); html_print_select (array( 2 => __('Create a new network component'), diff --git a/pandora_console/godmode/modules/manage_network_templates.php b/pandora_console/godmode/modules/manage_network_templates.php index 326462268b..0771ccc092 100644 --- a/pandora_console/godmode/modules/manage_network_templates.php +++ b/pandora_console/godmode/modules/manage_network_templates.php @@ -214,7 +214,7 @@ if (!empty ($table->data)) { echo ''; html_print_input_hidden('multiple_delete', 1); html_print_table ($table); - echo "
"; + echo "
"; html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); echo "
"; echo ""; @@ -224,7 +224,7 @@ else { } echo '
'; -echo '
'; +echo '
'; html_print_submit_button (__('Create'), "crt", '', 'class="sub next"'); echo '
'; diff --git a/pandora_console/godmode/servers/plugin.php b/pandora_console/godmode/servers/plugin.php index c2b6dc7803..92c99c243a 100644 --- a/pandora_console/godmode/servers/plugin.php +++ b/pandora_console/godmode/servers/plugin.php @@ -264,14 +264,15 @@ if (($create != "") OR ($view != "")) { $table->colspan['plugin_desc'][1] = 3; $table->data['plugin_desc'] = $data; - if (!defined("METACONSOLE")) { - echo '
'; - echo '
'; - } + //if (!defined("METACONSOLE")) { + //echo '
'; + //echo '
'; + //} + + $table->width = '100%'; + $table->class = 'databox filters'; if (defined("METACONSOLE")) { - $table->width = '100%'; - $table->class = 'databox data'; $table->head[0] = __('General'); $table->head_colspan[0] = 4; $table->headstyle[0] = 'text-align: center'; @@ -279,7 +280,7 @@ if (($create != "") OR ($view != "")) { html_print_table($table); } else { - echo '
' . __('General') . ''; + echo '
' . __('General') . ''; html_print_table($table); echo '
'; } @@ -332,9 +333,9 @@ if (($create != "") OR ($view != "")) { $data[1] = '
'; $table->data['plugin_preview'] = $data; + $table->width = '100%'; + $table->class = 'databox filters'; if (defined("METACONSOLE")) { - $table->width = '100%'; - $table->class = 'databox data'; $table->head[0] = __('Command'); $table->head_colspan[0] = 4; $table->headstyle[0] = 'text-align: center'; @@ -342,7 +343,7 @@ if (($create != "") OR ($view != "")) { html_print_table($table); } else { - echo '
' . __('Command') . ''; + echo '
' . __('Command') . ''; html_print_table($table); echo '
'; } @@ -481,16 +482,14 @@ if (($create != "") OR ($view != "")) { html_print_table($table); } else { - echo '
' . + echo '
' . '' . __('Parameters macros') .ui_print_help_icon ('macros', true) . ''; html_print_table($table); echo '
'; } - if (defined("METACONSOLE")) - echo ''; - else - echo '
'; + echo '
'; + echo ''; - else - echo '
'; if ($create != "") { @@ -505,8 +504,6 @@ if (($create != "") OR ($view != "")) { if (defined("METACONSOLE")) echo '
'; enterprise_hook('close_meta_frame'); } diff --git a/pandora_console/images/cross.png b/pandora_console/images/cross.png index 2d016afe69e09b46939722dc27eedff06bb9bd16..f50abb7ac03e9d2e2d4b6c6998b2ae7e2d8a82aa 100644 GIT binary patch delta 444 zcmV;t0Ym=e3)cf7iBL{Q4GJ0x0000DNk~Le0000L0000L2nGNE0p1Xm0Ffale*t+( zL_t(|+G1cp0*oNS-roK{h-QHbIs&mjKmakI0HBfvm@)=rJpcg&GoS!S^}{3&9z4j% z1Z7MBQU@4_0RRDn6`?o~#cXtdEZ7KAg)Rv81WtTm#ItgeD85CBpJ*fay( zZ~)y63P8Lch}Q!#$khE%Mf)*)e*u)Z0A)@@b`ElIvS6{b9*GSyH4(-E2q5wi&{_jR zq3|Dv-aw!~HXysx5r@JH=pNdSLt!HjH!z_EG$Wen2VlX3tndNIBWPASV2h=N(3oOC zG7W1wJAfAV2eAeZt{_5kH*o+Uz-WRPiA)0M&Ub``98rb>4G4gydt$){e^BZLB_C`d z4+91y`c?ofYOxx60f`nw5(kxKfoN&@0Gb}`h9Y^x0LcD;r12xvtH@;r%!LmKxfGr{ zq51P5HhE|v1v2yl&;p_i-3X-}(7lF~(jBmQ9ap&o0vn)}L_84l!x9D%%R|}nNEOdP mqSGlfX%UkWCP2d;4gd-_5_PnJMOt?N0000e@q)?82(CG3vC$`H4_KqDEq0>yXy~VZ?qJ8?WnE<0VkO=a_t>(f%cB;A%!g3 z!DNsj8#8k?17!y1!sdb_CS(%UMI>wtn7S-=TaXzSrcRVCb0Z;{R|e=G;w6{+-Z#(l zywCf+Z?3hlV0)bGIT-*T&XJE73E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