mirror of
https://github.com/unraid/webgui.git
synced 2026-05-21 13:49:32 -05:00
Bug fixes
This commit is contained in:
@@ -111,6 +111,7 @@ function device_desc(&$disk) {
|
||||
case 'Parity': $type = $disk['rotational'] ? 'disk' : 'nvme'; break;
|
||||
case 'Data' :
|
||||
case 'Cache' : $type = $disk['rotational'] ? ($disk['luksState'] ? 'disk-encrypted' : 'disk') : 'nvme'; break;
|
||||
default : $type = 'disk'; break;
|
||||
}
|
||||
$log = $var['fsState']=='Started' ? "<a class='info hand' onclick=\"openBox('/webGui/scripts/disk_log&arg1={$disk['device']}','"._('Disk Log Information')."',600,900,false);return false\"><i class=\"icon-$type icon\"></i><span>"._('Disk Log Information')."</span></a>" : "";
|
||||
return $log."<span style='font-family:bitstream'>".my_id($disk['id'])."</span> - $size $unit ({$disk['device']})";
|
||||
|
||||
@@ -26,7 +26,7 @@ function input_secure_users($sec) {
|
||||
else
|
||||
$userAccess = "read-only";
|
||||
echo "<tr><td>{$user['name']}</td>";
|
||||
echo "<td><select name='userAccess.$idx'";
|
||||
echo "<td><select name='userAccess.$idx'>";
|
||||
echo mk_option($userAccess, "read-write", _("Read/Write"));
|
||||
echo mk_option($userAccess, "read-only", _("Read-only"));
|
||||
echo "</select></td></tr>";
|
||||
|
||||
Reference in New Issue
Block a user