forked from hummypkg/webif
Merge pull request 'colourXepg' (#7) from MymsMan/webif:colourXepg into master
This commit is contained in:
commit
c416e5f39d
@ -308,7 +308,14 @@ foreach e $records {
|
|||||||
if {$showing} { append hxt " ($perc%)" }
|
if {$showing} { append hxt " ($perc%)" }
|
||||||
|
|
||||||
set lbg $bg
|
set lbg $bg
|
||||||
if {[$e scheduled]} { set lbg "blueshade" }
|
# Set backround if scheduled. 1 1-off, 2 series, 3 recorded, 4 skipped
|
||||||
|
switch -- [$e scheduled] {
|
||||||
|
1 { set lbg "blueshade" }
|
||||||
|
2 { set lbg "blueshade" }
|
||||||
|
3 { set lbg "pinkshade" }
|
||||||
|
4 { set lbg "orangeshade" }
|
||||||
|
default {}
|
||||||
|
}
|
||||||
|
|
||||||
puts "<div class=\"xeprog $lbg\"
|
puts "<div class=\"xeprog $lbg\"
|
||||||
style=\"width: [expr $px - 4]px;\" title=\"$htxt\">
|
style=\"width: [expr $px - 4]px;\" title=\"$htxt\">
|
||||||
|
Loading…
Reference in New Issue
Block a user