Skip to content

Commit

Permalink
Update3 0193-WebUI-EnhancedTRVSettingsPage.patch
Browse files Browse the repository at this point in the history
- tried to fix indentation changes
- tried to fix broken indentations
- tried to remove unnecessary whitespace/style changes
- moved "Boost after Window open" down to the boost section
  • Loading branch information
Baxxy13 authored Nov 16, 2024
1 parent 6611577 commit c2d284e
Showing 1 changed file with 35 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,16 @@
"stringTableDisplayInformation" : "Display information",
--- occu/WebUI/www/config/easymodes/etc/hmipChannelConfigDialogs.tcl.orig
+++ occu/WebUI/www/config/easymodes/etc/hmipChannelConfigDialogs.tcl
@@ -2937,6 +2937,17 @@
@@ -2937,7 +2937,7 @@
append html "</td>"
append html "</tr>"
}
-
+
+ set param BOOST_AFTER_WINDOW_OPEN
+ if { [info exists ps($param)] == 1 } {
+ incr prn
+ append html "<tr>"
+ append html "<td name=\"expertParam\" class=\"hidden\">\${stringTableBoostAfterWindowOpen}</td>"
+ append html "<td name=\"expertParam\" class=\"hidden\">"
+ append html "[getCheckBox '$param' $ps($param) $chn $prn]&nbsp;[getHelpIcon $param]"
+ append html "</td>"
+ append html "</tr>"
+ }

set param DURATION_5MIN
if { [info exists ps($param)] == 1 } {
@@ -2962,18 +2973,11 @@
incr prn
@@ -2962,18 +2962,11 @@

append html "<table class=\"ProfileTbl\">"
# left
Expand All @@ -61,7 +52,7 @@
if { [info exists ps($param)] == 1 } {
incr prn
if { [info exists ps(TEMPERATURE_WINDOW_OPEN_COOLING)] == 1 } {
@@ -2981,7 +2985,7 @@
@@ -2981,7 +2974,7 @@
} else {
append html "<tr><td>\${stringTableTemperatureFallWindowOpen}</td>"
}
Expand All @@ -70,19 +61,20 @@
append html "</tr>"
}

@@ -2990,7 +2994,7 @@
@@ -2990,15 +2983,147 @@
if { [info exists ps($param)] == 1 } {
incr prn
append html "<tr><td>\${lblTemperatureWindowOpenCooling}</td>"
- append html "<td>[getTextField $param $ps($param) $chn $prn]&nbsp;[getMinMaxValueDescr $param]<input id=\"comfortOld\" type=\"hidden\" value=\"$ps($param)\"</td>"
+ append html "<td>[get_ComboBox options $param separate_$CHANNEL\_$prn ps $param]</td>"
append html "</tr>"
}

@@ -2999,6 +3003,138 @@
append html "<hr>"

append html "<table class=\"ProfileTbl\">"
+ append html "</tr>"
+ }
+
+ append html "</table>"
+
+ append html "<hr>"
+
+ append html "<table class=\"ProfileTbl\">"
+
+ set param TEMPERATUREFALL_MODUS
+ if { [info exists ps($param)] == 1 } {
Expand Down Expand Up @@ -140,9 +132,9 @@
+ incr prn
+ append html "<td>\${stringTableValveMaximumPosition}</td>"
+ append html "<td>[get_ComboBox options $param separate_$CHANNEL\_$prn ps $param][getHelpIcon $param $hlpBoxWidth $hlpBoxHeight]</td>"
+ append html "</tr>"
+ }
+
append html "</tr>"
}
+ # left
+ incr prn
+ set param TEMPERATURE_OFFSET
Expand Down Expand Up @@ -209,23 +201,23 @@
+ }
+ }
+
+ append html "</table>"
+
+ append html "<hr>"
+
+ append html "<table class=\"ProfileTbl\">"
append html "</table>"
append html "<hr>"
append html "<table class=\"ProfileTbl\">"
+
# left
incr prn
set param BOOST_TIME_PERIOD
@@ -3008,9 +3144,24 @@
@@ -3008,9 +3133,35 @@
}
append html "<tr><td>\${stringTableBoostTimePeriod}</td>"
append html "<td>[get_ComboBox options $param separate_$CHANNEL\_$prn ps $param]&nbsp;[getHelpIcon $param]</td>"
+
+ # right
+ set param BOOST_POSITION
+ if { [info exists ps($param)] == 1 } {
+ if { [info exists ps($param)] == 1 } {
+ incr prn
+ array_clear options
+ set i 0
Expand All @@ -237,6 +229,17 @@
+ append html "<td name=\"expertParam\" class=\"hidden\">[get_ComboBox options $param separate_$CHANNEL\_$prn ps $param][getHelpIcon $param $hlpBoxWidth $hlpBoxHeight]</td>"
+ }
append html "</tr>"
+
+ set param BOOST_AFTER_WINDOW_OPEN
+ if { [info exists ps($param)] == 1 } {
+ incr prn
+ append html "<tr>"
+ append html "<td name=\"expertParam\" class=\"hidden\">\${stringTableBoostAfterWindowOpen}</td>"
+ append html "<td name=\"expertParam\" class=\"hidden\">"
+ append html "[getCheckBox '$param' $ps($param) $chn $prn]&nbsp;[getHelpIcon $param]"
+ append html "</td>"
+ append html "</tr>"
+ }
append html "</table>"

+
Expand Down

0 comments on commit c2d284e

Please sign in to comment.