Skip to content

Commit

Permalink
Merge pull request #762 from visualapproach/development_v4
Browse files Browse the repository at this point in the history
Development v4
  • Loading branch information
visualapproach authored Jul 17, 2024
2 parents 45e4535 + d67c39f commit c2df36f
Show file tree
Hide file tree
Showing 20 changed files with 695 additions and 307 deletions.
194 changes: 194 additions & 0 deletions Code/data/deutschland.mel
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
2000
0.9
0
0.25
311
0.38
349
0.13
392
0.25
349
0.25
415
0.25
392
0.25
349
0.13
294
0.13
311
0.25
523
0.25
466
0.25
415
0.25
392
0.25
349
0.25
392
0.13
311
0.13
466
0.50
311
0.38
349
0.13
392
0.25
349
0.25
415
0.25
392
0.25
349
0.13
294
0.13
311
0.25
523
0.25
466
0.25
415
0.25
392
0.25
349
0.25
392
0.13
311
0.13
466
0.50
349
0.38
392
0.13
349
0.13
294
0.13
233
0.25
415
0.25
392
0.25
349
0.13
294
0.13
233
0.25
466
0.25
415
0.25
392
0.38
392
0.13
440
0.25
415
0.13
466
0.13
466
0.50
622
0.38
587
0.13
587
0.13
523
0.13
466
0.25
523
0.38
466
0.13
466
0.13
415
0.13
392
0.25
349
0.38
392
0.06
415
0.06
466
0.13
523
0.13
415
0.13
349
0.13
311
0.25
349
0.13
392
0.13
392
0.50
622
0.38
587
0.13
587
0.13
523
0.13
466
0.25
523
0.38
466
0.13
466
0.13
415
0.13
392
0.25
349
0.38
392
0.06
415
0.06
466
0.13
523
0.13
415
0.13
349
0.13
311
0.25
392
0.13
349
0.13
311
0.50
0
0.25
6 changes: 3 additions & 3 deletions Code/data/hwconfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,17 @@ <h2>Hardware:</h2>
</section>

<section>
<p>Ambient "One Wire Temperature Sensor"<span data-text="Requires a DS18B20 sensor to be connected to the pin labeled 'Sensor Pin'. The sensor will update the 'Ambient Temperature' periodically." class="tooltip left">?</span></p>
<p>Ambient "One Wire Temperature Sensor"<span data-text="Requires a DS18B20 sensor to be connected to the pin labeled 'Sensor Pin'. The sensor will update the 'Ambient Temperature' periodically." class="tooltip above">?</span></p>
<table>
<tr>
<td>Enable <input type="checkbox" id="hasTempSensor" name="hasTempSensor" value="checked"></td>
<td>Sensor Pin (Dx)<span data-text="D0-D8 as labeled on the ESP, but without the 'D'. The ESP will convert to GPIO numbers." class="tooltip left">?</span> <input type="text" id="pin8" maxlength="2" style="width:30px"></td>
<td>Sensor Pin (Dx)<span data-text="D0-D8 as labeled on the ESP, but without the 'D'. The ESP will convert to GPIO numbers." class="tooltip above">?</span> <input type="text" id="pin8" maxlength="2" style="width:30px"></td>
</tr>
</table>
</section>

<section>
<p>Power levels (in Watts) <span data-text="Customize power levels for different running modes." class="tooltip">?</span></p>
<p>Power levels (in Watts) <span data-text="Customize power levels for different running modes." class="tooltip above">?</span></p>
<table>
<tr>
<td colspan="5">Override <input type="checkbox" id="pwr_override" onclick="onOverrideClick()"></td>
Expand Down
2 changes: 1 addition & 1 deletion Code/data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ <h2>Totals</h2>
{
document.getElementById("divBrightness").style.display = "table-cell"
document.getElementById("brightnessHeader").style.display = "table-cell"
document.getElementById("rowBrightness").style.display = "table-cell"
document.getElementById("rowBrightness").style.display = "table-row"
}

}
Expand Down
19 changes: 19 additions & 0 deletions Code/data/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,15 @@ a.topnavicon {
margin-right: 15px;
}

.tooltip.above:before {
bottom:100%;
left:50%;
top: initial;
transform:translateX(-50%);
margin-bottom:15px;
margin-left: 0px;
}

.tooltip:after {
content: "";
position: absolute;
Expand All @@ -560,6 +569,16 @@ a.topnavicon {
border-color: transparent transparent transparent var(--accent-color);
}

.tooltip.above:after {
bottom:100%;
left:50%;
top: initial;
transform:translateX(-50%);
margin-bottom:-5px;
margin-left: 0px;
border-color: var(--accent-color) transparent transparent transparent;
}

.tooltip:hover:before,
.tooltip:hover:after {
/* display: block; */
Expand Down
98 changes: 98 additions & 0 deletions Code/data/queen.mel
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
2046
0.9
0
0.25
392
0.13
392
0.13
440
0.13
370
0.38
392
0.13
440
0.25
494
0.25
494
0.25
523
0.25
494
0.38
440
0.13
392
0.25
440
0.25
392
0.25
370
0.25
392
0.25
392
0.13
440
0.13
494
0.13
523
0.13
587
0.25
587
0.25
587
0.25
587
0.38
523
0.13
494
0.25
523
0.25
523
0.25
523
0.25
523
0.38
494
0.13
440
0.25
494
0.25
523
0.13
494
0.13
440
0.13
392
0.13
494
0.38
523
0.13
587
0.25
659
0.08
587
0.08
523
0.08
494
0.25
440
0.25
392
0.75
0
1.00
Loading

0 comments on commit c2df36f

Please sign in to comment.