diff options
-rw-r--r-- | css/styles.css | 14 | ||||
-rw-r--r-- | pages/whats_on.ecpp | 5 |
2 files changed, 12 insertions, 7 deletions
diff --git a/css/styles.css b/css/styles.css index e303e35..3a7968b 100644 --- a/css/styles.css +++ b/css/styles.css @@ -202,7 +202,7 @@ table td.buttonpanel { */ div.event { width: 255px; - height: 155px; + height: 255px; padding: 0; margin-right: 5px; float: left; @@ -239,7 +239,7 @@ div.station div div div { div.content { width: 253px; - height: 120px; + height: 220px; padding: 0; margin: 0; @@ -252,7 +252,7 @@ div.content { div.content div.tools { float: left; width: 26px; - height: 120px; + height: 220px; margin: 0; padding: 0; @@ -271,8 +271,6 @@ div.content div { div.description { margin: 5px; - font-weight: bold; - cursor: pointer; } div.info { @@ -290,6 +288,12 @@ div.short { margin: 5px; } +div.more { + margin: 5px; + font-weight: bold; + cursor: pointer; +} + /* ############# # Timers ############# diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index d0e0595..49ec9f3 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -62,7 +62,7 @@ if (type == "now") { tEventID event = Event->EventID(); bool truncated = false; - string description(StringWordTruncate(epgEvent->LongDescr(), 250, truncated)); + string description(); }> <div class="event"> <div class="station"> @@ -79,7 +79,8 @@ if (type == "now") { <div class="info"><$ (epgEvent->StartTime(tr("%I:%M %p"))) $> - <$ (epgEvent->EndTime(tr("%I:%M %p"))) $></div> <div class="title"><$ (epgEvent->Title()) $></div> <div class="short"><$ (epgEvent->ShortDescr()) $></div> - <div class="description"<& tooltip.hint text=(StringEscapeAndBreak(description) + string("<br />") + string(tr("Click to view details."))) &><& tooltip.display domId=(epgEvent->Id()) &>><$ (string(tr("more")) + string(" ...")) $></div> + <div class="description"><$ (StringWordTruncate(epgEvent->LongDescr(), 150, truncated)) $></div> + <div class="more"<& tooltip.hint text=(StringEscapeAndBreak(StringWordTruncate(epgEvent->LongDescr(), 300, truncated)) + string("<br />") + string(tr("Click to view details."))) &><& tooltip.display domId=(epgEvent->Id()) &>><$ (string(tr("more")) + string(" ...")) $></div> </div> </div> </div> |