cleanups
This commit is contained in:
48
Software/MainBoard/rust/src_webpack/src/nightlightview.html
Normal file
48
Software/MainBoard/rust/src_webpack/src/nightlightview.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<style>
|
||||
.lightcheckbox{
|
||||
margin: 0px;
|
||||
min-width: 20px
|
||||
}
|
||||
.lightkey{
|
||||
min-width: 200px;
|
||||
}
|
||||
.lightvalue{
|
||||
flex-grow: 1;
|
||||
}
|
||||
.lightnumberbox{
|
||||
min-width: 50px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="subtitle">Light:</div>
|
||||
<div class="flexcontainer">
|
||||
<div class="lightkey">Test Nightlight</div>
|
||||
<input class="lightcheckbox" type="checkbox" id="night_lamp_test">
|
||||
</div>
|
||||
<div class="flexcontainer">
|
||||
<div class="lightkey">Enable Nightlight</div>
|
||||
<input class="lightcheckbox" type="checkbox" id="night_lamp_enabled">
|
||||
</div>
|
||||
<div class="flexcontainer">
|
||||
<div class="lightkey">Light only when dark</div>
|
||||
<input class="lightcheckbox" type="checkbox" id="night_lamp_only_when_dark">
|
||||
</div>
|
||||
<div class="flexcontainer">
|
||||
<div class="lightkey">Start</div>
|
||||
<select class="lightnumberbox" type="time" id="night_lamp_time_start">
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexcontainer">
|
||||
<div class="lightkey">Stop</div>
|
||||
<select class="lightnumberbox" type="time" id="night_lamp_time_end">
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexcontainer">
|
||||
<div class="lightkey">Disable if Battery below %</div>
|
||||
<input class="lightcheckbox" type="number" id="night_lamp_soc_low" min="0" max="100">
|
||||
</div>
|
||||
<div class="flexcontainer">
|
||||
<div class="lightkey">Reenable if Battery higher %</div>
|
||||
<input class="lightcheckbox" type="number" id="night_lamp_soc_restore" min="0" max="100">
|
||||
</div>
|
||||
Reference in New Issue
Block a user