Skip to content

Commit dc4d85e

Browse files
Copilotdorkmo
andcommitted
Add tooltip to Height field and rename Daily Email label
- Add tooltip to "Height (in)" explaining it's the maximum tank height/capacity - Rename "Daily Email" to "Daily Report Email Recipient" for clarity Co-authored-by: dorkmo <[email protected]>
1 parent 951d585 commit dc4d85e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TankAlarm-112025-Server-BluesOpta/TankAlarm-112025-Server-BluesOpta.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ static const char CONFIG_GENERATOR_HTML[] PROGMEM = R"HTML(
636636
<label class="field"><span>Sample Minutes</span><input id="sampleMinutes" type="number" value="30" min="1" max="1440"></label>
637637
<label class="field"><span>Level Change Threshold (in)<span class="tooltip-icon" tabindex="0" data-tooltip="Minimum level change in inches required before sending telemetry. Set to 0 to send all readings. Useful to reduce data usage by only reporting significant changes.">?</span></span><input id="levelChangeThreshold" type="number" step="0.1" value="0" placeholder="0 = disabled"></label>
638638
<label class="field"><span>Report Time</span><input id="reportTime" type="time" value="05:00"></label>
639-
<label class="field"><span>Daily Email</span><input id="dailyEmail" type="email"></label>
639+
<label class="field"><span>Daily Report Email Recipient</span><input id="dailyEmail" type="email"></label>
640640
</div>
641641
642642
<h3>Sensors</h3>
@@ -731,7 +731,7 @@ static const char CONFIG_GENERATOR_HTML[] PROGMEM = R"HTML(
731731
</select>
732732
</label>
733733
<label class="field pulses-per-rev-field" style="display: none;"><span>Pulses/Rev</span><input type="number" class="pulses-per-rev" value="1" min="1" max="255"></label>
734-
<label class="field"><span><span class="height-label">Height (in)</span></span><input type="number" class="tank-height" value="120"></label>
734+
<label class="field"><span><span class="height-label">Height (in)</span><span class="tooltip-icon" tabindex="0" data-tooltip="Maximum height or capacity of the tank in inches. Used to calculate fill percentage and set alarm thresholds relative to tank size.">?</span></span><input type="number" class="tank-height" value="120"></label>
735735
</div>
736736
737737
<button type="button" class="add-section-btn add-alarm-btn" onclick="toggleAlarmSection(${id})">+ Add Alarm</button>

0 commit comments

Comments
 (0)