Fix console setup visual issues

This commit is contained in:
Calvo 2022-03-09 17:20:24 +01:00
parent d9f7ea4038
commit f06c90e692
5 changed files with 49 additions and 24 deletions

View File

@ -330,7 +330,13 @@ ui_print_page_header(
false,
$help_header,
true,
$buttons
$buttons,
false,
'',
GENERIC_SIZE_TEXT,
'',
'',
true
);
if (isset($config['error_config_update_config'])) {

View File

@ -120,9 +120,17 @@ $table_remote->data['ehorus_test'] = $row;
echo '<div class="center pdd_b_20px">';
echo '<a target="_blank" rel="noopener noreferrer" href="http://ehorus.com">';
if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
html_print_image('include/ehorus/images/ehorus-logo.png');
html_print_image(
'include/ehorus/images/ehorus-logo.png',
false,
['class' => 'w400px']
);
} else {
html_print_image('include/ehorus/images/ehorus-logo-grey.png');
html_print_image(
'include/ehorus/images/ehorus-logo-grey.png',
false,
['class' => 'w400px']
);
}
echo '</a>';

View File

@ -574,7 +574,11 @@ $table_remote->data['integria_test'] = $row;
// Print.
echo '<div class="center pdd_b_20px">';
echo '<a target="_blank" rel="noopener noreferrer" href="http://integriaims.com">';
html_print_image('images/integria_logo.svg');
html_print_image(
'images/integria_logo.svg',
false,
['class' => 'w400px' ]
);
echo '</a>';
echo '<br />';
echo '<div clsas="integria_title">';

View File

@ -4569,19 +4569,19 @@ function ui_print_standard_header(
/**
* Return a standard page header (Pandora FMS 3.1 version)
*
* @param string $title Title.
* @param string $icon Icon path.
* @param boolean $return Return (false will print using a echo).
* @param boolean $help Help (Help ID to print the Help link).
* @param boolean $godmode Godmode (false = operation mode).
* @param string $options Options (HTML code for make tabs or just a brief
* info string.
* @param mixed $modal Modal.
* @param mixed $message Message.
* @param mixed $numChars NumChars.
* @param mixed $alias Alias.
* @param mixed $breadcrumbs Breadcrumbs.
*
* @param string $title Title.
* @param string $icon Icon path.
* @param boolean $return Return (false will print using a echo).
* @param boolean $help Help (Help ID to print the Help link).
* @param boolean $godmode Godmode (false = operation mode).
* @param string $options Options (HTML code for make tabs or just a brief
* info string.
* @param mixed $modal Modal.
* @param mixed $message Message.
* @param mixed $numChars NumChars.
* @param mixed $alias Alias.
* @param mixed $breadcrumbs Breadcrumbs.
* @param boolean $hide_left_small Hide title id screen is small.
* @return string Header HTML
*/
function ui_print_page_header(
@ -4595,7 +4595,8 @@ function ui_print_page_header(
$message='',
$numChars=GENERIC_SIZE_TEXT,
$alias='',
$breadcrumbs=''
$breadcrumbs='',
$hide_left_small=false,
) {
$title = io_safe_input_html($title);
if (($icon == '') && ($godmode == true)) {
@ -4623,7 +4624,11 @@ function ui_print_page_header(
$buffer .= '<div class="breadcrumbs_container">'.$breadcrumbs.'</div>';
}
$buffer .= '<div id="menu_tab_left">';
if ($hide_left_small !== true) {
$buffer .= '<div id="menu_tab_left">';
} else {
$buffer .= '<div id="menu_tab_left" class="menu_hide">';
}
$buffer .= '<ul class="mn"><li class="'.$type.'">';
@ -4631,7 +4636,7 @@ function ui_print_page_header(
$title = str_replace('Monitoring » Services » Service Map » ', '', $title);
}
$buffer .= '<span>';
$buffer .= '<span title="'.$title.'">';
if (empty($alias)) {
$buffer .= ui_print_truncate_text($title, $numChars);
} else {

View File

@ -1520,10 +1520,6 @@ div.title_line {
}
/* End - Breadcrum */
#menu_tab {
margin-right: 10px;
}
#menu_tab .mn,
#menu_tab ul,
#menu_tab .mn ul {
@ -2372,6 +2368,12 @@ a.autorefresh_txt,
}
}
@media only screen and (max-width: 1200px) {
.menu_hide ul {
display: none;
}
}
.disabled_module {
color: #aaa;
}