rafmacalaba commited on
Commit
807cbc7
·
verified ·
1 Parent(s): 98ee791

default REAL WORLD samples, add EXAMPLES label

Browse files
Files changed (1) hide show
  1. index.html +21 -10
index.html CHANGED
@@ -550,6 +550,15 @@
550
  margin-top: 0.15rem;
551
  }
552
  .samples-group[hidden] { display: none; }
 
 
 
 
 
 
 
 
 
553
 
554
  .sample-chip {
555
  display: inline-flex;
@@ -1229,12 +1238,12 @@
1229
  <h2 id="input-card-title">Input text</h2>
1230
  <span class="badge-pill">stage 2 → 3</span>
1231
  </div>
1232
- <p class="card-hint">Paste research text, or load a sample — synthetic examples or real research holdout excerpts.</p>
1233
 
1234
  <div class="sample-controls">
1235
  <div class="sample-seg" role="tablist" aria-label="Sample category">
1236
- <button type="button" class="sample-seg-btn active" data-category="synthetic" role="tab" aria-selected="true">SYNTHETIC (3)</button>
1237
- <button type="button" class="sample-seg-btn" data-category="holdout" role="tab" aria-selected="false">HOLDOUT REAL (13)</button>
1238
  </div>
1239
  <button type="button" class="sample-shuffle-btn" id="sample-shuffle" title="Pick a random sample from active category">
1240
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67"/></svg>
@@ -1242,13 +1251,8 @@
1242
  </button>
1243
  </div>
1244
 
1245
- <div class="samples-group" data-group="synthetic">
1246
- <button type="button" class="sample-chip" data-sample="0">Multiple mentions</button>
1247
- <button type="button" class="sample-chip" data-sample="1">Single mention</button>
1248
- <button type="button" class="sample-chip" data-sample="2">No mention</button>
1249
- </div>
1250
-
1251
- <div class="samples-group" data-group="holdout" hidden>
1252
  <button type="button" class="sample-chip" data-sample="3">Acronym panels (H8BS)</button>
1253
  <button type="button" class="sample-chip" data-sample="4">GPS plot (EAC-I)</button>
1254
  <button type="button" class="sample-chip" data-sample="5">NFHS India</button>
@@ -1264,6 +1268,13 @@
1264
  <button type="button" class="sample-chip" data-sample="15">Return (IOM Index)</button>
1265
  </div>
1266
 
 
 
 
 
 
 
 
1267
  <div class="textarea-wrap">
1268
  <textarea id="text" placeholder="Paste research text here…">the Demographic and Health Survey (DHS) by EuStatistics in 2021 is the main dataset</textarea>
1269
  </div>
 
550
  margin-top: 0.15rem;
551
  }
552
  .samples-group[hidden] { display: none; }
553
+ .samples-group-label {
554
+ flex-basis: 100%;
555
+ font-family: var(--mono);
556
+ font-size: 0.6rem;
557
+ font-weight: 600;
558
+ letter-spacing: 0.14em;
559
+ text-transform: uppercase;
560
+ color: var(--text-subtle);
561
+ }
562
 
563
  .sample-chip {
564
  display: inline-flex;
 
1238
  <h2 id="input-card-title">Input text</h2>
1239
  <span class="badge-pill">stage 2 → 3</span>
1240
  </div>
1241
+ <p class="card-hint">Paste research text, or load a sample — real-world research excerpts or synthetic examples.</p>
1242
 
1243
  <div class="sample-controls">
1244
  <div class="sample-seg" role="tablist" aria-label="Sample category">
1245
+ <button type="button" class="sample-seg-btn active" data-category="holdout" role="tab" aria-selected="true">REAL WORLD (13)</button>
1246
+ <button type="button" class="sample-seg-btn" data-category="synthetic" role="tab" aria-selected="false">SYNTHETIC (3)</button>
1247
  </div>
1248
  <button type="button" class="sample-shuffle-btn" id="sample-shuffle" title="Pick a random sample from active category">
1249
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67"/></svg>
 
1251
  </button>
1252
  </div>
1253
 
1254
+ <div class="samples-group" data-group="holdout">
1255
+ <span class="samples-group-label">EXAMPLES</span>
 
 
 
 
 
1256
  <button type="button" class="sample-chip" data-sample="3">Acronym panels (H8BS)</button>
1257
  <button type="button" class="sample-chip" data-sample="4">GPS plot (EAC-I)</button>
1258
  <button type="button" class="sample-chip" data-sample="5">NFHS India</button>
 
1268
  <button type="button" class="sample-chip" data-sample="15">Return (IOM Index)</button>
1269
  </div>
1270
 
1271
+ <div class="samples-group" data-group="synthetic" hidden>
1272
+ <span class="samples-group-label">EXAMPLES</span>
1273
+ <button type="button" class="sample-chip" data-sample="0">Multiple mentions</button>
1274
+ <button type="button" class="sample-chip" data-sample="1">Single mention</button>
1275
+ <button type="button" class="sample-chip" data-sample="2">No mention</button>
1276
+ </div>
1277
+
1278
  <div class="textarea-wrap">
1279
  <textarea id="text" placeholder="Paste research text here…">the Demographic and Health Survey (DHS) by EuStatistics in 2021 is the main dataset</textarea>
1280
  </div>