It's work !

master
Heuzef 5 years ago
parent c14b0e75d6
commit 6ee2c6125a
  1. 3
      Check.pm
  2. 29
      en.pm

@ -250,7 +250,7 @@ EOF
my $DUmaxTime = timeStamp2($Info{DUDailyMaxTime});
my $DUInodemaxTime = timeStamp2($Info{DUInodeDailyMaxTime});
# Show header
$header = <<EOF;
\${h1(qq{BackupPC: Check})}
<p>This check was generated at <strong>\$now</strong>.</p>
@ -277,6 +277,7 @@ EOF
</table>
EOF
# Show page
my $content = eval ("qq{$header}");
Header("BackupPC: Check", $content);
Trailer();

29
en.pm

@ -1530,33 +1530,4 @@ $Lang{CfgEdit_Log_Host_Change}
$Lang{CfgEdit_Log_Host_Add}
= "\$User added host \$host: \$value\n";
# --------------------------------
$Lang{BackupPC_Check} = <<EOF;
\${h1(qq{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
#end of lang_en.pm

Loading…
Cancel
Save