reorganize database columns, fix series search, show image licences

This commit is contained in:
Milan
2018-06-18 00:43:02 +02:00
parent aa648f58ef
commit d7e1f02198
13 changed files with 387 additions and 234 deletions

View File

@@ -500,7 +500,7 @@ sub showCalendar {
next unless defined $event->{uploaded_at};
print STDERR "uploadAt=$event->{uploaded_at}, playoutModified:$event->{playout_modified_at}, playoutUpdatedAt:$event->{playout_updated_at}\n";
next if (defined $event->{playout_updated_at}) && ( $event->{uploaded_at} lt $event->{playout_updated_at} );
print STDERR Dumper($event);
#print STDERR Dumper($event);
$event->{upload} ='pending' ;
#$event->{title}.='<br>pending';
}

View File

@@ -1,11 +0,0 @@
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }

View File

@@ -10,15 +10,16 @@ div#oldSeries{
clear:both;
}
div#newSeries, div#oldSeries{
div#newSeries,
div#oldSeries{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
div#newSeries div,
div#oldSeries div{
div#newSeries a,
div#oldSeries a{
color:#fff;
background:#1abc9c;
padding:6px;
@@ -35,12 +36,11 @@ div#oldSeries div{
height:3rem;
line-height:2em;
}
/*
*/
div#newSeries div:hover,
div#oldSeries div:hover{
div#newSeries a:hover,
div#oldSeries a:hover{
background:#1dd2af;
text-decoration:none;
}
div#search{

View File

@@ -37,10 +37,13 @@ var region='<TMPL_VAR loc.region>';
<div id="newSeries">
<TMPL_LOOP newSeries>
<div onclick="view_series_details('<TMPL_VAR series_id>','<TMPL_VAR .studio_id>','<TMPL_VAR .project_id>')">
<a
onclick="view_series_details('<TMPL_VAR series_id>','<TMPL_VAR .studio_id>','<TMPL_VAR .project_id>')"
href="series.cgi?project_id=<TMPL_VAR .project_id>&studio_id=<TMPL_VAR .studio_id>&series_id=<TMPL_VAR series_id>&action=show"
>
<b><TMPL_IF has_single_events><TMPL_VAR .loc.single_events><TMPL_ELSE><TMPL_VAR series_name></TMPL_IF></b>
<TMPL_IF TITLE> <br> <TMPL_VAR title></TMPL_IF>
</div>
</a>
</TMPL_LOOP>
</div>
@@ -50,10 +53,12 @@ var region='<TMPL_VAR loc.region>';
<div id="oldSeries" style="display:none;">
<TMPL_LOOP oldSeries>
<div onclick="view_series_details('<TMPL_VAR series_id>','<TMPL_VAR .studio_id>','<TMPL_VAR .project_id>')">
<a onclick="view_series_details('<TMPL_VAR series_id>','<TMPL_VAR .studio_id>','<TMPL_VAR .project_id>')"
href="series.cgi?project_id=<TMPL_VAR .project_id>&studio_id=<TMPL_VAR .studio_id>&series_id=<TMPL_VAR series_id>&action=show"
>
<b><TMPL_IF has_single_events><TMPL_VAR .loc.single_events><TMPL_ELSE><TMPL_VAR series_name></TMPL_IF></b>
<TMPL_IF TITLE> <br> <TMPL_VAR title></TMPL_IF>
</div>
</a>
</TMPL_LOOP>
</div>