diff --git a/public/assets/css/picoreflow.css b/public/assets/css/picoreflow.css index a072c03..ec4b2b6 100644 --- a/public/assets/css/picoreflow.css +++ b/public/assets/css/picoreflow.css @@ -33,7 +33,7 @@ font-weight: normal; -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; -background: #3F3E3A url(assets/images/panel_bg.png) repeat; +background: #3F3E3A url('/picoreflow/assets/images/panel_bg.png') repeat; -moz-box-shadow: 0 0 1.1em 0 rgba(0,0,0,0.35),inset 0 0 9px 2px #000; -webkit-box-shadow: 0 0 1.5em 0 rgba(0,0,0,0.35),inset 0 0 9px 2px #000; box-shadow: 0 0 1.1em 0 rgba(0,0,0,0.35),inset 0 0 9px 2px #000; @@ -54,7 +54,7 @@ box-shadow: 0 0 1.1em 0 rgba(0,0,0,0.35),inset 0 0 9px 2px #000; } .panel-heading { - background: #fafafa url('assets/images/page_bg.png') repeat-x; + background: #fafafa url('/picoreflow/assets/images/page_bg.png') repeat-x; overflow: hidden; } diff --git a/public/index.html b/public/index.html index 0049828..23be38c 100644 --- a/public/index.html +++ b/public/index.html @@ -25,16 +25,11 @@
25 °C OFF - Idle + Idle -  
-
- - -
-
@@ -58,11 +53,16 @@
-
+
+
+ + +
+
@@ -583,6 +583,9 @@ $(function() { updateProgress(parseInt(parseFloat(x.runtime)/parseFloat(x.totaltime)*100)); $('#act_temp').html(Highcharts.numberFormat(x.temperature, 0) + ' \xB0C'); + $('#power').css("background-color", (x.power > 0.5 ? "#75890c" : "#1F1E1A") ); + + if (x.target == 0) { $('#target_temp').html('OFF'); @@ -605,7 +608,7 @@ $(function() { var seconds = left - minutes * 60; $('#eta').html(minutes+':'+ (seconds < 10 ? "0" : "") + seconds); - $('#power').css("background-color", (x.power > 0.5 ? "#75890c" : "#1F1E1A") ); + } else