Skip to content

Commit

Permalink
css_fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Ehrnsperger committed Nov 12, 2023
1 parent 7d48d2d commit 95b7d92
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
6 changes: 5 additions & 1 deletion live/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -812,9 +812,13 @@ div.info div.time {
margin: 0px 5px 0px 5px;
}

.margin_right {
margin-right: 5px;
}

div.info div.date {
float: left;
padding: 0px;
padding: 0px;
}

div.progress {
Expand Down
2 changes: 1 addition & 1 deletion pages/pageelems.ecpp
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ const bool episodeFound = scraperMovieOrTv.found && (!scraperMovieOrTv.movie) &&
if (scraperMovieOrTv.found) {
// esyslog("live: create caption menu");
</%cpp>
<div class = "caption menu">
<div class = "caption">
<a id="<$ boxId $>_epg_m" class = "active" onclick="displayEPG('<$ boxId $>')" ><$ trVDR("EPG") $></a>
| <a id="<$ boxId $>_scraper_m" class = "inactive" onclick="displayScraper('<$ boxId $>')"><$ tr("Scraper") $></a>
| <a id="<$ boxId $>_actors_m" class = "inactive" onclick="displayActors('<$ boxId $>')" ><$ tr("Actors") $></a>
Expand Down
5 changes: 3 additions & 2 deletions pages/recordings.ecpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ cLargeString *recoring_item = static_cast<cLargeString *>((void *)irecoring_item
std::vector<RecordingsItemPtr> recItems;
const std::vector<RecordingsItemPtr> *recItemsC = NULL;

// data for dirs, an loop over dirs
// data for dirs, and loop over dirs
const std::vector<RecordingsItemPtr> *dirItems = recItemThisDir->getDirs();
std::vector<RecordingsItemPtr>::const_iterator dirIterS, dirIterE, dirIter;
int direction; // for dirs
Expand Down Expand Up @@ -455,7 +455,8 @@ if (currentSort != "duplicates" || currentFlat == "true") {
</script>
<%cpp> } else {
bool first = true;
const char *displayFolder = currentFlat == "true"?"1":"0";
// const char *displayFolder = currentFlat == "true"?"1":"0";
const char *displayFolder = "1";
recoring_item->clear();
RecordingsItemRec::AppendAsJSArray(*recoring_item, recItemsC->begin(), recItemsC->end(), first, currentFilter, reverse);
if (level == 0) { </%cpp>
Expand Down
2 changes: 1 addition & 1 deletion pages/whats_on.ecpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ if (type == "now") {
<& pageelems.epg_tool_box detail=(1) epgid=(epgEvent->Id()) title=(epgEvent->Title()) startTime=(epgEvent->GetStartTime()) endTime=(epgEvent->GetEndTime()) &>
</div>
<div>
<div class="info nowrap"><div class="date"><$ (startDate) $></div><div class="time"><$ (timeSpan) $></div></div>
<div class="info nowrap"><div class="date margin_right"><$ (startDate) $></div><div class="time"><$ (timeSpan) $></div></div>
<div class="progress"><div><& pageelems.progressbar progress=(epgEvent->Elapsed()) duration=(epgEvent->Duration()) &></div></div>
<div class="title withmargin"><$ (epgEvent->Title()) $></div>
<div class="short withmargin"><$ (epgEvent->ShortDescr()) $></div>
Expand Down
4 changes: 2 additions & 2 deletions recman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,11 +936,11 @@ void AppendScraperData(cLargeString &target, const std::string &s_IMDB_ID, const
target.append(DurationDeviation());
// [18] Path / folder
target.append(",");
if(displayFolder) {
// if(displayFolder) {
target.append("\"");
if( *(const char *)Recording()->Folder() ) AppendHtmlEscapedAndCorrectNonUTF8(target, (const char *)Recording()->Folder() );
target.append("\"");
}
// }
// [19] duration
target.append(",\"");
if(Duration() >= 0)
Expand Down

0 comments on commit 95b7d92

Please sign in to comment.