rrdimage: Improve CGI & cosmetic changes

Write graph error messages to the system log, to simplify
further inspection by the user.
Add additional parameter check to prevent a possible redirect loop
if the URL format is changed in the future.

Cosmetic: Use underlining instead of background color for highlighting

Fixes #10643

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Leo-Andres Hofmann
2021-04-11 14:01:06 +02:00
committed by Michael Tremer
parent ad3cc7c98d
commit c095f81435
2 changed files with 7 additions and 3 deletions

View File

@@ -348,14 +348,14 @@ div.rrdimage > ul {
border: none;
background: none;
cursor: pointer;
text-decoration: underline;
text-decoration: none;
}
.rrdimage button:focus {
outline: none;
box-shadow: none;
}
.rrdimage button.selected {
background-color: rgba(135, 203, 0, 0.2);
text-decoration: underline;
}
div.rrdimage > img {