fix(dashcam): proper mobile row reflow + import status at top with ETA
- yaris.css: use .dash-row class on all rows; only td:first-child and .dash-actions-td visible on mobile (<576px); buttons never overflow - dash.js: add dash-row class + dash-actions-td wrapper div to dashcam file rows; import status moved to card footer at top with spinner + ETA - local-videos.js: add dash-row class to video rows - dash.html: import status bar (spinner + ETA + result) in device card at top; removed old footer import status from files card Co-authored-by: Copilot <[email protected]>
This commit is contained in:
+8
-4
@@ -18,6 +18,14 @@
|
||||
<i class="fas fa-download me-1"></i>Import all
|
||||
</button>
|
||||
</div>
|
||||
<div id="dash-import-status-bar" class="card-footer py-2 d-flex align-items-center gap-2" hidden>
|
||||
<div class="spinner-border spinner-border-sm text-primary" role="status"></div>
|
||||
<span id="dash-import-status" class="small text-muted flex-grow-1">Importing…</span>
|
||||
<span id="dash-import-eta" class="small text-muted text-nowrap"></span>
|
||||
</div>
|
||||
<div id="dash-import-result-bar" class="card-footer py-2 small text-muted" hidden>
|
||||
<span id="dash-import-result"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{# ── Files on dashcam (collapsible) ─────────────────────────────────── #}
|
||||
@@ -59,10 +67,6 @@
|
||||
"Connect the dashcam in USB storage mode, then refresh this list."
|
||||
) }}
|
||||
</div>
|
||||
<div class="card-footer py-2 d-flex align-items-center gap-2">
|
||||
<i class="fas fa-info-circle text-muted small"></i>
|
||||
<span id="dash-import-status" class="small text-muted">No import has been run yet.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user