Commit Graph

15 Commits

Author SHA1 Message Date
Zack Spear
16a647d1c8 Merge branch 'master' into feat/css3-variables 2025-03-31 11:44:47 -07:00
Squidly271
f23cacecee Fix PHP8 warning 2024-12-15 19:50:01 -05:00
Tom Mortensen
c19df8a7d1 Fix link to apcupsd manual 2024-11-20 10:35:25 -08:00
Justin Brown
392cc77a20 switch to _var function for setting batteryLevel & batteryRuntime 2024-07-24 16:57:35 -04:00
Justin Brown
36f9e7402c fix UPS settings page when config contains empty values 2024-07-16 19:32:30 -04:00
Zack Spear
2c7cf71fb7 refactor: apcupsd UPSsettings css format 2024-07-08 11:53:12 -07:00
Ben
da18a7e213 Re-implementation of #1743 based on the received feedback. This implementation is far more robust, as it injects the NOMPOWER value into the existing code, allowing the existing Unraid GUI code to interpret and display the values in the same manner 2024-06-15 11:17:48 +01:00
Ben
e28d4a32fb Add in the ability to set a manual UPS capacity override in dynamix.apcupsd, so that Nominal Power can still be estimated based on the load percentage for UPS's that don't report their NOMPOWER 2024-05-27 19:19:04 +01:00
bergware
23236a9b08 UPS: fix PHP8 error 2023-11-16 22:35:53 +01:00
bergware
c9eb2593cf Updated copyright year to 2023 2023-11-03 12:36:03 +01:00
bergware
ceeb125ba9 Use "null coalescing assignment" operator for $docroot 2023-10-26 14:00:15 +02:00
bergware
202cb8c222 Move inline styling in page files to dedicated css files
Instead of styling defined inside a page file, these settings are now kept in a dedicated css file. This has several advantages:

- It comes much easier to maintain styling, all css files are easy to find and update
- Browser can cache css files, which may improve page loading time
- Separate theme css files exist, no more need to make selection by coding

- This PR is a 1-to-1 move of existing inline styling to css files
- In future more optimization can be made by consolidating css files
2023-10-14 19:02:35 +02:00
bergware
ac0e67eeac Updated logger registration 2023-10-03 10:21:19 +02:00
bergware
fafb8716ed UPS: PHP8 support 2023-06-15 21:37:42 +02:00
Tom Mortensen
f9ec00b488 repo reorg 2023-06-02 12:49:33 -07:00