summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-08 00:08:51 +0000
committerThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-08 00:08:51 +0000
commitb8478173a72e6f202bd3cd4e1e8024620e2ae0bd (patch)
treeae9ad08e3670a46a24f372292ad00344d8210e16 /pages
parent9b0557c2c31dbc95b040ac79b17804f6da6c5dcb (diff)
downloadvdr-plugin-live-b8478173a72e6f202bd3cd4e1e8024620e2ae0bd.tar.gz
vdr-plugin-live-b8478173a72e6f202bd3cd4e1e8024620e2ae0bd.tar.bz2
fixed styles on whats_on
Diffstat (limited to 'pages')
-rw-r--r--pages/whats_on.ecpp39
1 files changed, 22 insertions, 17 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index 82ca0a7..16c34f5 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -27,6 +27,7 @@ if (type == "now") {
}
}>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>VDR-Live - <$ head $></title>
@@ -39,10 +40,12 @@ if (type == "now") {
</head>
<body>
<div class="left_area">
- <img src="logo.png" alt="VDR Live!" border="0" />
+ <img src="logo.png" alt="VDR Live!" class="logo"/>
<& menu >
</div>
- <div class="inhalt">
+
+ <div class="right_area">
+ <div class="inhalt">
<& pageelems.header_box content=(head) &>
<{
@@ -66,26 +69,27 @@ if (type == "now") {
std::string start_m(FormatDateTime( "%M", Event->StartTime()));
std::string end_m(FormatDateTime( "%M", Event->EndTime()));
-
+ if (description.length() > 300) {
+ description = description.substr(0,250) + "...";
+ }
}>
- <table class="event" cellpadding="0" cellspacing="0">
- <tr>
- <td class="station" colspan="2">
+ <div class="event">
+ <div class="station">
<div><div><div><$ channel_name $></div></div></div>
- </td>
- </tr>
- <tr>
- <td class="tools">
- <a href="edit_timer.html?channel=<$ channel_id $>&title=<$ title $>&start_h=<$ start_h $>&end_h=<$ end_h $>&start_m=<$ start_m $>&end_m=<$ end_m $>"><img src="/record.png" alt="" <& tooltip_widget tooltip=(tr("Record this")) &> border="0"/></a>
- </td>
- <td class="content">
+ </div>
+ <div class="tools">
+ <a href="edit_timer.html?channel=<$ channel_id $>&title=<$ title $>&start_h=<$ start_h $>&end_h=<$ end_h $>&start_m=<$ start_m $>&end_m=<$ end_m $>"><img src="/record.png" alt="" <& tooltip_widget tooltip=(tr("Record this")) &> border="0" /></a>
+ </div>
+ <div class="content">
<div class="info"><$ start $> - <$ end $></div>
<div class="title"><$ title $></div>
<div class="short"><$ short_description $></div>
- <div class="description"><$ description $></div>
- </td>
- </tr>
- </table>
+ <div class="description">
+ <$ description $>
+ </div>
+ </div>
+ </div>
+
<{
}
@@ -94,6 +98,7 @@ if (type == "now") {
}
}
}>
+ </div>
</div>
</body>
</html>