Add link for browse

master
Heuzef 5 years ago
parent 6cfd4bf4ae
commit 1fdb6b7613
  1. 4
      Check.pm
  2. 2
      en.pm

@ -220,7 +220,7 @@ else {
} }
# Get random file # Get random file
my $randomFile = "random-file.txt"; my $browseFile = "?action=browse&host=$host";
# Show summary # Show summary
$str = <<EOF; $str = <<EOF;
@ -228,7 +228,7 @@ my $randomFile = "random-file.txt";
<td align="center" class="border" style="color:$lastAgeColor;">$lastAge</td> <td align="center" class="border" style="color:$lastAgeColor;">$lastAge</td>
<td align="center" class="border" style="color:$lastXferErrorsColor;">$lastXferErrors</td> <td align="center" class="border" style="color:$lastXferErrorsColor;">$lastXferErrors</td>
<td align="center" class="border" style="color:$sizeConsistencyColor;">$sizeConsistency</td> <td align="center" class="border" style="color:$sizeConsistencyColor;">$sizeConsistency</td>
<td align="center" class="border"><a href="$randomFile" target="_blank">$randomFile</a></td> <td align="center" class="border"><a href="$browseFile" target="_blank">🔎</a></td>
EOF EOF
# Increment counter # Increment counter

@ -1554,7 +1554,7 @@ $Lang{BackupPC_Check} = <<EOF;
<td> Last Backup (days) </td> <td> Last Backup (days) </td>
<td> Errors </td> <td> Errors </td>
<td> Size Consistency </td> <td> Size Consistency </td>
<td> Random file </td> <td> Browse files </td>
\$strGood \$strGood
</table> </table>
EOF EOF

Loading…
Cancel
Save