mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 09:10:07 -06:00
refactor: Improve XFS v4 notice display in filesystem warnings
- Changed the XFS v4 notice from a span to a div for better styling and layout. - Removed the .notice class to prevent duplicate icons, enhancing the visual clarity of the warning message.
This commit is contained in:
@@ -713,9 +713,10 @@ function get_inline_fs_warnings($disk) {
|
||||
$html .= '<span id="reiserfs" class="warning"><i class="fa fa-exclamation-triangle"></i> ' .
|
||||
htmlspecialchars(_($warning['message'])) . '</span>';
|
||||
} else {
|
||||
// XFS v4 - notice
|
||||
$html .= '<span id="xfsv4" class="notice" style="color:#0066cc;"><i class="fa fa-info-circle"></i> ' .
|
||||
htmlspecialchars(_($warning['message'])) . '</span>';
|
||||
// XFS v4 - notice (without .notice class to avoid duplicate icon)
|
||||
$html .= '<div id="xfsv4" style="color:#0066cc; margin: 5px 0; line-height: 1.5;">' .
|
||||
'<i class="fa fa-info-circle"></i> ' .
|
||||
htmlspecialchars(_($warning['message'])) . '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user