Skip to content

Commit

Permalink
Post meeting changes (#71)
Browse files Browse the repository at this point in the history
* dynamic col adjustments on develop page, min widths

* adjusted tour to use smart placement, even though unsure of the effect

* small layout adjustments to make phone sized screens work

* adjusted table widths for mobile screens

* min width for input after adding spinners (arrow) control back

* disallowed zoom and pan for logarithmic temporarily

* fixed pan disallow

* fixed wrong sig for H

* negative Q

* significant figures to 3

* error message when plot fails to show log

* added zoom and pan to Rating Error plot

* chart now preserves inactive field data points when autofitting

* fixed rating error chart updating with field data changes and segment changes

* fixed negative input values on physical parameters

* added tooltips for rating plot

* added sample data for download on input page
  • Loading branch information
tobiasmllr authored Mar 2, 2024
1 parent eb388fd commit 1d2420b
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
</div>
<div style="flex: 3;">
<div style="display:flex">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg1H0" id="endpointSeg1H0" placeholder="H1" value="{{ rc.parameters.0.seg_bounds.0.0|floatformat:3 }}" onchange="setEndpoints(0, 0, 0, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Stage H (m) for Segment 1">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg1Q0" id="endpointSeg1Q0" placeholder="Q1" value="{{ rc.parameters.0.seg_bounds.0.1|floatformat:3 }}" onchange="setEndpoints(0, 0, 1, this.value)" onkeydown="return event.key != 'Enter';" style="margin-right: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Discharge Q (m3/s) for Segment 1">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg1H1" id="endpointSeg1H1" placeholder="H2" value="{{ rc.parameters.0.seg_bounds.1.0|floatformat:3 }}" onchange="setEndpoints(0, 1, 0, this.value)" onkeydown="return event.key != 'Enter';" style="margin-left: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Stage H (m) for Segment 1">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg1Q1" id="endpointSeg1Q1" placeholder="Q2" value="{{ rc.parameters.0.seg_bounds.1.1|floatformat:3 }}" onchange="setEndpoints(0, 1, 1, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Discharge Q (m3/s) for Segment 1">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg1H0" id="endpointSeg1H0" placeholder="H1" value="{{ rc.parameters.0.seg_bounds.0.0|floatformat:3 }}" onchange="setEndpoints(0, 0, 0, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Stage H (m) for Segment 1">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg1Q0" id="endpointSeg1Q0" placeholder="Q1" value="{{ rc.parameters.0.seg_bounds.0.1|floatformat:3 }}" onchange="setEndpoints(0, 0, 1, this.value)" onkeydown="return event.key != 'Enter';" style="margin-right: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Discharge Q (m3/s) for Segment 1">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg1H1" id="endpointSeg1H1" placeholder="H2" value="{{ rc.parameters.0.seg_bounds.1.0|floatformat:3 }}" onchange="setEndpoints(0, 1, 0, this.value)" onkeydown="return event.key != 'Enter';" style="margin-left: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Stage H (m) for Segment 1">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg1Q1" id="endpointSeg1Q1" placeholder="Q2" value="{{ rc.parameters.0.seg_bounds.1.1|floatformat:3 }}" onchange="setEndpoints(0, 1, 1, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Discharge Q (m3/s) for Segment 1">
</div>
</div>
</div>
Expand Down Expand Up @@ -90,10 +90,10 @@
</div>
<div style="flex: 3;">
<div style="display:flex">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg2H0" id="endpointSeg2H0" placeholder="H1" value="{{ rc.parameters.1.seg_bounds.0.0|floatformat:3 }}" onchange="setEndpoints(1, 0, 0, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Stage H (m) for Segment 2">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg2Q0" id="endpointSeg2Q0" placeholder="Q1" value="{{ rc.parameters.1.seg_bounds.0.1|floatformat:3 }}" onchange="setEndpoints(1, 0, 1, this.value)" onkeydown="return event.key != 'Enter';" style="margin-right: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Discharge Q (m3/s) for Segment 2">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg2H1" id="endpointSeg2H1" placeholder="H2" value="{{ rc.parameters.1.seg_bounds.1.0|floatformat:3 }}" onchange="setEndpoints(1, 1, 0, this.value)" onkeydown="return event.key != 'Enter';" style="margin-left: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Stage H (m) for Segment 2">
<input type="number" step="0.001" class="form-control form-control-sm" name="endpointSeg2Q1" id="endpointSeg2Q1" placeholder="Q2" value="{{ rc.parameters.1.seg_bounds.1.1|floatformat:3 }}" onchange="setEndpoints(1, 1, 1, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Discharge Q (m3/s) for Segment 2">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg2H0" id="endpointSeg2H0" placeholder="H1" value="{{ rc.parameters.1.seg_bounds.0.0|floatformat:3 }}" onchange="setEndpoints(1, 0, 0, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Stage H (m) for Segment 2">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg2Q0" id="endpointSeg2Q0" placeholder="Q1" value="{{ rc.parameters.1.seg_bounds.0.1|floatformat:3 }}" onchange="setEndpoints(1, 0, 1, this.value)" onkeydown="return event.key != 'Enter';" style="margin-right: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Initial Discharge Q (m3/s) for Segment 2">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg2H1" id="endpointSeg2H1" placeholder="H2" value="{{ rc.parameters.1.seg_bounds.1.0|floatformat:3 }}" onchange="setEndpoints(1, 1, 0, this.value)" onkeydown="return event.key != 'Enter';" style="margin-left: 5px; font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Stage H (m) for Segment 2">
<input type="number" step="0.001" min="0.001" class="form-control form-control-sm" name="endpointSeg2Q1" id="endpointSeg2Q1" placeholder="Q2" value="{{ rc.parameters.1.seg_bounds.1.1|floatformat:3 }}" onchange="setEndpoints(1, 1, 1, this.value)" onkeydown="return event.key != 'Enter';" style="font-size:12px;" data-toggle="tooltip" data-placement="top" title="Final Discharge Q (m3/s) for Segment 2">
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 1d2420b

Please sign in to comment.