|
|
|
@ -119,17 +119,15 @@ sub action |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Get result |
|
|
|
|
if ( not $toobig and not $toosmall ) { |
|
|
|
|
if ( not $idBackup > 4) { |
|
|
|
|
$sizeConsistencyColor = "Gray"; |
|
|
|
|
$sizeConsistency = "Not enough backups"; |
|
|
|
|
} |
|
|
|
|
else ( not $toobig and not $toosmall and not $idBackup < 4) { |
|
|
|
|
$sizeConsistencyColor = "MediumSeaGreen"; |
|
|
|
|
$sizeConsistency = "Normal"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# There are enough backup ? |
|
|
|
|
if ( $idBackup == 0 ) { |
|
|
|
|
my $sizeConsistencyColor = "Gray"; |
|
|
|
|
my $sizeConsistency = "<em>Not enough backups</em>"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Get URL for explore file |
|
|
|
|
my $browseFile = "?action=browse&host=$host"; |
|
|
|
|
|
|
|
|
|