forked from hummypkg/webif
Add time state for epg popup
This commit is contained in:
parent
479510760c
commit
cc3a79ca4a
|
@ -296,6 +296,8 @@ foreach e $records {
|
|||
set showing 0
|
||||
if {$perc > 0 && $perc < 100} { set showing 1 }
|
||||
|
||||
set state $($perc >= 100 ? 2: $showing)
|
||||
|
||||
set txt "[cgi_quote_html [$e get name]] <span>([\
|
||||
clock format $es -format "%H:%M"] - [\
|
||||
clock format $ee -format "%H:%M"])"
|
||||
|
@ -321,7 +323,7 @@ foreach e $records {
|
|||
style=\"width: [expr $px - 4]px;\" title=\"$htxt\">
|
||||
<a class=event href=# xs=[$e get service_id]
|
||||
xe=[$e get event_id] sch=[$e get sched_type]
|
||||
rec=$recopts>"
|
||||
rec=$recopts st=$state>"
|
||||
puts $txt
|
||||
puts "</a>"
|
||||
puts "</div>"
|
||||
|
|
Loading…
Reference in New Issue