Commit Graph

18 Commits

Author SHA1 Message Date
Andreas Bachlechner 4dd94974f1 Fix legend alignment in nvidiagpu and amdgpu. 2022-03-10 14:19:01 +01:00
Andreas Bachlechner 624c34459d Use the css style instead of title_fg_color and title_bg_color. 2022-02-24 19:16:30 +01:00
Andreas Bachlechner fc26d6db8b Fix wrong index for image directory.
The number of plots was wrongly fixed to 3 instead of the actual number.
2022-01-28 17:32:57 +01:00
Jordi Sanfeliu ebcc7e514a fix the '--full-size-mode' parameter to not break backwards compatibility with older versions of RRDtool #342 2022-01-12 10:26:58 +01:00
David Hummel 14b32dd993 Added 2 functions (img_element & picz_a_element) & renamed picz_js_link 2021-12-21 17:24:55 -07:00
David Hummel 92eaaa4f5a Use --full-size-mode for zoomed images 2021-12-21 16:08:14 -07:00
David Hummel abd4986678 Applied edits from fc63b67940 to new files 2021-12-21 08:26:52 -07:00
Andreas Bachlechner 2c260bb46d Fixes a wrong array size check.
It is not wise to check the end of an array by looking at its content.
A "0" is otherwise used as invalid array entry.
Replaced this usage in nvidiagpu.pm and amgpu.pm by comparing indices with the size directly.
2021-12-20 11:27:06 +01:00
Jordi Sanfeliu ae8985f50a fix indentation #367 2021-12-16 09:42:18 +01:00
Andreas Bachlechner bb294834c2 Fix format 2021-12-10 12:26:41 +01:00
Andreas Bachlechner f16ac2e956 Revert "remove superfluous if lines #367"
This reverts commit 41d5f6eab4.
2021-12-10 12:24:18 +01:00
Jordi Sanfeliu 41d5f6eab4 remove superfluous if lines #367 2021-12-10 11:44:58 +01:00
Jordi Sanfeliu 3bb03e983b fixed some indentations #367 2021-12-10 10:50:16 +01:00
Andreas Bachlechner 00a8ac0cdd Fix more indentations. 2021-12-09 18:22:42 +01:00
Andreas Bachlechner d4adf2d43f Change amdgpu config logic.
- Devices are no independent identigiers in a list.
- Sensors specify the absolute path to the file containing the information.
- Unavailable sensors have to be left blank.
- Some indentations fixes.
2021-12-09 18:02:11 +01:00
Andreas Bachlechner 7782bab86e Update amdgpu sensor order. 2021-12-05 09:23:52 +01:00
Andreas Bachlechner 7d1001a9ed A bit cleanup 2021-12-03 21:26:37 +01:00
Andreas Bachlechner d7815ca313 Add amdgpu.pm 2021-12-03 18:33:55 +01:00