Corrected slider
This commit is contained in:
parent
f25bd813bc
commit
174befca92
|
|
@ -162,9 +162,19 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="slider-container">
|
<div class="slider-container">
|
||||||
<label for="ploopSetpoint">P-loop Setpoint (bars):</label>
|
<label for="ploopSetpoint">P-loop Setpoint (bars):</label>
|
||||||
<input type="range" min="0.5" max="3.5" step="0.1" value="1.0" id="ploopSetpoint" onchange="updatePloopSetpoint(this.value)">
|
<div class="slider-values">
|
||||||
<span id="ploopValue">1.0</span>
|
<span id="minValue">0.5</span>
|
||||||
|
<span id="currentValue">1.0</span>
|
||||||
|
<span id="maxValue">3.5</span>
|
||||||
|
</div>
|
||||||
|
<input type="range" min="0.5" max="3.5" step="0.1" value="1.0" id="ploopSetpoint" class="slider" oninput="updatePloopSetpoint(this.value)">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function updatePloopSetpoint(value) {
|
||||||
|
document.getElementById('currentValue').textContent = value;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<div class="mode-block">
|
<div class="mode-block">
|
||||||
<button onclick="sendCommand('ThermalLoopCleaning', 0, this)"><i class="fas fa-fire"></i> Thermal Loop Cleaning</button>
|
<button onclick="sendCommand('ThermalLoopCleaning', 0, this)"><i class="fas fa-fire"></i> Thermal Loop Cleaning</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user