0a2c7966b5
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1182 2a923420-c742-0410-a762-8d5b09965624
38 lines
843 B
Plaintext
Executable File
38 lines
843 B
Plaintext
Executable File
|
|
proc epgcell {e {aside 0}} {
|
|
$e get_channel_info
|
|
set st [$e get start]
|
|
set et $($st + [$e get duration])
|
|
puts "
|
|
<li><a data-rel=dialog data-transition=slidedown
|
|
href=event_d.jim?sid=[$e get service_id]&eid=[$e get event_id]>
|
|
[$e channel_icon 80]
|
|
<h4>[$e get name]</h4>
|
|
<p class=datetime>
|
|
[clock format $st -format {%a %d %b %Y %H:%M}]
|
|
-
|
|
[clock format $et -format {%H:%M}]
|
|
</p>
|
|
<p style=\"white-space: normal\">
|
|
[join [$e icon_set 14] ""]
|
|
[$e get text]</p>
|
|
"
|
|
set guidance [$e get warning]
|
|
if {$guidance ne ""} {
|
|
puts "<p class=blood style=\"white-space: normal\">
|
|
$guidance</p>"
|
|
}
|
|
if {[$e showing]} {
|
|
puts "<p>[progressbar [$e percent]]</p>"
|
|
}
|
|
if {$aside} {
|
|
puts "
|
|
<p class=ui-li-aside>
|
|
[clock format $st -format "%H:%M"] -
|
|
[clock format $et -format "%H:%M"]
|
|
</p>
|
|
"
|
|
}
|
|
}
|
|
|