Added changed files

This commit is contained in:
Andreas Kristiansen
2025-12-13 13:56:21 +01:00
parent dc9a7ad95e
commit 3d0949cbdc
2 changed files with 42 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ function check_missing_distance($result) { ?>
<?= __("Update will only set the distance for QSOs where the distance is empty."); ?>
<br/>
<button type="button" class="mt-2 btn btn-sm btn-primary ld-ext-right" id="updateDistancesBtn" onclick="runUpdateDistancesFix('')">
<?= __("Run fix") ?><div class="ld ld-ring ld-spin"></div>
<?= __("Update now") ?><div class="ld ld-ring ld-spin"></div>
</button>
<?php }

View File

@@ -0,0 +1,41 @@
<div class="container-fluid">
<?php if (!empty($qsos) && count($qsos) > 0): ?>
<div class="table-responsive" style="max-height:50vh; overflow:auto;">
<p class="text-muted">
Found <?php echo count($qsos); ?> QSO(s) missing DXCC information.
</p>
<table class="table table-sm table-striped table-hover">
<thead>
<tr>
<th>Call</th>
<th>Date/Time</th>
<th>Mode</th>
<th>Band</th>
<th>State</th>
<th>Gridsquare</th>
<th>DXCC</th>
<th>Station</th>
</tr>
</thead>
<tbody>
<?php foreach ($qsos as $qso): ?>
<tr>
<td><?php echo '<a id="edit_qso" href="javascript:displayQso(' . $qso->col_primary_key . ')">' . htmlspecialchars($qso->col_call) . '</a>'; ?></td>
<td><?php echo date('Y-m-d H:i', strtotime($qso->col_time_on)); ?></td>
<td><?php echo $qso->col_mode; ?></td>
<td><?php echo $qso->col_band; ?></td>
<td><?php echo $qso->col_state; ?></td>
<td><?php echo $qso->col_gridsquare; ?></td>
<td><?php echo $qso->dxcc_name; ?></td>
<td><?php echo $qso->station_profile_name; ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php else: ?>
<div class="alert alert-success">
<h4>No Issues Found</h4>
</div>
<?php endif; ?>
</div>