mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
Changed color of unlock icon when not all files encrypted in share
This commit is contained in:
@@ -74,7 +74,7 @@ foreach ($disks as $name => $disk) {
|
||||
switch ($disk['luksState']) {
|
||||
case 0: $luks = ""; break;
|
||||
case 1: $luks = "<i class='padlock green-text fa fa-lock' title='All files in share encrypted'></i>"; break;
|
||||
case 2: $luks = "<i class='padlock red-text fa fa-unlock-alt' title='Some files in share unencrypted'></i>"; break;
|
||||
case 2: $luks = "<i class='padlock orange-text fa fa-unlock-alt' title='Some files in share unencrypted'></i>"; break;
|
||||
default: $luks = ""; break;
|
||||
}
|
||||
echo "<tr>";
|
||||
|
||||
@@ -78,7 +78,7 @@ foreach ($shares as $name => $share) {
|
||||
switch ($share['luksStatus']) {
|
||||
case 0: $luks = ""; break;
|
||||
case 1: $luks = "<i class='padlock green-text fa fa-lock' title='All files in share encrypted'></i>"; break;
|
||||
case 2: $luks = "<i class='padlock red-text fa fa-unlock-alt' title='Some files in share unencrypted'></i>"; break;
|
||||
case 2: $luks = "<i class='padlock orange-text fa fa-unlock-alt' title='Some files in share unencrypted'></i>"; break;
|
||||
default: $luks = ""; break;
|
||||
}
|
||||
echo "<tr>";
|
||||
|
||||
Reference in New Issue
Block a user