Просмотр исходного кода

[Bug] /list/server?web cache stats unreadable in dark layout (#1409)

* Removed default white in ssl cache stats + adjusted same header to “dark bg”

* Replace “header” color with grey
Jaap Marcus 5 лет назад
Родитель
Сommit
04437adc10
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      web/list/server/index.php

+ 3 - 0
web/list/server/index.php

@@ -66,6 +66,9 @@ if (isset($_GET['web'])) {
     exec (HESTIA_CMD.'v-list-sys-web-status', $output, $return_var);
     foreach($output as $file) {
         $file=str_replace('border="0"', 'border="1"', $file);
+        $file=str_replace('bgcolor="#ffffff"', '', $file);
+        $file=str_replace('bgcolor="#000000"', 'bgcolor="#282828"', $file);
+        
         echo $file . "\n";
     }
     echo "    </pre>\n</body>\n</html>\n";