Mingxu Hu commited on
Commit
eb20dc4
·
1 Parent(s): c59b7b5
Files changed (1) hide show
  1. src/UploadForm.jsx +8 -8
src/UploadForm.jsx CHANGED
@@ -148,20 +148,20 @@ function UploadForm() {
148
  {selectedFile && <small className="text-muted d-block mt-1">Uploaded: {selectedFile.name} <br /> Size: {(selectedFile.size / 1024).toFixed(2)} KB</small>}
149
  </div>
150
  <div className="mb-3">
151
- <label htmlFor="tilt" className="form-label">Micrograph Tilting (°)</label>
152
- <input id="tilt" name="tilt" value={formData.tilt} onChange={handleInputChange} className="form-control" required />
153
  </div>
154
  <div className="mb-3">
155
- <label htmlFor="num_threshold" className="form-label">Fibril Minimum Particle Count Threshold</label>
156
- <input id="num_threshold" name="num_threshold" value={formData.num_threshold} onChange={handleInputChange} className="form-control" />
157
  </div>
158
  <div className="mb-3">
159
- <label htmlFor="entropy_threshold" className="form-label">Fibril Maximum Particle Entropy Threshold</label>
160
- <input id="entropy_threshold" name="entropy_threshold" value={formData.entropy_threshold} onChange={handleInputChange} className="form-control" />
161
  </div>
162
  <div className="mb-3">
163
- <label htmlFor="n_plots" className="form-label">Number of Fibrils to Analyze</label>
164
- <input id="n_plots" name="n_plots" value={formData.n_plots} onChange={handleInputChange} className="form-control" />
165
  </div>
166
  <button type="submit" className="btn btn-primary w-100" disabled={isSubmitting}>
167
  {isSubmitting ? 'Processing...' : 'Start Analysis'}
 
148
  {selectedFile && <small className="text-muted d-block mt-1">Uploaded: {selectedFile.name} <br /> Size: {(selectedFile.size / 1024).toFixed(2)} KB</small>}
149
  </div>
150
  <div className="mb-3">
151
+ <label htmlFor="tilt" className="form-label d-block">Micrograph Tilting (°)</label>
152
+ <input id="tilt" name="tilt" value={formData.tilt} onChange={handleInputChange} className="form-control d-block" required />
153
  </div>
154
  <div className="mb-3">
155
+ <label htmlFor="num_threshold" className="form-label d-block">Fibril Minimum Particle Count Threshold</label>
156
+ <input id="num_threshold" name="num_threshold" value={formData.num_threshold} onChange={handleInputChange} className="form-control d-block" />
157
  </div>
158
  <div className="mb-3">
159
+ <label htmlFor="entropy_threshold" className="form-label d-block">Fibril Maximum Particle Entropy Threshold</label>
160
+ <input id="entropy_threshold" name="entropy_threshold" value={formData.entropy_threshold} onChange={handleInputChange} className="form-control d-block" />
161
  </div>
162
  <div className="mb-3">
163
+ <label htmlFor="n_plots" className="form-label d-block">Number of Fibrils to Analyze</label>
164
+ <input id="n_plots" name="n_plots" value={formData.n_plots} onChange={handleInputChange} className="form-control d-block" />
165
  </div>
166
  <button type="submit" className="btn btn-primary w-100" disabled={isSubmitting}>
167
  {isSubmitting ? 'Processing...' : 'Start Analysis'}