Command snapshot monospaced font
This commit is contained in:
parent
1ee2387d6c
commit
6067f356e9
|
@ -1214,3 +1214,7 @@ input[type="image"] {
|
||||||
.databox_color {
|
.databox_color {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mono {
|
||||||
|
font-family: source-code, mono, monospace;
|
||||||
|
}
|
||||||
|
|
|
@ -81,6 +81,8 @@ if (!check_acl_one_of_groups($config['id_user'], $all_groups, 'AR')) {
|
||||||
echo '<meta http-equiv="refresh" content="'.$refresh.'; URL='.$query.'" />';
|
echo '<meta http-equiv="refresh" content="'.$refresh.'; URL='.$query.'" />';
|
||||||
if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
|
if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
|
||||||
echo '<link rel="stylesheet" href="../../include/styles/pandora_black.css" type="text/css"/>';
|
echo '<link rel="stylesheet" href="../../include/styles/pandora_black.css" type="text/css"/>';
|
||||||
|
} else {
|
||||||
|
echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/css"/>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -100,7 +102,7 @@ if (!check_acl_one_of_groups($config['id_user'], $all_groups, 'AR')) {
|
||||||
$last_data = preg_replace('/>/', '>', $last_data);
|
$last_data = preg_replace('/>/', '>', $last_data);
|
||||||
$last_data = preg_replace('/\n/i', '<br>', $last_data);
|
$last_data = preg_replace('/\n/i', '<br>', $last_data);
|
||||||
$last_data = preg_replace('/\s/i', ' ', $last_data);
|
$last_data = preg_replace('/\s/i', ' ', $last_data);
|
||||||
echo "<div id='result_div' class='result_div'>";
|
echo "<div id='result_div' class='result_div mono'>";
|
||||||
echo $last_data;
|
echo $last_data;
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue