Created black theme - #4194
This commit is contained in:
parent
8c7acdb02e
commit
9163f725ed
|
@ -362,7 +362,7 @@ if ($console_mode == 1) {
|
||||||
true
|
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>';
|
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.
|
// Add the dialog styles CSS.
|
||||||
$config['css']['dialog'] = 'include/styles/js/introjs.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 skin's css files exists then add them.
|
||||||
if ($exists_css) {
|
if ($exists_css) {
|
||||||
foreach ($skin_styles as $filename => $name) {
|
foreach ($skin_styles as $filename => $name) {
|
||||||
|
@ -1769,7 +1775,7 @@ function ui_process_page_head($string, $bitfield)
|
||||||
'common' => 'include/styles/common.css',
|
'common' => 'include/styles/common.css',
|
||||||
'menu' => 'include/styles/menu.css',
|
'menu' => 'include/styles/menu.css',
|
||||||
'tables' => 'include/styles/tables.css',
|
'tables' => 'include/styles/tables.css',
|
||||||
$config['style'] => 'include/styles/'.$config['style'].'.css',
|
'general' => 'include/styles/pandora.css',
|
||||||
],
|
],
|
||||||
$config['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
|
* Extension to manage a list of gateways and the node address where they should
|
||||||
* point to.
|
* point to.
|
||||||
*
|
*
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1214,15 +1214,18 @@ echo "\n<!-- Page generated in $run_time seconds -->\n";
|
||||||
// Values from PHP to be recovered from JAVASCRIPT
|
// Values from PHP to be recovered from JAVASCRIPT
|
||||||
require 'include/php_to_js_values.php';
|
require 'include/php_to_js_values.php';
|
||||||
|
|
||||||
|
// if ($config['style'] !== 'pandora') {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript" language="javascript">
|
||||||
|
|
||||||
// When there are less than 5 rows, all rows must be white
|
// When there are less than 5 rows, all rows must be white
|
||||||
|
var theme = "<?php echo $config['style']; ?>";
|
||||||
|
if(theme === 'pandora'){
|
||||||
if($('table.info_table tr').length < 5){
|
if($('table.info_table tr').length < 5){
|
||||||
$('table.info_table tbody > tr').css('background-color', '#fff');
|
$('table.info_table tbody > tr').css('background-color', '#fff');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// When the user scrolls down 400px from the top of the document, show the button.
|
// When the user scrolls down 400px from the top of the document, show the button.
|
||||||
window.onscroll = function() {scrollFunction()};
|
window.onscroll = function() {scrollFunction()};
|
||||||
|
|
Loading…
Reference in New Issue