Skip to content

Commit

Permalink
iop4api: allow selecting band in plot form
Browse files Browse the repository at this point in the history
  • Loading branch information
juanep97 committed Dec 13, 2023
1 parent 89253f0 commit 9ad868e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions iop4api/templates/iop4api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ <h2><a href="https://vhega.iaa.es/">VHEGA@IAA-CSIC</a></h2>
enable_full_lc: false,
enable_crosscheckpts: false,
enable_errorbars: false,
plot_config_band: 'R',
plot_config_band_options: ['R', 'V', 'B', 'U', 'I'],
// plot (flagging)
selected_plot_idx: [],
show_selected_plot_pts: false,
Expand Down
4 changes: 3 additions & 1 deletion iop4api/templates/iop4api/plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
<div class="form-row wrappable">
<input v-model="input_date_start" type="text" name="date_start" placeholder="From..." title="Select a start date (yyyy-mm-dd HH:MM)">
<input v-model="input_date_end" type="text" name="date_end" placeholder="To..." title="Select an end date (yyyy-mm-dd HH:MM)">

</div>
<div class="form-row wrappable">
<q-select label="band" v-model="plot_config_band" name="band" :options="plot_config_band_options" required></q-select>
<label><q-toggle v-model="plot_config_fast" color="blue"></q-toggle><span>fast</span></label>
<input type="checkbox" style="display:none" name="plot_config_fast" v-model="plot_config_fast" hidden />
</div>
Expand Down

0 comments on commit 9ad868e

Please sign in to comment.