Fix to use the same terminology and colors we use in dashboard

This commit is contained in:
Ilia Ross
2024-11-10 22:19:00 +02:00
parent 5dbefb1d42
commit e7d8f7271a
2 changed files with 5 additions and 5 deletions

View File

@@ -374,10 +374,10 @@ if (@hours) {
push(@cols, $k);
}
my $bar = sprintf
"<img src=images/red.gif width=%d height=10>",
"<img src=images/blue.gif width=%d height=10>",
$max ? int($width * $icount{$k}/$max)+1 : 1;
$bar .= sprintf
"<img src=images/blue.gif width=%d height=10>",
"<img src=images/red.gif width=%d height=10>",
$max ? int($width * $ocount{$k}/$max)+1 : 1;
push(@cols, $bar);
push(@cols, &nice_size($icount{$k}),

View File

@@ -40,9 +40,9 @@ index_to=For traffic before
index_efrom=Invalid starting date and time
index_eto=Invalid ending date and time
index_err=Failed to generate report
index_usage=Network traffic <font color=#ff0000>downloaded</font> and <font color=#0000ff>uploaded</font>
index_in=Download
index_out=Upload
index_usage=Network traffic <font color=#0000ff>In</font> and <font color=#ff0000>Out</font>
index_in=In
index_out=Out
index_total=Total
index_hhour=Hour
index_hhost=Host