User Management

This commit is contained in:
James Pattinson
2025-10-23 20:23:29 +00:00
parent fb21329109
commit ef273c0c5d
4 changed files with 358 additions and 10 deletions

View File

@@ -254,11 +254,16 @@
// Create PPR item HTML
function createPPRItem(ppr) {
// Display callsign as main item if present, registration below; otherwise show registration
const aircraftDisplay = ppr.ac_call && ppr.ac_call.trim() ?
`${ppr.ac_call}<br><span style="font-size: 0.85em; color: #888; font-style: italic;">${ppr.ac_reg}</span>` :
ppr.ac_reg;
return `
<div class="ppr-item">
<div class="ppr-field">
<strong>Aircraft</strong>
<span>${ppr.ac_reg}</span>
<span>${aircraftDisplay}</span>
</div>
<div class="ppr-field">
<strong>Type</strong>