Fix poor html

This commit is contained in:
prpr 2024-02-05 15:25:19 +00:00
parent fd9188c8f6
commit 19bfc162a6
5 changed files with 14 additions and 12 deletions

View File

@ -41,8 +41,8 @@ foreach o $others {
if {[$o get series_crid] eq ""} { set ro 1 } else { set ro 2 }
puts -nonewline "<br><font class=also>&nbsp;&nbsp;&nbsp;&nbsp;"
puts -nonewline "Also: "
puts -nonewline "<a href=event_d.jim?sid=[$o get service_id]&"
puts -nonewline "eid=[$o get event_id] data-rel=dialog>"
puts -nonewline "<a href=\"event_d.jim?sid=[$o get service_id]&"
puts -nonewline "eid=[$o get event_id] data-rel=dialog\">"
puts -nonewline "[clock format [$o get start] -format {%c %Z}]"
puts -nonewline " on "
puts -nonewline [$o channel_icon 16]

View File

@ -5,7 +5,7 @@ proc epgcell {e {aside 0}} {
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]>
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>
@ -19,11 +19,11 @@ proc epgcell {e {aside 0}} {
"
set guidance [$e get warning]
if {$guidance ne ""} {
puts "<p class=blood style=\"white-space: normal\">
puts " <p class=blood style=\"white-space: normal\">
$guidance</p>"
}
if {[$e showing]} {
puts "<p>[progressbar [$e percent]]</p>"
puts " <p>[progressbar [$e percent]]</p>"
}
if {$aside} {
puts "
@ -33,5 +33,6 @@ proc epgcell {e {aside 0}} {
</p>
"
}
puts " </a></li>"
}

View File

@ -17,13 +17,15 @@ puts "
puts {
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no,initial-scale=1">
<meta name=apple-mobile-web-app-capable content=yes>
<meta name=apple-mobile-web-app-status-bar-style content=black>
<meta name="apple-mobile-web-app-capable" "content=yes">
<meta name="apple-mobile-web-app-status-bar-style" "content=black">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="/lib/jquery.mobile/jquery.mobile.css" />
<link rel="stylesheet" href="/m/style.css" type="text/css"/>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/lib/jquery.mobile/jquery.mobile.js">
</script>
<script type="text/javascript" src="/lib/jquery.mobile/jquery.mobile.js"></script>
<script type="text/javascript" src="/lib/jquery.plugin/enadis/enadis.js?1.5.2-8"></script>
<script type="text/javascript" src="/m/script.js"></script>
<link rel="apple-touch-icon" href="/img/mobile_57.png" />
<link rel="apple-touch-icon" sizes="57x57" href="/img/mobile_57.png" />
@ -31,7 +33,6 @@ puts {
<link rel="apple-touch-icon" sizes="114x114" href="/img/mobile_114.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/img/mobile_144.png" />
}
noheader
jqplugin enadis
puts {
</head>

View File

@ -25,7 +25,7 @@ foreach e $records {
}
set lcn $chnum
puts "<li><a href=channel.jim?sid=[$e get service_id]>
puts "<li><a href=\"channel.jim?sid=[$e get service_id]\">
[$e channel_icon 80]"
set entries 0

View File

@ -55,7 +55,7 @@ proc eventtab {type title} {
}
puts "
<li><a data-rel=dialog data-transition=slidedown
href=schedule_d.jim?table=$type&slot=[$event get ulslot]>
href=\"schedule_d.jim?table=$type&slot=[$event get ulslot]\">
[epg channelicon [$event channel_name] 80]
<h3>$icons $name</h3>
<p>