Commit Graph

790 Commits

Author SHA1 Message Date
Zack Spear
98c5ef3a19 fix: add aria-live attribute to status bar for improved accessibility 2025-05-07 16:14:32 -07:00
Zack Spear
5c13404492 refactor: update content handling for non-tabbed layout
- Introduced a new file, MainContentTabless.php, which provides a non-tabbed content template for the Unraid web interface, rendering all pages in sequence without tabs.
2025-05-07 16:11:14 -07:00
Zack Spear
9eab318383 fix: add rel attribute to footer link for security enhancement 2025-05-07 16:09:59 -07:00
Zack Spear
3457f5918a fix: remove duplicate jQuery UI CSS reference from DefaultPageLayout.php 2025-05-07 16:09:13 -07:00
Zack Spear
648d9252cc fix: update cookie handling in tab management
- Removed unused cookie helper functions from MainContentTabbed.php to streamline the code.
- Updated the tab management logic to ensure cookies are cleared when no cookie exists, aligning with the behavior of the initab function.
- Corrected the filename reference in MainContent.php from 'MainContentNotab.php' to 'MainContentNoTab.php' for consistency.
2025-05-07 15:20:16 -07:00
Zack Spear
ad9f54618c refactor: implement panel generation functions for menu pages
- Added `generatePanel` and `generatePanels` functions to encapsulate panel creation logic for menu items.
- Updated `MainContentNotab.php` and `MainContentTabbed.php` to utilize the new functions, improving code reusability and readability.
- Introduced `generateContent` function to handle content generation based on Markdown flag.
2025-05-07 15:06:38 -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
843efed231 refactor: abstract tab vs no tab content into separate components 2025-05-07 10:48:13 -07:00
Zack Spear
8379c02192 fix: jquery.ui.css reference 2025-05-06 17:11: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
SimonFair
343f66fc23 Merge remote-tracking branch 'upstream/master' into Intel-processor-core-types 2025-05-06 19:28:15 +01:00
tom mortensen
ca72d4fbb6 Merge pull request #2068 from SimonFair/general-protection-fix
7.x Save PCI Data.
2025-05-06 10:35:00 -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
6d67c1774c refactor: move includePageStylesheets and annotate functions from DefaultPageLayout.php to PageBuilder.php for improved code organization and maintainability 2025-05-05 16:44:52 -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
3d755ea0fe refactor: clean up whitespace and formatting in DefaultPageLayout.php 2025-05-05 14:47:57 -07:00
Zack Spear
1d3ef16651 Merge branch 'refactor/default-page-layout-js-abstraction' into refactor/default-page-layout-nchan-abstraction 2025-05-05 13:35:08 -07:00
Zack Spear
1b3e347d04 Merge branch 'refactor/default-page-layout-styles' into refactor/default-page-layout-js-abstraction 2025-05-05 13:15:30 -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
b8b666990c refactor: add error handling for missing theme directory in ThemeHelper.php 2025-05-05 12:26:58 -07:00
Zack Spear
cb91ebc272 refactor: unify theme HTML class handling across multiple files for consistency 2025-05-05 12:26:57 -07:00
Zack Spear
199f4ca111 refactor: update theme width class names in ThemeHelper.php and default-base.css for consistency 2025-05-05 12:26:57 -07:00
Zack Spear
7c408531bd refactor: improve ThemeHelper constructor by enforcing theme parameter and removing redundant initialization method 2025-05-05 12:26:57 -07:00
Zack Spear
274332456c refactor: --customer-header-background-image placement in DefaultPageLayout 2025-05-05 12:26:57 -07:00
Zack Spear
1054592adb refactor: implement generate_sidebar_icon_css function and update DefaultPageLayout.php to utilize it for sidebar icon CSS generation 2025-05-05 12:26:57 -07:00
Zack Spear
d796a6db00 chore: move functionality to log plugin changes to /var/tmp/unRAIDServer.txt in DefaultPageLayout.php 2025-05-05 12:26:57 -07:00
Zack Spear
f2a6844761 refactor: header background image support in DefaultPageLayout.php and default-base.css with CSS var 2025-05-05 12:26:57 -07:00
Zack Spear
139f76ecd4 chore: move $nchan and $safemode var declarations 2025-05-05 12:26:57 -07:00
Zack Spear
ad56f616be refactor: update font size handling in DefaultPageLayout.php and default-base.css to utilize CSS variables for improved customization 2025-05-05 12:26:57 -07:00
Zack Spear
b6a14217d8 refactor: update theme color variables in CSS and DefaultPageLayout.php for improved customization and consistency 2025-05-05 12:26:57 -07:00
Zack Spear
225b4a3225 refactor: consolidate theme width styles into default-base.css and remove legacy media queries from DefaultPageLayout.php 2025-05-05 12:26:57 -07:00
Zack Spear
8c6b10165e refactor: enhance ThemeHelper class to support unlimited width and update DefaultPageLayout.php for new constructor parameters 2025-05-05 12:26:57 -07:00
Zack Spear
bab342df7b Merge branch 'master' into feat/theme-helper-class 2025-05-05 10:46:17 -07:00
Squidly271
9d5d343738 nitpick 2025-04-30 22:13:18 -04:00
Squidly271
d27786548a Refactor: Only reload Main/Dash on visibility if Live Updates disabled 2025-04-30 22:07:27 -04:00
bergware
2879a50fe5 Fix double declaration 2025-04-27 20:46:34 +02:00
bergware
148e9aeb7d Code enhancements 2025-04-27 17:06:08 +02:00
bergware
86ba071c7b Revert "Fix routing table selection"
This reverts commit 569ca8d1f7.
2025-04-27 04:41:53 +02:00
bergware
569ca8d1f7 Fix routing table selection 2025-04-27 04:36:31 +02:00
bergware
bb25bee9c6 Update update.wireguard.php 2025-04-27 04:26:44 +02:00
bergware
ba23aa5910 Fixed time loop 2025-04-27 04:15:52 +02:00
bergware
e28a18f046 Improved time loop 2025-04-27 02:53:40 +02:00
bergware
2d2a3fc1cd Improve wired/wireless detection 2025-04-27 02:29:52 +02:00