Commit Graph

11118 Commits

Author SHA1 Message Date
tom mortensen
f229bd2ea1 Merge pull request #2285 from unraid/feat/page-option-responsive-no-support
feat: enhance page content generation with responsive layout support
2025-07-09 11:56:42 -07:00
tom mortensen
5d98f66e19 Merge pull request #2284 from unraid/fix/responsive-input-field-uniformity
fix: responsive input field uniformity
2025-07-09 11:55:22 -07:00
tom mortensen
8df5cb92a6 Merge pull request #2272 from SimonFair/VM-PHP-Fixes
refactor: sanitize shell arguments
2025-07-09 11:54:39 -07:00
Zack Spear
b22e503992 docs: remove outdated responsive webGUI plugin migration guide and associated images
- Deleted the responsive webGUI plugin migration guide as it is no longer relevant.
- Removed associated images that were part of the guide.

This change cleans up the documentation by eliminating obsolete content. No further changes are pending for this task.
2025-07-03 15:22:35 -07:00
Zack Spear
39814d439f feat: enhance non-responsive content styles in default-base.css
- Reintroduced the .content--non-responsive class to maintain a minimum width for complex page templates.
- Updated styles for definition lists to ensure proper layout and responsiveness.
- Added specific input field max-widths to improve usability in non-responsive contexts.

This change aims to ensure that non-responsive layouts are styled correctly while maintaining usability across various input types. No further changes are pending for this task.
2025-07-02 13:51:41 -07:00
Zack Spear
ab0475cdc1 docs: enhance migration guide with new sections and clarifications
- Added a Table of Contents for easier navigation.
- Updated the introduction to clarify the shift to responsive CSS.
- Improved explanations for common bugs and fixes, including detailed examples and formatting adjustments.
- Emphasized the importance of whitespace and structure in Markdown parsing.
- Included a warning about opting out of responsive layout, with clear options for developers.

This update aims to provide comprehensive guidance for developers transitioning to the responsive design system. No further changes are pending for this task.
2025-07-02 13:50:23 -07:00
Zack Spear
933aef2505 docs: update migration guide with new section on making wide tables responsive
- Added a new section detailing how to use the TableContainer class for wide tables to ensure they remain usable on all screen sizes.
- Included examples demonstrating the implementation before and after using the TableContainer class.
- This update enhances the guide by providing clear instructions for developers dealing with wide tables.

No further changes are pending for this task.
2025-07-01 17:08:42 -07:00
Zack Spear
2e3d593991 fix: update image paths in migration guide for consistency
- Corrected image paths in the responsive webGUI plugin migration guide to ensure they point to the correct location.
- This change improves the clarity and accessibility of the guide's visual examples.

No further changes are pending for this task.
2025-07-01 16:38:52 -07:00
Zack Spear
d445736589 docs: add responsive webGUI plugin migration guide with common bugs and fixes
- Introduced a new migration guide detailing common issues with non-responsive .page files.
- Included examples of large buttons and misaligned settings labels, along with their fixes.
- Added images to illustrate the bugs and their resolutions.

This guide aims to assist developers in transitioning to the new responsive design system.
2025-07-01 16:36:04 -07:00
Zack Spear
fbad4a0be4 fix: remove 'narrow' class from color input fields in DisplaySettings.page for consistency 2025-07-01 16:16:46 -07:00
Zack Spear
469f15883b feat: enhance page content generation with responsive layout support
- Updated `generateContent` function to handle a new `ResponsiveLayout` flag in the page data array.
- Added a wrapper for non-responsive content based on the `ResponsiveLayout` flag.
- Adjusted CSS class naming for consistency in the `default-base.css` file.
- Set `ResponsiveLayout` to false in `AddVM.page` and `UpdateVM.page` for default behavior.
- Cleaned up HTML structure in `VMedit.php` to remove unnecessary class.

This change improves the flexibility of page layouts and ensures proper styling for non-responsive content.
2025-07-01 16:04:27 -07:00
Zack Spear
182a7f376a refactor: standardize PHP opening tags and improve code formatting in SyslogSettings.page 2025-07-01 13:44:18 -07:00
Zack Spear
5e6b71ae6a fix: narrow input width class 2025-07-01 12:22:29 -07:00
Zack Spear
94b068f76f fix: Add 'narrow' class to hour and minute select elements for improved styling 2025-06-30 13:02:53 -07:00
tom mortensen
9569790be1 Merge pull request #2283 from SimonFair/Fix-PCI-changes
Fix: PCI Changes
2025-06-30 10:25:22 -07:00
SimonFair
cc162b3133 Fix: PCI Changes 2025-06-30 17:17:54 +01:00
Tom Mortensen
b3f6af6b35 fix: remove unraid-api from webGUI tracking 2025-06-28 10:47:03 -07:00
Tom Mortensen
2749051c73 banish dynamix.my.servers from webGUI repo 2025-06-28 10:47:03 -07:00
Tom Mortensen
bce42c6657 rc.S: early mount of /dev on a devtmpfs 2025-06-28 10:47:03 -07:00
Tom Mortensen
732129de72 localhost endpoint now requires authentication 2025-06-28 10:47:03 -07:00
tom mortensen
ec2742fa27 Merge pull request #2281 from unraid/fix-parse-plugin-cfg
fix: parse_plugin_cfg(): better handling of corrupt ini files
2025-06-28 10:45:52 -07:00
tom mortensen
dad4ccf6e8 Merge pull request #2280 from unraid/fix-remove-ipv6-myunraid-urls
feat: Remove support for ipv6.hash.myunraid.net URLs
2025-06-28 10:45:09 -07:00
tom mortensen
480f9d5c23 Merge pull request #2279 from unraid/feat/fill-available-height-js
fix: display settings listing height responsive regression
2025-06-28 10:44:42 -07:00
tom mortensen
de34ff933d Merge pull request #2278 from unraid/feat/vm-responsive-layout-fallback
feat: vm responsive layout fallback
2025-06-28 10:44:20 -07:00
tom mortensen
f2fd0b0618 Merge pull request #2277 from unraid/fix/display-settings-custom-banner
fix: update custom banner path in DefaultPageLayout.php
2025-06-28 10:43:48 -07:00
tom mortensen
f0922de876 Merge pull request #2276 from unraid/feat/responsive-boot-page
fix: boot page update viewport meta tag for responsiveness
2025-06-28 10:43:22 -07:00
tom mortensen
2f95ecf29a Merge pull request #2275 from unraid/feat/legacy-content-non-responsive-allow-horizontal-overflow-scroll
style: enable horizontal scrolling for legacy content
2025-06-28 10:43:00 -07:00
tom mortensen
981f515ae5 Merge pull request #2274 from unraid/fix/DeviceInfo-page
fix: DeviceInfo balance status
2025-06-28 10:42:34 -07:00
tom mortensen
a42bed4708 Merge pull request #2264 from Squidly271/login-timer
Feat: Add timer to login screen when cooldown period is active
2025-06-28 10:42:02 -07:00
ljm42
f1c5cbe703 feat: show banner if dynamix.cfg is corrupt 2025-06-27 17:01:37 -07:00
ljm42
7ea337e8cd fix: parse_plugin_cfg(): better handling of corrupt ini files 2025-06-27 15:37:59 -07:00
ljm42
3c4b6382d4 feat: Remove support for ipv6.hash.myunraid.net URLs 2025-06-27 14:28:23 -07:00
Zack Spear
fefc4c5bba fix: add manualSpacingOffset to fillAvailableHeight VMs & Dockers for improved layout
- Introduced manualSpacingOffset parameter in DockerContainers.page and VMMachines.page to prevent unwanted scrollable space in the main content.
- Updated fillAvailableHeight calls to include this parameter, enhancing the overall layout consistency across pages.
2025-06-27 12:43:41 -07:00
Zack Spear
445deceb09 refactor: improve fillAvailableHeight function for better element height calculations
- Enhanced the fillAvailableHeight function in BodyInlineJS.php to refine height calculations by ensuring proper handling of element selectors and margins.
- Adjusted logic to prevent unnecessary spacing for specific elements, improving layout accuracy.
- Cleaned up code for better readability and maintainability.
2025-06-27 12:36:54 -07:00
Zack Spear
77efe32856 refactor: standardize fillAvailableHeight usage across pages
- Replaced existing resize functions with fillAvailableHeight calls in multiple pages for consistent dynamic height adjustments.
- Updated PageMap.page, Processes.page, Syslog.page, Vars.page, DockerContainers.page, VMMachines.page to utilize fillAvailableHeight with appropriate parameters.
- Wrapped relevant elements in 'js-fill-available-height' and 'js-actions' divs for improved structure and layout clarity.
2025-06-27 12:21:03 -07:00
Zack Spear
dde0cd1f08 feat: implement resize listener for fillAvailableHeight function
- Added a resize event listener to the fillAvailableHeight function in BodyInlineJS.php to ensure dynamic height adjustments on window resize.
- Implemented a debounced handler to optimize performance and prevent excessive function calls during rapid resize events.
- This enhancement improves the responsiveness of the layout by maintaining appropriate element heights as the window size changes.
2025-06-27 12:20:52 -07:00
Zack Spear
bb87d4d370 feat: add debounce function for improved performance in HeadInlineJS
- Introduced a new debounce function in HeadInlineJS.php to optimize function calls by limiting the rate at which a function can fire.
- This enhancement aims to improve performance in scenarios where rapid function calls may occur, such as during user input events.
2025-06-27 12:08:30 -07:00
Zack Spear
3e734b0914 refactor: enhance fillAvailableHeight function for additional element selectors
- Updated the fillAvailableHeight function in BodyInlineJS.php to include additional element selectors for height and spacing calculations.
- Improved the handling of dynamic height adjustments by allowing more flexible parameter inputs.
- Clarified comments for better understanding of the height and spacing logic.
2025-06-27 11:58:47 -07:00
Zack Spear
65360afc9d refactor: update PageMap.page for dynamic height adjustment
- Replaced the existing resize function with fillAvailableHeight for better dynamic resizing of elements.
- Wrapped the map display in a new div with class 'js-fill-available-height' for improved structure.
- Ensured the 'Done' button is now within a separate 'js-actions' div for clearer layout.
2025-06-26 14:35:27 -07:00
Zack Spear
adb30a1214 docs: update fillAvailableHeight example for jQuery usage
- Modified the documentation comment for the fillAvailableHeight function in BodyInlineJS.php to specify that it must be used within a jQuery ready function.
- Ensured clarity in the example usage to improve developer understanding and implementation.
2025-06-26 14:27:33 -07:00
Zack Spear
006344c646 refactor: enhance fillAvailableHeight function for dynamic resizing
- Updated the fillAvailableHeight function in BodyInlineJS.php to accept parameters for better flexibility in resizing elements.
- Modified Syslog.page to utilize the new parameters for dynamic height adjustment of specific elements.
- Improved code readability and maintainability by restructuring the function and its parameters.
2025-06-26 14:20:36 -07:00
Zack Spear
1e2ba501c0 feat: added fillAvailableHeight js to dynamically resize vertical elements
- Updated PHP opening tags from `<?PHP` to `<?php` for consistency.
- Reformatted code for improved readability in Syslog.page.
- Added a new function `fillAvailableHeight` in BodyInlineJS.php to dynamically resize elements for better layout.
- Updated CSS to remove unnecessary gap and margin for a cleaner design in Syslog.css.
- Enhanced the syslog controls and output structure for improved usability.
2025-06-26 14:09:36 -07:00
Squidly271
6a087e4278 Update .login.php 2025-06-26 14:02:45 -04:00
Zack Spear
5e80a64b04 style: refine CPU mode dropdown in VM form
- Removed unnecessary 'narrow' class from the CPU mode dropdown for improved styling consistency in the VM form layout.
2025-06-25 16:42:37 -07:00
Zack Spear
1d9db0c765 style: update VM form layout for improved structure
- Changed the class of the domain div to .Content--non-responsive for better styling.
- Wrapped the status checkboxes in a new table structure to enhance layout consistency in the VM form.
2025-06-25 16:42:18 -07:00
Zack Spear
463cff8d63 style: enforce minimum width for non-responsive content
- Added a min-width of 1200px to the .Content--non-responsive class in default-base.css to prevent rewrites of complex page templates for responsive layout.
2025-06-25 16:42:02 -07:00
Zack Spear
7665f65c08 style: add margin to multiple VM form elements
- Added a margin-bottom of 2rem to the .multiple class in edit.css to improve spacing in the VM form layout.
2025-06-25 16:36:50 -07:00
Zack Spear
2a58ed92db fix: update custom banner path in DefaultPageLayout.php
- Reverted the banner path from `$config/webGui/banner.png` to `$config/plugins/dynamix/banner.png` to reflect the correct storage location on the boot drive.
2025-06-25 16:08:30 -07:00
Zack Spear
57468b6685 refactor: Boot.php w/ more maintainable html structure 2025-06-25 14:14:27 -07:00
Zack Spear
63ec21d4c9 fix: update viewport meta tag for responsiveness
- Changed the viewport meta tag from a fixed width to a responsive setting (width=device-width, initial-scale=1.0) to enhance mobile compatibility and improve layout on various devices.
2025-06-25 13:44:55 -07:00