Spaces:
Running
Running
messaging in artifacts..
Browse files- frontend/vehicles.html +9 -2
frontend/vehicles.html
CHANGED
|
@@ -861,8 +861,8 @@
|
|
| 861 |
<!-- TAB: Reports -->
|
| 862 |
<div id="tab-reports" class="hidden flex-1 min-h-0 overflow-y-auto">
|
| 863 |
<div id="reports-pending-message" class="mb-4 text-center p-4 border border-[#222] bg-[#0a0a0a] rounded-xl flex items-center justify-center gap-3 shadow-sm">
|
| 864 |
-
<i class="fa-solid fa-
|
| 865 |
-
<span class="text-xs text-[#a89f97] font-medium tracking-wide uppercase">
|
| 866 |
</div>
|
| 867 |
<div id="reports-pending" class="grid grid-cols-2 xl:grid-cols-3 gap-4 w-full">
|
| 868 |
<!-- Skeleton Loader 1 -->
|
|
@@ -2030,6 +2030,13 @@
|
|
| 2030 |
<span class="text-xs font-semibold">Executing inference pipeline... results pending</span>
|
| 2031 |
</div>`;
|
| 2032 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2033 |
// Start WebSocket
|
| 2034 |
const videoDuration = _params.config.duration || 10;
|
| 2035 |
|
|
|
|
| 861 |
<!-- TAB: Reports -->
|
| 862 |
<div id="tab-reports" class="hidden flex-1 min-h-0 overflow-y-auto">
|
| 863 |
<div id="reports-pending-message" class="mb-4 text-center p-4 border border-[#222] bg-[#0a0a0a] rounded-xl flex items-center justify-center gap-3 shadow-sm">
|
| 864 |
+
<i id="reports-pending-icon" class="fa-solid fa-layer-group text-[#c89a6c]"></i>
|
| 865 |
+
<span id="reports-pending-text" class="text-xs text-[#a89f97] font-medium tracking-wide uppercase">Trigger process from settings. Artifacts will be available here once processing completes.</span>
|
| 866 |
</div>
|
| 867 |
<div id="reports-pending" class="grid grid-cols-2 xl:grid-cols-3 gap-4 w-full">
|
| 868 |
<!-- Skeleton Loader 1 -->
|
|
|
|
| 2030 |
<span class="text-xs font-semibold">Executing inference pipeline... results pending</span>
|
| 2031 |
</div>`;
|
| 2032 |
|
| 2033 |
+
// Update Reports tab pending message
|
| 2034 |
+
const repIcon = document.getElementById('reports-pending-icon');
|
| 2035 |
+
if (repIcon) repIcon.className = 'fa-solid fa-circle-notch fa-spin text-[#c89a6c]';
|
| 2036 |
+
const repText = document.getElementById('reports-pending-text');
|
| 2037 |
+
if (repText) repText.innerText = 'Generating artifacts & rendering analytics... Please wait';
|
| 2038 |
+
|
| 2039 |
+
|
| 2040 |
// Start WebSocket
|
| 2041 |
const videoDuration = _params.config.duration || 10;
|
| 2042 |
|