Skip to content

fix(power): backport Power Mode stylesheet fix to 7.3 - #2730

Open
Eli Bosley (elibosley) wants to merge 1 commit into
7.3from
fix/os-736-backport-power-mode-css-7-3-3
Open

fix(power): backport Power Mode stylesheet fix to 7.3#2730
Eli Bosley (elibosley) wants to merge 1 commit into
7.3from
fix/os-736-backport-power-mode-css-7-3-3

Conversation

@elibosley

@elibosley Eli Bosley (elibosley) commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary

Backport the Power Mode stylesheet filename fix to the Unraid 7.3.3 line on top of the reviewed 7.3 Power Options implementation.

Why This Exists

The Power Mode page is PowerModeCpu.page, but its stylesheet is PowerMode.css. PageBuilder loads stylesheets by basename, so the bare-metal rule that hides the virtualization warning does not load.

This is the 7.3.3 follow-up to OS-734. It depends on the configurable Power Button backport tracked by OS-644 and PR #2715.

Resolution

Rename PowerMode.css to PowerModeCpu.css. The stylesheet content remains unchanged.

Reviewer Considerations

Behavior Changes

Bare-metal servers no longer show the virtualization warning in Settings > Power Options > Power Mode. Virtualized servers continue to show the warning when applicable.

Implementation Summary

  • Rename emhttp/plugins/dynamix/sheets/PowerMode.css to PowerModeCpu.css.

Verification

  • git diff --check
  • Confirmed the div#vm rule retains display: none and margin-left: 35%.

Risk

Low. The stylesheet content is unchanged. Only the stylesheet basename changes.

Linear Cross-links

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: dae60193-962b-4895-b299-23fbf72d7182

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

🔧 PR Test Plugin Available

A test plugin has been generated for this PR that includes the modified files.

Version: 2026.08.18.2105
Build: View Workflow Run

📥 Installation Instructions:

Install via Unraid Web UI:

  1. Go to Plugins → Install Plugin
  2. Copy and paste this URL:
https://preview.dl.unraid.net/pr-plugins/pr-2730/webgui-pr-2730.plg
  1. Click Install

Alternative: Direct Download

⚠️ Important Notes:

  • Testing only: This plugin is for testing PR changes
  • Backup included: Original files are automatically backed up
  • Easy removal: Files are restored when plugin is removed
  • Conflicts: Remove this plugin before installing production updates
  • Post-merge behavior: This preview stays available after merge until preview storage expires or it is manually cleaned up

📝 Modified Files:

Click to expand file list
emhttp/plugins/dynamix/sheets/PowerModeCpu.css

🔄 To Remove:

Navigate to Plugins → Installed Plugins and remove webgui-pr-2730, or run:

plugin remove webgui-pr-2730

🤖 This comment is automatically generated and will be updated with each new push to this PR.

@elibosley
Eli Bosley (elibosley) marked this pull request as ready for review August 18, 2026 21:06
@unraid-bot Unraid Bot (unraid-bot) added 7.4.0 Approved for release 7.4.0 (auto-managed by notification-worker) 7.3.3 Approved for release 7.3.3 (auto-managed by notification-worker) and removed 7.4.0 Approved for release 7.4.0 (auto-managed by notification-worker) labels Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.3.3 Approved for release 7.3.3 (auto-managed by notification-worker)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants