diff --git a/admin/mmdvmhost/lh.php b/admin/mmdvmhost/lh.php index 882c5c3..539e301 100644 --- a/admin/mmdvmhost/lh.php +++ b/admin/mmdvmhost/lh.php @@ -57,12 +57,12 @@ if ($callsignLookupSvc == "QRZ") { $callsignLookupUrl = "https://www.qrz.com/db/ ?> - +
- - - - + + + + diff --git a/admin/mmdvmhost/localtx.php b/admin/mmdvmhost/localtx.php index ec2dc11..31808fe 100644 --- a/admin/mmdvmhost/localtx.php +++ b/admin/mmdvmhost/localtx.php @@ -29,12 +29,12 @@ if ($callsignLookupSvc == "QRZ") { $callsignLookupUrl = "https://www.qrz.com/db/ ?> -
()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc ()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc Received from source (s)Duration in Seconds Packet Loss
+
- - - - + + + + diff --git a/css/pistar-css-mini.php b/css/pistar-css-mini.php index a24e6b4..d2ba616 100644 --- a/css/pistar-css-mini.php +++ b/css/pistar-css-mini.php @@ -614,11 +614,15 @@ table th { border-bottom: 2px solid var(--accent); } -/* See css/pistar-css.php for why this is scoped to .log-table only. */ +/* See css/pistar-css.php for why there are two variants here. */ table.log-table th { text-align: left; } +th.al { + text-align: left; +} + table tr:nth-child(even) { background: var(--table-even); } diff --git a/css/pistar-css.php b/css/pistar-css.php index 5a9b2da..e3a9a9e 100644 --- a/css/pistar-css.php +++ b/css/pistar-css.php @@ -758,17 +758,29 @@ table th { } /* Log-style tables (Last Heard, Local TX, D-Star activity lists) render - every data cell with align="left"; headers inherit the sitewide + data cells with align="left"; headers inherit the sitewide `table { text-align: center; }` though, so the caption visually drifts away from its column's actual left-aligned content - most noticeable on wide columns like Target. Left-align just these headers rather than changing text-align sitewide, since the vast majority of the dashboard's other tables (config grids, status - tables) intentionally keep centered cells. */ + tables) intentionally keep centered cells. + + Two variants because not every log table is left-aligned in every + column: dstarrepeater's last_herd.php/local_tx.php are align="left" + in every cell, so the whole table gets .log-table. lh.php/localtx.php + mix the two - Time/Mode/Callsign/Target are align="left" but + Source/Duration/Loss/BER have no align attribute (i.e. stay + centered) - so only those specific
()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc ()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc Received from source (s)Duration in Seconds Bit Error Rate get .al instead of the + whole table, or their headers would drift the opposite way. */ table.log-table th { text-align: left; } +th.al { + text-align: left; +} + table tr:nth-child(even) { background: var(--table-even); } diff --git a/mmdvmhost/lh.php b/mmdvmhost/lh.php index 882c5c3..539e301 100644 --- a/mmdvmhost/lh.php +++ b/mmdvmhost/lh.php @@ -57,12 +57,12 @@ if ($callsignLookupSvc == "QRZ") { $callsignLookupUrl = "https://www.qrz.com/db/ ?> - +
- - - - + + + + diff --git a/mmdvmhost/localtx.php b/mmdvmhost/localtx.php index ec2dc11..31808fe 100644 --- a/mmdvmhost/localtx.php +++ b/mmdvmhost/localtx.php @@ -29,12 +29,12 @@ if ($callsignLookupSvc == "QRZ") { $callsignLookupUrl = "https://www.qrz.com/db/ ?> -
()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc ()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc Received from source (s)Duration in Seconds Packet Loss
+
- - - - + + + +
()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc ()Time in time zoneTransmitted ModeCallsignTarget, D-Star Reflector, DMR Talk Group etc Received from source (s)Duration in Seconds Bit Error Rate