Insert header

master
Heuzef 5 years ago
parent b07f4783e1
commit 415d286a9b
  1. 26
      Check.pm

@ -250,7 +250,31 @@ EOF
my $DUmaxTime = timeStamp2($Info{DUDailyMaxTime});
my $DUInodemaxTime = timeStamp2($Info{DUInodeDailyMaxTime});
my $content = eval ("qq{$Lang->{BackupPC_Check}}");
# Show Header
my $content = <<EOF;
\${h1("BackupPC: Check")}
<p>This check was generated at <strong>\$now</strong>.</p>
<p>File system pool size usage (\$DUmaxTime) :</p>
<div style="background-color:#f1f1f1!important">
<div style="color:#fff!important;background-color:#2196F3!important; text-align:center; width:\$Info{DUDailyMax}%">\$Info{DUDailyMax}%</div>
</div>
<p>File system inode size usage (\$DUInodemaxTime) :</p>
<div style="background-color:#f1f1f1!important">
<div style="color:#fff!important;background-color:#2196F3!important; text-align:center; width:\$Info{DUInodeDailyMax}%">\$Info{DUInodeDailyMax}%</div>
</div>
\${h2("Backups summary")}
<table class="sortable" id="host_summary_backups" border cellpadding="3" cellspacing="1">
<tr class="tableheader"><td> Host </td>
<td> Last Backup (days) </td>
<td> Errors </td>
<td> Size Consistency </td>
<td> Browse </td>
\$strGood
</table>
EOF
Header("BackupPC: Check", $content);
Trailer();
}

Loading…
Cancel
Save