- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.