Subh775 commited on
Commit
a476183
·
1 Parent(s): bc7bf9c

shifted palette inside stats section

Browse files
Files changed (1) hide show
  1. frontend/vehicles.html +30 -34
frontend/vehicles.html CHANGED
@@ -397,7 +397,7 @@
397
  We are in the <strong style="color:#f0ece6">requirements gathering phase</strong>, and your feedback directly shapes
398
  what gets built for production.
399
  </p>
400
- <p style="font-size:11px;color:#666">
401
  The production system will support RTSP live-stream input, institutional dashboards, REST APIs, and advanced analytics.
402
  This demo serves video upload only.
403
  </p>
@@ -455,12 +455,6 @@
455
  </li>
456
  <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
457
  style="color:#8b5e3c"></i>
458
- <span>REST API for integration with city ATCC and ITS platforms</span>
459
- </li>
460
- <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
461
- style="color:#8b5e3c"></i>
462
- <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
463
- style="color:#8b5e3c"></i>
464
  <span>ANPR &mdash; automatic number plate recognition and logging</span>
465
  </li>
466
  <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
@@ -480,11 +474,11 @@
480
  </div>
481
 
482
  <div class="text-center pt-6 border-t border-slate-900">
483
- <p class="text-[11px]" style="color:#666">
484
  We are an applied research team &mdash; using state-of-the-art detection models, fine-tuned on Indian traffic datasets,
485
  to build systems that work in production. Not a black box. Not a benchmark demo. A working tool, built for real roads.
486
  </p>
487
- <p class="text-[10px] mt-3" style="color:#555">
488
  Feedback, collaboration, or questions: <strong style="color:#c89a6c">support@urbanflow.in</strong>
489
  </p>
490
  </div>
@@ -506,6 +500,17 @@
506
  <div class="flex items-center space-x-6 text-xs font-bold text-white whitespace-nowrap">
507
  <span id="proc-frames">0 / 0 Frames</span>
508
  <span id="proc-pct">0%</span>
 
 
 
 
 
 
 
 
 
 
 
509
  </div>
510
  </div>
511
 
@@ -804,30 +809,18 @@
804
  <div class="px-5 py-4 flex-1 flex flex-col">
805
  <div class="s-row">
806
  <div>
807
- <div class="text-xs font-semibold text-slate-700">Auto-Download Report</div>
 
 
 
 
 
808
  <div class="text-[10px] text-slate-400">Save reports automatically</div>
809
  </div>
810
  <div class="toggle-track" id="sv-auto-download" onclick="toggleAutoDownload(this)">
811
  <div class="toggle-thumb"></div>
812
  </div>
813
  </div>
814
- <div class="s-row mt-4">
815
- <div>
816
- <div class="text-xs font-semibold text-slate-700">Chart Color Palette</div>
817
- <div class="text-[10px] text-slate-400">Color scheme for all charts</div>
818
- </div>
819
- <select class="custom-select" id="live-palette-select" onchange="applyPalette(this.value)">
820
- <option value="default" selected>Default</option>
821
- <option value="vibrant">Vibrant</option>
822
- <option value="corporate">Corporate</option>
823
- <option value="neon">Neon Night</option>
824
- <option value="earth">Earth Tones</option>
825
- <option value="ocean">Ocean Breeze</option>
826
- <option value="sunset">Sunset Glow</option>
827
- <option value="midnight">Midnight Deep</option>
828
- <option value="gold">Monochrome Gold</option>
829
- </select>
830
- </div>
831
  <div class="s-row hidden">
832
  <div>
833
  <div class="text-xs font-semibold text-slate-700">Interface Mode</div>
@@ -836,11 +829,6 @@
836
  <div class="text-xs font-bold text-white px-3 py-1 bg-slate-800 rounded-full">Dark Mode Only
837
  </div>
838
  </div>
839
- <div class="mt-3">
840
- <div class="text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-2">Palette
841
- Preview</div>
842
- <div class="flex gap-1.5" id="live-palette-preview"></div>
843
- </div>
844
  </div>
845
  </div>
846
 
@@ -1170,8 +1158,9 @@
1170
  flowChart.data.datasets[0].backgroundColor = activePalette.flow;
1171
  flowChart.update();
1172
 
1173
- // Update palette preview
1174
- renderPalettePreview(key);
 
1175
  }
1176
 
1177
  function renderPalettePreview(key) {
@@ -1540,6 +1529,13 @@
1540
  });
1541
  }
1542
 
 
 
 
 
 
 
 
1543
  // Show New Analysis button in Settings
1544
  const newWrap = document.getElementById('new-analysis-wrap');
1545
  if (newWrap) newWrap.classList.remove('hidden');
 
397
  We are in the <strong style="color:#f0ece6">requirements gathering phase</strong>, and your feedback directly shapes
398
  what gets built for production.
399
  </p>
400
+ <p style="font-size:13px;color:#777">
401
  The production system will support RTSP live-stream input, institutional dashboards, REST APIs, and advanced analytics.
402
  This demo serves video upload only.
403
  </p>
 
455
  </li>
456
  <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
457
  style="color:#8b5e3c"></i>
 
 
 
 
 
 
458
  <span>ANPR &mdash; automatic number plate recognition and logging</span>
459
  </li>
460
  <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
 
474
  </div>
475
 
476
  <div class="text-center pt-6 border-t border-slate-900">
477
+ <p class="text-[13px] leading-relaxed" style="color:#888">
478
  We are an applied research team &mdash; using state-of-the-art detection models, fine-tuned on Indian traffic datasets,
479
  to build systems that work in production. Not a black box. Not a benchmark demo. A working tool, built for real roads.
480
  </p>
481
+ <p class="text-[12px] mt-3" style="color:#777">
482
  Feedback, collaboration, or questions: <strong style="color:#c89a6c">support@urbanflow.in</strong>
483
  </p>
484
  </div>
 
500
  <div class="flex items-center space-x-6 text-xs font-bold text-white whitespace-nowrap">
501
  <span id="proc-frames">0 / 0 Frames</span>
502
  <span id="proc-pct">0%</span>
503
+ <select class="custom-select" id="live-palette-select" onchange="applyPalette(this.value)" style="font-size:10px;padding:3px 20px 3px 8px">
504
+ <option value="default" selected>Default</option>
505
+ <option value="vibrant">Vibrant</option>
506
+ <option value="corporate">Corporate</option>
507
+ <option value="neon">Neon Night</option>
508
+ <option value="earth">Earth Tones</option>
509
+ <option value="ocean">Ocean Breeze</option>
510
+ <option value="sunset">Sunset Glow</option>
511
+ <option value="midnight">Midnight Deep</option>
512
+ <option value="gold">Monochrome Gold</option>
513
+ </select>
514
  </div>
515
  </div>
516
 
 
809
  <div class="px-5 py-4 flex-1 flex flex-col">
810
  <div class="s-row">
811
  <div>
812
+ <div class="text-xs font-semibold text-slate-700 flex items-center">Auto-Download Report
813
+ <span class="info-wrap ml-1">
814
+ <span class="info-btn"><i class="fa-solid fa-info"></i></span>
815
+ <span class="info-tip">Enable before processing starts. The artifact bundle (ZIP) will download automatically once analysis completes. Cannot be changed after processing finishes.</span>
816
+ </span>
817
+ </div>
818
  <div class="text-[10px] text-slate-400">Save reports automatically</div>
819
  </div>
820
  <div class="toggle-track" id="sv-auto-download" onclick="toggleAutoDownload(this)">
821
  <div class="toggle-thumb"></div>
822
  </div>
823
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
824
  <div class="s-row hidden">
825
  <div>
826
  <div class="text-xs font-semibold text-slate-700">Interface Mode</div>
 
829
  <div class="text-xs font-bold text-white px-3 py-1 bg-slate-800 rounded-full">Dark Mode Only
830
  </div>
831
  </div>
 
 
 
 
 
832
  </div>
833
  </div>
834
 
 
1158
  flowChart.data.datasets[0].backgroundColor = activePalette.flow;
1159
  flowChart.update();
1160
 
1161
+ // Update palette dropdown in progress bar
1162
+ const barSel = document.getElementById('live-palette-select');
1163
+ if (barSel) barSel.value = key;
1164
  }
1165
 
1166
  function renderPalettePreview(key) {
 
1529
  });
1530
  }
1531
 
1532
+ // Disable Auto-Download toggle after completion
1533
+ const adToggle = document.getElementById('sv-auto-download');
1534
+ if (adToggle) {
1535
+ adToggle.style.pointerEvents = 'none';
1536
+ adToggle.style.opacity = '0.4';
1537
+ }
1538
+
1539
  // Show New Analysis button in Settings
1540
  const newWrap = document.getElementById('new-analysis-wrap');
1541
  if (newWrap) newWrap.classList.remove('hidden');