mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fix console setup visual issues
This commit is contained in:
parent
d9f7ea4038
commit
f06c90e692
@ -330,7 +330,13 @@ ui_print_page_header(
|
|||||||
false,
|
false,
|
||||||
$help_header,
|
$help_header,
|
||||||
true,
|
true,
|
||||||
$buttons
|
$buttons,
|
||||||
|
false,
|
||||||
|
'',
|
||||||
|
GENERIC_SIZE_TEXT,
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isset($config['error_config_update_config'])) {
|
if (isset($config['error_config_update_config'])) {
|
||||||
|
@ -120,9 +120,17 @@ $table_remote->data['ehorus_test'] = $row;
|
|||||||
echo '<div class="center pdd_b_20px">';
|
echo '<div class="center pdd_b_20px">';
|
||||||
echo '<a target="_blank" rel="noopener noreferrer" href="http://ehorus.com">';
|
echo '<a target="_blank" rel="noopener noreferrer" href="http://ehorus.com">';
|
||||||
if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
|
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 {
|
} 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>';
|
echo '</a>';
|
||||||
|
@ -574,7 +574,11 @@ $table_remote->data['integria_test'] = $row;
|
|||||||
// Print.
|
// Print.
|
||||||
echo '<div class="center pdd_b_20px">';
|
echo '<div class="center pdd_b_20px">';
|
||||||
echo '<a target="_blank" rel="noopener noreferrer" href="http://integriaims.com">';
|
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 '</a>';
|
||||||
echo '<br />';
|
echo '<br />';
|
||||||
echo '<div clsas="integria_title">';
|
echo '<div clsas="integria_title">';
|
||||||
|
@ -4569,19 +4569,19 @@ function ui_print_standard_header(
|
|||||||
/**
|
/**
|
||||||
* Return a standard page header (Pandora FMS 3.1 version)
|
* Return a standard page header (Pandora FMS 3.1 version)
|
||||||
*
|
*
|
||||||
* @param string $title Title.
|
* @param string $title Title.
|
||||||
* @param string $icon Icon path.
|
* @param string $icon Icon path.
|
||||||
* @param boolean $return Return (false will print using a echo).
|
* @param boolean $return Return (false will print using a echo).
|
||||||
* @param boolean $help Help (Help ID to print the Help link).
|
* @param boolean $help Help (Help ID to print the Help link).
|
||||||
* @param boolean $godmode Godmode (false = operation mode).
|
* @param boolean $godmode Godmode (false = operation mode).
|
||||||
* @param string $options Options (HTML code for make tabs or just a brief
|
* @param string $options Options (HTML code for make tabs or just a brief
|
||||||
* info string.
|
* info string.
|
||||||
* @param mixed $modal Modal.
|
* @param mixed $modal Modal.
|
||||||
* @param mixed $message Message.
|
* @param mixed $message Message.
|
||||||
* @param mixed $numChars NumChars.
|
* @param mixed $numChars NumChars.
|
||||||
* @param mixed $alias Alias.
|
* @param mixed $alias Alias.
|
||||||
* @param mixed $breadcrumbs Breadcrumbs.
|
* @param mixed $breadcrumbs Breadcrumbs.
|
||||||
*
|
* @param boolean $hide_left_small Hide title id screen is small.
|
||||||
* @return string Header HTML
|
* @return string Header HTML
|
||||||
*/
|
*/
|
||||||
function ui_print_page_header(
|
function ui_print_page_header(
|
||||||
@ -4595,7 +4595,8 @@ function ui_print_page_header(
|
|||||||
$message='',
|
$message='',
|
||||||
$numChars=GENERIC_SIZE_TEXT,
|
$numChars=GENERIC_SIZE_TEXT,
|
||||||
$alias='',
|
$alias='',
|
||||||
$breadcrumbs=''
|
$breadcrumbs='',
|
||||||
|
$hide_left_small=false,
|
||||||
) {
|
) {
|
||||||
$title = io_safe_input_html($title);
|
$title = io_safe_input_html($title);
|
||||||
if (($icon == '') && ($godmode == true)) {
|
if (($icon == '') && ($godmode == true)) {
|
||||||
@ -4623,7 +4624,11 @@ function ui_print_page_header(
|
|||||||
$buffer .= '<div class="breadcrumbs_container">'.$breadcrumbs.'</div>';
|
$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.'">';
|
$buffer .= '<ul class="mn"><li class="'.$type.'">';
|
||||||
|
|
||||||
@ -4631,7 +4636,7 @@ function ui_print_page_header(
|
|||||||
$title = str_replace('Monitoring » Services » Service Map » ', '', $title);
|
$title = str_replace('Monitoring » Services » Service Map » ', '', $title);
|
||||||
}
|
}
|
||||||
|
|
||||||
$buffer .= '<span>';
|
$buffer .= '<span title="'.$title.'">';
|
||||||
if (empty($alias)) {
|
if (empty($alias)) {
|
||||||
$buffer .= ui_print_truncate_text($title, $numChars);
|
$buffer .= ui_print_truncate_text($title, $numChars);
|
||||||
} else {
|
} else {
|
||||||
|
@ -1520,10 +1520,6 @@ div.title_line {
|
|||||||
}
|
}
|
||||||
/* End - Breadcrum */
|
/* End - Breadcrum */
|
||||||
|
|
||||||
#menu_tab {
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu_tab .mn,
|
#menu_tab .mn,
|
||||||
#menu_tab ul,
|
#menu_tab ul,
|
||||||
#menu_tab .mn 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 {
|
.disabled_module {
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user