Commit Graph

22 Commits

Author SHA1 Message Date
Squidly271
ac9d97a628 Merge branch 'master' into patch-8 2025-08-13 19:28:12 -04:00
Squidly271
e361b0b864 Refactor: Remove code for live updates disabled 2025-08-12 23:05:48 -04:00
Zack Spear
331d4ebf94 feat: add tooltip positioning logic for a.info elements on mouse enter 2025-08-11 14:27:11 -07:00
Zack Spear
445deceb09 refactor: improve fillAvailableHeight function for better element height calculations
- Enhanced the fillAvailableHeight function in BodyInlineJS.php to refine height calculations by ensuring proper handling of element selectors and margins.
- Adjusted logic to prevent unnecessary spacing for specific elements, improving layout accuracy.
- Cleaned up code for better readability and maintainability.
2025-06-27 12:36:54 -07:00
Zack Spear
dde0cd1f08 feat: implement resize listener for fillAvailableHeight function
- Added a resize event listener to the fillAvailableHeight function in BodyInlineJS.php to ensure dynamic height adjustments on window resize.
- Implemented a debounced handler to optimize performance and prevent excessive function calls during rapid resize events.
- This enhancement improves the responsiveness of the layout by maintaining appropriate element heights as the window size changes.
2025-06-27 12:20:52 -07:00
Zack Spear
3e734b0914 refactor: enhance fillAvailableHeight function for additional element selectors
- Updated the fillAvailableHeight function in BodyInlineJS.php to include additional element selectors for height and spacing calculations.
- Improved the handling of dynamic height adjustments by allowing more flexible parameter inputs.
- Clarified comments for better understanding of the height and spacing logic.
2025-06-27 11:58:47 -07:00
Zack Spear
adb30a1214 docs: update fillAvailableHeight example for jQuery usage
- Modified the documentation comment for the fillAvailableHeight function in BodyInlineJS.php to specify that it must be used within a jQuery ready function.
- Ensured clarity in the example usage to improve developer understanding and implementation.
2025-06-26 14:27:33 -07:00
Zack Spear
006344c646 refactor: enhance fillAvailableHeight function for dynamic resizing
- Updated the fillAvailableHeight function in BodyInlineJS.php to accept parameters for better flexibility in resizing elements.
- Modified Syslog.page to utilize the new parameters for dynamic height adjustment of specific elements.
- Improved code readability and maintainability by restructuring the function and its parameters.
2025-06-26 14:20:36 -07:00
Zack Spear
1e2ba501c0 feat: added fillAvailableHeight js to dynamically resize vertical elements
- Updated PHP opening tags from `<?PHP` to `<?php` for consistency.
- Reformatted code for improved readability in Syslog.page.
- Added a new function `fillAvailableHeight` in BodyInlineJS.php to dynamically resize elements for better layout.
- Updated CSS to remove unnecessary gap and margin for a cleaner design in Syslog.css.
- Enhanced the syslog controls and output structure for improved usability.
2025-06-26 14:09:36 -07:00
Zack Spear
ed8c6a7535 fix: Update upgrade_notice styles
- Adjusted CSS for .upgrade_notice to improve layout and responsiveness.
- Removed outdated JavaScript code related to banner positioning.
2025-06-09 16:25:43 -07:00
Zack Spear
b8cb46cb28 feat: remove NotificationsArchive page and related files
- Deleted the NotificationsArchive.page, NotificationsArchive.php, and associated CSS file as they are no longer needed.
- This change helps streamline the codebase and remove obsolete components.
- Notifications replaced via unraid-api inclusion
2025-05-22 16:59:33 -07:00
Eli Bosley
1afb7d86d1 fix: blob links shouldn't be external 2025-05-22 13:14:04 -04:00
Eli Bosley
30a7f6eb90 feat: add tweaks for the Unraid API
- enables API support for 7.2
- do not merge before the API is integrated, will break notifications
- includes authentication fix for now
2025-05-09 08:25:38 -04:00
Zack Spear
ad342e68b6 refactor: improve scroll position handling in BodyInlineJS.php
- Changed the 'top' variable to use parseInt for better type handling.
- Updated the scrollTop logic for clarity and consistency.
2025-05-07 16:15:45 -07:00
Zack Spear
46731110ea fix: adjust cookie handling for scroll position in BodyInlineJS.php
- Modified the calculation of the 'top' variable to remove the offset adjustment, simplifying the logic.
- Ensured that the scroll position is set correctly based on the cookie value.

This change improves the handling of scroll position based on user preferences.
2025-05-07 10:48:43 -07:00
Zack Spear
f2e4d6fb18 refactor: update footer layout and styles for improved responsiveness
- Restructured footer HTML to use flexbox for better alignment and spacing.
- Adjusted CSS styles for #footer, including padding and box-sizing.
- Removed unnecessary float properties and improved layout consistency.
2025-05-06 15:54:52 -07:00
Zack Spear
727b0c625b chore: nitpick comment for liveUpdate JS 2025-05-05 13:09:15 -07:00
Zack Spear
2edd2b4e51 Refactor: Only reload Main/Dash on visibility if Live Updates disabled 2025-05-05 12:57:39 -07:00
Zack Spear
3b982b8399 Fix: Don't reload page if modal is open 2025-05-05 12:53:01 -07:00
Zack Spear
6edb1c6ea1 Remove 1 second delay 2025-05-05 12:45:15 -07:00
Zack Spear
b6428a5f2f refactor: Reload Dash/Main pages when visibility becomes visible 2025-05-05 12:44:30 -07:00
Zack Spear
f8d13b8b09 refactor: move inline JavaScript from <body> of DefaultPageLayout.php to BodyInlineJS.php for improved maintainability 2025-04-07 17:01:23 -07:00