mirror of
https://github.com/unraid/webgui.git
synced 2026-03-10 04:49:14 -05:00
Restore latest version of DeviceList.php
For some reason the older version got included in the latest pull, restored.
This commit is contained in:
@@ -74,7 +74,7 @@ function device_desc(&$disk) {
|
||||
function assignment(&$disk) {
|
||||
global $var, $devs;
|
||||
$out = "<form method='POST' name=\"{$disk['name']}Form\" action='/update.htm' target='progressFrame'><input type='hidden' name='changeDevice' value='Apply'>";
|
||||
$out .= "<select style=\"min-width:400px;max-width:400px\" name=\"slotId.{$disk['idx']}\" onChange=\"{$disk['name']}Form.submit()\">";
|
||||
$out .= "<select class=\"slot\" name=\"slotId.{$disk['idx']}\" onChange=\"{$disk['name']}Form.submit()\">";
|
||||
$empty = ($disk['idSb']!='' ? 'no device' : 'unassigned');
|
||||
if ($disk['id']!='') {
|
||||
$out .= "<option value=\"{$disk['id']}\" selected>".device_desc($disk)."</option>";
|
||||
|
||||
Reference in New Issue
Block a user