mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Introduces user-facing JSON+ZIP export and import for stations, logbooks, and QSOs, including preview and progress views. Updates backup controller to allow all authenticated operators (level 2+) and replaces legacy backup card with new workflow in the UI. Adds new views for import preview and progress, supporting selective import and conflict handling.
21 lines
No EOL
791 B
PHP
21 lines
No EOL
791 B
PHP
<div class="alert alert-info mb-0">
|
|
<strong>Import Progress</strong>
|
|
<ul class="mb-2">
|
|
<li>Stations imported: <?php echo $stations; ?> / <?php echo $total_stations; ?></li>
|
|
<li>Logbooks imported: <?php echo $logbooks; ?> / <?php echo $total_logbooks; ?></li>
|
|
<li>QSOs imported: <?php echo $qsos; ?> / <?php echo $total_qsos; ?></li>
|
|
</ul>
|
|
<?php if (!empty($step)): ?>
|
|
<div>Current step: <?php echo htmlspecialchars($step); ?></div>
|
|
<?php endif; ?>
|
|
<?php if (!empty($conflicts)): ?>
|
|
<div class="mt-2">
|
|
<strong>Conflicts / Notices:</strong>
|
|
<ul class="mb-0">
|
|
<?php foreach ($conflicts as $conflict): ?>
|
|
<li><?php echo htmlspecialchars($conflict); ?></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|