diff --git a/emhttp/plugins/dynamix.plugin.manager/Plugins.page b/emhttp/plugins/dynamix.plugin.manager/Plugins.page index a86f501e9..99c85d2c5 100644 --- a/emhttp/plugins/dynamix.plugin.manager/Plugins.page +++ b/emhttp/plugins/dynamix.plugin.manager/Plugins.page @@ -151,7 +151,7 @@ $(function() { $('.tabs').append(""); }); - +
_(Plugin)__(Author)__(Version)__(Status)__(Uninstall)_
diff --git a/emhttp/plugins/dynamix/ArrayDevices.page b/emhttp/plugins/dynamix/ArrayDevices.page index 9931a29d4..a99608ad0 100644 --- a/emhttp/plugins/dynamix/ArrayDevices.page +++ b/emhttp/plugins/dynamix/ArrayDevices.page @@ -70,7 +70,7 @@ $('#tab1').bind({click:function() {$('i.toggle').show('slow');}}); - +
setTimeout(refresh); diff --git a/emhttp/plugins/dynamix/BootDevice.page b/emhttp/plugins/dynamix/BootDevice.page index 2b619ab9e..05d09204e 100644 --- a/emhttp/plugins/dynamix/BootDevice.page +++ b/emhttp/plugins/dynamix/BootDevice.page @@ -20,7 +20,7 @@ $('#tab3').bind({click:function() {$('i.toggle').show('slow');}}); -
_(Device)__(Identification)__(Temp)__(Reads)__(Writes)__(Errors)__(FS)__(Size)__(Used)__(Free)_
+
";?> diff --git a/emhttp/plugins/dynamix/CacheDevices.page b/emhttp/plugins/dynamix/CacheDevices.page index 099e0e6b8..561ce8a95 100644 --- a/emhttp/plugins/dynamix/CacheDevices.page +++ b/emhttp/plugins/dynamix/CacheDevices.page @@ -132,10 +132,10 @@ $('#tab2').bind({click:function() {$('i.toggle').show('slow');}}); +
_(Device)__(Identification)__(Temp)__(Reads)__(Writes)__(Errors)__(FS)__(Size)__(Used)__(Free)_
-
+ +"?> 1) echo ""?> -
_(Device)__(Identification)__(Temp)__(Reads)__(Writes)__(Errors)__(FS)__(Size)__(Used)__(Free)_
+ :cache_devices_help: diff --git a/emhttp/plugins/dynamix/DashStats.page b/emhttp/plugins/dynamix/DashStats.page index 8f36f9d63..478ca1238 100644 --- a/emhttp/plugins/dynamix/DashStats.page +++ b/emhttp/plugins/dynamix/DashStats.page @@ -287,7 +287,7 @@ foreach ($cpus as $pair) { _(RAM usage)__(Percent of total used memory)_ ()
_(Flash device)__(Percent usage of flash usb device)_ ()
_(Log filesystem)__(Percent usage of LOG file system)_ ()
-_(Percent usage of Docker image)_ ()
+ ()
diff --git a/emhttp/plugins/dynamix/DeviceAttributes.page b/emhttp/plugins/dynamix/DeviceAttributes.page index e69875c9d..e66d84764 100644 --- a/emhttp/plugins/dynamix/DeviceAttributes.page +++ b/emhttp/plugins/dynamix/DeviceAttributes.page @@ -22,7 +22,7 @@ $(function() { }); }); - +
#_(Attribute Name)__(Flag)__(Value)__(Worst)__(Threshold)__(Type)__(Updated)__(Failed)__(Raw Value)_
diff --git a/emhttp/plugins/dynamix/DeviceCapabilities.page b/emhttp/plugins/dynamix/DeviceCapabilities.page index 8fbf06e2c..eb1abf90f 100644 --- a/emhttp/plugins/dynamix/DeviceCapabilities.page +++ b/emhttp/plugins/dynamix/DeviceCapabilities.page @@ -22,7 +22,7 @@ $(function() { }); }); -
+
diff --git a/emhttp/plugins/dynamix/DeviceIdentify.page b/emhttp/plugins/dynamix/DeviceIdentify.page index 3374e6422..7e88cb5c9 100644 --- a/emhttp/plugins/dynamix/DeviceIdentify.page +++ b/emhttp/plugins/dynamix/DeviceIdentify.page @@ -26,7 +26,7 @@ $(function() { }); - +
_(Title)__(Information)_
diff --git a/emhttp/plugins/dynamix/DiskList.page b/emhttp/plugins/dynamix/DiskList.page index a6fdadabc..9c4d6ad32 100644 --- a/emhttp/plugins/dynamix/DiskList.page +++ b/emhttp/plugins/dynamix/DiskList.page @@ -15,7 +15,7 @@ Cond="_var($var,'fsState')!='Stopped' && _var($var,'shareDisk')!='no'" * all copies or substantial portions of the Software. */ ?> - +
_(Name)__(Comment)__(SMB)__(NFS)__(Type)__(Size)__(Free)_
diff --git a/emhttp/plugins/dynamix/NotificationsArchive.page b/emhttp/plugins/dynamix/NotificationsArchive.page index 94575b4d7..06cf7fb56 100644 --- a/emhttp/plugins/dynamix/NotificationsArchive.page +++ b/emhttp/plugins/dynamix/NotificationsArchive.page @@ -101,7 +101,7 @@ $(function(){ // Adjust the width of thead cells when window resizes - +
_(Time)__(Event)__(Subject)__(Description)__(Importance)_
diff --git a/emhttp/plugins/dynamix/OpenDevices.page b/emhttp/plugins/dynamix/OpenDevices.page index 46ce02f41..34a36408e 100644 --- a/emhttp/plugins/dynamix/OpenDevices.page +++ b/emhttp/plugins/dynamix/OpenDevices.page @@ -25,7 +25,7 @@ $('').bind({click:function() {$('i.toggle').show('slow');}}); - +
_(Device)__(Identification)__(Temp)__(Reads)__(Writes)__(Errors)__(FS)__(Size)__(Used)__(Free)_
+
_(Protocol)__(Route)__(Gateway)__(Metric)__(Delete)_
diff --git a/emhttp/plugins/dynamix/ShareList.page b/emhttp/plugins/dynamix/ShareList.page index de4970ce5..949d949a5 100644 --- a/emhttp/plugins/dynamix/ShareList.page +++ b/emhttp/plugins/dynamix/ShareList.page @@ -15,7 +15,7 @@ Cond="_var($var,'fsState')!='Stopped' && _var($var,'shareUser')=='e'" * all copies or substantial portions of the Software. */ ?> - +
_(Name)__(Comment)__(SMB)__(NFS)__(Storage)__(Size)__(Free)_
diff --git a/emhttp/plugins/dynamix/SysDrivers.page b/emhttp/plugins/dynamix/SysDrivers.page index 2419f93d5..4bd84e54b 100644 --- a/emhttp/plugins/dynamix/SysDrivers.page +++ b/emhttp/plugins/dynamix/SysDrivers.page @@ -119,5 +119,5 @@ showDrivers("all",true); :sysdrivers_intro_help:
-

+

diff --git a/emhttp/plugins/dynamix/UserEdit.page b/emhttp/plugins/dynamix/UserEdit.page index 4a4f937c2..c48570ab5 100644 --- a/emhttp/plugins/dynamix/UserEdit.page +++ b/emhttp/plugins/dynamix/UserEdit.page @@ -296,7 +296,7 @@ function updateAccess(form,data,n,i) {
"; +echo ""; echo ""; echo ""; foreach ($shares as $share => $data) { diff --git a/emhttp/plugins/dynamix/include/SmartInfo.php b/emhttp/plugins/dynamix/include/SmartInfo.php index 684c57cd6..ad19636a8 100644 --- a/emhttp/plugins/dynamix/include/SmartInfo.php +++ b/emhttp/plugins/dynamix/include/SmartInfo.php @@ -109,7 +109,7 @@ case "attributes": if ($empty) echo ""; break; case "capabilities": - echo '
"._('Share').""._('Security').""._('User Access')."
"._('Attributes not available')."
' ; + echo '' ; exec("smartctl -n standby -c $type ".escapeshellarg("/dev/$port")."|awk 'NR>5'",$output); $row = ['','','']; $empty = true; @@ -120,27 +120,25 @@ case "capabilities": $line = preg_replace('/^_/','__',preg_replace(['/__+/','/_ +_/'],'_',str_replace([chr(9),')','('],'_',$line))); $info = array_map('trim', explode('_', preg_replace('/_( +)_ /','__',$line), 3)); if ($nvme && $info[0]=="Supported Power States" ) { $nvme_section="psheading" ;echo "
'._('Feature').''._('Value').''._('Information').'
{$line}
"; $row = ['','',''] ; continue ;} - if ($nvme && $info[0]=="Supported LBA Sizes" ) { + if ($nvme && $info[0]=="Supported LBA Sizes" ) { echo "
{$info[0]} {$info[1]} {$info[2]}
"; $row = ['','','']; - $nvme_section="lbaheading" ; + $nvme_section="lbaheading" ; continue ; - } + } append($row[0],$info[0]); append($row[1],$info[1]); append($row[2],$info[2]); - if (substr($row[2],-1)=='.' || ($nvme && $nvme_section=="info")) { echo "{$row[0]}{$row[1]}{$row[2]}"; $row = ['','','']; $empty = false; } - if ($nvme && $nvme_section == "psheading") { - echo '' ; + echo '' ; $nvme_section = "psdetail"; preg_match('/^(?P.\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)$/',$line, $psheadings); - for ($i = 1; $i <= 11; $i++) { + for ($i = 1; $i <= 11; $i++) { echo "" ; } $row = ['','','']; @@ -150,17 +148,17 @@ case "capabilities": $nvme_section = "psdetail"; echo '' ; preg_match('/^(?P.\S+)\s+(?P\S\s+)\s+(?P\S+)\s+(?P\S\s+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)$/',$line, $psdetails); - for ($i = 1; $i <= 11; $i++) { + for ($i = 1; $i <= 11; $i++) { echo "" ; } $row = ['','','']; echo '' ; } if ($nvme && $nvme_section == "lbaheading") { - echo '
"._var($psheadings,'data'.$i)."
"._var($psdetails,'data'.$i)."
' ; + echo '' ; $nvme_section = "lbadetail"; preg_match('/^(?P.\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)\s+(?P\S+)$/',$line, $lbaheadings); - for ($i = 1; $i <= 5; $i++) { + for ($i = 1; $i <= 5; $i++) { echo "" ; } $row = ['','','']; @@ -170,7 +168,7 @@ case "capabilities": $nvme_section = "lbadetail"; preg_match('/^(?P.\S+)\s+(?P\S\s+)\s+(?P\S+)\s+(?P\S\s+)\s+(?P\S+)$/',$line, $lbadetails); echo '' ; - for ($i = 1; $i <= 5; $i++) { + for ($i = 1; $i <= 5; $i++) { echo "" ; } $row = ['','','']; @@ -236,7 +234,7 @@ case "update": if ($progress) { if ($transport == 'nvme') echo " "._('self-test in progress').", ".(substr($progress,0,-1))."% "._('complete').""; else echo " "._('self-test in progress').", ".(100-substr($progress,0,-1))."% "._('complete').""; break; - } + } } else { $progress = exec("smartctl -n standby -c $type ".escapeshellarg("/dev/$port")."|grep -Pom1 '\d+%'"); if ($progress) { diff --git a/emhttp/plugins/dynamix/nchan/device_list b/emhttp/plugins/dynamix/nchan/device_list index 624f6018d..0f9e14367 100755 --- a/emhttp/plugins/dynamix/nchan/device_list +++ b/emhttp/plugins/dynamix/nchan/device_list @@ -154,7 +154,7 @@ function fs_info(&$disk) { global $display, $pools; $echo = []; if (empty($disk['fsStatus']) || $disk['fsStatus']=='-') { - return (_var($disk,'type')=='Cache' && !in_array(_var($disk,'name'),$pools)) ? "" : ""; + return (_var($disk,'type')=='Cache' && !in_array(_var($disk,'name'),$pools)) ? "" : ""; } elseif (_var($disk,'fsStatus')=='Mounted') { $echo[] = ""; $echo[] = ""; @@ -219,9 +219,9 @@ function array_offline(&$disk, $pool='') { if ($warning) { $echo[] = ""; } else { - $echo[] = ""; + $echo[] = ""; $echo[] = ""; - $echo[] = ""; + $echo[] = ""; } break; case 'DISK_WRONG': @@ -231,9 +231,9 @@ function array_offline(&$disk, $pool='') { if ($warning) { $echo[] = ""; } else { - $echo[] = ""; + $echo[] = ""; $echo[] = ""; - $echo[] = ""; + $echo[] = ""; } break; } @@ -270,14 +270,14 @@ function array_online(&$disk, $fstype='') { if (in_array(_var($disk,'name'),$pools) || $fstype=='zfs') { $echo[] = ""; $echo[] = ""; - $echo[] = ""; + $echo[] = ""; $echo[] = fs_info($disk); } break; case 'DISK_NP_DSBL': $echo[] = ""; $echo[] = ""; - $echo[] = ""; + $echo[] = ""; $echo[] = fs_info($disk); break; case 'DISK_DSBL': @@ -303,7 +303,7 @@ function show_totals($text,$array,$name) { $help2 = _('Spin Up').' '._(ucfirst(substr($name,0,-1))); $echo = []; $echo[] = ""; - $echo[] = ""; + $echo[] = ""; $echo[] = ""; $echo[] = ""; $echo[] = ""; @@ -325,7 +325,7 @@ function show_totals($text,$array,$name) { $echo[] = ""; } } else { - $echo[] = ""; + $echo[] = ""; } $echo[] = ""; return implode($echo); @@ -493,7 +493,7 @@ while (true) { $sum = initSum(); } } - $n++; + $n++; } $echo[$n] = "open_devices\n"; diff --git a/emhttp/plugins/dynamix/sheets/CacheDevices.css b/emhttp/plugins/dynamix/sheets/CacheDevices.css index f8b6b084d..108cd1537 100644 --- a/emhttp/plugins/dynamix/sheets/CacheDevices.css +++ b/emhttp/plugins/dynamix/sheets/CacheDevices.css @@ -1,2 +1,2 @@ -table.divider{margin-top:20px} +td.divider{line-height:16px;height:16px} div.template{display:none} diff --git a/emhttp/plugins/dynamix/sheets/DiskList.css b/emhttp/plugins/dynamix/sheets/DiskList.css index ff1a48f90..23e50dcf4 100644 --- a/emhttp/plugins/dynamix/sheets/DiskList.css +++ b/emhttp/plugins/dynamix/sheets/DiskList.css @@ -1,2 +1 @@ -table.share_status thead tr td:first-child{width:15%} -table.share_status thead tr td:nth-child(n+3){width:10%} +td.empty{text-align:center;padding-top:12px} diff --git a/emhttp/plugins/dynamix/sheets/ShareList.css b/emhttp/plugins/dynamix/sheets/ShareList.css index 2fe2a4b43..4be17411d 100644 --- a/emhttp/plugins/dynamix/sheets/ShareList.css +++ b/emhttp/plugins/dynamix/sheets/ShareList.css @@ -1,5 +1,2 @@ -table.share_status thead tr td:first-child{width:15%} -table.share_status thead tr td:nth-child(n+3){width:9%!important} -table.share_status thead tr td:nth-child(5){width:13%!important} td.empty{text-align:center;padding-top:12px} i.fa-fw{margin-right:2px} diff --git a/emhttp/plugins/dynamix/sheets/UserEdit.css b/emhttp/plugins/dynamix/sheets/UserEdit.css index 3c82b6cd2..57aa03daf 100644 --- a/emhttp/plugins/dynamix/sheets/UserEdit.css +++ b/emhttp/plugins/dynamix/sheets/UserEdit.css @@ -1,3 +1,3 @@ i.top{position:absolute;padding-top:4px;cursor:pointer} i#showPass.checked{opacity:0.5} -.usage-disk.sys{display:inline-block;width:10rem;top:rem;margin-left:12px;border-radius:4px} +table.unraid{margin-top:20px} diff --git a/emhttp/plugins/dynamix/styles/default-azure.css b/emhttp/plugins/dynamix/styles/default-azure.css index af02963a0..a7228840f 100644 --- a/emhttp/plugins/dynamix/styles/default-azure.css +++ b/emhttp/plugins/dynamix/styles/default-azure.css @@ -117,33 +117,31 @@ table{border-collapse:collapse;border-spacing:0;border-style:hidden;margin:0;wid table thead td{line-height:3rem;height:3rem;white-space:nowrap} table tbody td{line-height:3rem;height:3rem;white-space:nowrap} table tbody tr.tr_last{border-bottom:1px solid #606e7f} -table.disk_status thead tr:first-child>td{text-transform:uppercase;color:#9794a0;border-bottom:1px solid #606e7f} -table.disk_status tr>td:nth-child(1){min-width:170px;max-width:170px;width:170px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.disk_status tr>td:nth-child(2){min-width:390px;max-width:390px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr.offline>td:nth-child(2){min-width:490px;max-width:490px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr>td:nth-child(3){text-align:center} -table.disk_status tr>td:nth-child(n+1):hover{overflow:visible} -table.disk_status tr>td:nth-child(n+3){min-width:7.5%;max-width:7.5%;width:7.5%} -table.disk_status tr>td:nth-child(n+4){text-align:right;padding-right:8px} +table.unraid thead tr:first-child>td{font-size:1.2rem;text-transform:uppercase;letter-spacing:1px;color:#9794a0;border-bottom:1px solid #606e7f} +table.unraid tbody tr:not(.tr_last):hover>td{background-color:rgba(0,0,0,0.05)} +table.unraid tr>td{overflow:hidden;text-overflow:ellipsis;padding-left:8px} +table.unraid tr>td:hover{overflow:visible} +table.disk_status{table-layout:fixed} +table.disk_status tr>td:last-child{padding-right:8px} +table.disk_status tr>td:nth-child(n+4){width:7%;text-align:right} +table.disk_status tr>td:nth-child(1){width:13%} +table.disk_status tr>td:nth-child(2){width:30%} +table.disk_status tr>td:nth-child(3){width:8%;text-align:center} +table.disk_status tr.offline>td:nth-child(2){width:43%} +table.disk_status tr.offline>td:nth-child(n+3){width:5.5%} table.disk_status tbody tr{border-bottom:1px solid #f3f0f4} -table.disk_status tbody tr:not(.tr_last):hover>td{background-color:rgba(0,0,0,0.05)} -table.array_status tr>td:nth-child(1){width:30%;padding-left:8px} +table.array_status{table-layout:fixed} +table.array_status tr>td{padding-left:8px} +table.array_status tr>td:nth-child(1){width:30%} table.array_status tr>td:nth-child(2){width:20%} +table.array_status.noshift{margin-top:0} table.array_status td.line{border-top:1px solid #f3f0f4} -table.share_status{margin-top:12px} -table.share_status thead tr:first-child>td{font-size:1.2rem;letter-spacing:1px;text-transform:uppercase;color:#9794a0;border-bottom:1px solid #606e7f} -table.share_status tr>td:nth-child(1){min-width:200px;max-width:200px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.share_status tr>td:nth-child(2){min-width:400px;max-width:400px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(5){min-width:100px;max-width:100px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(n+1):hover{overflow:visible} -table.share_status tbody tr{border-bottom:1px solid #f3f0f4} -table.share_status tbody tr:hover>td{background-color:rgba(0,0,0,0.05)} -table.share_status tbody tr:last-child>td{border-bottom:1px solid #606e7f} -table.share_status tbody tr.alert{color:#f0000c} -table.share_status tbody tr.warn{color:#e68a00} -table.share_status.fixed tr>td:nth-child(n+2){min-width:39px;font-size:1.1rem;text-align:center;padding:0} -table.share_status.table{margin-top:36px} -table.share_status.table tr>td{width:50%} +table.share_status{table-layout:fixed;margin-top:12px} +table.share_status tr>td{padding-left:8px} +table.share_status tr>td:nth-child(1){width:15%} +table.share_status tr>td:nth-child(2){width:30%} +table.share_status tr>td:nth-child(n+3){width:10%} +table.share_status tr>td:nth-child(5){width:15%} table.dashboard{margin:0;border:none;background-color:#d7dbdd} table.dashboard tbody{border:1px solid #cacfd2} table.dashboard tr:first-child>td{height:3.6rem;padding-top:12px;font-size:1.6rem;font-weight:bold;letter-spacing:1.8px;text-transform:none;vertical-align:top} diff --git a/emhttp/plugins/dynamix/styles/default-black.css b/emhttp/plugins/dynamix/styles/default-black.css index 5004b8bf0..8124b7956 100644 --- a/emhttp/plugins/dynamix/styles/default-black.css +++ b/emhttp/plugins/dynamix/styles/default-black.css @@ -111,38 +111,38 @@ div.title.shift{margin-top:-30px} table{border-collapse:collapse;border-spacing:0;border-style:hidden;margin:-30px 0 0 0;width:100%;background-color:#191818} table thead td{line-height:2.8rem;height:2.8rem;white-space:nowrap} table tbody td{line-height:2.6rem;height:2.6rem;white-space:nowrap} -table tbody tr.tr_last{line-height:3rem;height:3rem;background-color:#212121;border-top:1px solid #2b2b2b} -table td.cpu-info{border:1px solid #2b2b2b} -table.disk_status thead tr:first-child>td{font-size:1.1rem;text-transform:uppercase;letter-spacing:1px;background-color:#262626} -table.disk_status thead tr:last-child{border-bottom:1px solid #2b2b2b} -table.disk_status tr>td:nth-child(1){min-width:180px;max-width:180px;width:180px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.disk_status tr>td:nth-child(2){min-width:400px;max-width:400px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr.offline>td:nth-child(2){min-width:490px;max-width:490px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr>td:nth-child(3){text-align:center} -table.disk_status tr>td:nth-child(n+1):hover{overflow:visible} -table.disk_status tr>td:nth-child(n+3){min-width:7.5%;max-width:7.5%;width:7.5%} -table.disk_status tr>td:nth-child(n+4){text-align:right;padding-right:8px} -table.disk_status tbody tr:nth-child(even){background-color:#212121} -table.disk_status tbody tr:not(.tr_last):hover>td{background-color:rgba(255,255,255,0.1)} -table.array_status tr>td:nth-child(1){width:30%;padding-left:8px} +table tbody tr.alert{color:#f0000c} +table tbody tr.warn{color:#e68a00} +table.unraid thead tr:first-child>td{font-size:1.1rem;text-transform:uppercase;letter-spacing:1px;background-color:#262626} +table.unraid thead tr:last-child{border-bottom:1px solid #2b2b2b} +table.unraid tbody tr:nth-child(even){background-color:#212121} +table.unraid tbody tr:not(.tr_last):hover>td{background-color:rgba(255,255,255,0.1)} +table.unraid tr>td{overflow:hidden;text-overflow:ellipsis;padding-left:8px} +table.unraid tr>td:hover{overflow:visible} +table.disk_status{table-layout:fixed} +table.disk_status tr>td:last-child{padding-right:8px} +table.disk_status tr>td:nth-child(n+4){width:7%;text-align:right} +table.disk_status tr>td:nth-child(1){width:13%} +table.disk_status tr>td:nth-child(2){width:30%} +table.disk_status tr>td:nth-child(3){width:8%;text-align:center} +table.disk_status tr.offline>td:nth-child(2){width:43%} +table.disk_status tr.offline>td:nth-child(n+3){width:5.5%} +table.disk_status tbody tr.tr_last{line-height:3rem;height:3rem;background-color:#212121;border-top:1px solid #2b2b2b} +table.array_status{table-layout:fixed} +table.array_status tr>td{padding-left:8px} +table.array_status tr>td:nth-child(1){width:30%} table.array_status tr>td:nth-child(2){width:20%} -table.array_status td.line{border-top:1px solid #2b2b2b} table.array_status.noshift{margin-top:0} -table.share_status thead tr:first-child>td{font-size:1.1rem;text-transform:uppercase;letter-spacing:1px;background-color:#262626} -table.share_status tr>td:nth-child(1){min-width:200px;max-width:200px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.share_status tr>td:nth-child(2){min-width:400px;max-width:400px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(5){min-width:100px;max-width:100px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(n+1):hover{overflow:visible} -table.share_status tbody tr:nth-child(even){background-color:#212121} -table.share_status tbody tr:hover>td{background-color:rgba(255,255,255,0.1)} -table.share_status tbody tr.alert{color:#f0000c} -table.share_status tbody tr.warn{color:#e68a00} -table.share_status.fixed tr>td:nth-child(n+2){min-width:39px;font-size:1.1rem;text-align:center;padding:0} -table.share_status.table{margin-top:36px} -table.share_status.table tr>td{width:50%} +table.array_status td.line{border-top:1px solid #2b2b2b} +table.share_status{table-layout:fixed} +table.share_status tr>td{padding-left:8px} +table.share_status tr>td:nth-child(1){width:15%} +table.share_status tr>td:nth-child(2){width:30%} +table.share_status tr>td:nth-child(n+3){width:10%} +table.share_status tr>td:nth-child(5){width:15%} table.dashboard{margin:0;border:none;background-color:#262626} table.dashboard tbody{border:1px solid #333333} -table.dashboard tbody td{line-height:normal;height:auto;padding:5px 10px} +table.dashboard tbody td{line-height:normal;height:auto;padding:3px 10px} table.dashboard tr:first-child>td{height:3.6rem;padding-top:12px;font-size:1.6rem;font-weight:bold;letter-spacing:1.8px;text-transform:none;vertical-align:top} table.dashboard tr:nth-child(even){background-color:transparent} table.dashboard tr:last-child>td{padding-bottom:20px} @@ -158,7 +158,6 @@ table.dashboard td span.info.title{font-weight:bold} table.dashboard td span.load{display:inline-block;width:38px;text-align:right} table.dashboard td span.finish{float:right;margin-right:24px} table.dashboard i.control{float:right;font-size:1.4rem!important;margin:0 3px 0 0;cursor:pointer;color:#262626;background-color:rgba(255,255,255,0.3);padding:2px;border-radius:5px} -.dashboard-sortable{background-color:#1c1b1b} [name=arrayOps]{margin-top:12px} span.error{color:#f0000c;background-color:#ff9e9e;display:block;width:100%} span.warn{color:#e68a00;background-color:#feefb3;display:block;width:100%} diff --git a/emhttp/plugins/dynamix/styles/default-gray.css b/emhttp/plugins/dynamix/styles/default-gray.css index 0f9f79796..8ad224e3e 100644 --- a/emhttp/plugins/dynamix/styles/default-gray.css +++ b/emhttp/plugins/dynamix/styles/default-gray.css @@ -117,33 +117,31 @@ table{border-collapse:collapse;border-spacing:0;border-style:hidden;margin:0;wid table thead td{line-height:3rem;height:3rem;white-space:nowrap} table tbody td{line-height:3rem;height:3rem;white-space:nowrap} table tbody tr.tr_last{border-bottom:1px solid #606e7f} -table.disk_status thead tr:first-child>td{text-transform:uppercase;color:#82857e;border-bottom:1px solid #606e7f} -table.disk_status tr>td:nth-child(1){min-width:170px;max-width:170px;width:170px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.disk_status tr>td:nth-child(2){min-width:390px;max-width:390px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr.offline>td:nth-child(2){min-width:490px;max-width:490px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr>td:nth-child(3){text-align:center} -table.disk_status tr>td:nth-child(n+1):hover{overflow:visible} -table.disk_status tr>td:nth-child(n+3){min-width:7.5%;max-width:7.5%;width:7.5%} -table.disk_status tr>td:nth-child(n+4){text-align:right;padding-right:8px} +table.unraid thead tr:first-child>td{font-size:1.2rem;text-transform:uppercase;letter-spacing:1px;color:#82857e;border-bottom:1px solid #606e7f} +table.unraid tbody tr:not(.tr_last):hover>td{background-color:rgba(255,255,255,0.05)} +table.unraid tr>td{overflow:hidden;text-overflow:ellipsis;padding-left:8px} +table.unraid tr>td:hover{overflow:visible} +table.disk_status{table-layout:fixed} +table.disk_status tr>td:last-child{padding-right:8px} +table.disk_status tr>td:nth-child(n+4){width:7%;text-align:right} +table.disk_status tr>td:nth-child(1){width:13%} +table.disk_status tr>td:nth-child(2){width:30%} +table.disk_status tr>td:nth-child(3){width:8%;text-align:center} +table.disk_status tr.offline>td:nth-child(2){width:43%} +table.disk_status tr.offline>td:nth-child(n+3){width:5.5%} table.disk_status tbody tr{border-bottom:1px solid #0c0f0b} -table.disk_status tbody tr:not(.tr_last):hover>td{background-color:rgba(255,255,255,0.05)} -table.array_status tr>td:nth-child(1){width:30%;padding-left:8px} +table.array_status{table-layout:fixed} +table.array_status tr>td{padding-left:8px} +table.array_status tr>td:nth-child(1){width:30%} table.array_status tr>td:nth-child(2){width:20%} +table.array_status.noshift{margin-top:0} table.array_status td.line{border-top:1px solid #0c0f0b} -table.share_status{margin-top:12px} -table.share_status thead tr:first-child>td{font-size:1.2rem;letter-spacing:1px;text-transform:uppercase;color:#82857e;border-bottom:1px solid #606e7f} -table.share_status tr>td:nth-child(1){min-width:200px;max-width:200px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.share_status tr>td:nth-child(2){min-width:400px;max-width:400px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(5){min-width:100px;max-width:100px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(n+1):hover{overflow:visible} -table.share_status tbody tr{border-bottom:1px solid #0c0f0b} -table.share_status tbody tr:hover>td{background-color:rgba(255,255,255,0.05)} -table.share_status tbody tr:last-child>td{border-bottom:1px solid #606e7f} -table.share_status tbody tr.alert{color:#f0000c} -table.share_status tbody tr.warn{color:#e68a00} -table.share_status.fixed tr>td:nth-child(n+2){min-width:39px;font-size:1.1rem;text-align:center;padding:0} -table.share_status.table{margin-top:36px} -table.share_status.table tr>td{width:50%} +table.share_status{table-layout:fixed;margin-top:12px} +table.share_status tr>td{padding-left:8px} +table.share_status tr>td:nth-child(1){width:15%} +table.share_status tr>td:nth-child(2){width:30%} +table.share_status tr>td:nth-child(n+3){width:10%} +table.share_status tr>td:nth-child(5){width:15%} table.dashboard{margin:0;border:none;background-color:#212f3d} table.dashboard tbody{border:1px solid #566573} table.dashboard tr:first-child>td{height:3.6rem;padding-top:12px;font-size:1.6rem;font-weight:bold;letter-spacing:1.8px;text-transform:none;vertical-align:top} diff --git a/emhttp/plugins/dynamix/styles/default-white.css b/emhttp/plugins/dynamix/styles/default-white.css index f49df0ef1..95a235347 100644 --- a/emhttp/plugins/dynamix/styles/default-white.css +++ b/emhttp/plugins/dynamix/styles/default-white.css @@ -111,38 +111,38 @@ div.title.shift{margin-top:-30px} table{border-collapse:collapse;border-spacing:0;border-style:hidden;margin:-30px 0 0 0;width:100%;background-color:#f5f5f5} table thead td{line-height:2.8rem;height:2.8rem;white-space:nowrap} table tbody td{line-height:2.6rem;height:2.6rem;white-space:nowrap} -table tbody tr.tr_last{line-height:3rem;height:3rem;background-color:#ededed;border-top:1px solid #e3e3e3} -table td.cpu-info{border:1px solid #e3e3e3} -table.disk_status thead tr:first-child>td{font-size:1.1rem;text-transform:uppercase;letter-spacing:1px;background-color:#e8e8e8} -table.disk_status thead tr:last-child{border-bottom:1px solid #e3e3e3} -table.disk_status tr>td:nth-child(1){min-width:180px;max-width:180px;width:180px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.disk_status tr>td:nth-child(2){min-width:400px;max-width:400px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr.offline>td:nth-child(2){min-width:490px;max-width:490px;overflow:hidden;text-overflow:ellipsis} -table.disk_status tr>td:nth-child(3){text-align:center} -table.disk_status tr>td:nth-child(n+1):hover{overflow:visible} -table.disk_status tr>td:nth-child(n+3){min-width:7.5%;max-width:7.5%;width:7.5%} -table.disk_status tr>td:nth-child(n+4){text-align:right;padding-right:8px} -table.disk_status tbody tr:nth-child(even){background-color:#ededed} -table.disk_status tbody tr:not(.tr_last):hover>td{background-color:rgba(0,0,0,0.1)} -table.array_status tr>td:nth-child(1){width:30%;padding-left:8px} +table tbody tr.alert{color:#f0000c} +table tbody tr.warn{color:#e68a00} +table.unraid thead tr:first-child>td{font-size:1.1rem;text-transform:uppercase;letter-spacing:1px;background-color:#e8e8e8} +table.unraid thead tr:last-child{border-bottom:1px solid #e3e3e3} +table.unraid tbody tr:nth-child(even){background-color:#ededed} +table.unraid tbody tr:not(.tr_last):hover>td{background-color:rgba(0,0,0,0.1)} +table.unraid tr>td{overflow:hidden;text-overflow:ellipsis;padding-left:8px} +table.unraid tr>td:hover{overflow:visible} +table.disk_status{table-layout:fixed} +table.disk_status tr>td:last-child{padding-right:8px} +table.disk_status tr>td:nth-child(n+4){width:7%;text-align:right} +table.disk_status tr>td:nth-child(1){width:13%} +table.disk_status tr>td:nth-child(2){width:30%} +table.disk_status tr>td:nth-child(3){width:8%;text-align:center} +table.disk_status tr.offline>td:nth-child(2){width:43%} +table.disk_status tr.offline>td:nth-child(n+3){width:5.5%} +table.disk_status tbody tr.tr_last{line-height:3rem;height:3rem;background-color:#ededed;border-top:1px solid #e3e3e3} +table.array_status{table-layout:fixed} +table.array_status tr>td{padding-left:8px} +table.array_status tr>td:nth-child(1){width:30%} table.array_status tr>td:nth-child(2){width:20%} -table.array_status td.line{border-top:1px solid #e3e3e3} table.array_status.noshift{margin-top:0} -table.share_status thead tr:first-child>td{font-size:1.1rem;text-transform:uppercase;letter-spacing:1px;background-color:#e8e8e8} -table.share_status tr>td:nth-child(1){min-width:200px;max-width:200px;overflow:hidden;text-overflow:ellipsis;padding-left:8px} -table.share_status tr>td:nth-child(2){min-width:400px;max-width:400px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(5){min-width:100px;max-width:100px;overflow:hidden;text-overflow:ellipsis} -table.share_status tr>td:nth-child(n+1):hover{overflow:visible} -table.share_status tbody tr:nth-child(even){background-color:#ededed} -table.share_status tbody tr:hover>td{background-color:rgba(0,0,0,0.1)} -table.share_status tbody tr.alert{color:#f0000c} -table.share_status tbody tr.warn{color:#e68a00} -table.share_status.fixed tr>td:nth-child(n+2){min-width:39px;font-size:1.1rem;text-align:center;padding:0} -table.share_status.table{margin-top:36px} -table.share_status.table tr>td{width:50%} +table.array_status td.line{border-top:1px solid #e3e3e3} +table.share_status{table-layout:fixed} +table.share_status tr>td{padding-left:8px} +table.share_status tr>td:nth-child(1){width:15%} +table.share_status tr>td:nth-child(2){width:30%} +table.share_status tr>td:nth-child(n+3){width:10%} +table.share_status tr>td:nth-child(5){width:15%} table.dashboard{margin:0;border:none;background-color:#f7f9f9} table.dashboard tbody{border:1px solid #dfdfdf} -table.dashboard tbody td{line-height:normal;height:auto;padding:5px 10px} +table.dashboard tbody td{line-height:normal;height:auto;padding:3px 10px} table.dashboard tr:first-child>td{height:3.6rem;padding-top:12px;font-size:1.6rem;font-weight:bold;letter-spacing:1.8px;text-transform:none;vertical-align:top} table.dashboard tr:nth-child(even){background-color:transparent} table.dashboard tr:last-child>td{padding-bottom:20px} @@ -158,7 +158,6 @@ table.dashboard td span.info.title{font-weight:bold} table.dashboard td span.load{display:inline-block;width:38px;text-align:right} table.dashboard td span.finish{float:right;margin-right:24px} table.dashboard i.control{float:right;font-size:1.4rem!important;margin:0 3px 0 0;cursor:pointer;color:#f7f9f9;background-color:rgba(0,0,0,0.3);padding:2px;border-radius:5px} -.dashboard-sortable{background-color:#f2f2f2} [name=arrayOps]{margin-top:12px} span.error{color:#f0000c;background-color:#ff9e9e;display:block;width:100%} span.warn{color:#e68a00;background-color:#feefb3;display:block;width:100%}
"._var($lbaheadings,'data'.$i)."
"._var($lbadetails,'data'.$i).""._('Device is part of a pool').""._('Device is part of a pool')."".vfs_info(_var($disk,'fsType'))."".my_scale(_var($disk,'fsSize',0)*1024,$unit,-1)." $unit$warning".vfs_type(_var($disk,'fsType'))."$warning".vfs_type(_var($disk,'fsType'))."".device_info($disk,true)."".($fstype=='zfs' ? _('Not present') : _('Not installed'))."".device_info($disk,true).""._('Not installed')."
$help1$help2$help1$help2$text".($sum['count']>0 ? my_temp(round($sum['temp']/$sum['count'],1)) : '*').my_power($sum['power'])."".my_diskio($sum['ioReads'])."".my_number($sum['numReads'])."
".my_scale($sum['fsFree']*1024,$unit)." $unit