update fail2ban to have better stat graphs and and fix generic_stats graph.php (#14818)

* update fail2ban better stat graphs

* style fix

* add rainbow color pallete

* cleanup colors and make it more easily understandable via using the new rainbow colour pallete

* a bit more color tweaking

* green is easier on the eyes

* style fix

* fix hgandling for smaller graphs for some things

* for <= height graphs, use area

* rework the area bit and add a alpha

* style cleanup

* more style cleanup

* mm... colourA does work a lot nicer if the same as colour

* add two more palletes and make the purple the default

* only include 1d once as that as some versions of rrd break if it is twice

* move time_diff to the proper location
This commit is contained in:
Zane C. Bowers-Hadley
2023-03-02 11:51:16 -06:00
committed by GitHub
parent cd7aa5e65d
commit 19278bf19f
4 changed files with 128 additions and 96 deletions

View File

@@ -1934,6 +1934,55 @@
],
"type": "array"
},
"graph_colours.rainbow": {
"default": [
"881177",
"AA3355",
"CC6666",
"EE9944",
"EEDD00",
"99DD55",
"44DD88",
"22CCBB",
"00BBCC",
"0099CC",
"3366BB",
"663399"
],
"type": "array"
},
"graph_colours.rainbow_stats_green": {
"default": [
"99DD55",
"22CCBB",
"00BBCC",
"0099CC",
"3366BB",
"AA3355",
"881177",
"CC6666",
"EEDD00",
"44DD88",
"663399"
],
"type": "array"
},
"graph_colours.rainbow_stats_purple": {
"default": [
"663399",
"22CCBB",
"00BBCC",
"0099CC",
"3366BB",
"AA3355",
"881177",
"CC6666",
"EEDD00",
"44DD88",
"99DD55"
],
"type": "array"
},
"graph_colours.varied": {
"default": [
"CC0000",