Gurveer05 commited on
Commit
0394b2f
·
1 Parent(s): 3d0e3e9

fixed index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +6 -5
templates/index.html CHANGED
@@ -21,6 +21,7 @@
21
  }
22
  body {
23
  font-family: 'Lora', sans-serif;
 
24
  background-color: #eaf4ea; /* Light green background */
25
  color: #333; /* Dark text color */
26
  }
@@ -80,7 +81,7 @@
80
  background-color: #218838; /* Slightly darker green on hover */
81
  }
82
 
83
- #predictionsList:hover::before {
84
  content: "Tables displaying TPM values corresponding to plant tissues";
85
  position: absolute;
86
  bottom: 100%; /* Position the tooltip above the text */
@@ -109,12 +110,12 @@
109
  </div>
110
  </div>
111
  </div>
112
- <button type="button" class="btn btn-primary" id="uploadButton" onclick="processFiles()">Upload</button>
113
  <p id="uploadMessage" class="text-muted mt-2"></p>
114
  <div id="selectedFiles" class="mt-2"></div>
115
  </form>
116
 
117
- <h2 class="mt-5" id="predictionsList" title="Table displaying TPM values corresponding to plant tissues">Predictions</h2>
118
  <div id="loadingIcon" class="d-none">
119
  <p class="text-muted">Processing... <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span></p>
120
  </div>
@@ -228,7 +229,7 @@
228
  </div>
229
  </div>
230
  `;
231
- predictionsList.innerHTML += cardHtml;
232
 
233
  // Trigger fade-in effect
234
  setTimeout(() => {
@@ -237,7 +238,7 @@
237
  }
238
 
239
  // Update upload message immediately
240
- uploadMessage.innerText = `Uploaded file ${i + 1} of ${files.length}.`;
241
 
242
  // Clear the message after a short delay (e.g., 2000 milliseconds)
243
  setTimeout(() => {
 
21
  }
22
  body {
23
  font-family: 'Lora', sans-serif;
24
+ font-size: 16px;
25
  background-color: #eaf4ea; /* Light green background */
26
  color: #333; /* Dark text color */
27
  }
 
81
  background-color: #218838; /* Slightly darker green on hover */
82
  }
83
 
84
+ #predictions:hover::before {
85
  content: "Tables displaying TPM values corresponding to plant tissues";
86
  position: absolute;
87
  bottom: 100%; /* Position the tooltip above the text */
 
110
  </div>
111
  </div>
112
  </div>
113
+ <button type="button" class="btn btn-primary" id="uploadButton" onclick="processFiles()">Upload and Process</button>
114
  <p id="uploadMessage" class="text-muted mt-2"></p>
115
  <div id="selectedFiles" class="mt-2"></div>
116
  </form>
117
 
118
+ <h2 class="mt-5" id="predictions" title="Table displaying TPM values corresponding to plant tissues">Predictions</h2>
119
  <div id="loadingIcon" class="d-none">
120
  <p class="text-muted">Processing... <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span></p>
121
  </div>
 
229
  </div>
230
  </div>
231
  `;
232
+ predictionsList.innerHTML = cardHtml + predictionsList.innerHTML;
233
 
234
  // Trigger fade-in effect
235
  setTimeout(() => {
 
238
  }
239
 
240
  // Update upload message immediately
241
+ uploadMessage.innerText = `Processed files!`;
242
 
243
  // Clear the message after a short delay (e.g., 2000 milliseconds)
244
  setTimeout(() => {