mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Change visual of nodo
This commit is contained in:
parent
d6f5d52a65
commit
98d51e7548
@ -228,7 +228,7 @@ if (isset($data)) {
|
|||||||
echo "<form method='post' action='index.php?sec=".$sec."&sec2=godmode/modules/manage_nc_groups'>";
|
echo "<form method='post' action='index.php?sec=".$sec."&sec2=godmode/modules/manage_nc_groups'>";
|
||||||
html_print_input_hidden('multiple_delete', 1);
|
html_print_input_hidden('multiple_delete', 1);
|
||||||
html_print_table ($table);
|
html_print_table ($table);
|
||||||
echo "<div style='padding-bottom: 10px; text-align: right; width:" . $table->width . "'>";
|
echo "<div style='padding-left: 10px; float: right;'>";
|
||||||
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"');
|
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"');
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
@ -239,7 +239,7 @@ else {
|
|||||||
|
|
||||||
|
|
||||||
echo '<form method="post">';
|
echo '<form method="post">';
|
||||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
echo '<div class="" style="float:right">';
|
||||||
html_print_input_hidden ('new', 1);
|
html_print_input_hidden ('new', 1);
|
||||||
html_print_submit_button (__('Create'), 'crt', false, 'class="sub next"');
|
html_print_submit_button (__('Create'), 'crt', false, 'class="sub next"');
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
@ -603,7 +603,7 @@ if (isset($data)) {
|
|||||||
"&sec2=godmode/modules/manage_network_components&search_id_group=0search_string=&pure=".$pure."'>";
|
"&sec2=godmode/modules/manage_network_components&search_id_group=0search_string=&pure=".$pure."'>";
|
||||||
html_print_input_hidden('multiple_delete', 1);
|
html_print_input_hidden('multiple_delete', 1);
|
||||||
html_print_table ($table);
|
html_print_table ($table);
|
||||||
echo "<div style='padding-bottom: 20px; text-align: right; width:" . $table->width . "'>";
|
echo "<div style='float: right; margin-left: 5px;'>";
|
||||||
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"');
|
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"');
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
@ -613,7 +613,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo '<form method="post" action="' . $url . '">';
|
echo '<form method="post" action="' . $url . '">';
|
||||||
echo '<div class="action-buttons" style="width: ' . $table->width . '">';
|
echo '<div class="" style="float:right;">';
|
||||||
html_print_input_hidden ('new_component', 1);
|
html_print_input_hidden ('new_component', 1);
|
||||||
html_print_select (array(
|
html_print_select (array(
|
||||||
2 => __('Create a new network component'),
|
2 => __('Create a new network component'),
|
||||||
|
@ -214,7 +214,7 @@ if (!empty ($table->data)) {
|
|||||||
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates">';
|
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates">';
|
||||||
html_print_input_hidden('multiple_delete', 1);
|
html_print_input_hidden('multiple_delete', 1);
|
||||||
html_print_table ($table);
|
html_print_table ($table);
|
||||||
echo "<div style='padding-bottom: 20px; text-align: right; width:" . $table->width . "'>";
|
echo "<div style='padding-left: 5px; float: right; '>";
|
||||||
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"');
|
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"');
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
@ -224,7 +224,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates_form">';
|
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates_form">';
|
||||||
echo '<div style="width: '.$table->width.'" class="action-buttons">';
|
echo '<div style="float:right;" class="">';
|
||||||
html_print_submit_button (__('Create'), "crt", '', 'class="sub next"');
|
html_print_submit_button (__('Create'), "crt", '', 'class="sub next"');
|
||||||
echo '</div></form>';
|
echo '</div></form>';
|
||||||
|
|
||||||
|
@ -264,14 +264,15 @@ if (($create != "") OR ($view != "")) {
|
|||||||
$table->colspan['plugin_desc'][1] = 3;
|
$table->colspan['plugin_desc'][1] = 3;
|
||||||
$table->data['plugin_desc'] = $data;
|
$table->data['plugin_desc'] = $data;
|
||||||
|
|
||||||
if (!defined("METACONSOLE")) {
|
//if (!defined("METACONSOLE")) {
|
||||||
echo '<br>';
|
//echo '<br>';
|
||||||
echo '<table class="databox" style="margin: 0 auto; width: 100%;"><tr><td>';
|
//echo '<table class="databox" style="margin: 0 auto; width: 100%;"><tr><td>';
|
||||||
}
|
//}
|
||||||
|
|
||||||
|
$table->width = '100%';
|
||||||
|
$table->class = 'databox filters';
|
||||||
|
|
||||||
if (defined("METACONSOLE")) {
|
if (defined("METACONSOLE")) {
|
||||||
$table->width = '100%';
|
|
||||||
$table->class = 'databox data';
|
|
||||||
$table->head[0] = __('General');
|
$table->head[0] = __('General');
|
||||||
$table->head_colspan[0] = 4;
|
$table->head_colspan[0] = 4;
|
||||||
$table->headstyle[0] = 'text-align: center';
|
$table->headstyle[0] = 'text-align: center';
|
||||||
@ -279,7 +280,7 @@ if (($create != "") OR ($view != "")) {
|
|||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo '<fieldset style="width:96%"><legend>' . __('General') . '</legend>';
|
echo '<fieldset><legend>' . __('General') . '</legend>';
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
echo '</fieldset>';
|
echo '</fieldset>';
|
||||||
}
|
}
|
||||||
@ -332,9 +333,9 @@ if (($create != "") OR ($view != "")) {
|
|||||||
$data[1] = '<div id="command_preview" style="font-style:italic"></div>';
|
$data[1] = '<div id="command_preview" style="font-style:italic"></div>';
|
||||||
$table->data['plugin_preview'] = $data;
|
$table->data['plugin_preview'] = $data;
|
||||||
|
|
||||||
|
$table->width = '100%';
|
||||||
|
$table->class = 'databox filters';
|
||||||
if (defined("METACONSOLE")) {
|
if (defined("METACONSOLE")) {
|
||||||
$table->width = '100%';
|
|
||||||
$table->class = 'databox data';
|
|
||||||
$table->head[0] = __('Command');
|
$table->head[0] = __('Command');
|
||||||
$table->head_colspan[0] = 4;
|
$table->head_colspan[0] = 4;
|
||||||
$table->headstyle[0] = 'text-align: center';
|
$table->headstyle[0] = 'text-align: center';
|
||||||
@ -342,7 +343,7 @@ if (($create != "") OR ($view != "")) {
|
|||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo '<fieldset style="width:96%"><legend>' . __('Command') . '</legend>';
|
echo '<fieldset><legend>' . __('Command') . '</legend>';
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
echo '</fieldset>';
|
echo '</fieldset>';
|
||||||
}
|
}
|
||||||
@ -481,16 +482,14 @@ if (($create != "") OR ($view != "")) {
|
|||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo '<fieldset style="width:96%">' .
|
echo '<fieldset>' .
|
||||||
'<legend>' . __('Parameters macros') .ui_print_help_icon ('macros', true) . '</legend>';
|
'<legend>' . __('Parameters macros') .ui_print_help_icon ('macros', true) . '</legend>';
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
echo '</fieldset>';
|
echo '</fieldset>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (defined("METACONSOLE"))
|
echo '<table width="100%">';
|
||||||
echo '<table width="100%">';
|
|
||||||
else
|
|
||||||
echo '<table width="98%">';
|
|
||||||
echo '<tr><td align="right">';
|
echo '<tr><td align="right">';
|
||||||
|
|
||||||
if ($create != "") {
|
if ($create != "") {
|
||||||
@ -505,8 +504,6 @@ if (($create != "") OR ($view != "")) {
|
|||||||
|
|
||||||
if (defined("METACONSOLE"))
|
if (defined("METACONSOLE"))
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
else
|
|
||||||
echo '</td></tr></table>';
|
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
enterprise_hook('close_meta_frame');
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 471 B |
@ -3017,6 +3017,10 @@ table#policy_modules td * {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.databox.data td>input[type="checkbox"] {
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
.databox_color td{
|
.databox_color td{
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user