SysDrivers: improved styling

This commit is contained in:
bergware
2023-10-27 14:09:02 +02:00
parent 28567ed365
commit a29d3220f0
2 changed files with 10 additions and 9 deletions
@@ -44,7 +44,7 @@ case 't1load':
$arrModules = json_decode($list,TRUE);
$init = false;
if (is_file($sysdrvinit)) $init = file_get_contents($sysdrvinit);
$html = "<thead><tr><th><b>"._("Driver")."</th><th><b>"._("Description")."</th><th data-value='System|Inuse|Custom|Disabled|\"Kernel - Inuse\"'><b>"._("State")."</th><th><b>"._("Type")."</th><th><b>"._("Modprobe.d config file")."</th></tr></thead>";
$html = "<thead><tr><th>"._('Driver')."</th><th>"._('Description')."</th><th data-value='System|Inuse|Custom|Disabled|\"Kernel - Inuse\"'>"._('State')."</th><th>"._('Type')."</th><th>"._('Modprobe.d config file')."</th></tr></thead>";
$html .= "<tbody>";
ksort($arrModules);
foreach($arrModules as $modname => $module) {
+9 -8
View File
@@ -1,11 +1,12 @@
table.t1{margin-top:0; border-collapse: collapse; border-spacing: 0;}
table.t1 tr td{padding:4px 20px 4px 0!important;margin:0!important;text-align:left!important;white-space:normal!important}
table.t1 tr td:nth-child(1){width:7%}
table.t1 tr td:nth-child(2){width:33%}
table.t1 tr td:nth-child(3){width:15%}
table.t1 tr td:nth-child(4){width:20%}
table.t1 tr td:nth-child(5){width:25%;padding-right:0!important}
.t1.tablesorter .filtered{display:none}
table#t1{margin-top:0; border-collapse: collapse; border-spacing: 0;}
table#t1 thead tr th{font-weight:bold}
table#t1 tbody tr td{padding:4px 20px 4px 0;margin:0;text-align:left;white-space:normal}
table#t1 tbody tr td:nth-child(1){width:7%}
table#t1 tbody tr td:nth-child(2){width:33%}
table#t1 tbody tr td:nth-child(3){width:15%}
table#t1 tbody tr td:nth-child(4){width:20%}
table#t1 tbody tr td:nth-child(5){width:25%;padding-right:0}
table.t1.tablesorter .filtered{display:none}
textarea[id^=text]{width:90%;margin:0!important;padding:0!important;float:right}
span[id^=save]{margin:0!important;padding:0!important}
span.pin{display:inline-block;float:left}