Created black theme - #4194
This commit is contained in:
parent
8c7acdb02e
commit
9163f725ed
|
@ -362,7 +362,7 @@ if ($console_mode == 1) {
|
|||
true
|
||||
);
|
||||
|
||||
echo "<table width='1000px' border='0' style='border:0px;' class='databox data' cellpadding='4' cellspacing='4'>";
|
||||
echo "<table id='diagnostic_info' width='1000px' border='0' style='border:0px;' class='databox data' cellpadding='4' cellspacing='4'>";
|
||||
echo "<tr><th style='background-color:#b1b1b1;font-weight:bold;font-style:italic;border-radius:2px;' align=center colspan='2'>".__('Pandora status info').'</th></tr>';
|
||||
}
|
||||
|
||||
|
|
|
@ -1755,6 +1755,12 @@ function ui_process_page_head($string, $bitfield)
|
|||
// Add the dialog styles CSS.
|
||||
$config['css']['dialog'] = 'include/styles/js/introjs.css';
|
||||
|
||||
// If the theme is the default, we don't load it twice.
|
||||
if ($config['style'] !== 'pandora') {
|
||||
// It loads the last of all.
|
||||
$config['css']['theme'] = 'include/styles/'.$config['style'].'.css';
|
||||
}
|
||||
|
||||
// If skin's css files exists then add them.
|
||||
if ($exists_css) {
|
||||
foreach ($skin_styles as $filename => $name) {
|
||||
|
@ -1766,10 +1772,10 @@ function ui_process_page_head($string, $bitfield)
|
|||
// User style should go last so it can rewrite common styles.
|
||||
$config['css'] = array_merge(
|
||||
[
|
||||
'common' => 'include/styles/common.css',
|
||||
'menu' => 'include/styles/menu.css',
|
||||
'tables' => 'include/styles/tables.css',
|
||||
$config['style'] => 'include/styles/'.$config['style'].'.css',
|
||||
'common' => 'include/styles/common.css',
|
||||
'menu' => 'include/styles/menu.css',
|
||||
'tables' => 'include/styles/tables.css',
|
||||
'general' => 'include/styles/pandora.css',
|
||||
],
|
||||
$config['css']
|
||||
);
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
/**
|
||||
* Exclude css from visual styles
|
||||
*
|
||||
* Extension to manage a list of gateways and the node address where they should
|
||||
* point to.
|
||||
*
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1214,14 +1214,17 @@ echo "\n<!-- Page generated in $run_time seconds -->\n";
|
|||
// Values from PHP to be recovered from JAVASCRIPT
|
||||
require 'include/php_to_js_values.php';
|
||||
|
||||
|
||||
// if ($config['style'] !== 'pandora') {
|
||||
?>
|
||||
|
||||
<script type="text/javascript" language="javascript">
|
||||
|
||||
// When there are less than 5 rows, all rows must be white
|
||||
if($('table.info_table tr').length < 5){
|
||||
$('table.info_table tbody > tr').css('background-color', '#fff');
|
||||
var theme = "<?php echo $config['style']; ?>";
|
||||
if(theme === 'pandora'){
|
||||
if($('table.info_table tr').length < 5){
|
||||
$('table.info_table tbody > tr').css('background-color', '#fff');
|
||||
}
|
||||
}
|
||||
|
||||
// When the user scrolls down 400px from the top of the document, show the button.
|
||||
|
|
Loading…
Reference in New Issue