Commit Graph

31 Commits

Author SHA1 Message Date
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
843efed231 refactor: abstract tab vs no tab content into separate components 2025-05-07 10:48:13 -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
8c9f340fb8 Merge branch 'refactor/default-page-layout-global-html-elements' into refactor/default-page-layout-content-output-abstraction 2025-05-05 16:55:38 -07:00
Zack Spear
1ba0b66916 refactor: centralize reload script logic in HeadInlineJS.php and update DefaultPageLayout.php for improved maintainability 2025-05-05 16:40:39 -07:00
Zack Spear
5198d163b6 Merge branch 'refactor/default-page-layout-navigation' into refactor/default-page-layout-global-html-elements 2025-05-05 15:15:32 -07:00
Zack Spear
19de8fdfd1 Merge branch 'refactor/default-page-layout-nchan-abstraction' into refactor/default-page-layout-navigation 2025-05-05 15:00:32 -07:00
Zack Spear
727b0c625b chore: nitpick comment for liveUpdate JS 2025-05-05 13:09:15 -07:00
Zack Spear
f5bbc6c067 refactor: move reload page during extended viewing in abstracted HeadInlineJS 2025-05-05 13:06:44 -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
d37f55f6fb refactor: add HTML comments to closing tags in MainContent.php for improved readability and maintainability 2025-04-08 14:01:00 -07:00
Zack Spear
4e61946207 fix: add missing newline at end of file in MainContent.php to comply with coding standards 2025-04-08 13:56:11 -07:00
Zack Spear
79f3436670 refactor: improve title variable assignment in MainContent.php by replacing eval with direct assignment for better security and maintainability 2025-04-08 13:50:29 -07:00
Zack Spear
2b7b6f437f refactor: replace hardcoded icon fallback with a centralized default icon variable in MainContent.php for improved maintainability 2025-04-08 13:47:35 -07:00
Zack Spear
67d1471929 refactor: reorganize variable initialization in MainContent.php for improved clarity and maintainability 2025-04-08 13:40:48 -07:00
Zack Spear
64a18430f7 refactor: enhance MainContent.php by adding a helper function for icon processing and improving variable initialization for better readability and maintainability 2025-04-08 13:32:39 -07:00
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
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
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