fixed visual error
This commit is contained in:
parent
a0607e7230
commit
13575a457c
|
@ -5074,8 +5074,16 @@ function html_print_autocomplete_users_from_integria(
|
|||
|
||||
function html_print_tabs(array $tabs)
|
||||
{
|
||||
global $config;
|
||||
|
||||
$bg_color = '';
|
||||
|
||||
if ($config['style'] === 'pandora_black') {
|
||||
$bg_color = 'style="background-color: #222"';
|
||||
}
|
||||
|
||||
$result = '<div id="html-tabs">';
|
||||
$result .= '<ul class="">';
|
||||
$result .= '<ul class="" '.$bg_color.'>';
|
||||
foreach ($tabs as $key => $value) {
|
||||
$result .= "<li><a href='".$value['href']."' id='".$value['id']."'>";
|
||||
$result .= html_print_image(
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
height: 28px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
color: white;
|
||||
}
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
display: block;
|
||||
|
@ -20,6 +21,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: white;
|
||||
}
|
||||
.select2-container .select2-selection--single .select2-selection__clear {
|
||||
position: relative;
|
||||
|
@ -37,6 +39,7 @@
|
|||
min-height: 32px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
color: white;
|
||||
}
|
||||
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
||||
display: inline-block;
|
||||
|
|
|
@ -43,6 +43,8 @@ echo '<html xmlns="http://www.w3.org/1999/xhtml">'."\n";
|
|||
echo '<head>';
|
||||
|
||||
global $vc_public_view;
|
||||
global $config;
|
||||
|
||||
$vc_public_view = true;
|
||||
$config['public_view'] = true;
|
||||
|
||||
|
@ -90,10 +92,15 @@ try {
|
|||
$visualConsoleData = $visualConsole->toArray();
|
||||
$visualConsoleName = $visualConsoleData['name'];
|
||||
|
||||
$bg_color = '';
|
||||
if ($config['style'] === 'pandora_black') {
|
||||
$bg_color = 'style="background-color: #222"';
|
||||
}
|
||||
|
||||
echo '<div id="visual-console-container"></div>';
|
||||
|
||||
// Floating menu - Start.
|
||||
echo '<div id="vc-controls" class="zindex300">';
|
||||
echo '<div id="vc-controls" class="zindex300" '.$bg_color.'>';
|
||||
|
||||
echo '<div id="menu_tab">';
|
||||
echo '<ul class="mn white-box-content box-shadow flex-row">';
|
||||
|
|
|
@ -339,11 +339,16 @@ if ($pure === false) {
|
|||
}
|
||||
}
|
||||
|
||||
$bg_color = '';
|
||||
if ($config['style'] === 'pandora_black') {
|
||||
$bg_color = 'style="background-color: #222"';
|
||||
}
|
||||
|
||||
echo '<div id="visual-console-container"></div>';
|
||||
|
||||
if ($pure === true) {
|
||||
// Floating menu - Start.
|
||||
echo '<div id="vc-controls" class="zindex999">';
|
||||
echo '<div id="vc-controls" class="zindex999" '.$bg_color.'>';
|
||||
|
||||
echo '<div id="menu_tab">';
|
||||
echo '<ul class="mn white-box-content box-shadow flex-row">';
|
||||
|
|
Loading…
Reference in New Issue