From 19bfc162a6fe3151f0da327e7f7304e3102a1bc4 Mon Sep 17 00:00:00 2001 From: prpr Date: Mon, 5 Feb 2024 15:25:19 +0000 Subject: [PATCH] Fix poor html --- webif/html/m/event_d.jim | 4 ++-- webif/html/m/include/epgcell.jim | 7 ++++--- webif/html/m/lib/header.jim | 11 ++++++----- webif/html/m/nownext.jim | 2 +- webif/html/m/schedule.jim | 2 +- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/webif/html/m/event_d.jim b/webif/html/m/event_d.jim index 1d1c727..6feb4e9 100755 --- a/webif/html/m/event_d.jim +++ b/webif/html/m/event_d.jim @@ -41,8 +41,8 @@ foreach o $others { if {[$o get series_crid] eq ""} { set ro 1 } else { set ro 2 } puts -nonewline "
    " puts -nonewline "Also: " - puts -nonewline "" + puts -nonewline "" puts -nonewline "[clock format [$o get start] -format {%c %Z}]" puts -nonewline " on " puts -nonewline [$o channel_icon 16] diff --git a/webif/html/m/include/epgcell.jim b/webif/html/m/include/epgcell.jim index ea3d34b..7211d0c 100755 --- a/webif/html/m/include/epgcell.jim +++ b/webif/html/m/include/epgcell.jim @@ -5,7 +5,7 @@ proc epgcell {e {aside 0}} { set et $($st + [$e get duration]) puts "
  • + href=\"event_d.jim?sid=[$e get service_id]&eid=[$e get event_id]\"> [$e channel_icon 80]

    [$e get name]

    @@ -19,11 +19,11 @@ proc epgcell {e {aside 0}} { " set guidance [$e get warning] if {$guidance ne ""} { - puts "

    + puts "

    $guidance

    " } if {[$e showing]} { - puts "

    [progressbar [$e percent]]

    " + puts "

    [progressbar [$e percent]]

    " } if {$aside} { puts " @@ -33,5 +33,6 @@ proc epgcell {e {aside 0}} {

    " } + puts "
  • " } diff --git a/webif/html/m/lib/header.jim b/webif/html/m/lib/header.jim index 51604bf..bc60654 100755 --- a/webif/html/m/lib/header.jim +++ b/webif/html/m/lib/header.jim @@ -17,13 +17,15 @@ puts " puts { - - + + + + - + + @@ -31,7 +33,6 @@ puts { } -noheader jqplugin enadis puts { diff --git a/webif/html/m/nownext.jim b/webif/html/m/nownext.jim index ebc6ba3..16adedb 100755 --- a/webif/html/m/nownext.jim +++ b/webif/html/m/nownext.jim @@ -25,7 +25,7 @@ foreach e $records { } set lcn $chnum - puts "
  • + puts "
  • [$e channel_icon 80]" set entries 0 diff --git a/webif/html/m/schedule.jim b/webif/html/m/schedule.jim index 16e7c45..69b9c3e 100755 --- a/webif/html/m/schedule.jim +++ b/webif/html/m/schedule.jim @@ -55,7 +55,7 @@ proc eventtab {type title} { } puts "
  • + href=\"schedule_d.jim?table=$type&slot=[$event get ulslot]\"> [epg channelicon [$event channel_name] 80]

    $icons $name