From 12424092fc60845867e1abec473373d1afae54c1 Mon Sep 17 00:00:00 2001 From: chrono Date: Fri, 29 Nov 2013 23:08:07 +0100 Subject: [PATCH] Minor updates --- public/assets/css/picoreflow.css | 4 +++- public/assets/js/picoreflow.js | 6 +++--- public/index.html | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/public/assets/css/picoreflow.css b/public/assets/css/picoreflow.css index 1f2555a..3b09ef0 100644 --- a/public/assets/css/picoreflow.css +++ b/public/assets/css/picoreflow.css @@ -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 { diff --git a/public/assets/js/picoreflow.js b/public/assets/js/picoreflow.js index 6a4648e..3b969db 100644 --- a/public/assets/js/picoreflow.js +++ b/public/assets/js/picoreflow.js @@ -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)") ); diff --git a/public/index.html b/public/index.html index 2e61b16..359ac5a 100644 --- a/public/index.html +++ b/public/index.html @@ -30,7 +30,7 @@ 25 °C OFF Idle -   +