Sanjana Vekhande commited on
Commit
d8f4f5a
·
1 Parent(s): ea7fb35

add sample file downloads in each upload card

Browse files
frontend/index.html CHANGED
@@ -424,6 +424,16 @@ input[type="range"]::-webkit-slider-thumb {
424
  animation: indeterminate 1.4s ease infinite;
425
  }
426
 
 
 
 
 
 
 
 
 
 
 
427
  .hidden { display: none !important; }
428
  ::-webkit-scrollbar { width: 5px; }
429
  ::-webkit-scrollbar-track { background: transparent; }
@@ -484,6 +494,7 @@ input[type="range"]::-webkit-slider-thumb {
484
  </div>
485
  </div>
486
  <div class="file-chips" id="chipsModel"></div>
 
487
  </div>
488
 
489
  <!-- Bottom-left: Step 2 -->
@@ -503,6 +514,7 @@ input[type="range"]::-webkit-slider-thumb {
503
  </div>
504
  <div class="file-chips" id="chipsMapping"></div>
505
  <div class="mismatch-warning hidden" id="prefixWarning"></div>
 
506
  </div>
507
 
508
  <!-- Bottom-right: Step 3 -->
@@ -521,6 +533,7 @@ input[type="range"]::-webkit-slider-thumb {
521
  </div>
522
  </div>
523
  <div class="file-chips" id="chipsExpr"></div>
 
524
  </div>
525
 
526
  </div><!-- /main-grid -->
 
424
  animation: indeterminate 1.4s ease infinite;
425
  }
426
 
427
+ .sample-link {
428
+ display: inline-block;
429
+ margin-top: 0.6rem;
430
+ font-size: 13px;
431
+ color: var(--teal);
432
+ text-decoration: none;
433
+ font-weight: 500;
434
+ }
435
+ .sample-link:hover { color: var(--teal-d); text-decoration: underline; }
436
+
437
  .hidden { display: none !important; }
438
  ::-webkit-scrollbar { width: 5px; }
439
  ::-webkit-scrollbar-track { background: transparent; }
 
494
  </div>
495
  </div>
496
  <div class="file-chips" id="chipsModel"></div>
497
+ <a href="/sample_model.xlsx" download class="sample-link">⬇ Download sample file</a>
498
  </div>
499
 
500
  <!-- Bottom-left: Step 2 -->
 
514
  </div>
515
  <div class="file-chips" id="chipsMapping"></div>
516
  <div class="mismatch-warning hidden" id="prefixWarning"></div>
517
+ <a href="/sample_mapping.xlsx" download class="sample-link">⬇ Download sample file</a>
518
  </div>
519
 
520
  <!-- Bottom-right: Step 3 -->
 
533
  </div>
534
  </div>
535
  <div class="file-chips" id="chipsExpr"></div>
536
+ <a href="/sample_combined_geneExpr.csv" download class="sample-link">⬇ Download sample file</a>
537
  </div>
538
 
539
  </div><!-- /main-grid -->
frontend/sample_combined_geneExpr.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ gene_id,sample_1,sample_2
2
+ NCBI_001,12.5,8.1
3
+ NCBI_002,0.0,3.2
4
+ NCBI_003,7.3,0.0
frontend/sample_mapping.xlsx ADDED
Binary file (5.02 kB). View file
 
frontend/sample_model.xlsx ADDED
Binary file (5.05 kB). View file