Skip to content

Commit

Permalink
fix: merge result
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Nov 30, 2023
1 parent db305f0 commit 54d453d
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/routes/en/docs/marine-weather-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,51 @@
</div>
{/each}
</AccordionItem>
<AccordionItem
id="additional-variables"
title="Additional Options"
>
<div class="col-md-12 mb-3">
<small class="text-muted"
>Note: You can further adjust the forecast time range for hourly weather variables using <mark>&forecast_hours=</mark> and <mark>&past_hours=</mark> as shown below.
</div>
<div class="col-md-3">
<div class="form-floating mb-3">
<select
class="form-select"
name="forecast_hours"
id="forecast_hours"
aria-label="Forecast Hours"
bind:value={$params.forecast_hours}
>
<option value="">- (default)</option>
<option value="1">1 hour</option>
<option value="6">6 hours</option>
<option value="12">12 hours</option>
<option value="24">24 hours</option>
</select>
<label for="forecast_hours">Forecast Hours</label>
</div>
</div>
<div class="col-md-3">
<div class="form-floating mb-3">
<select
class="form-select"
name="past_hours"
id="past_hours"
aria-label="Past Hours"
bind:value={$params.past_hours}
>
<option value="">- (default)</option>
<option value="1">1 hour</option>
<option value="6">6 hours</option>
<option value="12">12 hours</option>
<option value="24">24 hours</option>
</select>
<label for="past_hours">Past Hours</label>
</div>
</div>
</AccordionItem>
</div>
</div>

Expand Down

0 comments on commit 54d453d

Please sign in to comment.