battery 5 andando

This commit is contained in:
richonguzman 2024-05-23 20:39:21 -04:00
parent f70d836285
commit 992641578d
1 changed files with 70 additions and 46 deletions

View File

@ -524,52 +524,6 @@
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-6">
<div class="form-check form-switch">
<input
type="checkbox"
name="battery.sendBatteryVoltage"
id="battery.sendBatteryVoltage"
class="form-check-input"
/>
<label
for="battery.sendBatteryVoltage"
class="form-label"
>Send Battery Telemetry</label
>
</div>
<div
class="form-check form-switch mt-1"
>
<input
type="checkbox"
name="battery.externalVoltageMeasurement"
id="battery.externalVoltageMeasurement"
class="form-check-input"
/>
<label
for="battery.externalVoltageMeasurement"
class="form-label"
>Measure External Voltage</label
>
</div>
</div>
<div class="form-floating col-6 p-1">
<input
type="text"
name="battery.externalVoltagePin"
id="battery.externalVoltagePin"
value="34"
class="form-control"
/>
<label
for="battery.externalVoltagePin"
class="form-label"
>External Voltage Pin</label
>
</div>
</div>
</div>
</div>
<hr />
@ -954,6 +908,76 @@
</div>
<hr />
<div class="row my-5 d-flex align-items-top">
<div class="col-lg-3 col-sm-12">
<h5>
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
fill="currentColor"
class="bi bi-broadcast-pin"
viewBox="0 0 16 16"
>
<path
d="M3.05 3.05a7 7 0 0 0 0 9.9.5.5 0 0 1-.707.707 8 8 0 0 1 0-11.314.5.5 0 0 1 .707.707m2.122 2.122a4 4 0 0 0 0 5.656.5.5 0 1 1-.708.708 5 5 0 0 1 0-7.072.5.5 0 0 1 .708.708m5.656-.708a.5.5 0 0 1 .708 0 5 5 0 0 1 0 7.072.5.5 0 1 1-.708-.708 4 4 0 0 0 0-5.656.5.5 0 0 1 0-.708m2.122-2.12a.5.5 0 0 1 .707 0 8 8 0 0 1 0 11.313.5.5 0 0 1-.707-.707 7 7 0 0 0 0-9.9.5.5 0 0 1 0-.707zM6 8a2 2 0 1 1 2.5 1.937V15.5a.5.5 0 0 1-1 0V9.937A2 2 0 0 1 6 8"
/>
</svg>
Battery
</h5>
<small>Battery Monitor & Health</small>
</div>
<div class="col-9 mt-2">
<div class="row mt-3">
<div class="col-6">
<div class="form-check form-switch">
<input
type="checkbox"
name="battery.sendBatteryVoltage"
id="battery.sendBatteryVoltage"
class="form-check-input"
/>
<label
for="battery.sendBatteryVoltage"
class="form-label"
>Send Internal Voltage</label
>
</div>
<div
class="form-check form-switch mt-1"
>
<input
type="checkbox"
name="battery.externalVoltageMeasurement"
id="battery.externalVoltageMeasurement"
class="form-check-input"
/>
<label
for="battery.externalVoltageMeasurement"
class="form-label"
>Send External Voltage</label
>
</div>
</div>
<div class="form-floating col-6 p-1">
<input
type="text"
name="battery.externalVoltagePin"
id="battery.externalVoltagePin"
value="34"
class="form-control"
/>
<label
for="battery.externalVoltagePin"
class="form-label"
>External Voltage Pin</label
>
</div>
</div>
</div>
</div>
<hr />
<div class="row my-5 d-flex align-items-top">
<div class="col-lg-3 col-sm-12">
<h5>