Commit Graph

10370 Commits

Author SHA1 Message Date
Zack Spear
e8a84ca428 refactor: reorganize HTML structure in DefaultPageLayout.php and MainContent.php for improved readability and maintainability 2025-04-08 13:17:09 -07:00
Zack Spear
270f0735cf refactor: centralize stylesheet inclusion logic in DefaultPageLayout.php by creating includePageStylesheets function for improved code reuse and maintainability 2025-04-08 13:06:49 -07:00
Zack Spear
4d4266ff76 refactor: extract main content logic from DefaultPageLayout.php into MainContent.php for improved organization and maintainability 2025-04-08 12:33:17 -07:00
Zack Spear
293e1e1e12 refactor: extract global elements from DefaultPageLayout.php into MiscElements.php for improved organization and maintainability 2025-04-08 10:07:13 -07:00
Zack Spear
469b499db1 refactor: enhance navigation structure in Main.php by improving template usage and updating CSS for better layout and alignment 2025-04-08 09:40:35 -07:00
Zack Spear
17b3424ad2 refactor: restructure DefaultPageLayout.php by extracting header and navigation into separate files for improved organization and maintainability 2025-04-07 18:49:36 -07:00
Zack Spear
350aceea7f refactor: enhance nchan script management in DefaultPageLayout.php by consolidating logic and improving clarity 2025-04-07 18:35:09 -07:00
Zack Spear
7d763f3f31 refactor: consolidate nchan script creation in DefaultPageLayout.php for found pages 2025-04-07 18:02:31 -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
Zack Spear
060fb2eb19 refactor: move inline JavaScript from DefaultPageLayout.php to HeadInlineJS.php for improved maintainability 2025-04-07 16:54:15 -07:00
Zack Spear
0bf79f7563 refactor: add generateReloadScript function to DefaultPageLayout.php for dynamic page reloads 2025-04-07 16:46:19 -07:00
Zack Spear
a973866514 refactor: $buttonPages output of styles and scripts location 2025-04-07 16:34:54 -07:00
Zack Spear
ee489bfe5f refactor: add error handling for missing theme directory in ThemeHelper.php 2025-04-07 15:42:00 -07:00
Zack Spear
101644b46b chore: comment for VMSettings nitpick suggestion 2025-04-07 15:40:01 -07:00
Zack Spear
ffdf4c0293 refactor: unify theme HTML class handling across multiple files for consistency 2025-04-07 15:11:59 -07:00
Zack Spear
e131c2f0c7 refactor: update theme width class names in ThemeHelper.php and default-base.css for consistency 2025-04-07 15:11:36 -07:00
Zack Spear
509e9ff4f9 refactor: improve ThemeHelper constructor by enforcing theme parameter and removing redundant initialization method 2025-04-07 14:05:09 -07:00
Zack Spear
772a81395a refactor: --customer-header-background-image placement in DefaultPageLayout 2025-04-07 13:55:27 -07:00
Zack Spear
ac13bb7017 refactor: implement generate_sidebar_icon_css function and update DefaultPageLayout.php to utilize it for sidebar icon CSS generation 2025-04-07 13:55:27 -07:00
Zack Spear
39ec732e7d chore: move functionality to log plugin changes to /var/tmp/unRAIDServer.txt in DefaultPageLayout.php 2025-04-07 13:55:27 -07:00
Zack Spear
9b87ad3d53 refactor: header background image support in DefaultPageLayout.php and default-base.css with CSS var 2025-04-07 13:55:27 -07:00
Zack Spear
8a51f9a414 chore: move $nchan and $safemode var declarations 2025-04-07 13:55:27 -07:00
Zack Spear
35fec239b2 refactor: update font size handling in DefaultPageLayout.php and default-base.css to utilize CSS variables for improved customization 2025-04-07 13:55:27 -07:00
Zack Spear
ae52bda45a refactor: update theme color variables in CSS and DefaultPageLayout.php for improved customization and consistency 2025-04-07 13:55:27 -07:00
Zack Spear
33e4814937 refactor: consolidate theme width styles into default-base.css and remove legacy media queries from DefaultPageLayout.php 2025-04-07 13:55:26 -07:00
Zack Spear
6d219e4778 refactor: enhance ThemeHelper class to support unlimited width and update DefaultPageLayout.php for new constructor parameters 2025-04-07 13:55:26 -07:00
Zack Spear
83363f1cdd refactor: update error message in ThemeHelper class for clarity and consistency 2025-04-07 13:37:22 -07:00
Zack Spear
9672a76dba refactor: remove redundant initialized property from ThemeHelper class to streamline code 2025-04-07 13:36:28 -07:00
Zack Spear
78dead079f refactor: enforce theme initialization check in ThemeHelper constructor and remove redundant checks in theme methods 2025-04-07 13:21:17 -07:00
Zack Spear
4feb26d955 refactor: update variable comments for $theme, $themes1, and $themes2 in DefaultPageLayout.php to enhance clarity while maintaining backwards compatibility 2025-04-07 11:44:58 -07:00
Zack Spear
a754aa6992 refactor: replace $theme2 variable usage with ThemeHelper methods for consistency across multiple pages 2025-04-07 11:44:58 -07:00
Zack Spear
cb0dbb4657 refactor: replace $theme1 variable usage with ThemeHelper methods for consistency across multiple pages 2025-04-07 11:44:58 -07:00
Zack Spear
ad104833e4 fix: standardize PHP opening tags and improve code formatting in DisplaySettings.page 2025-04-07 11:44:58 -07:00
Zack Spear
f041c83a92 feat: implement ThemeHelper class to centralize theme management and improve color handling across various pages 2025-04-07 11:44:58 -07:00
tom mortensen
4b6014439d Merge pull request #2125 from SimonFair/Libvirt-in-use-fix-
Fix to rc.libvirt
2025-04-07 09:51:48 -07:00
tom mortensen
0cee607627 Merge pull request #2124 from bergware/master
Networking: fix duplicate metrics handling
2025-04-07 09:50:45 -07:00
tom mortensen
bb57b06405 Merge pull request #2123 from zackspear/refactor/footer-rendering
refactor: DefaultPageLayout footer rendering
2025-04-07 09:50:10 -07:00
SimonFair
f5b4145a2b Fix to rc.libvirt 2025-04-07 13:31:02 +01:00
bergware
bcc1287d53 Update Wireless.php 2025-04-07 10:10:52 +02:00
bergware
2f780b1a91 Wireless: improved start / stop of wifi service 2025-04-06 01:13:39 +02:00
bergware
66aef25def Networking: fix duplicate metrics handling 2025-04-05 11:09:33 +02:00
Zack Spear
d19f3d2a3a chore: Add PHPDoc comments for releaseDateYear and getArrayStatus functions to improve code documentation and clarity. 2025-04-04 20:53:22 -07:00
Zack Spear
18ea6d8e35 fix: Correct logic in releaseDateYear function to only set timestamp if it exists, ensuring accurate year display in footer 2025-04-04 18:39:26 -07:00
Zack Spear
e6d4c8ca29 feat: Add releaseDateYear function to dynamically display the copyright year in the footer based on the build timestamp 2025-04-04 18:36:46 -07:00
Zack Spear
d11b22215f refactor: Move footer rendering logic and getArrayStatus function to a new Footer.php file for improved organization and maintainability. 2025-04-04 17:59:45 -07:00
Zack Spear
d4480c366d Refactor: Update getArrayStatus function to return an associative array for better data handling and improve footer rendering logic. 2025-04-04 17:53:09 -07:00
Zack Spear
cd990c8f1a Refactor: Simplify footer structure and encapsulate array status logic in a new function for improved readability and maintainability. 2025-04-04 17:49:04 -07:00
tom mortensen
75888d0447 Merge pull request #2121 from unraid/fix/css-ui-dropdownchecklist
fix: ui-dropdownchecklist styles
7.1.0-beta.3
2025-04-04 17:02:56 -07:00
Zack Spear
b48ee4dd45 docs: add comment to ui-dropdownchecklist styles explaining width adjustment rationale 2025-04-04 16:37:43 -07:00
Zack Spear
5c91726626 fix: adjust background position for ui-dropdownchecklist to enhance layout consistency 2025-04-04 15:44:57 -07:00