Commit Graph

2804 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
02c1410e02 fix: correct syntax error in presetBanner function 2025-05-07 16:13:46 -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
27629ebd3b fix: correct typo in CSS positioning property 2025-05-07 16:03:37 -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
3f46137605 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 11:08:25 -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
15279ab619 style: remove commented margin in default-base.css for cleaner code
- Deleted the commented-out margin property in the default-base.css file to enhance code clarity and maintainability.
2025-05-07 10:48:37 -07:00
Zack Spear
8472f1b4ed fix: ensure banner settings visibility based on form selection
- Added a check to ensure the form object exists before accessing the selectedIndex property.
- Improved readability by restructuring the conditional logic for showing/hiding banner settings.
2025-05-07 10:48:28 -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
5c8d920269 style: update padding in DashStats.css and default-base.css for improved layout
- Changed padding-top and padding-bottom in DashStats.css from fixed values to rem units for better responsiveness.
- Removed margin from div.tabs in default-base.css to enhance layout consistency.
2025-05-06 16:24:25 -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
2401c2b8d3 chore: remove unused CSS styles from myservers1.php
- Deleted obsolete styles related to the header and Downgrade icon rotation.
- Cleaned up the file to improve maintainability and reduce clutter.
2025-05-06 15:41:20 -07:00
Zack Spear
1d7a2f6344 fix: update header styles and layout in default-base.css
- Corrected position property from 'absolute' to 'relative' for #header.
- Added flexbox properties to #header for better alignment and spacing.
- Introduced new styles for unraid-i18n-host and Downgrade icon rotation.
- Adjusted #menu position to 'sticky' for improved usability.

This change enhances the layout and responsiveness of the header and menu elements.
2025-05-06 15:40:23 -07:00
ljm42
f74fb7506f Merge branch 'master' into Intel-processor-core-types 2025-05-06 11:42:05 -07:00
SimonFair
343f66fc23 Merge remote-tracking branch 'upstream/master' into Intel-processor-core-types 2025-05-06 19:28:15 +01:00
SimonFair
f2818c679b Merge remote-tracking branch 'upstream/master' into Virtual-Sound-Card 2025-05-06 19:22:06 +01:00
tom mortensen
b3b390796d Merge pull request #2178 from unraid/feat/add-force-flag-to-plugin-install-page
feat: add force checkbox to plugin install page
2025-05-06 10:37:04 -07:00
tom mortensen
b4be095d31 Merge pull request #2161 from SimonFair/noVNC-update-to-1.6
Update novnc
2025-05-06 10:36:29 -07: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
SimonFair
62eac91e47 Update novnc 2025-05-05 17:23:14 -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
04d5d3d238 chore: format force install checkbox label for better readability on plugin install page 2025-05-05 16:01:18 -07:00
Zack Spear
a2f013803f chore: force install checkbox title attr on plugin install page 2025-05-05 15:59:14 -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
503b2c9fa1 chore: comment for VMSettings nitpick suggestion 2025-05-05 12:26:57 -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