Skip to content

Commit

Permalink
renaming and added optional text
Browse files Browse the repository at this point in the history
  • Loading branch information
emmaicos committed Jan 31, 2025
1 parent 13e5a0b commit e4751f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main/twirl/views/UploadGuiPage.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ <h2>Station-specific time series</h2>
<label class="form-label" for="instrumenturi">Instrument (url) @optional</label>
<textarea class="form-control" name="instrumenturi" id="instrumenturi" rows="2" cols="80"></textarea>
</div>
@geoCovSelect("l2"){
<em class="text-muted">- click to reset:</em>
@geoCovSelect("timeser"){
<em class="text-muted">- optional - click to reset:</em>
<button class="btn p-0 ms-1" id="rmL2GeoSelection" aria-label="Reset geo-coverage">
<i class="far fa-times-circle"></i>
</button>
Expand Down Expand Up @@ -384,7 +384,7 @@ <h2>Spatiotemporal dataset</h2>
<label class="form-label" for="elabsampleheight">Sampling height (m) @optional</label>
<input id="elabsampleheight" type="text" class="form-control">
</div>
@geoCovSelect("l3"){
@geoCovSelect("spattemp"){
}
<div class="mb-3" id="l3varinfo-form">
<label class="form-label" for="l3varadd-button">Previewable variables</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SpatioTemporalPanel(covs: IndexedSeq[SpatialCoverage])(implicit bus: PubSu
private val temporalResInput = new TextOptInput("l3tempres", notifyUpdate)
private val stationSelect = new Select[Station]("elabstationselect", s => s"${s.id} (${s.namedUri.name})", _.namedUri.uri.toString)
private val samplingHeightInput = new FloatOptInput("elabsampleheight", notifyUpdate)
private val spatialCovSelect = new GeoCoverageSelector(covs, "l3")
private val spatialCovSelect = new GeoCoverageSelector(covs, "spattemp")
private val varInfoForm = new L3VarInfoForm("l3varinfo-form", notifyUpdate)
private val externalPageInput = new UriOptInput("l3landingpage", notifyUpdate)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class StationTimeSeriesPanel(covs: IndexedSeq[SpatialCoverage]) (using bus: PubS
private val samplingPointSelect = new Select[Option[SamplingPoint]]("samplingpointselect", _.map(_.name).getOrElse(""), _.map(_.uri.toString).getOrElse(""), autoselect = false, onSamplingPointSelected)
private val latitudeInput = new DoubleOptInput("latitude", notifyUpdate)
private val longitudeInput = new DoubleOptInput("longitude", notifyUpdate)
private val spatialCovSelect = new GeoCoverageSelector(covs, "l2")
private val spatialCovSelect = new GeoCoverageSelector(covs, "timeser")

private val customSamplingPoint = SamplingPoint(new URI(""), 0, 0, "Custom")

Expand Down

0 comments on commit e4751f7

Please sign in to comment.