Merge pull request #572 from pi-hole/tweak/header

Show detected number of cores when hovering load text
This commit is contained in:
DL6ER
2017-09-16 21:44:38 +02:00
committed by GitHub
+2 -2
View File
@@ -353,7 +353,7 @@ if($auth) {
?>
<br/>
<?php
echo "<a><i class=\"fa fa-circle\" style=\"color:";
echo "<a title=\"Detected $nproc cores\"><i class=\"fa fa-circle\" style=\"color:";
if ($loaddata[0] > $nproc) {
echo "#FF0000";
}
@@ -361,7 +361,7 @@ if($auth) {
{
echo "#7FFF00";
}
echo "\" title=\"Detected $nproc cores\"></i> Load:&nbsp;&nbsp;" . $loaddata[0] . "&nbsp;&nbsp;" . $loaddata[1] . "&nbsp;&nbsp;". $loaddata[2] . "</a>";
echo "\"></i> Load:&nbsp;&nbsp;" . $loaddata[0] . "&nbsp;&nbsp;" . $loaddata[1] . "&nbsp;&nbsp;". $loaddata[2] . "</a>";
?>
<br/>
<?php