Change icon in share-list and disk-list which is partially encrypted

This commit is contained in:
bergware
2017-09-02 09:33:21 +02:00
parent c25b006b48
commit d3c7dde801
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 orange-text fa fa-unlock-alt' title='Some files in share unencrypted'></i>"; break;
case 2: $luks = "<i class='padlock orange-text fa fa-lock' title='Some files in share unencrypted'></i>"; break;
default: $luks = ""; break;
}
echo "<tr>";
+1 -1
View File
@@ -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 orange-text fa fa-unlock-alt' title='Some files in share unencrypted'></i>"; break;
case 2: $luks = "<i class='padlock orange-text fa fa-lock' title='Some files in share unencrypted'></i>"; break;
default: $luks = ""; break;
}
echo "<tr>";