kopia lustrzana https://github.com/botheredbybees/kilnController
Minor updates
rodzic
6075c85a92
commit
12424092fc
|
|
@ -91,7 +91,9 @@ background: #3F3E3A;
|
|||
|
||||
.progress-bar {
|
||||
background-color: #75890c;
|
||||
color: #000;
|
||||
font-family: "LCDN";
|
||||
color: #D6FC13;
|
||||
text-shadow: 0 -1px #999999, 1px 0 #999999, 0 1px #999999, -1px 0 #999999;
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
|
|
|
|||
|
|
@ -310,9 +310,9 @@ ws_status.onclose = function()
|
|||
updateProgress(parseFloat(x.runtime)/parseFloat(x.totaltime)*100,eta);
|
||||
|
||||
$('#act_temp').html(parseInt(x.temperature) + ' \xB0C');
|
||||
$('#power').css("background-color", (x.power > 0.5 ? "rgba(233, 28, 0, 0.84)" : "background: rgba(46, 12, 12, 0.62") );
|
||||
$('#air').css("background-color", (x.air > 0.5 ? "rgba(240, 199, 67, 0.84)" : "background: rgba(46, 38, 12, 0.62)") );
|
||||
$('#cool').css("background-color", (x.cool > 0.5 ? "rgba(74, 159, 255, 0.84)" : "background: rgba(12, 28, 46, 0.62)") );
|
||||
$('#heat').css("background-color", (x.heat > 0.5 ? "rgba(233, 28, 0, 0.84)" : "rgba(46, 12, 12, 0.62") );
|
||||
$('#air').css("background-color", (x.air > 0.5 ? "rgba(240, 199, 67, 0.84)" : "rgba(46, 38, 12, 0.62)") );
|
||||
$('#cool').css("background-color", (x.cool > 0.5 ? "rgba(74, 159, 255, 0.84)" : "rgba(12, 28, 46, 0.62)") );
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<span id="act_temp" class="display ds-num" style="color: #75890c">25 °C</span>
|
||||
<span id="target_temp" class="display ds-num">OFF</span>
|
||||
<span id="state" class="display" style="font-size: 14px; text-align: center; padding-right:0">Idle</span>
|
||||
<span id="power" class="display" style="width: 35px; background: rgba(46, 12, 12, 0.62)"> </span>
|
||||
<span id="heat" class="display" style="width: 35px; background: rgba(46, 12, 12, 0.62)"> </span>
|
||||
<span id="air" class="display" style="width: 35px; background: rgba(46, 38, 12, 0.62)"> </span>
|
||||
<span id="cool" class="display" style="width: 35px; background: rgba(12, 28, 46, 0.62)"> </span>
|
||||
</div>
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue